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

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

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

Configuration for Slurm nodesets in the cluster. Nodesets are groups of
compute nodes used by Slurm that are responsible for running workloads
submitted to the cluster.

## Inheritance

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

## Implements

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

### SlurmNodeSet()

    public SlurmNodeSet()

### SlurmNodeSet(SlurmNodeSet)

    public SlurmNodeSet(SlurmNodeSet other)

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

## Properties

### ComputeId

    public string ComputeId { get; set; }

Optional. ID of the compute resource on which this nodeset will run. Must
match a key in the cluster's
[compute_resources](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Cluster.compute_resources).

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

### ComputeInstance

    public ComputeInstanceSlurmNodeSet ComputeInstance { get; set; }

Optional. If set, indicates that the nodeset should be backed by Compute
Engine instances.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ComputeInstanceSlurmNodeSet` |   |

### Id

    public string Id { get; set; }

Required. Identifier for the nodeset, which allows it to be referenced by
partitions. Must conform to
[RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
alphanumeric, and at most 63 characters).

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

### MaxDynamicNodeCount

    public long MaxDynamicNodeCount { get; set; }

Optional. Controls how many additional nodes a cluster can bring online to
handle workloads. Set this value to enable dynamic node creation and limit
the number of additional nodes the cluster can bring online. Leave empty if
you do not want the cluster to create nodes dynamically, and instead rely
only on static nodes.

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

### StaticNodeCount

    public long StaticNodeCount { get; set; }

Optional. Number of nodes to be statically created for this nodeset. The
cluster will attempt to ensure that at least this many nodes exist at all
times.

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

### StorageConfigs

    public RepeatedField<StorageConfig> StorageConfigs { get; }

Optional. How \[storage
resources\]\[google.cloud.hypercomputecluster.v1beta.StorageResource\] should
be mounted on each compute node.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageConfig` |   |

### TypeCase

    public SlurmNodeSet.TypeOneofCase TypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.SlurmNodeSethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.SlurmNodeSet.TypeOneofCase` |   |