Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client 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.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.SlurmPartition
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters). |
↳ node_set_ids |
array
Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id. |
getId
Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNodeSetIds
Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setNodeSetIds
Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|