import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A route table consists of a series of route entries that specify the next hop cloud resource for private network traffic. Each subnet must be associated with only one route table, allowing resources within the subnet to forward traffic via the route table * * ## Import * * ```sh * $ pulumi import volcenginecc:vpc/routeTable:RouteTable example "route_table_id" * ``` */ export declare class RouteTable extends pulumi.CustomResource { /** * Get an existing RouteTable 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?: RouteTableState, opts?: pulumi.CustomResourceOptions): RouteTable; /** * Returns true if the given object is an instance of RouteTable. 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 RouteTable; /** * Account ID owning the route table */ readonly accountId: pulumi.Output; /** * Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association */ readonly associateType: pulumi.Output; /** * Route Table Creation Time */ readonly createdTime: pulumi.Output; readonly customRouteEntries: pulumi.Output; /** * Route Table Description */ readonly description: pulumi.Output; /** * IPv4 Gateway ID associated with the route table */ readonly ipv4GatewayId: pulumi.Output; /** * IPv6 Gateway ID associated with the route table */ readonly ipv6GatewayId: pulumi.Output; /** * Name of the project owning the route table */ readonly projectName: pulumi.Output; /** * Route Table ID */ readonly routeTableId: pulumi.Output; /** * Route Table Name */ readonly routeTableName: pulumi.Output; /** * Route table type. 1. Custom: Custom route table 2. System: System route table */ readonly routeTableType: pulumi.Output; /** * List of associated subnet IDs */ readonly subnetIds: pulumi.Output; readonly systemRouteEntries: pulumi.Output; readonly tags: pulumi.Output; /** * Route Table Last Updated Time */ readonly updatedTime: pulumi.Output; /** * ID of the VPC owning the route table */ readonly vpcId: pulumi.Output; /** * VPC Name */ readonly vpcName: pulumi.Output; /** * Create a RouteTable 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: RouteTableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RouteTable resources. */ export interface RouteTableState { /** * Account ID owning the route table */ accountId?: pulumi.Input; /** * Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association */ associateType?: pulumi.Input; /** * Route Table Creation Time */ createdTime?: pulumi.Input; customRouteEntries?: pulumi.Input[]>; /** * Route Table Description */ description?: pulumi.Input; /** * IPv4 Gateway ID associated with the route table */ ipv4GatewayId?: pulumi.Input; /** * IPv6 Gateway ID associated with the route table */ ipv6GatewayId?: pulumi.Input; /** * Name of the project owning the route table */ projectName?: pulumi.Input; /** * Route Table ID */ routeTableId?: pulumi.Input; /** * Route Table Name */ routeTableName?: pulumi.Input; /** * Route table type. 1. Custom: Custom route table 2. System: System route table */ routeTableType?: pulumi.Input; /** * List of associated subnet IDs */ subnetIds?: pulumi.Input[]>; systemRouteEntries?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * Route Table Last Updated Time */ updatedTime?: pulumi.Input; /** * ID of the VPC owning the route table */ vpcId?: pulumi.Input; /** * VPC Name */ vpcName?: pulumi.Input; } /** * The set of arguments for constructing a RouteTable resource. */ export interface RouteTableArgs { /** * Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association */ associateType?: pulumi.Input; customRouteEntries?: pulumi.Input[]>; /** * Route Table Description */ description?: pulumi.Input; /** * IPv4 Gateway ID associated with the route table */ ipv4GatewayId?: pulumi.Input; /** * IPv6 Gateway ID associated with the route table */ ipv6GatewayId?: pulumi.Input; /** * Name of the project owning the route table */ projectName?: pulumi.Input; /** * Route Table Name */ routeTableName?: pulumi.Input; /** * List of associated subnet IDs */ subnetIds?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * ID of the VPC owning the route table */ vpcId: pulumi.Input; }