@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
117 lines (116 loc) • 3.48 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",
* });
* ```
*/
/** @deprecated volcengine.transit_router.VpcAttachments has been deprecated in favor of volcengine.transit_router.getVpcAttachments */
export declare function vpcAttachments(args: VpcAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<VpcAttachmentsResult>;
/**
* A collection of arguments for invoking VpcAttachments.
*/
export interface VpcAttachmentsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Tags.
*/
tags?: inputs.transit_router.VpcAttachmentsTag[];
/**
* 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 VpcAttachments.
*/
export interface VpcAttachmentsResult {
/**
* The collection of query.
*/
readonly attachments: outputs.transit_router.VpcAttachmentsAttachment[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* Tags.
*/
readonly tags?: outputs.transit_router.VpcAttachmentsTag[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.transit_router.VpcAttachments has been deprecated in favor of volcengine.transit_router.getVpcAttachments */
export declare function vpcAttachmentsOutput(args: VpcAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcAttachmentsResult>;
/**
* A collection of arguments for invoking VpcAttachments.
*/
export interface VpcAttachmentsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.transit_router.VpcAttachmentsTagArgs>[]>;
/**
* 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>;
}