# Capacity Planner v1beta API - Class Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk (1.0.0-beta02)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta02 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/1.0.0-beta01/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk)

    public sealed class Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk : IMessage<Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk>, IEquatable<Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk>, IDeepCloneable<Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk>, IBufferMessage, IMessage

Reference documentation and code samples for the Capacity Planner v1beta API class Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk.

A specification of the interface and size of disk attached to
the instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Allocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types)[SpecificSKUAllocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types)[AllocatedInstanceProperties](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types)[AllocatedDisk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Allocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types)[SpecificSKUAllocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types)[AllocatedInstanceProperties](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types)[AllocatedDisk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Allocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types)[SpecificSKUAllocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types)[AllocatedInstanceProperties](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types)[AllocatedDisk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.CapacityPlanner.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta)

## Assembly

Google.Cloud.CapacityPlanner.V1Beta.dll

## Constructors

### AllocatedDisk()

    public AllocatedDisk()

### AllocatedDisk(AllocatedDisk)

    public AllocatedDisk(Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstancePropertieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk` |

## Properties

### DiskInterface

    public Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk.Types.DiskInterface DiskInterface { get; set; }

Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstancePropertieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDiskhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Allocation.Types.SpecificSKUAllocation.Types.AllocatedInstanceProperties.Types.AllocatedDisk.Types.DiskInterface` |   |

### DiskSizeGb

    public long DiskSizeGb { get; set; }

Specifies the size of the disk in base-2 GB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |