UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

115 lines (114 loc) 3.85 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", * }); * ``` */ /** @deprecated volcengine.transit_router.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments */ export declare function directConnectGatewayAttachments(args: DirectConnectGatewayAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<DirectConnectGatewayAttachmentsResult>; /** * A collection of arguments for invoking DirectConnectGatewayAttachments. */ export interface DirectConnectGatewayAttachmentsArgs { /** * ID of the direct connection gateway. */ directConnectGatewayId?: string; /** * File name where to save data source results. */ outputFile?: string; /** * Tags. */ tags?: inputs.transit_router.DirectConnectGatewayAttachmentsTag[]; /** * ID of the network instance connection. */ transitRouterAttachmentIds?: string[]; /** * The id of the transit router. */ transitRouterId: string; } /** * A collection of values returned by DirectConnectGatewayAttachments. */ export interface DirectConnectGatewayAttachmentsResult { /** * The collection of query. */ readonly attachments: outputs.transit_router.DirectConnectGatewayAttachmentsAttachment[]; /** * 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.DirectConnectGatewayAttachmentsTag[]; /** * 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", * }); * ``` */ /** @deprecated volcengine.transit_router.DirectConnectGatewayAttachments has been deprecated in favor of volcengine.transit_router.getDirectConnectGatewayAttachments */ export declare function directConnectGatewayAttachmentsOutput(args: DirectConnectGatewayAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DirectConnectGatewayAttachmentsResult>; /** * A collection of arguments for invoking DirectConnectGatewayAttachments. */ export interface DirectConnectGatewayAttachmentsOutputArgs { /** * 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.DirectConnectGatewayAttachmentsTagArgs>[]>; /** * ID of the network instance connection. */ transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>; /** * The id of the transit router. */ transitRouterId: pulumi.Input<string>; }