Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::ComputeResourceConfig.
Describes how a compute resource should be created at runtime.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#new_flex_start_instances
def new_flex_start_instances() -> ::Google::Cloud::HypercomputeCluster::V1beta::NewFlexStartInstancesConfig-
(::Google::Cloud::HypercomputeCluster::V1beta::NewFlexStartInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
Note: The following fields are mutually exclusive:
new_flex_start_instances,new_on_demand_instances,new_spot_instances,new_reserved_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_flex_start_instances=
def new_flex_start_instances=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::NewFlexStartInstancesConfig-
value (::Google::Cloud::HypercomputeCluster::V1beta::NewFlexStartInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
Note: The following fields are mutually exclusive:
new_flex_start_instances,new_on_demand_instances,new_spot_instances,new_reserved_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::HypercomputeCluster::V1beta::NewFlexStartInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
Note: The following fields are mutually exclusive:
new_flex_start_instances,new_on_demand_instances,new_spot_instances,new_reserved_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_on_demand_instances
def new_on_demand_instances() -> ::Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig-
(::Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
Note: The following fields are mutually exclusive:
new_on_demand_instances,new_spot_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_on_demand_instances=
def new_on_demand_instances=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig-
value (::Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
Note: The following fields are mutually exclusive:
new_on_demand_instances,new_spot_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::HypercomputeCluster::V1beta::NewOnDemandInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
Note: The following fields are mutually exclusive:
new_on_demand_instances,new_spot_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_reserved_instances
def new_reserved_instances() -> ::Google::Cloud::HypercomputeCluster::V1beta::NewReservedInstancesConfig-
(::Google::Cloud::HypercomputeCluster::V1beta::NewReservedInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
Note: The following fields are mutually exclusive:
new_reserved_instances,new_on_demand_instances,new_spot_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_reserved_instances=
def new_reserved_instances=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::NewReservedInstancesConfig-
value (::Google::Cloud::HypercomputeCluster::V1beta::NewReservedInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
Note: The following fields are mutually exclusive:
new_reserved_instances,new_on_demand_instances,new_spot_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::HypercomputeCluster::V1beta::NewReservedInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
Note: The following fields are mutually exclusive:
new_reserved_instances,new_on_demand_instances,new_spot_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_spot_instances
def new_spot_instances() -> ::Google::Cloud::HypercomputeCluster::V1beta::NewSpotInstancesConfig-
(::Google::Cloud::HypercomputeCluster::V1beta::NewSpotInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use spot
VMs.
Note: The following fields are mutually exclusive:
new_spot_instances,new_on_demand_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_spot_instances=
def new_spot_instances=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::NewSpotInstancesConfig-
value (::Google::Cloud::HypercomputeCluster::V1beta::NewSpotInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use spot
VMs.
Note: The following fields are mutually exclusive:
new_spot_instances,new_on_demand_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::HypercomputeCluster::V1beta::NewSpotInstancesConfig) — Optional. Immutable. If set, indicates that this resource should use spot
VMs.
Note: The following fields are mutually exclusive:
new_spot_instances,new_on_demand_instances,new_reserved_instances,new_flex_start_instances. If a field in that set is populated, all other fields in the set will automatically be cleared.