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

meraki.devices.getSwitchRoutingStaticRoutes

Explore with Pulumi AI

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>
Copy
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]
Copy
func LookupSwitchRoutingStaticRoutes(ctx *Context, args *LookupSwitchRoutingStaticRoutesArgs, opts ...InvokeOption) (*LookupSwitchRoutingStaticRoutesResult, error)
func LookupSwitchRoutingStaticRoutesOutput(ctx *Context, args *LookupSwitchRoutingStaticRoutesOutputArgs, opts ...InvokeOption) LookupSwitchRoutingStaticRoutesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSwitchRoutingStaticRoutesResult> getSwitchRoutingStaticRoutes(GetSwitchRoutingStaticRoutesArgs args, InvokeOptions options)
public static Output<GetSwitchRoutingStaticRoutesResult> getSwitchRoutingStaticRoutes(GetSwitchRoutingStaticRoutesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Serial string
serial path parameter.
StaticRouteId string
staticRouteId path parameter. Static route ID
Serial string
serial path parameter.
StaticRouteId string
staticRouteId path parameter. Static route ID
serial String
serial path parameter.
staticRouteId String
staticRouteId path parameter. Static route ID
serial string
serial path parameter.
staticRouteId string
staticRouteId path parameter. Static route ID
serial str
serial path parameter.
static_route_id str
staticRouteId path parameter. Static route ID
serial String
serial path parameter.
staticRouteId String
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 GetSwitchRoutingStaticRoutesItem
Items List<GetSwitchRoutingStaticRoutesItem>
Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
Serial string
serial path parameter.
StaticRouteId string
staticRouteId path parameter. Static route ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetSwitchRoutingStaticRoutesItem
Items []GetSwitchRoutingStaticRoutesItem
Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
Serial string
serial path parameter.
StaticRouteId string
staticRouteId path parameter. Static route ID
id String
The provider-assigned unique ID for this managed resource.
item GetSwitchRoutingStaticRoutesItem
items List<GetSwitchRoutingStaticRoutesItem>
Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
serial String
serial path parameter.
staticRouteId String
staticRouteId path parameter. Static route ID
id string
The provider-assigned unique ID for this managed resource.
item GetSwitchRoutingStaticRoutesItem
items GetSwitchRoutingStaticRoutesItem[]
Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
serial string
serial path parameter.
staticRouteId string
staticRouteId path parameter. Static route ID
id str
The provider-assigned unique ID for this managed resource.
item GetSwitchRoutingStaticRoutesItem
items Sequence[GetSwitchRoutingStaticRoutesItem]
Array of ResponseSwitchGetDeviceSwitchRoutingStaticRoutes
serial str
serial path parameter.
static_route_id str
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.
staticRouteId String
staticRouteId path parameter. Static route ID

Supporting Types

GetSwitchRoutingStaticRoutesItem

AdvertiseViaOspfEnabled This property is required. bool
Option to advertise static routes via OSPF
Name This property is required. string
The name or description of the layer 3 static route
NextHopIp This property is required. string
The IP address of the router to which traffic for this destination network should be sent
PreferOverOspfRoutesEnabled This property is required. bool
Option to prefer static routes over OSPF routes
StaticRouteId This property is required. string
The identifier of a layer 3 static route
Subnet This property is required. string
The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
AdvertiseViaOspfEnabled This property is required. bool
Option to advertise static routes via OSPF
Name This property is required. string
The name or description of the layer 3 static route
NextHopIp This property is required. string
The IP address of the router to which traffic for this destination network should be sent
PreferOverOspfRoutesEnabled This property is required. bool
Option to prefer static routes over OSPF routes
StaticRouteId This property is required. string
The identifier of a layer 3 static route
Subnet This property is required. string
The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
advertiseViaOspfEnabled This property is required. Boolean
Option to advertise static routes via OSPF
name This property is required. String
The name or description of the layer 3 static route
nextHopIp This property is required. String
The IP address of the router to which traffic for this destination network should be sent
preferOverOspfRoutesEnabled This property is required. Boolean
Option to prefer static routes over OSPF routes
staticRouteId This property is required. String
The identifier of a layer 3 static route
subnet This property is required. String
The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
advertiseViaOspfEnabled This property is required. boolean
Option to advertise static routes via OSPF
name This property is required. string
The name or description of the layer 3 static route
nextHopIp This property is required. string
The IP address of the router to which traffic for this destination network should be sent
preferOverOspfRoutesEnabled This property is required. boolean
Option to prefer static routes over OSPF routes
staticRouteId This property is required. string
The identifier of a layer 3 static route
subnet This property is required. string
The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
This property is required. bool
Option to advertise static routes via OSPF
name This property is required. str
The name or description of the layer 3 static route
next_hop_ip This property is required. str
The IP address of the router to which traffic for this destination network should be sent
prefer_over_ospf_routes_enabled This property is required. bool
Option to prefer static routes over OSPF routes
static_route_id This property is required. str
The identifier of a layer 3 static route
subnet This property is required. str
The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
advertiseViaOspfEnabled This property is required. Boolean
Option to advertise static routes via OSPF
name This property is required. String
The name or description of the layer 3 static route
nextHopIp This property is required. String
The IP address of the router to which traffic for this destination network should be sent
preferOverOspfRoutesEnabled This property is required. Boolean
Option to prefer static routes over OSPF routes
staticRouteId This property is required. String
The identifier of a layer 3 static route
subnet This property is required. 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 meraki Terraform Provider.