import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Basis for Transit Router to forward traffic, supporting associated forwarding, static routing, route learning, and route synchronization. Multiple TR routing tables can be created under each TR instance to forward traffic for network instances with different access requirements. Multiple network instance connections can be associated with the same TR routing table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const transitRouterTransitRouterRouteTableDemo = new volcenginecc.transitrouter.TransitRouterRouteTable("TransitRouterTransitRouterRouteTableDemo", { * transitRouterId: "tr-mj7mc0paq******", * description: "TransitRouterTransitRouterRouteTableDemo-Description", * transitRouterRouteTableName: "TransitRouterTransitRouterRouteTableDemo", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/transitRouterRouteTable:TransitRouterRouteTable example "transit_router_id|transit_router_route_table_id" * ``` */ export declare class TransitRouterRouteTable extends pulumi.CustomResource { /** * Get an existing TransitRouterRouteTable 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?: TransitRouterRouteTableState, opts?: pulumi.CustomResourceOptions): TransitRouterRouteTable; /** * Returns true if the given object is an instance of TransitRouterRouteTable. 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 TransitRouterRouteTable; /** * Creation time of the TR routing table */ readonly createdTime: pulumi.Output; /** * Description of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string. */ readonly description: pulumi.Output; /** * ID of the inbound routing policy associated with the TR routing table */ readonly inRoutePolicyTableId: pulumi.Output; /** * ID of the outbound routing policy associated with the TR routing table */ readonly outRoutePolicyTableId: pulumi.Output; /** * Status of the TR routing table. Creating: creating. Deleting: deleting. Pending: configuring. Available: available */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Transit Router instance ID */ readonly transitRouterId: pulumi.Output; /** * TR routing table ID */ readonly transitRouterRouteTableId: pulumi.Output; /** * Name of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the TR routing table ID */ readonly transitRouterRouteTableName: pulumi.Output; /** * Type of TR routing table. System: system routing table. Custom: custom routing table. */ readonly transitRouterRouteTableType: pulumi.Output; /** * Last operation time of the TR routing table */ readonly updatedTime: pulumi.Output; /** * Create a TransitRouterRouteTable 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: TransitRouterRouteTableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransitRouterRouteTable resources. */ export interface TransitRouterRouteTableState { /** * Creation time of the TR routing table */ createdTime?: pulumi.Input; /** * Description of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string. */ description?: pulumi.Input; /** * ID of the inbound routing policy associated with the TR routing table */ inRoutePolicyTableId?: pulumi.Input; /** * ID of the outbound routing policy associated with the TR routing table */ outRoutePolicyTableId?: pulumi.Input; /** * Status of the TR routing table. Creating: creating. Deleting: deleting. Pending: configuring. Available: available */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Transit Router instance ID */ transitRouterId?: pulumi.Input; /** * TR routing table ID */ transitRouterRouteTableId?: pulumi.Input; /** * Name of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the TR routing table ID */ transitRouterRouteTableName?: pulumi.Input; /** * Type of TR routing table. System: system routing table. Custom: custom routing table. */ transitRouterRouteTableType?: pulumi.Input; /** * Last operation time of the TR routing table */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a TransitRouterRouteTable resource. */ export interface TransitRouterRouteTableArgs { /** * Description of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string. */ description?: pulumi.Input; tags?: pulumi.Input[]>; /** * Transit Router instance ID */ transitRouterId: pulumi.Input; /** * Name of the TR routing table. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the TR routing table ID */ transitRouterRouteTableName?: pulumi.Input; }