UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

312 lines (311 loc) 9.23 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a resource to manage vepfs file system * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * 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", * }], * }); * ``` * * ## Import * * VepfsFileSystem can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:vepfs/fileSystem:FileSystem default resource_id * ``` */ export declare class FileSystem extends pulumi.CustomResource { /** * Get an existing FileSystem resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileSystemState, opts?: pulumi.CustomResourceOptions): FileSystem; /** * Returns true if the given object is an instance of FileSystem. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FileSystem; /** * The id of the account. */ readonly accountId: pulumi.Output<string>; /** * The bandwidth info of the vepfs file system. */ readonly bandwidth: pulumi.Output<number>; /** * The capacity of the vepfs file system. */ readonly capacity: pulumi.Output<number>; /** * The charge status of the vepfs file system. */ readonly chargeStatus: pulumi.Output<string>; /** * The charge type of the vepfs file system. */ readonly chargeType: pulumi.Output<string>; /** * The create time of the vepfs file system. */ readonly createTime: pulumi.Output<string>; /** * The description info of the vepfs file system. */ readonly description: pulumi.Output<string | undefined>; /** * Whether to enable data balance after capacity expansion. This filed is valid only when expanding capacity. */ readonly enableRestripe: pulumi.Output<boolean | undefined>; /** * The expire time of the vepfs file system. */ readonly expireTime: pulumi.Output<string>; /** * The name of the vepfs file system. */ readonly fileSystemName: pulumi.Output<string>; /** * The type of the vepfs file system. */ readonly fileSystemType: pulumi.Output<string>; /** * The free time of the vepfs file system. */ readonly freeTime: pulumi.Output<string>; /** * The last modify time of the vepfs file system. */ readonly lastModifyTime: pulumi.Output<string>; /** * The project of the vepfs file system. */ readonly project: pulumi.Output<string>; /** * The protocol type of the vepfs file system. */ readonly protocolType: pulumi.Output<string>; /** * The id of the region. */ readonly regionId: pulumi.Output<string>; /** * The status of the vepfs file system. */ readonly status: pulumi.Output<string>; /** * The stop service time of the vepfs file system. */ readonly stopServiceTime: pulumi.Output<string>; /** * The store type of the vepfs file system. Valid values: `Advance_100`, `Performance`, `Intelligent_Computing`. */ readonly storeType: pulumi.Output<string>; /** * The store type cn name of the vepfs file system. */ readonly storeTypeCn: pulumi.Output<string>; /** * The subnet id of the vepfs file system. */ readonly subnetId: pulumi.Output<string>; /** * Tags. */ readonly tags: pulumi.Output<outputs.vepfs.FileSystemTag[] | undefined>; /** * The version info of the vepfs file system. */ readonly version: pulumi.Output<string>; /** * The id of the zone. */ readonly zoneId: pulumi.Output<string>; /** * The name of the zone. */ readonly zoneName: pulumi.Output<string>; /** * Create a FileSystem resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FileSystemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FileSystem resources. */ export interface FileSystemState { /** * The id of the account. */ accountId?: pulumi.Input<string>; /** * The bandwidth info of the vepfs file system. */ bandwidth?: pulumi.Input<number>; /** * The capacity of the vepfs file system. */ capacity?: pulumi.Input<number>; /** * The charge status of the vepfs file system. */ chargeStatus?: pulumi.Input<string>; /** * The charge type of the vepfs file system. */ chargeType?: pulumi.Input<string>; /** * The create time of the vepfs file system. */ createTime?: pulumi.Input<string>; /** * The description info of the vepfs file system. */ description?: pulumi.Input<string>; /** * Whether to enable data balance after capacity expansion. This filed is valid only when expanding capacity. */ enableRestripe?: pulumi.Input<boolean>; /** * The expire time of the vepfs file system. */ expireTime?: pulumi.Input<string>; /** * The name of the vepfs file system. */ fileSystemName?: pulumi.Input<string>; /** * The type of the vepfs file system. */ fileSystemType?: pulumi.Input<string>; /** * The free time of the vepfs file system. */ freeTime?: pulumi.Input<string>; /** * The last modify time of the vepfs file system. */ lastModifyTime?: pulumi.Input<string>; /** * The project of the vepfs file system. */ project?: pulumi.Input<string>; /** * The protocol type of the vepfs file system. */ protocolType?: pulumi.Input<string>; /** * The id of the region. */ regionId?: pulumi.Input<string>; /** * The status of the vepfs file system. */ status?: pulumi.Input<string>; /** * The stop service time of the vepfs file system. */ stopServiceTime?: pulumi.Input<string>; /** * The store type of the vepfs file system. Valid values: `Advance_100`, `Performance`, `Intelligent_Computing`. */ storeType?: pulumi.Input<string>; /** * The store type cn name of the vepfs file system. */ storeTypeCn?: pulumi.Input<string>; /** * The subnet id of the vepfs file system. */ subnetId?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vepfs.FileSystemTag>[]>; /** * The version info of the vepfs file system. */ version?: pulumi.Input<string>; /** * The id of the zone. */ zoneId?: pulumi.Input<string>; /** * The name of the zone. */ zoneName?: pulumi.Input<string>; } /** * The set of arguments for constructing a FileSystem resource. */ export interface FileSystemArgs { /** * The capacity of the vepfs file system. */ capacity: pulumi.Input<number>; /** * The description info of the vepfs file system. */ description?: pulumi.Input<string>; /** * Whether to enable data balance after capacity expansion. This filed is valid only when expanding capacity. */ enableRestripe?: pulumi.Input<boolean>; /** * The name of the vepfs file system. */ fileSystemName: pulumi.Input<string>; /** * The project of the vepfs file system. */ project?: pulumi.Input<string>; /** * The store type of the vepfs file system. Valid values: `Advance_100`, `Performance`, `Intelligent_Computing`. */ storeType: pulumi.Input<string>; /** * The subnet id of the vepfs file system. */ subnetId: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vepfs.FileSystemTag>[]>; }