# Cluster Director v1beta API - Class StorageConfig (1.0.0-beta01)

    public sealed class StorageConfig : IMessage<StorageConfig>, IEquatable<StorageConfig>, IDeepCloneable<StorageConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cluster Director v1beta API class StorageConfig.

Description of how a \[storage
resource\]\[google.cloud.hypercomputecluster.v1beta.StorageResource\] should be
mounted on a VM instance.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StorageConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StorageConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StorageConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageConfig), [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.HypercomputeCluster.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta)

## Assembly

Google.Cloud.HypercomputeCluster.V1Beta.dll

## Constructors

### StorageConfig()

    public StorageConfig()

### StorageConfig(StorageConfig)

    public StorageConfig(StorageConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageConfig` |

## Properties

### Id

    public string Id { get; set; }

Required. ID of the storage resource to mount, which must match a key in
the cluster's [storage_resources](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Cluster.storage_resources).

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

### LocalMount

    public string LocalMount { get; set; }

Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., `/mnt/share`).

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