Cisco Meraki v0.4.4 published on Wednesday, Oct 22, 2025 by Pulumi
meraki.networks.getSwitchStacksRoutingStaticRoutes
Start a Neo task
Explain and create a meraki.networks.getSwitchStacksRoutingStaticRoutes resource
Example Usage
Using getSwitchStacksRoutingStaticRoutes
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 getSwitchStacksRoutingStaticRoutes(args: GetSwitchStacksRoutingStaticRoutesArgs, opts?: InvokeOptions): Promise<GetSwitchStacksRoutingStaticRoutesResult>
function getSwitchStacksRoutingStaticRoutesOutput(args: GetSwitchStacksRoutingStaticRoutesOutputArgs, opts?: InvokeOptions): Output<GetSwitchStacksRoutingStaticRoutesResult>def get_switch_stacks_routing_static_routes(network_id: Optional[str] = None,
static_route_id: Optional[str] = None,
switch_stack_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSwitchStacksRoutingStaticRoutesResult
def get_switch_stacks_routing_static_routes_output(network_id: Optional[pulumi.Input[str]] = None,
static_route_id: Optional[pulumi.Input[str]] = None,
switch_stack_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSwitchStacksRoutingStaticRoutesResult]func LookupSwitchStacksRoutingStaticRoutes(ctx *Context, args *LookupSwitchStacksRoutingStaticRoutesArgs, opts ...InvokeOption) (*LookupSwitchStacksRoutingStaticRoutesResult, error)
func LookupSwitchStacksRoutingStaticRoutesOutput(ctx *Context, args *LookupSwitchStacksRoutingStaticRoutesOutputArgs, opts ...InvokeOption) LookupSwitchStacksRoutingStaticRoutesResultOutput> Note: This function is named LookupSwitchStacksRoutingStaticRoutes in the Go SDK.
public static class GetSwitchStacksRoutingStaticRoutes
{
public static Task<GetSwitchStacksRoutingStaticRoutesResult> InvokeAsync(GetSwitchStacksRoutingStaticRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetSwitchStacksRoutingStaticRoutesResult> Invoke(GetSwitchStacksRoutingStaticRoutesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSwitchStacksRoutingStaticRoutesResult> getSwitchStacksRoutingStaticRoutes(GetSwitchStacksRoutingStaticRoutesArgs args, InvokeOptions options)
public static Output<GetSwitchStacksRoutingStaticRoutesResult> getSwitchStacksRoutingStaticRoutes(GetSwitchStacksRoutingStaticRoutesArgs args, InvokeOptions options)
fn::invoke:
function: meraki:networks/getSwitchStacksRoutingStaticRoutes:getSwitchStacksRoutingStaticRoutes
arguments:
# arguments dictionaryThe following arguments are supported:
- Network
Id string - networkId path parameter. Network ID
- Static
Route stringId - staticRouteId path parameter. Static route ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Network
Id string - networkId path parameter. Network ID
- Static
Route stringId - staticRouteId path parameter. Static route ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- network
Id String - networkId path parameter. Network ID
- static
Route StringId - staticRouteId path parameter. Static route ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- network
Id string - networkId path parameter. Network ID
- static
Route stringId - staticRouteId path parameter. Static route ID
- switch
Stack stringId - switchStackId path parameter. Switch stack ID
- network_
id str - networkId path parameter. Network ID
- static_
route_ strid - staticRouteId path parameter. Static route ID
- switch_
stack_ strid - switchStackId path parameter. Switch stack ID
- network
Id String - networkId path parameter. Network ID
- static
Route StringId - staticRouteId path parameter. Static route ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
getSwitchStacksRoutingStaticRoutes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Switch Stacks Routing Static Routes Item - Items
List<Get
Switch Stacks Routing Static Routes Item> - Array of ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- Network
Id string - networkId path parameter. Network ID
- Static
Route stringId - staticRouteId path parameter. Static route 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 Routing Static Routes Item - Items
[]Get
Switch Stacks Routing Static Routes Item - Array of ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- Network
Id string - networkId path parameter. Network ID
- Static
Route stringId - staticRouteId path parameter. Static route 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 Routing Static Routes Item - items
List<Get
Switch Stacks Routing Static Routes Item> - Array of ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- network
Id String - networkId path parameter. Network ID
- static
Route StringId - staticRouteId path parameter. Static route 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 Routing Static Routes Item - items
Get
Switch Stacks Routing Static Routes Item[] - Array of ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- network
Id string - networkId path parameter. Network ID
- static
Route stringId - staticRouteId path parameter. Static route 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 Routing Static Routes Item - items
Sequence[Get
Switch Stacks Routing Static Routes Item] - Array of ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- network_
id str - networkId path parameter. Network ID
- static_
route_ strid - staticRouteId path parameter. Static route 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 ResponseSwitchGetNetworkSwitchStackRoutingStaticRoutes
- network
Id String - networkId path parameter. Network ID
- static
Route StringId - staticRouteId path parameter. Static route ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
Supporting Types
GetSwitchStacksRoutingStaticRoutesItem
- Advertise
Via boolOspf Enabled - Option to advertise static routes via OSPF
- Name string
- The name or description of the layer 3 static route
- Next
Hop stringIp - The IP address of the router to which traffic for this destination network should be sent
- Prefer
Over boolOspf Routes Enabled - Option to prefer static routes over OSPF routes
- Static
Route stringId - The identifier of a layer 3 static route
- Subnet string
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
- Advertise
Via boolOspf Enabled - Option to advertise static routes via OSPF
- Name string
- The name or description of the layer 3 static route
- Next
Hop stringIp - The IP address of the router to which traffic for this destination network should be sent
- Prefer
Over boolOspf Routes Enabled - Option to prefer static routes over OSPF routes
- Static
Route stringId - The identifier of a layer 3 static route
- Subnet string
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
- advertise
Via BooleanOspf Enabled - Option to advertise static routes via OSPF
- name String
- The name or description of the layer 3 static route
- next
Hop StringIp - The IP address of the router to which traffic for this destination network should be sent
- prefer
Over BooleanOspf Routes Enabled - Option to prefer static routes over OSPF routes
- static
Route StringId - The identifier of a layer 3 static route
- subnet String
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
- advertise
Via booleanOspf Enabled - Option to advertise static routes via OSPF
- name string
- The name or description of the layer 3 static route
- next
Hop stringIp - The IP address of the router to which traffic for this destination network should be sent
- prefer
Over booleanOspf Routes Enabled - Option to prefer static routes over OSPF routes
- static
Route stringId - The identifier of a layer 3 static route
- subnet string
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
- advertise_
via_ boolospf_ enabled - Option to advertise static routes via OSPF
- name str
- The name or description of the layer 3 static route
- next_
hop_ strip - The IP address of the router to which traffic for this destination network should be sent
- prefer_
over_ boolospf_ routes_ enabled - Option to prefer static routes over OSPF routes
- static_
route_ strid - The identifier of a layer 3 static route
- subnet str
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
- advertise
Via BooleanOspf Enabled - Option to advertise static routes via OSPF
- name String
- The name or description of the layer 3 static route
- next
Hop StringIp - The IP address of the router to which traffic for this destination network should be sent
- prefer
Over BooleanOspf Routes Enabled - Option to prefer static routes over OSPF routes
- static
Route StringId - The identifier of a layer 3 static route
- subnet String
- The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
merakiTerraform Provider.
