- JSON representation
- ComputeMigrationTargetProduct
- NetworkCostParameters
- SizingOptimizationCustomParameters
- AggregationMethod
- ComputeEnginePreferences
- MachinePreferences
- LicenseType
- OperatingSystemPricingPreferences
- OperatingSystemPricing
- CommitmentPlan
- Multithreading
- VmwareEnginePreferences
- CommitmentPlan
- VMwareEngineMachinePreferences
- StorageOnlyNodes
- ProtectedNodes
- ServiceType
- SoleTenancyPreferences
- HostMaintenancePolicy
- CommitmentPlan
VirtualMachinePreferences enables you to create sets of preferences, 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. If PreferenceSet.RegionPreferences is specified, it overrides this field. |
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. |
network |
Optional. Parameters that affect network cost estimations. If not set, default values will be used for the parameters. |
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. |
sizing |
Optional. Custom data to use for sizing optimizations. Relevant when SizingOptimizationStrategy is set to "custom". |
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. |
COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY |
Prefer to migrate to Google Cloud Sole Tenant Nodes. |
NetworkCostParameters
Parameters that affect network cost estimations.
JSON representation |
---|
{ "estimatedEgressTrafficPercentage": integer } |
Fields | |
---|---|
estimated |
Optional. An estimated percentage of priced outbound traffic (egress traffic) from the measured outbound traffic. Must be in the interval [0, 100]. |
SizingOptimizationCustomParameters
Custom data to use for sizing optimizations.
JSON representation |
---|
{
"aggregationMethod": enum ( |
Fields | |
---|---|
aggregation |
Optional. Type of statistical aggregation of a resource utilization data, on which to base the sizing metrics. |
storage |
Optional. Desired increase factor of storage, relative to currently used storage. Must be in the interval [1.0, 2.0] (or 0 for default value). |
cpu |
Optional. Desired percentage of CPU usage. Must be in the interval [1, 100] (or 0 for default value). |
memory |
Optional. Desired percentage of memory usage. Must be in the interval [1, 100] (or 0 for default value). |
AggregationMethod
Type of statistical aggregation of a resource utilization data, on which to base the sizing metrics.
Enums | |
---|---|
AGGREGATION_METHOD_UNSPECIFIED |
Unspecified aggregation method. Can be used for default value. |
AGGREGATION_METHOD_AVERAGE |
Average of utilization data. |
AGGREGATION_METHOD_MEDIAN |
Median of utilization data. |
AGGREGATION_METHOD_NINETY_FIFTH_PERCENTILE |
95th percentile of utilization data. |
AGGREGATION_METHOD_PEAK |
Peak of utilization data. |
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 operating systems. If unspecified, costs are calculated based on the default licensing plan. If osPricingPreferences is specified, it overrides this field. |
os |
Optional. Pricing options for OS images. |
multithreading |
Optional. Preferences for multithreading support on Windows Server. |
MachinePreferences
The type of machines to consider when calculating virtual machine migration insights and recommendations for GCE. 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
License type specifies whether to use Google provided licenses or your own.
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 license. |
OperatingSystemPricingPreferences
Pricing options for OS images.
JSON representation |
---|
{ "windows": { object ( |
Fields | |
---|---|
windows |
Optional. Pricing options for Windows images. No commitment plans are available, set it to unspecified. |
rhel |
Optional. Pricing options for RHEL images. |
sles |
Optional. Pricing options for SLES images. |
sles |
Optional. Pricing options for SLES for SAP images. |
OperatingSystemPricing
Pricing options of an OS image.
JSON representation |
---|
{ "licenseType": enum ( |
Fields | |
---|---|
license |
Optional. License type for premium images (RHEL, RHEL for SAP, SLES, SLES for SAP, Windows Server). |
commitment |
Optional. The plan of commitments for committed use discounts (CUD). |
CommitmentPlan
The plan of commitments for committed use discounts (CUD).
Enums | |
---|---|
COMMITMENT_PLAN_UNSPECIFIED |
Unspecified commitment plan. |
COMMITMENT_PLAN_ON_DEMAND |
No commitment plan (on-demand usage). |
COMMITMENT_PLAN_1_YEAR |
1-year committed use discount. |
COMMITMENT_PLAN_3_YEAR |
3-year committed use discount. |
Multithreading
Preferences for multithreading support. See https://cloud.google.com/compute/docs/instances/set-threads-per-core for more details.
Enums | |
---|---|
MULTITHREADING_UNSPECIFIED |
Same as MULTITHREADING_AUTO. |
MULTITHREADING_DISABLED |
Disable simultaneous multithreading. |
MULTITHREADING_ENABLED |
Enable simultaneous multithreading. |
MULTITHREADING_DISABLED_WITH_COMPENSATION |
Disable simultaneous multithreading and increase number of VCPUs to compensate. |
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. |
machine |
Optional. Preferences concerning the machine types to consider on Google Cloud VMware Engine. |
service |
Optional. VMWare Service Type (Fully Licensed or Portable License). |
license |
Optional. Discount percentage for the license type offered to you by Broadcom. Must be between 0 and 100. Only valid when serviceType is set to SERVICE_TYPE_PORTABLE_LICENSE. |
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). |
COMMITMENT_FLEXIBLE_3_YEAR_MONTHLY_PAYMENTS |
3-year flexible commitment (monthly payments). While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API. |
COMMITMENT_FLEXIBLE_3_YEAR_UPFRONT_PAYMENT |
3-year flexible commitment (upfront payment). While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API. |
VMwareEngineMachinePreferences
The type of machines to consider when calculating virtual machine migration insights and recommendations for VMware Engine. Not all machine types are available in all zones and regions.
JSON representation |
---|
{ "allowedMachineSeries": [ { object ( |
Fields | |
---|---|
allowed |
Optional. VMware Engine on Google Cloud machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. |
storage |
Optional. Whether to use storage-only nodes, if those are available. |
protected |
Optional. Whether to use VMware Engine Protected offering. |
StorageOnlyNodes
Preferences regarding storage-only nodes.
Enums | |
---|---|
STORAGE_ONLY_NODES_UNSPECIFIED |
Unspecified storage-only nodes preference. |
STORAGE_ONLY_NODES_ENABLED |
Use storage-only nodes for selected allowedMachineSeries, if available. |
STORAGE_ONLY_NODES_DISABLED |
Do not use storage-only nodes. |
ProtectedNodes
Preferences regarding protected nodes.
Enums | |
---|---|
PROTECTED_NODES_UNSPECIFIED |
Unspecified protected nodes preference. |
PROTECTED_NODES_ENABLED |
Use only protected nodes for the selected allowedMachineSeries. |
PROTECTED_NODES_DISABLED |
Do not use protected nodes. |
ServiceType
The GCVE Service (License) Type.
Enums | |
---|---|
SERVICE_TYPE_UNSPECIFIED |
Same as SERVICE_TYPE_FULLY_LICENSED. |
SERVICE_TYPE_FULLY_LICENSED |
Google provided VCF license. |
SERVICE_TYPE_PORTABLE_LICENSE |
Bring Your Own License. |
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. |
os |
Optional. Pricing options for OS images. |
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 regular committed use discount. |
COMMITMENT_3_YEAR |
3-year regular committed use discount. |
COMMITMENT_FLEXIBLE_1_YEAR |
1-year flexible committed use discount. While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API. |
COMMITMENT_FLEXIBLE_3_YEAR |
3-year flexible committed use discount. While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API. |