UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

59 lines 2.58 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.virtualInterfacesOutput = exports.virtualInterfaces = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of direct connect virtual interfaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.direct_connect.getVirtualInterfaces({ * virtualInterfaceName: "tf-test", * }); * ``` */ /** @deprecated volcengine.direct_connect.VirtualInterfaces has been deprecated in favor of volcengine.direct_connect.getVirtualInterfaces */ function virtualInterfaces(args, opts) { pulumi.log.warn("virtualInterfaces is deprecated: volcengine.direct_connect.VirtualInterfaces has been deprecated in favor of volcengine.direct_connect.getVirtualInterfaces"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:direct_connect/virtualInterfaces:VirtualInterfaces", { "directConnectConnectionId": args.directConnectConnectionId, "directConnectGatewayId": args.directConnectGatewayId, "ids": args.ids, "localIp": args.localIp, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "peerIp": args.peerIp, "routeType": args.routeType, "tagFilters": args.tagFilters, "virtualInterfaceName": args.virtualInterfaceName, "vlanId": args.vlanId, }, opts); } exports.virtualInterfaces = virtualInterfaces; /** * Use this data source to query detailed information of direct connect virtual interfaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.direct_connect.getVirtualInterfaces({ * virtualInterfaceName: "tf-test", * }); * ``` */ /** @deprecated volcengine.direct_connect.VirtualInterfaces has been deprecated in favor of volcengine.direct_connect.getVirtualInterfaces */ function virtualInterfacesOutput(args, opts) { return pulumi.output(args).apply((a) => virtualInterfaces(a, opts)); } exports.virtualInterfacesOutput = virtualInterfacesOutput; //# sourceMappingURL=virtualInterfaces.js.map