@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
195 lines (194 loc) • 5.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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 */
export declare function fileSystems(args?: FileSystemsArgs, opts?: pulumi.InvokeOptions): Promise<FileSystemsResult>;
/**
* A collection of arguments for invoking FileSystems.
*/
export interface FileSystemsArgs {
/**
* The Name of Vepfs File System. This field support fuzzy query.
*/
fileSystemName?: string;
/**
* A list of Vepfs File System IDs.
*/
ids?: string[];
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The project of Vepfs File System.
*/
project?: string;
/**
* The query status list of Vepfs File System.
*/
statuses?: string[];
/**
* The Store Type of Vepfs File System.
*/
storeType?: string;
/**
* The zone id of File System.
*/
zoneId?: string;
}
/**
* A collection of values returned by FileSystems.
*/
export interface FileSystemsResult {
/**
* The name of the vepfs file system.
*/
readonly fileSystemName?: string;
/**
* The collection of query.
*/
readonly fileSystems: outputs.vepfs.FileSystemsFileSystem[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The project name of the vepfs file system.
*/
readonly project?: string;
/**
* The status of the vepfs file system.
*/
readonly statuses?: string[];
/**
* The store type of the vepfs file system.
*/
readonly storeType?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
/**
* The id of the zone.
*/
readonly zoneId?: string;
}
/**
* 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 */
export declare function fileSystemsOutput(args?: FileSystemsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FileSystemsResult>;
/**
* A collection of arguments for invoking FileSystems.
*/
export interface FileSystemsOutputArgs {
/**
* The Name of Vepfs File System. This field support fuzzy query.
*/
fileSystemName?: pulumi.Input<string>;
/**
* A list of Vepfs File System IDs.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The project of Vepfs File System.
*/
project?: pulumi.Input<string>;
/**
* The query status list of Vepfs File System.
*/
statuses?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The Store Type of Vepfs File System.
*/
storeType?: pulumi.Input<string>;
/**
* The zone id of File System.
*/
zoneId?: pulumi.Input<string>;
}