import * as pulumi from "@pulumi/pulumi"; /** * By creating or deleting static routes in route tables associated with network instance connections or cross-region connections, you can flexibly control traffic direction in the transit router * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/transitRouterRouteEntry:TransitRouterRouteEntry example "transit_router_route_table_id|transit_router_route_entry_id" * ``` */ export declare class TransitRouterRouteEntry extends pulumi.CustomResource { /** * Get an existing TransitRouterRouteEntry 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?: TransitRouterRouteEntryState, opts?: pulumi.CustomResourceOptions): TransitRouterRouteEntry; /** * Returns true if the given object is an instance of TransitRouterRouteEntry. 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 TransitRouterRouteEntry; /** * AS path of the route entry */ readonly asPaths: pulumi.Output; /** * Creation time of the route entry */ readonly createdTime: pulumi.Output; /** * Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string */ readonly description: pulumi.Output; /** * Destination CIDR block of the route entry */ readonly destinationCidrBlock: pulumi.Output; /** * Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive */ readonly status: pulumi.Output; /** * ID of the TR route entry */ readonly transitRouterRouteEntryId: pulumi.Output; /** * Name of the route entry */ readonly transitRouterRouteEntryName: pulumi.Output; /** * Next hop ID of the route entry */ readonly transitRouterRouteEntryNextHopId: pulumi.Output; /** * Next hop network instance ID of the route entry */ readonly transitRouterRouteEntryNextHopResourceId: pulumi.Output; /** * Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router */ readonly transitRouterRouteEntryNextHopResourceType: pulumi.Output; /** * Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped */ readonly transitRouterRouteEntryNextHopType: pulumi.Output; /** * Type of the route entry. Static: Static route. Propagated: Learned route */ readonly transitRouterRouteEntryType: pulumi.Output; /** * ID of the route table associated with the transit router instance */ readonly transitRouterRouteTableId: pulumi.Output; /** * Last updated time of the route entry */ readonly updatedTime: pulumi.Output; /** * Create a TransitRouterRouteEntry 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: TransitRouterRouteEntryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransitRouterRouteEntry resources. */ export interface TransitRouterRouteEntryState { /** * AS path of the route entry */ asPaths?: pulumi.Input[]>; /** * Creation time of the route entry */ createdTime?: pulumi.Input; /** * Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string */ description?: pulumi.Input; /** * Destination CIDR block of the route entry */ destinationCidrBlock?: pulumi.Input; /** * Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive */ status?: pulumi.Input; /** * ID of the TR route entry */ transitRouterRouteEntryId?: pulumi.Input; /** * Name of the route entry */ transitRouterRouteEntryName?: pulumi.Input; /** * Next hop ID of the route entry */ transitRouterRouteEntryNextHopId?: pulumi.Input; /** * Next hop network instance ID of the route entry */ transitRouterRouteEntryNextHopResourceId?: pulumi.Input; /** * Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router */ transitRouterRouteEntryNextHopResourceType?: pulumi.Input; /** * Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped */ transitRouterRouteEntryNextHopType?: pulumi.Input; /** * Type of the route entry. Static: Static route. Propagated: Learned route */ transitRouterRouteEntryType?: pulumi.Input; /** * ID of the route table associated with the transit router instance */ transitRouterRouteTableId?: pulumi.Input; /** * Last updated time of the route entry */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a TransitRouterRouteEntry resource. */ export interface TransitRouterRouteEntryArgs { /** * Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string */ description?: pulumi.Input; /** * Destination CIDR block of the route entry */ destinationCidrBlock: pulumi.Input; /** * Name of the route entry */ transitRouterRouteEntryName?: pulumi.Input; /** * Next hop ID of the route entry */ transitRouterRouteEntryNextHopId?: pulumi.Input; /** * Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped */ transitRouterRouteEntryNextHopType: pulumi.Input; /** * ID of the route table associated with the transit router instance */ transitRouterRouteTableId: pulumi.Input; }