UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

104 lines 3.69 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.fileSystemsOutput = exports.fileSystems = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of vepfs file systems * ## 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 fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", { * fileSystemName: "acc-test-file-system", * subnetId: fooSubnet.id, * storeType: "Advance_100", * description: "tf-test", * capacity: 12, * project: "default", * enableRestripe: false, * tags: [{ * key: "k1", * value: "v1", * }], * }); * const fooFileSystems = volcengine.vepfs.getFileSystemsOutput({ * ids: [fooFileSystem.id], * }); * ``` */ /** @deprecated volcengine.vepfs.FileSystems has been deprecated in favor of volcengine.vepfs.getFileSystems */ function fileSystems(args, opts) { pulumi.log.warn("fileSystems is deprecated: volcengine.vepfs.FileSystems has been deprecated in favor of volcengine.vepfs.getFileSystems"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vepfs/fileSystems:FileSystems", { "fileSystemName": args.fileSystemName, "ids": args.ids, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "project": args.project, "statuses": args.statuses, "storeType": args.storeType, "zoneId": args.zoneId, }, opts); } exports.fileSystems = fileSystems; /** * Use this data source to query detailed information of vepfs file systems * ## 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 fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", { * fileSystemName: "acc-test-file-system", * subnetId: fooSubnet.id, * storeType: "Advance_100", * description: "tf-test", * capacity: 12, * project: "default", * enableRestripe: false, * tags: [{ * key: "k1", * value: "v1", * }], * }); * const fooFileSystems = volcengine.vepfs.getFileSystemsOutput({ * ids: [fooFileSystem.id], * }); * ``` */ /** @deprecated volcengine.vepfs.FileSystems has been deprecated in favor of volcengine.vepfs.getFileSystems */ function fileSystemsOutput(args, opts) { return pulumi.output(args).apply((a) => fileSystems(a, opts)); } exports.fileSystemsOutput = fileSystemsOutput; //# sourceMappingURL=fileSystems.js.map