# Class SlurmLoginNodes (0.4.1)

0.4.1 (latest) 0.4.0 0.2.0 0.1.0

    SlurmLoginNodes(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for Slurm `login
nodes <https://slurm.schedmd.com/quickstart_admin.html#login>`__ in
the cluster. Login nodes are Compute Engine VM instances that allow
users to access the cluster over SSH.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `count` | `int` Required. Number of login node instances to create. |
| `zone` | `str` Required. Name of the zone in which login nodes should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster. |
| `machine_type` | `str` Required. Name of the Compute Engine \`machine type |
| `startup_script` | `str` Optional. \`Startup script |
| `enable_os_login` | `bool` Optional. Whether \`OS Login |
| `enable_public_ips` | `bool` Optional. Whether login node instances should be assigned \`external IP addresses |
| `labels` | `MutableMapping[str, str]` Optional. `Labels `__ that should be applied to each login node instance. |
| `storage_configs` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1.types.StorageConfig]` Optional. How \[storage resources\]\[google.cloud.hypercomputecluster.v1.StorageResource\] should be mounted on each login node. |
| `instances` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1.types.ComputeInstance]` Output only. Information about the login node instances that were created in Compute Engine. |
| `boot_disk` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1.types.BootDisk` Optional. Boot disk for the login node. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |