public sealed class DiskConfig : IMessage<DiskConfig>, IEquatable<DiskConfig>, IDeepCloneable<DiskConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class DiskConfig.
Specifies the config of disk options for a group of VM instances.
Implements
IMessageDiskConfig, IEquatableDiskConfig, IDeepCloneableDiskConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
DiskConfig()
public DiskConfig()
DiskConfig(DiskConfig)
public DiskConfig(DiskConfig other)
Parameter | |
---|---|
Name | Description |
other |
DiskConfig |
Properties
BootDiskProvisionedIops
public long BootDiskProvisionedIops { get; set; }
Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
Property Value | |
---|---|
Type | Description |
long |
BootDiskProvisionedThroughput
public long BootDiskProvisionedThroughput { get; set; }
Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
Property Value | |
---|---|
Type | Description |
long |
BootDiskSizeGb
public int BootDiskSizeGb { get; set; }
Optional. Size in GB of the boot disk (default is 500GB).
Property Value | |
---|---|
Type | Description |
int |
BootDiskType
public string BootDiskType { get; set; }
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types.
Property Value | |
---|---|
Type | Description |
string |
HasBootDiskProvisionedIops
public bool HasBootDiskProvisionedIops { get; }
Gets whether the "boot_disk_provisioned_iops" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasBootDiskProvisionedThroughput
public bool HasBootDiskProvisionedThroughput { get; }
Gets whether the "boot_disk_provisioned_throughput" field is set
Property Value | |
---|---|
Type | Description |
bool |
LocalSsdInterface
public string LocalSsdInterface { get; set; }
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance.
Property Value | |
---|---|
Type | Description |
string |
NumLocalSsds
public int NumLocalSsds { get; set; }
Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
Note: Local SSD options may vary by machine type and number of vCPUs selected.
Property Value | |
---|---|
Type | Description |
int |