UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

158 lines (157 loc) 5.5 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.networks.SwitchStacksRoutingStaticRoutes("example", { * advertiseViaOspfEnabled: false, * name: "My route", * networkId: "string", * nextHopIp: "1.2.3.4", * preferOverOspfRoutesEnabled: false, * subnet: "192.168.1.0/24", * switchStackId: "string", * }); * export const merakiNetworksSwitchStacksRoutingStaticRoutesExample = example; * ``` * * ## Import * * ```sh * $ pulumi import meraki:networks/switchStacksRoutingStaticRoutes:SwitchStacksRoutingStaticRoutes example "network_id,static_route_id,switch_stack_id" * ``` */ export declare class SwitchStacksRoutingStaticRoutes extends pulumi.CustomResource { /** * Get an existing SwitchStacksRoutingStaticRoutes resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SwitchStacksRoutingStaticRoutesState, opts?: pulumi.CustomResourceOptions): SwitchStacksRoutingStaticRoutes; /** * Returns true if the given object is an instance of SwitchStacksRoutingStaticRoutes. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SwitchStacksRoutingStaticRoutes; /** * Option to advertise static routes via OSPF */ readonly advertiseViaOspfEnabled: pulumi.Output<boolean>; /** * The name or description of the layer 3 static route */ readonly name: pulumi.Output<string>; /** * networkId path parameter. Network ID */ readonly networkId: pulumi.Output<string>; /** * The IP address of the router to which traffic for this destination network should be sent */ readonly nextHopIp: pulumi.Output<string>; /** * Option to prefer static routes over OSPF routes */ readonly preferOverOspfRoutesEnabled: pulumi.Output<boolean>; /** * The identifier of a layer 3 static route */ readonly staticRouteId: pulumi.Output<string>; /** * The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24) */ readonly subnet: pulumi.Output<string>; /** * switchStackId path parameter. Switch stack ID */ readonly switchStackId: pulumi.Output<string>; /** * Create a SwitchStacksRoutingStaticRoutes resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SwitchStacksRoutingStaticRoutesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SwitchStacksRoutingStaticRoutes resources. */ export interface SwitchStacksRoutingStaticRoutesState { /** * Option to advertise static routes via OSPF */ advertiseViaOspfEnabled?: pulumi.Input<boolean>; /** * The name or description of the layer 3 static route */ name?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId?: pulumi.Input<string>; /** * The IP address of the router to which traffic for this destination network should be sent */ nextHopIp?: pulumi.Input<string>; /** * Option to prefer static routes over OSPF routes */ preferOverOspfRoutesEnabled?: pulumi.Input<boolean>; /** * The identifier of a layer 3 static route */ staticRouteId?: pulumi.Input<string>; /** * The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24) */ subnet?: pulumi.Input<string>; /** * switchStackId path parameter. Switch stack ID */ switchStackId?: pulumi.Input<string>; } /** * The set of arguments for constructing a SwitchStacksRoutingStaticRoutes resource. */ export interface SwitchStacksRoutingStaticRoutesArgs { /** * Option to advertise static routes via OSPF */ advertiseViaOspfEnabled?: pulumi.Input<boolean>; /** * The name or description of the layer 3 static route */ name?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; /** * The IP address of the router to which traffic for this destination network should be sent */ nextHopIp?: pulumi.Input<string>; /** * Option to prefer static routes over OSPF routes */ preferOverOspfRoutesEnabled?: pulumi.Input<boolean>; /** * The identifier of a layer 3 static route */ staticRouteId?: pulumi.Input<string>; /** * The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24) */ subnet?: pulumi.Input<string>; /** * switchStackId path parameter. Switch stack ID */ switchStackId: pulumi.Input<string>; }