@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
115 lines (114 loc) • 3.25 kB
TypeScript
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 vpc attachments
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.transit_router.getVpcAttachments({
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
* });
* ```
*/
export declare function getVpcAttachments(args: GetVpcAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcAttachmentsResult>;
/**
* A collection of arguments for invoking getVpcAttachments.
*/
export interface GetVpcAttachmentsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Tags.
*/
tags?: inputs.transit_router.GetVpcAttachmentsTag[];
/**
* A list of Transit Router Attachment ids.
*/
transitRouterAttachmentIds?: string[];
/**
* The id of transit router.
*/
transitRouterId: string;
/**
* The id of vpc.
*/
vpcId?: string;
}
/**
* A collection of values returned by getVpcAttachments.
*/
export interface GetVpcAttachmentsResult {
/**
* The collection of query.
*/
readonly attachments: outputs.transit_router.GetVpcAttachmentsAttachment[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* Tags.
*/
readonly tags?: outputs.transit_router.GetVpcAttachmentsTag[];
/**
* The total count of query.
*/
readonly totalCount: number;
readonly transitRouterAttachmentIds?: string[];
/**
* The id of the transit router.
*/
readonly transitRouterId: string;
/**
* The ID of vpc.
*/
readonly vpcId?: string;
}
/**
* Use this data source to query detailed information of transit router vpc attachments
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.transit_router.getVpcAttachments({
* transitRouterAttachmentIds: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
* });
* ```
*/
export declare function getVpcAttachmentsOutput(args: GetVpcAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcAttachmentsResult>;
/**
* A collection of arguments for invoking getVpcAttachments.
*/
export interface GetVpcAttachmentsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.transit_router.GetVpcAttachmentsTagArgs>[]>;
/**
* A list of Transit Router Attachment ids.
*/
transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The id of transit router.
*/
transitRouterId: pulumi.Input<string>;
/**
* The id of vpc.
*/
vpcId?: pulumi.Input<string>;
}