Cisco Meraki v0.4.4 published on Wednesday, Oct 22, 2025 by Pulumi
meraki.devices.getSwitchRoutingStaticRoutes
Start a Neo task
Explain and create a meraki.devices.getSwitchRoutingStaticRoutes resource
Example Usage
Using getSwitchRoutingStaticRoutes
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 getSwitchRoutingStaticRoutes(args: GetSwitchRoutingStaticRoutesArgs, opts?: InvokeOptions): Promise<GetSwitchRoutingStaticRoutesResult>
function getSwitchRoutingStaticRoutesOutput(args: GetSwitchRoutingStaticRoutesOutputArgs, opts?: InvokeOptions): Output<GetSwitchRoutingStaticRoutesResult>def get_switch_routing_static_routes(serial: Optional[str] = None,
static_route_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSwitchRoutingStaticRoutesResult
def get_switch_routing_static_routes_output(serial: Optional[pulumi.Input[str]] = None,
static_route_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSwitchRoutingStaticRoutesResult]func LookupSwitchRoutingStaticRoutes(ctx *Context, args *LookupSwitchRoutingStaticRoutesArgs, opts ...InvokeOption) (*LookupSwitchRoutingStaticRoutesResult, error)
func LookupSwitchRoutingStaticRoutesOutput(ctx *Context, args *LookupSwitchRoutingStaticRoutesOutputArgs, opts ...InvokeOption) LookupSwitchRoutingStaticRoutesResultOutput> Note: This function is named LookupSwitchRoutingStaticRoutes in the Go SDK.
public static class GetSwitchRoutingStaticRoutes
{
public static Task<GetSwitchRoutingStaticRoutesResult> InvokeAsync(GetSwitchRoutingStaticRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetSwitchRoutingStaticRoutesResult> Invoke(GetSwitchRoutingStaticRoutesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSwitchRoutingStaticRoutesResult> getSwitchRoutingStaticRoutes(GetSwitchRoutingStaticRoutesArgs args, InvokeOptions options)
public static Output<GetSwitchRoutingStaticRoutesResult> getSwitchRoutingStaticRoutes(GetSwitchRoutingStaticRoutesArgs args, InvokeOptions options)
fn::invoke:
function: meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes
arguments:
# arguments dictionaryThe following arguments are supported:
- Serial string
- serial path parameter.
- Static
Route stringId - staticRouteId path parameter. Static route ID
- Serial string
- serial path parameter.
- Static
Route stringId - staticRouteId path parameter. Static route ID
- serial String
- serial path parameter.
- static
Route StringId - staticRouteId path parameter. Static route ID
- serial string
- serial path parameter.
- static
Route stringId - staticRouteId path parameter. Static route ID
- serial str
- serial path parameter.
- static_
route_ strid - staticRouteId path parameter. Static route ID
- serial String
- serial path parameter.
- static
Route StringId - staticRouteId path parameter. Static route ID
getSwitchRoutingStaticRoutes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Switch Routing Static Routes Item - Items
List<Get
Switch Routing Static Routes Item> - Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- Serial string
- serial path parameter.
- Static
Route stringId - staticRouteId path parameter. Static route ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Switch Routing Static Routes Item - Items
[]Get
Switch Routing Static Routes Item - Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- Serial string
- serial path parameter.
- Static
Route stringId - staticRouteId path parameter. Static route ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Routing Static Routes Item - items
List<Get
Switch Routing Static Routes Item> - Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- serial String
- serial path parameter.
- static
Route StringId - staticRouteId path parameter. Static route ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Routing Static Routes Item - items
Get
Switch Routing Static Routes Item[] - Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- serial string
- serial path parameter.
- static
Route stringId - staticRouteId path parameter. Static route ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Switch Routing Static Routes Item - items
Sequence[Get
Switch Routing Static Routes Item] - Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- serial str
- serial path parameter.
- static_
route_ strid - staticRouteId path parameter. Static route ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- items List<Property Map>
- Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
- serial String
- serial path parameter.
- static
Route StringId - staticRouteId path parameter. Static route ID
Supporting Types
GetSwitchRoutingStaticRoutesItem
- 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.
