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

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

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

Configuration for Slurm partitions in the cluster. Partitions are groups of
nodesets, and are how clients specify where their workloads should be run.

## Inheritance

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

## Implements

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

### SlurmPartition()

    public SlurmPartition()

### SlurmPartition(SlurmPartition)

    public SlurmPartition(SlurmPartition other)

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

## Properties

### Id

    public string Id { get; set; }

Required. ID of the partition, which is how users will identify it. 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` |   |

### NodeSetIds

    public RepeatedField<string> NodeSetIds { get; }

Required. IDs of the nodesets that make up this partition. Values must
match
\[SlurmNodeSet.id\]\[google.cloud.hypercomputecluster.v1beta.SlurmNodeSet.id\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |