import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a resource to manage transit router route table * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const fooTransitRouter = new volcengine.transit_router.TransitRouter("fooTransitRouter", { * transitRouterName: "test-tf-acc", * description: "test-tf-acc", * }); * const fooRouteTable = new volcengine.transit_router.RouteTable("fooRouteTable", { * description: "tf-test-acc-description", * transitRouterRouteTableName: "tf-table-test-acc", * transitRouterId: fooTransitRouter.id, * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` * * ## Import * * transit router route table can be imported using the router id and route table id, e.g. * * ```sh * $ pulumi import volcengine:transit_router/routeTable:RouteTable default tr-2ff4v69tkxji859gp684cm14e:tr-rtb-hy13n2l4c6c0v**** * ``` */ 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; /** * The creation time of the route table. */ readonly creationTime: pulumi.Output; /** * Description of the transit router route table. */ readonly description: pulumi.Output; /** * The status of the route table. */ readonly status: pulumi.Output; /** * Tags. */ readonly tags: pulumi.Output; /** * Id of the transit router. */ readonly transitRouterId: pulumi.Output; /** * The id of the route table. */ readonly transitRouterRouteTableId: pulumi.Output; /** * The name of the route table. */ readonly transitRouterRouteTableName: pulumi.Output; /** * The type of route table. */ readonly transitRouterRouteTableType: pulumi.Output; /** * The update time of the route table. */ readonly updateTime: 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 { /** * The creation time of the route table. */ creationTime?: pulumi.Input; /** * Description of the transit router route table. */ description?: pulumi.Input; /** * The status of the route table. */ status?: pulumi.Input; /** * Tags. */ tags?: pulumi.Input[]>; /** * Id of the transit router. */ transitRouterId?: pulumi.Input; /** * The id of the route table. */ transitRouterRouteTableId?: pulumi.Input; /** * The name of the route table. */ transitRouterRouteTableName?: pulumi.Input; /** * The type of route table. */ transitRouterRouteTableType?: pulumi.Input; /** * The update time of the route table. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a RouteTable resource. */ export interface RouteTableArgs { /** * Description of the transit router route table. */ description?: pulumi.Input; /** * Tags. */ tags?: pulumi.Input[]>; /** * Id of the transit router. */ transitRouterId: pulumi.Input; /** * The name of the route table. */ transitRouterRouteTableName?: pulumi.Input; }