import * as pulumi from "@pulumi/pulumi"; /** * Add a static route to the dedicated gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const directConnectGatewayRouteDemo = new volcenginecc.directconnect.GatewayRoute("DirectConnectGatewayRouteDemo", { * directConnectGatewayId: "dcg-****", * nextHopId: "dcv-****", * destinationCidrBlock: "192.168.1.0/28", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:directconnect/gatewayRoute:GatewayRoute example "direct_connect_gateway_route_id" * ``` */ export declare class GatewayRoute extends pulumi.CustomResource { /** * Get an existing GatewayRoute 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?: GatewayRouteState, opts?: pulumi.CustomResourceOptions): GatewayRoute; /** * Returns true if the given object is an instance of GatewayRoute. 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 GatewayRoute; /** * Account ID to which the dedicated gateway route belongs. */ readonly accountId: pulumi.Output; /** * Time when the dedicated gateway route was created. */ readonly creationTime: pulumi.Output; /** * Destination network segment of the dedicated gateway route. */ readonly destinationCidrBlock: pulumi.Output; /** * Dedicated gateway ID. */ readonly directConnectGatewayId: pulumi.Output; /** * Dedicated gateway route ID. */ readonly directConnectGatewayRouteId: pulumi.Output; /** * Next hop instance ID for the dedicated gateway route. */ readonly nextHopId: pulumi.Output; /** * Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router. */ readonly nextHopType: pulumi.Output; /** * Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network. */ readonly routeType: pulumi.Output; /** * Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available. */ readonly status: pulumi.Output; /** * Create a GatewayRoute 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: GatewayRouteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GatewayRoute resources. */ export interface GatewayRouteState { /** * Account ID to which the dedicated gateway route belongs. */ accountId?: pulumi.Input; /** * Time when the dedicated gateway route was created. */ creationTime?: pulumi.Input; /** * Destination network segment of the dedicated gateway route. */ destinationCidrBlock?: pulumi.Input; /** * Dedicated gateway ID. */ directConnectGatewayId?: pulumi.Input; /** * Dedicated gateway route ID. */ directConnectGatewayRouteId?: pulumi.Input; /** * Next hop instance ID for the dedicated gateway route. */ nextHopId?: pulumi.Input; /** * Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router. */ nextHopType?: pulumi.Input; /** * Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network. */ routeType?: pulumi.Input; /** * Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available. */ status?: pulumi.Input; } /** * The set of arguments for constructing a GatewayRoute resource. */ export interface GatewayRouteArgs { /** * Destination network segment of the dedicated gateway route. */ destinationCidrBlock: pulumi.Input; /** * Dedicated gateway ID. */ directConnectGatewayId: pulumi.Input; /** * Next hop instance ID for the dedicated gateway route. */ nextHopId: pulumi.Input; }