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

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

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

When set in
\[Orchestrator\]\[google.cloud.hypercomputecluster.v1beta.Orchestrator\],
indicates that the cluster should use [Slurm](https://slurm.schedmd.com/) as
the orchestrator.

## Inheritance

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

## Implements

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

### SlurmOrchestrator()

    public SlurmOrchestrator()

### SlurmOrchestrator(SlurmOrchestrator)

    public SlurmOrchestrator(SlurmOrchestrator other)

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

## Properties

### DefaultPartition

    public string DefaultPartition { get; set; }

Optional. Default partition to use for submitted jobs that do not
explicitly specify a partition. Required if and only if there is more than
one partition, in which case it must match the id of one of the partitions.

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

### EpilogBashScripts

    public RepeatedField<string> EpilogBashScripts { get; }

Optional. Slurm [epilog
scripts](https://slurm.schedmd.com/prolog_epilog.html), which will be
executed by compute nodes whenever a node finishes running a job. Values
must not be empty.

| **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` |   |

### LoginNodes

    public SlurmLoginNodes LoginNodes { get; set; }

Required. Configuration for login nodes, which allow users to access the
cluster over SSH.

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

### NodeSets

    public RepeatedField<SlurmNodeSet> NodeSets { get; }

Required. Configuration of Slurm nodesets, which define groups of compute
resources that can be used by Slurm. At least one compute node is required.

| **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.SlurmNodeSet` |   |

### Partitions

    public RepeatedField<SlurmPartition> Partitions { get; }

Required. Configuration of Slurm partitions, which group one or more
nodesets. Acts as a queue against which jobs can be submitted. At least one
partition is required.

| **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.SlurmPartition` |   |

### PrologBashScripts

    public RepeatedField<string> PrologBashScripts { get; }

Optional. Slurm [prolog
scripts](https://slurm.schedmd.com/prolog_epilog.html), which will be
executed by compute nodes before a node begins running a new job. Values
must not be empty.

| **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` |   |