# Class VirtualMachinePreferences (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.15

    VirtualMachinePreferences(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `target_product` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ComputeMigrationTargetProduct` Target product for assets using this preference set. Specify either target product or business goal, but not both. |
| `region_preferences` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.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. |
| `commitment_plan` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.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. |
| `sizing_optimization_strategy` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.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. |
| `compute_engine_preferences` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ComputeEnginePreferences` Compute Engine preferences concern insights and recommendations for Compute Engine target. |
| `vmware_engine_preferences` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.VmwareEnginePreferences` Preferences concerning insights and recommendations for Google Cloud VMware Engine. |
| `sole_tenancy_preferences` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.SoleTenancyPreferences` Preferences concerning Sole Tenant nodes and virtual machines. |