UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

88 lines 3.44 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.mountServicesOutput = exports.mountServices = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of vepfs mount services * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * import * as volcengine from "@volcengine/pulumi"; * * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { * vpcName: "acc-test-vpc", * cidrBlock: "172.16.0.0/16", * }); * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { * subnetName: "acc-test-subnet", * cidrBlock: "172.16.0.0/24", * zoneId: "cn-beijing-a", * vpcId: fooVpc.id, * }); * const fooMountService = new volcengine.vepfs.MountService("fooMountService", { * mountServiceName: "acc-test-mount-service", * subnetId: fooSubnet.id, * nodeType: "ecs.g1ie.large", * project: "default", * }); * const fooMountServices = volcengine.vepfs.getMountServicesOutput({ * mountServiceId: fooMountService.id, * }); * ``` */ /** @deprecated volcengine.vepfs.MountServices has been deprecated in favor of volcengine.vepfs.getMountServices */ function mountServices(args, opts) { pulumi.log.warn("mountServices is deprecated: volcengine.vepfs.MountServices has been deprecated in favor of volcengine.vepfs.getMountServices"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vepfs/mountServices:MountServices", { "fileSystemId": args.fileSystemId, "mountServiceId": args.mountServiceId, "mountServiceName": args.mountServiceName, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "statuses": args.statuses, }, opts); } exports.mountServices = mountServices; /** * Use this data source to query detailed information of vepfs mount services * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * import * as volcengine from "@volcengine/pulumi"; * * const fooVpc = new volcengine.vpc.Vpc("fooVpc", { * vpcName: "acc-test-vpc", * cidrBlock: "172.16.0.0/16", * }); * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", { * subnetName: "acc-test-subnet", * cidrBlock: "172.16.0.0/24", * zoneId: "cn-beijing-a", * vpcId: fooVpc.id, * }); * const fooMountService = new volcengine.vepfs.MountService("fooMountService", { * mountServiceName: "acc-test-mount-service", * subnetId: fooSubnet.id, * nodeType: "ecs.g1ie.large", * project: "default", * }); * const fooMountServices = volcengine.vepfs.getMountServicesOutput({ * mountServiceId: fooMountService.id, * }); * ``` */ /** @deprecated volcengine.vepfs.MountServices has been deprecated in favor of volcengine.vepfs.getMountServices */ function mountServicesOutput(args, opts) { return pulumi.output(args).apply((a) => mountServices(a, opts)); } exports.mountServicesOutput = mountServicesOutput; //# sourceMappingURL=mountServices.js.map