1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. networks
  5. getSwitchStacks
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.networks.getSwitchStacks

Explore with Pulumi AI

Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

Example Usage

Using getSwitchStacks

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 getSwitchStacks(args: GetSwitchStacksArgs, opts?: InvokeOptions): Promise<GetSwitchStacksResult>
function getSwitchStacksOutput(args: GetSwitchStacksOutputArgs, opts?: InvokeOptions): Output<GetSwitchStacksResult>
Copy
def get_switch_stacks(network_id: Optional[str] = None,
                      switch_stack_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetSwitchStacksResult
def get_switch_stacks_output(network_id: Optional[pulumi.Input[str]] = None,
                      switch_stack_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetSwitchStacksResult]
Copy
func LookupSwitchStacks(ctx *Context, args *LookupSwitchStacksArgs, opts ...InvokeOption) (*LookupSwitchStacksResult, error)
func LookupSwitchStacksOutput(ctx *Context, args *LookupSwitchStacksOutputArgs, opts ...InvokeOption) LookupSwitchStacksResultOutput
Copy

> Note: This function is named LookupSwitchStacks in the Go SDK.

public static class GetSwitchStacks 
{
    public static Task<GetSwitchStacksResult> InvokeAsync(GetSwitchStacksArgs args, InvokeOptions? opts = null)
    public static Output<GetSwitchStacksResult> Invoke(GetSwitchStacksInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSwitchStacksResult> getSwitchStacks(GetSwitchStacksArgs args, InvokeOptions options)
public static Output<GetSwitchStacksResult> getSwitchStacks(GetSwitchStacksArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:networks/getSwitchStacks:getSwitchStacks
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkId string
networkId path parameter. Network ID
SwitchStackId string
switchStackId path parameter. Switch stack ID
NetworkId string
networkId path parameter. Network ID
SwitchStackId string
switchStackId path parameter. Switch stack ID
networkId String
networkId path parameter. Network ID
switchStackId String
switchStackId path parameter. Switch stack ID
networkId string
networkId path parameter. Network ID
switchStackId string
switchStackId path parameter. Switch stack ID
network_id str
networkId path parameter. Network ID
switch_stack_id str
switchStackId path parameter. Switch stack ID
networkId String
networkId path parameter. Network ID
switchStackId String
switchStackId path parameter. Switch stack ID

getSwitchStacks Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Item GetSwitchStacksItem
Items List<GetSwitchStacksItem>
Array of ResponseSwitchGetNetworkSwitchStacks
NetworkId string
networkId path parameter. Network ID
SwitchStackId string
switchStackId path parameter. Switch stack ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetSwitchStacksItem
Items []GetSwitchStacksItem
Array of ResponseSwitchGetNetworkSwitchStacks
NetworkId string
networkId path parameter. Network ID
SwitchStackId string
switchStackId path parameter. Switch stack ID
id String
The provider-assigned unique ID for this managed resource.
item GetSwitchStacksItem
items List<GetSwitchStacksItem>
Array of ResponseSwitchGetNetworkSwitchStacks
networkId String
networkId path parameter. Network ID
switchStackId String
switchStackId path parameter. Switch stack ID
id string
The provider-assigned unique ID for this managed resource.
item GetSwitchStacksItem
items GetSwitchStacksItem[]
Array of ResponseSwitchGetNetworkSwitchStacks
networkId string
networkId path parameter. Network ID
switchStackId string
switchStackId path parameter. Switch stack ID
id str
The provider-assigned unique ID for this managed resource.
item GetSwitchStacksItem
items Sequence[GetSwitchStacksItem]
Array of ResponseSwitchGetNetworkSwitchStacks
network_id str
networkId path parameter. Network ID
switch_stack_id str
switchStackId path parameter. Switch stack ID
id String
The provider-assigned unique ID for this managed resource.
item Property Map
items List<Property Map>
Array of ResponseSwitchGetNetworkSwitchStacks
networkId String
networkId path parameter. Network ID
switchStackId String
switchStackId path parameter. Switch stack ID

Supporting Types

GetSwitchStacksItem

Id This property is required. string
ID of the Switch stack
Name This property is required. string
Name of the Switch stack
Serials This property is required. List<string>
Serials of the switches in the switch stack
Id This property is required. string
ID of the Switch stack
Name This property is required. string
Name of the Switch stack
Serials This property is required. []string
Serials of the switches in the switch stack
id This property is required. String
ID of the Switch stack
name This property is required. String
Name of the Switch stack
serials This property is required. List<String>
Serials of the switches in the switch stack
id This property is required. string
ID of the Switch stack
name This property is required. string
Name of the Switch stack
serials This property is required. string[]
Serials of the switches in the switch stack
id This property is required. str
ID of the Switch stack
name This property is required. str
Name of the Switch stack
serials This property is required. Sequence[str]
Serials of the switches in the switch stack
id This property is required. String
ID of the Switch stack
name This property is required. String
Name of the Switch stack
serials This property is required. List<String>
Serials of the switches in the switch stack

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi