@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
134 lines (133 loc) • 4.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* BgpRouting resource
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = new scm.BgpRouting("example", {
* backboneRouting: "no-asymmetric-routing",
* acceptRouteOverSc: true,
* addHostRouteToIkePeer: false,
* withdrawStaticRoute: true,
* outboundRoutesForServices: ["10.0.0.0/9"],
* routingPreference: {
* "default": {},
* },
* });
* ```
*/
export declare class BgpRouting extends pulumi.CustomResource {
/**
* Get an existing BgpRouting 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?: BgpRoutingState, opts?: pulumi.CustomResourceOptions): BgpRouting;
/**
* Returns true if the given object is an instance of BgpRouting. 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 BgpRouting;
/**
* Accept route over s c
*/
readonly acceptRouteOverSc: pulumi.Output<boolean | undefined>;
/**
* Add host route to ike peer
*/
readonly addHostRouteToIkePeer: pulumi.Output<boolean | undefined>;
/**
* Backbone routing
*/
readonly backboneRouting: pulumi.Output<string | undefined>;
/**
* Outbound routes for services
*/
readonly outboundRoutesForServices: pulumi.Output<string[] | undefined>;
/**
* Routing preference
*/
readonly routingPreference: pulumi.Output<outputs.BgpRoutingRoutingPreference | undefined>;
readonly tfid: pulumi.Output<string>;
/**
* Withdraw static route
*/
readonly withdrawStaticRoute: pulumi.Output<boolean | undefined>;
/**
* Create a BgpRouting 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?: BgpRoutingArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering BgpRouting resources.
*/
export interface BgpRoutingState {
/**
* Accept route over s c
*/
acceptRouteOverSc?: pulumi.Input<boolean>;
/**
* Add host route to ike peer
*/
addHostRouteToIkePeer?: pulumi.Input<boolean>;
/**
* Backbone routing
*/
backboneRouting?: pulumi.Input<string>;
/**
* Outbound routes for services
*/
outboundRoutesForServices?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Routing preference
*/
routingPreference?: pulumi.Input<inputs.BgpRoutingRoutingPreference>;
tfid?: pulumi.Input<string>;
/**
* Withdraw static route
*/
withdrawStaticRoute?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a BgpRouting resource.
*/
export interface BgpRoutingArgs {
/**
* Accept route over s c
*/
acceptRouteOverSc?: pulumi.Input<boolean>;
/**
* Add host route to ike peer
*/
addHostRouteToIkePeer?: pulumi.Input<boolean>;
/**
* Backbone routing
*/
backboneRouting?: pulumi.Input<string>;
/**
* Outbound routes for services
*/
outboundRoutesForServices?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Routing preference
*/
routingPreference?: pulumi.Input<inputs.BgpRoutingRoutingPreference>;
/**
* Withdraw static route
*/
withdrawStaticRoute?: pulumi.Input<boolean>;
}