UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

93 lines (92 loc) 3.11 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 propagations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteTablePropagations({ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq", * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ export declare function getRouteTablePropagations(args: GetRouteTablePropagationsArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteTablePropagationsResult>; /** * A collection of arguments for invoking getRouteTablePropagations. */ export interface GetRouteTablePropagationsArgs { /** * 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 getRouteTablePropagations. */ export interface GetRouteTablePropagationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The list of route table propagations. */ readonly propagations: outputs.transit_router.GetRouteTablePropagationsPropagation[]; /** * 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 propagations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteTablePropagations({ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq", * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ export declare function getRouteTablePropagationsOutput(args: GetRouteTablePropagationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRouteTablePropagationsResult>; /** * A collection of arguments for invoking getRouteTablePropagations. */ export interface GetRouteTablePropagationsOutputArgs { /** * 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>; }