Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getSwitchStacks
Explore with Pulumi AI
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:
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- network
Id string - networkId path parameter. Network ID
- switch
Stack stringId - switchStackId path parameter. Switch stack ID
- network_
id str - networkId path parameter. Network ID
- switch_
stack_ strid - switchStackId path parameter. Switch stack ID
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - 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
Get
Switch Stacks Item - Items
List<Get
Switch Stacks Item> - Array of ResponseSwitchGetNetworkSwitchStacks
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Switch Stacks Item - Items
[]Get
Switch Stacks Item - Array of ResponseSwitchGetNetworkSwitchStacks
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Stacks Item - items
List<Get
Switch Stacks Item> - Array of ResponseSwitchGetNetworkSwitchStacks
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Stacks Item - items
Get
Switch Stacks Item[] - Array of ResponseSwitchGetNetworkSwitchStacks
- network
Id string - networkId path parameter. Network ID
- switch
Stack stringId - switchStackId path parameter. Switch stack ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Stacks Item - items
Sequence[Get
Switch Stacks Item] - Array of ResponseSwitchGetNetworkSwitchStacks
- network_
id str - networkId path parameter. Network ID
- switch_
stack_ strid - 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
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
Supporting Types
GetSwitchStacksItem
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.