Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::VirtualMachinePreferences.
VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#commitment_plan
def commitment_plan() -> ::Google::Cloud::MigrationCenter::V1::CommitmentPlan
Returns
- (::Google::Cloud::MigrationCenter::V1::CommitmentPlan) — Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
#commitment_plan=
def commitment_plan=(value) -> ::Google::Cloud::MigrationCenter::V1::CommitmentPlan
Parameter
- value (::Google::Cloud::MigrationCenter::V1::CommitmentPlan) — Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
Returns
- (::Google::Cloud::MigrationCenter::V1::CommitmentPlan) — Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
#compute_engine_preferences
def compute_engine_preferences() -> ::Google::Cloud::MigrationCenter::V1::ComputeEnginePreferences
Returns
- (::Google::Cloud::MigrationCenter::V1::ComputeEnginePreferences) — Compute Engine preferences concern insights and recommendations for Compute Engine target.
#compute_engine_preferences=
def compute_engine_preferences=(value) -> ::Google::Cloud::MigrationCenter::V1::ComputeEnginePreferences
Parameter
- value (::Google::Cloud::MigrationCenter::V1::ComputeEnginePreferences) — Compute Engine preferences concern insights and recommendations for Compute Engine target.
Returns
- (::Google::Cloud::MigrationCenter::V1::ComputeEnginePreferences) — Compute Engine preferences concern insights and recommendations for Compute Engine target.
#region_preferences
def region_preferences() -> ::Google::Cloud::MigrationCenter::V1::RegionPreferences
Returns
- (::Google::Cloud::MigrationCenter::V1::RegionPreferences) — Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
#region_preferences=
def region_preferences=(value) -> ::Google::Cloud::MigrationCenter::V1::RegionPreferences
Parameter
- value (::Google::Cloud::MigrationCenter::V1::RegionPreferences) — Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
Returns
- (::Google::Cloud::MigrationCenter::V1::RegionPreferences) — Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
#sizing_optimization_strategy
def sizing_optimization_strategy() -> ::Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy
Returns
- (::Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy) — Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
#sizing_optimization_strategy=
def sizing_optimization_strategy=(value) -> ::Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy
Parameter
- value (::Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy) — Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
Returns
- (::Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy) — Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
#sole_tenancy_preferences
def sole_tenancy_preferences() -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences
Returns
- (::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences) — Preferences concerning Sole Tenant nodes and virtual machines.
#sole_tenancy_preferences=
def sole_tenancy_preferences=(value) -> ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences
Parameter
- value (::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences) — Preferences concerning Sole Tenant nodes and virtual machines.
Returns
- (::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences) — Preferences concerning Sole Tenant nodes and virtual machines.
#target_product
def target_product() -> ::Google::Cloud::MigrationCenter::V1::ComputeMigrationTargetProduct
Returns
- (::Google::Cloud::MigrationCenter::V1::ComputeMigrationTargetProduct) — Target product for assets using this preference set. Specify either target product or business goal, but not both.
#target_product=
def target_product=(value) -> ::Google::Cloud::MigrationCenter::V1::ComputeMigrationTargetProduct
Parameter
- value (::Google::Cloud::MigrationCenter::V1::ComputeMigrationTargetProduct) — Target product for assets using this preference set. Specify either target product or business goal, but not both.
Returns
- (::Google::Cloud::MigrationCenter::V1::ComputeMigrationTargetProduct) — Target product for assets using this preference set. Specify either target product or business goal, but not both.
#vmware_engine_preferences
def vmware_engine_preferences() -> ::Google::Cloud::MigrationCenter::V1::VmwareEnginePreferences
Returns
- (::Google::Cloud::MigrationCenter::V1::VmwareEnginePreferences) — Preferences concerning insights and recommendations for Google Cloud VMware Engine.
#vmware_engine_preferences=
def vmware_engine_preferences=(value) -> ::Google::Cloud::MigrationCenter::V1::VmwareEnginePreferences
Parameter
- value (::Google::Cloud::MigrationCenter::V1::VmwareEnginePreferences) — Preferences concerning insights and recommendations for Google Cloud VMware Engine.
Returns
- (::Google::Cloud::MigrationCenter::V1::VmwareEnginePreferences) — Preferences concerning insights and recommendations for Google Cloud VMware Engine.