1. Packages
  2. Cisco Meraki
  3. API Docs
  4. devices
  5. getSwitchRoutingStaticRoutes
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.devices.getSwitchRoutingStaticRoutes

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes
      arguments:
        # arguments dictionary

    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 bool
    Option to advertise static routes via OSPF
    Name string
    The name or description of the layer 3 static route
    NextHopIp string
    The IP address of the router to which traffic for this destination network should be sent
    PreferOverOspfRoutesEnabled bool
    Option to prefer static routes over OSPF routes
    StaticRouteId string
    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)
    AdvertiseViaOspfEnabled bool
    Option to advertise static routes via OSPF
    Name string
    The name or description of the layer 3 static route
    NextHopIp string
    The IP address of the router to which traffic for this destination network should be sent
    PreferOverOspfRoutesEnabled bool
    Option to prefer static routes over OSPF routes
    StaticRouteId string
    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)
    advertiseViaOspfEnabled Boolean
    Option to advertise static routes via OSPF
    name String
    The name or description of the layer 3 static route
    nextHopIp String
    The IP address of the router to which traffic for this destination network should be sent
    preferOverOspfRoutesEnabled Boolean
    Option to prefer static routes over OSPF routes
    staticRouteId String
    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)
    advertiseViaOspfEnabled boolean
    Option to advertise static routes via OSPF
    name string
    The name or description of the layer 3 static route
    nextHopIp string
    The IP address of the router to which traffic for this destination network should be sent
    preferOverOspfRoutesEnabled boolean
    Option to prefer static routes over OSPF routes
    staticRouteId string
    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)
    bool
    Option to advertise static routes via OSPF
    name str
    The name or description of the layer 3 static route
    next_hop_ip str
    The IP address of the router to which traffic for this destination network should be sent
    prefer_over_ospf_routes_enabled bool
    Option to prefer static routes over OSPF routes
    static_route_id str
    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)
    advertiseViaOspfEnabled Boolean
    Option to advertise static routes via OSPF
    name String
    The name or description of the layer 3 static route
    nextHopIp String
    The IP address of the router to which traffic for this destination network should be sent
    preferOverOspfRoutesEnabled Boolean
    Option to prefer static routes over OSPF routes
    staticRouteId String
    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 meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi