Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.getNetworks
Explore with Pulumi AI
Example Usage
Using getNetworks
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworks(args: GetNetworksArgs, opts?: InvokeOptions): Promise<GetNetworksResult>
function getNetworksOutput(args: GetNetworksOutputArgs, opts?: InvokeOptions): Output<GetNetworksResult>
def get_networks(config_template_id: Optional[str] = None,
ending_before: Optional[str] = None,
is_bound_to_config_template: Optional[bool] = None,
network_id: Optional[str] = None,
organization_id: Optional[str] = None,
per_page: Optional[int] = None,
starting_after: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tags_filter_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworksResult
def get_networks_output(config_template_id: Optional[pulumi.Input[str]] = None,
ending_before: Optional[pulumi.Input[str]] = None,
is_bound_to_config_template: Optional[pulumi.Input[bool]] = None,
network_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
per_page: Optional[pulumi.Input[int]] = None,
starting_after: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags_filter_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworksResult]
func GetNetworks(ctx *Context, args *GetNetworksArgs, opts ...InvokeOption) (*GetNetworksResult, error)
func GetNetworksOutput(ctx *Context, args *GetNetworksOutputArgs, opts ...InvokeOption) GetNetworksResultOutput
> Note: This function is named GetNetworks
in the Go SDK.
public static class GetNetworks
{
public static Task<GetNetworksResult> InvokeAsync(GetNetworksArgs args, InvokeOptions? opts = null)
public static Output<GetNetworksResult> Invoke(GetNetworksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworksResult> getNetworks(GetNetworksArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:index/getNetworks:getNetworks
arguments:
# arguments dictionary
The following arguments are supported:
- Config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Is
Bound boolTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- Network
Id string - networkId path parameter. Network ID
- Organization
Id string - organizationId path parameter. Organization ID
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<string>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- Config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Is
Bound boolTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- Network
Id string - networkId path parameter. Network ID
- Organization
Id string - organizationId path parameter. Organization ID
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- []string
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- config
Template StringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound BooleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id String - networkId path parameter. Network ID
- organization
Id String - organizationId path parameter. Organization ID
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<String>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- String
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound booleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id string - networkId path parameter. Network ID
- organization
Id string - organizationId path parameter. Organization ID
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- string[]
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- config_
template_ strid - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending_
before str - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is_
bound_ boolto_ config_ template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network_
id str - networkId path parameter. Network ID
- organization_
id str - organizationId path parameter. Organization ID
- per_
page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting_
after str - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Sequence[str]
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- str
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- config
Template StringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound BooleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id String - networkId path parameter. Network ID
- organization
Id String - organizationId path parameter. Organization ID
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<String>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- String
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
getNetworks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Networks Item - Items
List<Get
Networks Item> - Array of ResponseOrganizationsGetOrganizationNetworks
- Config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Is
Bound boolTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- Network
Id string - networkId path parameter. Network ID
- Organization
Id string - organizationId path parameter. Organization ID
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<string>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Networks Item - Items
[]Get
Networks Item - Array of ResponseOrganizationsGetOrganizationNetworks
- Config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Is
Bound boolTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- Network
Id string - networkId path parameter. Network ID
- Organization
Id string - organizationId path parameter. Organization ID
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- []string
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Networks Item - items
List<Get
Networks Item> - Array of ResponseOrganizationsGetOrganizationNetworks
- config
Template StringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound BooleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id String - networkId path parameter. Network ID
- organization
Id String - organizationId path parameter. Organization ID
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<String>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- String
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Networks Item - items
Get
Networks Item[] - Array of ResponseOrganizationsGetOrganizationNetworks
- config
Template stringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound booleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id string - networkId path parameter. Network ID
- organization
Id string - organizationId path parameter. Organization ID
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- string[]
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- string
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Networks Item - items
Sequence[Get
Networks Item] - Array of ResponseOrganizationsGetOrganizationNetworks
- config_
template_ strid - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending_
before str - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is_
bound_ boolto_ config_ template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network_
id str - networkId path parameter. Network ID
- organization_
id str - organizationId path parameter. Organization ID
- per_
page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting_
after str - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Sequence[str]
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- str
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- items List<Property Map>
- Array of ResponseOrganizationsGetOrganizationNetworks
- config
Template StringId - configTemplateId query parameter. An optional parameter that is the ID of a config template. Will return all networks bound to that template.
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- is
Bound BooleanTo Config Template - isBoundToConfigTemplate query parameter. An optional parameter to filter config template bound networks. If configTemplateId is set, this cannot be false.
- network
Id String - networkId path parameter. Network ID
- organization
Id String - organizationId path parameter. Organization ID
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 100000. Default is 1000.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- List<String>
- tags query parameter. An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
- String
- tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
Supporting Types
GetNetworksItem
- Enrollment
String string - Enrollment string for the network
- Id string
- Network ID
- Is
Bound boolTo Config Template - If the network is bound to a config template
- Name string
- Network name
- Notes string
- Notes for the network
- Organization
Id string - Organization ID
- Product
Types List<string> - List of the product types that the network supports
- List<string>
- Network tags
- Time
Zone string - Timezone of the network
- Url string
- URL to the network Dashboard UI
- Enrollment
String string - Enrollment string for the network
- Id string
- Network ID
- Is
Bound boolTo Config Template - If the network is bound to a config template
- Name string
- Network name
- Notes string
- Notes for the network
- Organization
Id string - Organization ID
- Product
Types []string - List of the product types that the network supports
- []string
- Network tags
- Time
Zone string - Timezone of the network
- Url string
- URL to the network Dashboard UI
- enrollment
String String - Enrollment string for the network
- id String
- Network ID
- is
Bound BooleanTo Config Template - If the network is bound to a config template
- name String
- Network name
- notes String
- Notes for the network
- organization
Id String - Organization ID
- product
Types List<String> - List of the product types that the network supports
- List<String>
- Network tags
- time
Zone String - Timezone of the network
- url String
- URL to the network Dashboard UI
- enrollment
String string - Enrollment string for the network
- id string
- Network ID
- is
Bound booleanTo Config Template - If the network is bound to a config template
- name string
- Network name
- notes string
- Notes for the network
- organization
Id string - Organization ID
- product
Types string[] - List of the product types that the network supports
- string[]
- Network tags
- time
Zone string - Timezone of the network
- url string
- URL to the network Dashboard UI
- enrollment_
string str - Enrollment string for the network
- id str
- Network ID
- is_
bound_ boolto_ config_ template - If the network is bound to a config template
- name str
- Network name
- notes str
- Notes for the network
- organization_
id str - Organization ID
- product_
types Sequence[str] - List of the product types that the network supports
- Sequence[str]
- Network tags
- time_
zone str - Timezone of the network
- url str
- URL to the network Dashboard UI
- enrollment
String String - Enrollment string for the network
- id String
- Network ID
- is
Bound BooleanTo Config Template - If the network is bound to a config template
- name String
- Network name
- notes String
- Notes for the network
- organization
Id String - Organization ID
- product
Types List<String> - List of the product types that the network supports
- List<String>
- Network tags
- time
Zone String - Timezone of the network
- url String
- URL to the network Dashboard UI
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.