@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
145 lines (144 loc) • 4.96 kB
TypeScript
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.devices.SwitchRoutingStaticRoutes("example", {
* advertiseViaOspfEnabled: false,
* name: "My route",
* nextHopIp: "1.2.3.4",
* preferOverOspfRoutesEnabled: false,
* serial: "string",
* subnet: "192.168.1.0/24",
* });
* export const merakiDevicesSwitchRoutingStaticRoutesExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:devices/switchRoutingStaticRoutes:SwitchRoutingStaticRoutes example "serial,static_route_id"
* ```
*/
export declare class SwitchRoutingStaticRoutes extends pulumi.CustomResource {
/**
* Get an existing SwitchRoutingStaticRoutes 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?: SwitchRoutingStaticRoutesState, opts?: pulumi.CustomResourceOptions): SwitchRoutingStaticRoutes;
/**
* Returns true if the given object is an instance of SwitchRoutingStaticRoutes. 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 SwitchRoutingStaticRoutes;
/**
* 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>;
/**
* 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>;
/**
* serial path parameter.
*/
readonly serial: pulumi.Output<string>;
/**
* 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>;
/**
* Create a SwitchRoutingStaticRoutes 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: SwitchRoutingStaticRoutesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SwitchRoutingStaticRoutes resources.
*/
export interface SwitchRoutingStaticRoutesState {
/**
* 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>;
/**
* 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>;
/**
* serial path parameter.
*/
serial?: pulumi.Input<string>;
/**
* 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>;
}
/**
* The set of arguments for constructing a SwitchRoutingStaticRoutes resource.
*/
export interface SwitchRoutingStaticRoutesArgs {
/**
* 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>;
/**
* 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>;
/**
* serial path parameter.
*/
serial: pulumi.Input<string>;
/**
* 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>;
}