Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences (v0.1.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences.

Preferences concerning Sole Tenancy nodes and VMs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#commitment_plan

def commitment_plan() -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan
Returns

#commitment_plan=

def commitment_plan=(value) -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan
Parameter
Returns

#cpu_overcommit_ratio

def cpu_overcommit_ratio() -> ::Float
Returns
  • (::Float) — CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

#cpu_overcommit_ratio=

def cpu_overcommit_ratio=(value) -> ::Float
Parameter
  • value (::Float) — CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
Returns
  • (::Float) — CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

#host_maintenance_policy

def host_maintenance_policy() -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::HostMaintenancePolicy

#host_maintenance_policy=

def host_maintenance_policy=(value) -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::HostMaintenancePolicy
Parameter

#node_types

def node_types() -> ::Array<::Google::Cloud::MigrationCenter::V1::SoleTenantNodeType>
Returns

#node_types=

def node_types=(value) -> ::Array<::Google::Cloud::MigrationCenter::V1::SoleTenantNodeType>
Parameter
Returns