UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

95 lines (94 loc) 3.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of transit router route table associations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteTableAssociations({ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq", * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteTableAssociations has been deprecated in favor of volcengine.transit_router.getRouteTableAssociations */ export declare function routeTableAssociations(args: RouteTableAssociationsArgs, opts?: pulumi.InvokeOptions): Promise<RouteTableAssociationsResult>; /** * A collection of arguments for invoking RouteTableAssociations. */ export interface RouteTableAssociationsArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The ID of the network instance connection. */ transitRouterAttachmentId?: string; /** * The ID of the routing table associated with the transit router instance. */ transitRouterRouteTableId: string; } /** * A collection of values returned by RouteTableAssociations. */ export interface RouteTableAssociationsResult { /** * The list of route table associations. */ readonly associations: outputs.transit_router.RouteTableAssociationsAssociation[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The total count of data query. */ readonly totalCount: number; /** * The ID of the network instance connection. */ readonly transitRouterAttachmentId?: string; /** * The ID of the routing table associated with the transit router instance. */ readonly transitRouterRouteTableId: string; } /** * Use this data source to query detailed information of transit router route table associations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteTableAssociations({ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq", * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteTableAssociations has been deprecated in favor of volcengine.transit_router.getRouteTableAssociations */ export declare function routeTableAssociationsOutput(args: RouteTableAssociationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteTableAssociationsResult>; /** * A collection of arguments for invoking RouteTableAssociations. */ export interface RouteTableAssociationsOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ID of the network instance connection. */ transitRouterAttachmentId?: pulumi.Input<string>; /** * The ID of the routing table associated with the transit router instance. */ transitRouterRouteTableId: pulumi.Input<string>; }