UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

135 lines (134 loc) 3.55 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of route tables * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getRouteTables({ * ids: [ * "vtb-274e19skkuhog7fap8u4i8ird", * "vtb-2744hslq5b7r47fap8tjomgnj", * ], * routeTableName: "vpc-fast", * }); * ``` */ /** @deprecated volcengine.vpc.RouteTables has been deprecated in favor of volcengine.vpc.getRouteTables */ export declare function routeTables(args?: RouteTablesArgs, opts?: pulumi.InvokeOptions): Promise<RouteTablesResult>; /** * A collection of arguments for invoking RouteTables. */ export interface RouteTablesArgs { /** * A list of route table ids. */ ids?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The ProjectName of the route table. */ projectName?: string; /** * A name of route table. */ routeTableName?: string; /** * Tags. */ tags?: inputs.vpc.RouteTablesTag[]; /** * An id of VPC. */ vpcId?: string; } /** * A collection of values returned by RouteTables. */ export interface RouteTablesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly outputFile?: string; /** * The ProjectName of the route table. */ readonly projectName?: string; /** * The name of the route table. */ readonly routeTableName?: string; /** * The collection of route tables. */ readonly routeTables: outputs.vpc.RouteTablesRouteTable[]; /** * Tags. */ readonly tags?: outputs.vpc.RouteTablesTag[]; /** * The total count of route table query. */ readonly totalCount: number; /** * The id of the virtual private cloud (VPC) to which the route entry belongs. */ readonly vpcId?: string; } /** * Use this data source to query detailed information of route tables * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getRouteTables({ * ids: [ * "vtb-274e19skkuhog7fap8u4i8ird", * "vtb-2744hslq5b7r47fap8tjomgnj", * ], * routeTableName: "vpc-fast", * }); * ``` */ /** @deprecated volcengine.vpc.RouteTables has been deprecated in favor of volcengine.vpc.getRouteTables */ export declare function routeTablesOutput(args?: RouteTablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteTablesResult>; /** * A collection of arguments for invoking RouteTables. */ export interface RouteTablesOutputArgs { /** * A list of route table ids. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ProjectName of the route table. */ projectName?: pulumi.Input<string>; /** * A name of route table. */ routeTableName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vpc.RouteTablesTagArgs>[]>; /** * An id of VPC. */ vpcId?: pulumi.Input<string>; }