1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. getSwitchStacks
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.getSwitchStacks

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 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>
    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]
    func LookupSwitchStacks(ctx *Context, args *LookupSwitchStacksArgs, opts ...InvokeOption) (*LookupSwitchStacksResult, error)
    func LookupSwitchStacksOutput(ctx *Context, args *LookupSwitchStacksOutputArgs, opts ...InvokeOption) LookupSwitchStacksResultOutput

    > 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)
    }
    public static CompletableFuture<GetSwitchStacksResult> getSwitchStacks(GetSwitchStacksArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSwitchStacks:getSwitchStacks
      arguments:
        # arguments dictionary

    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 string
    ID of the Switch stack
    Name string
    Name of the Switch stack
    Serials List<string>
    Serials of the switches in the switch stack
    Id string
    ID of the Switch stack
    Name string
    Name of the Switch stack
    Serials []string
    Serials of the switches in the switch stack
    id String
    ID of the Switch stack
    name String
    Name of the Switch stack
    serials List<String>
    Serials of the switches in the switch stack
    id string
    ID of the Switch stack
    name string
    Name of the Switch stack
    serials string[]
    Serials of the switches in the switch stack
    id str
    ID of the Switch stack
    name str
    Name of the Switch stack
    serials Sequence[str]
    Serials of the switches in the switch stack
    id String
    ID of the Switch stack
    name String
    Name of the Switch stack
    serials 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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi