Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig.
When set in a ComputeResourceConfig, indicates that on-demand (i.e., using the standard provisioning model) VM instances should be created.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#machine_type
def machine_type() -> ::String
Returns
-
(::String) — Required. Immutable. Name of the Compute Engine machine
type to use, e.g.
n2-standard-2.
#machine_type=
def machine_type=(value) -> ::String
Parameter
-
value (::String) — Required. Immutable. Name of the Compute Engine machine
type to use, e.g.
n2-standard-2.
Returns
-
(::String) — Required. Immutable. Name of the Compute Engine machine
type to use, e.g.
n2-standard-2.
#zone
def zone() -> ::String
Returns
-
(::String) — Required. Immutable. Name of the zone in which VM instances 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. Immutable. Name of the zone in which VM instances 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. Immutable. Name of the zone in which VM instances 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.