5.29.0 (latest) 5.28.0 5.27.0 5.26.0 5.25.0 5.24.0 5.23.0 5.22.0 5.21.0 5.20.0 5.19.0 5.18.0 5.17.0 5.16.0 5.15.0 5.14.0 5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.0.0 3.4.0 3.3.0 3.2.0 3.1.0

    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 boot disk and attached disk options for a group of VM
instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DiskConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DiskConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DiskConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiskConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DiskConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DiskConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DiskConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataproc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.md.txt)

## Assembly

Google.Cloud.Dataproc.V1.dll

## Constructors

### DiskConfig()

    public DiskConfig()

### DiskConfig(DiskConfig)

    public DiskConfig(DiskConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DiskConfig` |

## Properties

### AttachedDiskConfigs

    public RepeatedField<AttachedDiskConfig> AttachedDiskConfigs { get; }

Optional. A list of attached disk configs for a group of VM instances.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldAttachedDiskConfig` |   |

### 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.
**This field is supported only if
\[boot_disk_type\]\[google.cloud.dataproc.v1.DiskConfig.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. **This field is supported only
if \[boot_disk_type\]\[google.cloud.dataproc.v1.DiskConfig.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](https://cloud.google.com/compute/docs/disks#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](https://cloud.google.com/compute/docs/disks/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](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) 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` |   |