Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes (v0.1.0)

Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes.

Configuration for Slurm login nodes in the cluster. Login nodes are Compute Engine VM instances that allow users to access the cluster over SSH.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boot_disk

def boot_disk() -> ::Google::Cloud::HypercomputeCluster::V1beta::BootDisk
Returns

#boot_disk=

def boot_disk=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::BootDisk
Parameter
Returns

#count

def count() -> ::Integer
Returns
  • (::Integer) — Required. Number of login node instances to create.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Number of login node instances to create.
Returns
  • (::Integer) — Required. Number of login node instances to create.

#enable_os_login

def enable_os_login() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.

#enable_os_login=

def enable_os_login=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.
Returns
  • (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.

#enable_public_ips

def enable_public_ips() -> ::Boolean
Returns

#enable_public_ips=

def enable_public_ips=(value) -> ::Boolean
Parameter
Returns

#instances

def instances() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstance>
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — Required. Name of the Compute Engine machine type to use for login nodes, e.g. n2-standard-2.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the Compute Engine machine type to use for login nodes, e.g. n2-standard-2.
Returns
  • (::String) — Required. Name of the Compute Engine machine type to use for login nodes, e.g. n2-standard-2.

#startup_script

def startup_script() -> ::String
Returns
  • (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.

#startup_script=

def startup_script=(value) -> ::String
Parameter
  • value (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.
Returns
  • (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.

#storage_configs

def storage_configs() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>
Returns

#storage_configs=

def storage_configs=(value) -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>
Parameter
Returns

#zone

def zone() -> ::String
Returns
  • (::String) — 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.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.