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 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", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteTablePropagations has been deprecated in favor of volcengine.transit_router.getRouteTablePropagations */ export declare function routeTablePropagations(args: RouteTablePropagationsArgs, opts?: pulumi.InvokeOptions): Promise<RouteTablePropagationsResult>; /** * A collection of arguments for invoking RouteTablePropagations. */ export interface RouteTablePropagationsArgs { /** * 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 RouteTablePropagations. */ export interface RouteTablePropagationsResult { /** * 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.RouteTablePropagationsPropagation[]; /** * 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", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteTablePropagations has been deprecated in favor of volcengine.transit_router.getRouteTablePropagations */ export declare function routeTablePropagationsOutput(args: RouteTablePropagationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteTablePropagationsResult>; /** * A collection of arguments for invoking RouteTablePropagations. */ export interface RouteTablePropagationsOutputArgs { /** * 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>; }