GceRegionalPersistentDisk constructor
- Input<
String> ? diskType, - Input<
String> ? fsType, - Input<
GceRegionalPersistentDiskReclaimPolicy> ? reclaimPolicy, - Input<
int> ? sizeGb, - Input<
String> ? sourceSnapshot,
Creates a new GceRegionalPersistentDisk.
diskType Optional. The type of the persistent disk for the home directory. Defaults to "pd-standard".
fsType Optional. Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set. Defaults to "ext4".
reclaimPolicy Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are DELETE and RETAIN. Defaults to DELETE.
sizeGb Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are 10, 50, 100, 200, 500, or 1000. Defaults to 200. If less than 200 GB, the disk_type must be "pd-balanced" or "pd-ssd".
sourceSnapshot Optional. Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty.
Implementation
const GceRegionalPersistentDisk({
this.diskType,
this.fsType,
this.reclaimPolicy,
this.sizeGb,
this.sourceSnapshot,
});