UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

51 lines 2.02 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getVpcAttachmentsOutput = exports.getVpcAttachments = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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", * }); * ``` */ function getVpcAttachments(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:transit_router/getVpcAttachments:getVpcAttachments", { "outputFile": args.outputFile, "tags": args.tags, "transitRouterAttachmentIds": args.transitRouterAttachmentIds, "transitRouterId": args.transitRouterId, "vpcId": args.vpcId, }, opts); } exports.getVpcAttachments = getVpcAttachments; /** * 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", * }); * ``` */ function getVpcAttachmentsOutput(args, opts) { return pulumi.output(args).apply((a) => getVpcAttachments(a, opts)); } exports.getVpcAttachmentsOutput = getVpcAttachmentsOutput; //# sourceMappingURL=getVpcAttachments.js.map