@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
131 lines (130 loc) • 4.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage cen route entry
* ## Import
*
* CenRouteEntry can be imported using the CenId:DestinationCidrBlock:InstanceId:InstanceType:InstanceRegionId, e.g.
*
* ```sh
* $ pulumi import volcengine:cen/routeEntry:RouteEntry default cen-2nim00ybaylts7trquyzt****:100.XX.XX.0/24:vpc-vtbnbb04qw3k2hgi12cv****:VPC:cn-beijing
* ```
*/
export declare class RouteEntry extends pulumi.CustomResource {
/**
* Get an existing RouteEntry 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?: RouteEntryState, opts?: pulumi.CustomResourceOptions): RouteEntry;
/**
* Returns true if the given object is an instance of RouteEntry. 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 RouteEntry;
/**
* The AS path of the cen route entry.
*/
readonly asPaths: pulumi.Output<string[]>;
/**
* The cen ID of the cen route entry.
*/
readonly cenId: pulumi.Output<string>;
/**
* The destination cidr block of the cen route entry.
*/
readonly destinationCidrBlock: pulumi.Output<string>;
/**
* The instance id of the next hop of the cen route entry.
*/
readonly instanceId: pulumi.Output<string>;
/**
* The instance region id of the next hop of the cen route entry.
*/
readonly instanceRegionId: pulumi.Output<string>;
/**
* The instance type of the next hop of the cen route entry.
*/
readonly instanceType: pulumi.Output<string | undefined>;
/**
* The publish status of the cen route entry.
*/
readonly publishStatus: pulumi.Output<string>;
/**
* The status of the cen route entry.
*/
readonly status: pulumi.Output<string>;
/**
* Create a RouteEntry 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: RouteEntryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering RouteEntry resources.
*/
export interface RouteEntryState {
/**
* The AS path of the cen route entry.
*/
asPaths?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The cen ID of the cen route entry.
*/
cenId?: pulumi.Input<string>;
/**
* The destination cidr block of the cen route entry.
*/
destinationCidrBlock?: pulumi.Input<string>;
/**
* The instance id of the next hop of the cen route entry.
*/
instanceId?: pulumi.Input<string>;
/**
* The instance region id of the next hop of the cen route entry.
*/
instanceRegionId?: pulumi.Input<string>;
/**
* The instance type of the next hop of the cen route entry.
*/
instanceType?: pulumi.Input<string>;
/**
* The publish status of the cen route entry.
*/
publishStatus?: pulumi.Input<string>;
/**
* The status of the cen route entry.
*/
status?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a RouteEntry resource.
*/
export interface RouteEntryArgs {
/**
* The cen ID of the cen route entry.
*/
cenId: pulumi.Input<string>;
/**
* The destination cidr block of the cen route entry.
*/
destinationCidrBlock: pulumi.Input<string>;
/**
* The instance id of the next hop of the cen route entry.
*/
instanceId: pulumi.Input<string>;
/**
* The instance region id of the next hop of the cen route entry.
*/
instanceRegionId: pulumi.Input<string>;
/**
* The instance type of the next hop of the cen route entry.
*/
instanceType?: pulumi.Input<string>;
}