import * as pulumi from "@pulumi/pulumi"; /** * Cloud enterprise network route entry, used to publish the route entry of a network instance to the cloud enterprise network * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const cENRouteEntryDemo = new volcenginecc.cen.RouteEntry("CENRouteEntryDemo", { * instanceType: "VPC", * instanceRegionId: "cn-beijing", * instanceId: "vpc-iirjlwem73eo74o8ctxxxxx", * destinationCidrBlock: "192.x.0.0/24", * cenId: "cen-2v73nw1h8a03k6x7e8xxxxx", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cen/routeEntry:RouteEntry example "cen_id|destination_cidr_block|instance_id" * ``` */ 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, 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; /** * AS path */ readonly asPaths: pulumi.Output; /** * Cloud enterprise network instance ID */ readonly cenId: pulumi.Output; /** * Destination CIDR of the route entry */ readonly destinationCidrBlock: pulumi.Output; /** * Network instance ID */ readonly instanceId: pulumi.Output; /** * Region ID of the network instance */ readonly instanceRegionId: pulumi.Output; /** * Network instance type */ readonly instanceType: pulumi.Output; /** * Publish status of the route entry */ readonly publishStatus: pulumi.Output; /** * Effective status of the route entry */ readonly status: pulumi.Output; /** * Route entry type */ readonly type: pulumi.Output; /** * 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 { /** * AS path */ asPaths?: pulumi.Input[]>; /** * Cloud enterprise network instance ID */ cenId?: pulumi.Input; /** * Destination CIDR of the route entry */ destinationCidrBlock?: pulumi.Input; /** * Network instance ID */ instanceId?: pulumi.Input; /** * Region ID of the network instance */ instanceRegionId?: pulumi.Input; /** * Network instance type */ instanceType?: pulumi.Input; /** * Publish status of the route entry */ publishStatus?: pulumi.Input; /** * Effective status of the route entry */ status?: pulumi.Input; /** * Route entry type */ type?: pulumi.Input; } /** * The set of arguments for constructing a RouteEntry resource. */ export interface RouteEntryArgs { /** * Cloud enterprise network instance ID */ cenId: pulumi.Input; /** * Destination CIDR of the route entry */ destinationCidrBlock: pulumi.Input; /** * Network instance ID */ instanceId: pulumi.Input; /** * Region ID of the network instance */ instanceRegionId: pulumi.Input; /** * Network instance type */ instanceType: pulumi.Input; }