UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

85 lines 3.1 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.getMountServicesOutput = exports.getMountServices = 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, * }); * ``` */ function getMountServices(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vepfs/getMountServices:getMountServices", { "fileSystemId": args.fileSystemId, "mountServiceId": args.mountServiceId, "mountServiceName": args.mountServiceName, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "statuses": args.statuses, }, opts); } exports.getMountServices = getMountServices; /** * 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, * }); * ``` */ function getMountServicesOutput(args, opts) { return pulumi.output(args).apply((a) => getMountServices(a, opts)); } exports.getMountServicesOutput = getMountServicesOutput; //# sourceMappingURL=getMountServices.js.map