- JSON representation
- ComputeMigrationTargetProduct
- RegionPreferences
- CommitmentPlan
- SizingOptimizationStrategy
- ComputeEnginePreferences
- MachinePreferences
- LicenseType
- VmwareEnginePreferences
- CommitmentPlan
- SoleTenancyPreferences
- HostMaintenancePolicy
- CommitmentPlan
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.
JSON representation |
---|
{ "targetProduct": enum ( |
Fields | |
---|---|
target |
Target product for assets using this preference set. Specify either target product or business goal, but not both. |
region |
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 |
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 |
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 |
Compute Engine preferences concern insights and recommendations for Compute Engine target. |
vmware |
Preferences concerning insights and recommendations for Google Cloud VMware Engine. |
sole |
Preferences concerning Sole Tenant nodes and virtual machines. |
ComputeMigrationTargetProduct
The preference for a specific Google Cloud product platform.
Enums | |
---|---|
COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED |
Unspecified (default value). |
COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE |
Prefer to migrate to Google Cloud Compute Engine. |
COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE |
Prefer to migrate to Google Cloud VMware Engine.6278 |
COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY |
Prefer to migrate to Google Cloud Sole Tenant Nodes. |
RegionPreferences
The user preferences relating to target regions.
JSON representation |
---|
{ "preferredRegions": [ string ] } |
Fields | |
---|---|
preferred |
A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions. |
CommitmentPlan
The plan of commitments for VM resource-based committed use discount (CUD).
Enums | |
---|---|
COMMITMENT_PLAN_UNSPECIFIED |
Unspecified commitment plan. |
COMMITMENT_PLAN_NONE |
No commitment plan. |
COMMITMENT_PLAN_ONE_YEAR |
1 year commitment. |
COMMITMENT_PLAN_THREE_YEARS |
3 years commitment. |
SizingOptimizationStrategy
The sizing optimization strategy preferences of a virtual machine. This strategy, in addition to actual usage data of the virtual machine, can help determine the recommended shape on the target platform.
Enums | |
---|---|
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED |
Unspecified (default value). |
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE |
No optimization applied. Virtual machine sizing matches as closely as possible the machine shape on the source site, not considering any actual performance data. |
SIZING_OPTIMIZATION_STRATEGY_MODERATE |
Virtual machine sizing will match the reported usage and shape, with some slack. This a good value to start with. |
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE |
Virtual machine sizing will match the reported usage, with little slack. Using this option can help reduce costs. |
ComputeEnginePreferences
The user preferences relating to Compute Engine target platform.
JSON representation |
---|
{ "persistentDiskType": enum ( |
Fields | |
---|---|
persistent |
Persistent disk type to use. If unspecified (default), all types are considered, based on available usage data. |
machine |
Preferences concerning the machine types to consider on Compute Engine. |
license |
License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. |
MachinePreferences
The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions.
JSON representation |
---|
{
"allowedMachineSeries": [
{
object ( |
Fields | |
---|---|
allowed |
Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. |
LicenseType
The License type for premium images (RHEL, RHEL for SAP, SLES, SLES for SAP, Windows Server).
Enums | |
---|---|
LICENSE_TYPE_UNSPECIFIED |
Unspecified (default value). |
LICENSE_TYPE_DEFAULT |
Default Google Cloud licensing plan. Licensing is charged per usage. This a good value to start with. |
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE |
Bring-your-own-license (BYOL) plan. User provides the OS license. |
VmwareEnginePreferences
The user preferences relating to Google Cloud VMware Engine target platform.
JSON representation |
---|
{
"cpuOvercommitRatio": number,
"memoryOvercommitRatio": number,
"storageDeduplicationCompressionRatio": number,
"commitmentPlan": enum ( |
Fields | |
---|---|
cpu |
CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment. |
memory |
Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0. |
storage |
The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0. |
commitment |
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. |
CommitmentPlan
Type of committed use discount.
Enums | |
---|---|
COMMITMENT_PLAN_UNSPECIFIED |
Unspecified commitment plan. |
ON_DEMAND |
No commitment plan (on-demand usage). |
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS |
1 year commitment (monthly payments). |
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS |
3 year commitment (monthly payments). |
COMMITMENT_1_YEAR_UPFRONT_PAYMENT |
1 year commitment (upfront payment). |
COMMITMENT_3_YEAR_UPFRONT_PAYMENT |
3 years commitment (upfront payment). |
SoleTenancyPreferences
Preferences concerning Sole Tenancy nodes and VMs.
JSON representation |
---|
{ "cpuOvercommitRatio": number, "hostMaintenancePolicy": enum ( |
Fields | |
---|---|
cpu |
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive. |
host |
Sole Tenancy nodes maintenance policy. |
commitment |
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. |
node |
A list of sole tenant node types. An empty list means that all possible node types will be considered. |
HostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
Enums | |
---|---|
HOST_MAINTENANCE_POLICY_UNSPECIFIED |
Unspecified host maintenance policy. |
HOST_MAINTENANCE_POLICY_DEFAULT |
Default host maintenance policy. |
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE |
Restart in place host maintenance policy. |
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP |
Migrate within node group host maintenance policy. |
CommitmentPlan
Type of committed use discount.
Enums | |
---|---|
COMMITMENT_PLAN_UNSPECIFIED |
Unspecified commitment plan. |
ON_DEMAND |
No commitment plan (on-demand usage). |
COMMITMENT_1_YEAR |
1 year commitment. |
COMMITMENT_3_YEAR |
3 years commitment. |