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

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.