UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

113 lines (112 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 transit router direct connect gateway attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.transit_router.getDirectConnectGatewayAttachments({ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05", * }); * ``` */ export declare function getDirectConnectGatewayAttachments(args: GetDirectConnectGatewayAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayAttachmentsResult>; /** * A collection of arguments for invoking getDirectConnectGatewayAttachments. */ export interface GetDirectConnectGatewayAttachmentsArgs { /** * ID of the direct connection gateway. */ directConnectGatewayId?: string; /** * File name where to save data source results. */ outputFile?: string; /** * Tags. */ tags?: inputs.transit_router.GetDirectConnectGatewayAttachmentsTag[]; /** * ID of the network instance connection. */ transitRouterAttachmentIds?: string[]; /** * The id of the transit router. */ transitRouterId: string; } /** * A collection of values returned by getDirectConnectGatewayAttachments. */ export interface GetDirectConnectGatewayAttachmentsResult { /** * The collection of query. */ readonly attachments: outputs.transit_router.GetDirectConnectGatewayAttachmentsAttachment[]; /** * The direct connect gateway id. */ readonly directConnectGatewayId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * Tags. */ readonly tags?: outputs.transit_router.GetDirectConnectGatewayAttachmentsTag[]; /** * The total count of query. */ readonly totalCount: number; readonly transitRouterAttachmentIds?: string[]; /** * The id of the transit router. */ readonly transitRouterId: string; } /** * Use this data source to query detailed information of transit router direct connect gateway attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.transit_router.getDirectConnectGatewayAttachments({ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05", * }); * ``` */ export declare function getDirectConnectGatewayAttachmentsOutput(args: GetDirectConnectGatewayAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDirectConnectGatewayAttachmentsResult>; /** * A collection of arguments for invoking getDirectConnectGatewayAttachments. */ export interface GetDirectConnectGatewayAttachmentsOutputArgs { /** * ID of the direct connection gateway. */ directConnectGatewayId?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.transit_router.GetDirectConnectGatewayAttachmentsTagArgs>[]>; /** * ID of the network instance connection. */ transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>; /** * The id of the transit router. */ transitRouterId: pulumi.Input<string>; }