Class: Google::Apis::MigrationcenterV1alpha1::VmwareEnginePreferences
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::VmwareEnginePreferences
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
The user preferences relating to Google Cloud VMware Engine target platform.
Instance Attribute Summary collapse
-
#commitment_plan ⇒ String
Commitment plan to consider when calculating costs for virtual machine insights and recommendations.
-
#cpu_overcommit_ratio ⇒ Float
CPU overcommit ratio.
-
#license_discount_percentage ⇒ Float
Optional.
-
#machine_preferences ⇒ Google::Apis::MigrationcenterV1alpha1::VMwareEngineMachinePreferences
The type of machines to consider when calculating virtual machine migration insights and recommendations for VMware Engine.
-
#memory_overcommit_ratio ⇒ Float
Memory overcommit ratio.
-
#service_type ⇒ String
Optional.
-
#storage_deduplication_compression_ratio ⇒ Float
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareEnginePreferences
constructor
A new instance of VmwareEnginePreferences.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareEnginePreferences
Returns a new instance of VmwareEnginePreferences.
7914 7915 7916 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7914 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commitment_plan ⇒ String
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.
Corresponds to the JSON property commitmentPlan
7871 7872 7873 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7871 def commitment_plan @commitment_plan end |
#cpu_overcommit_ratio ⇒ Float
CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1
increment.
Corresponds to the JSON property cpuOvercommitRatio
7877 7878 7879 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7877 def cpu_overcommit_ratio @cpu_overcommit_ratio end |
#license_discount_percentage ⇒ Float
Optional. Discount percentage for the license type offered to you by Broadcom.
Must be between 0 and 100. Only valid when service_type is set to
SERVICE_TYPE_PORTABLE_LICENSE.
Corresponds to the JSON property licenseDiscountPercentage
7884 7885 7886 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7884 def license_discount_percentage @license_discount_percentage end |
#machine_preferences ⇒ Google::Apis::MigrationcenterV1alpha1::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.
Corresponds to the JSON property machinePreferences
7891 7892 7893 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7891 def machine_preferences @machine_preferences end |
#memory_overcommit_ratio ⇒ Float
Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
Corresponds to the JSON property memoryOvercommitRatio
7896 7897 7898 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7896 def memory_overcommit_ratio @memory_overcommit_ratio end |
#service_type ⇒ String
Optional. VMWare Service Type (Fully Licensed or Portable License).
Corresponds to the JSON property serviceType
7901 7902 7903 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7901 def service_type @service_type end |
#storage_deduplication_compression_ratio ⇒ Float
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.
Corresponds to the JSON property storageDeduplicationCompressionRatio
7912 7913 7914 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7912 def storage_deduplication_compression_ratio @storage_deduplication_compression_ratio end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7919 7920 7921 7922 7923 7924 7925 7926 7927 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7919 def update!(**args) @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan) @cpu_overcommit_ratio = args[:cpu_overcommit_ratio] if args.key?(:cpu_overcommit_ratio) @license_discount_percentage = args[:license_discount_percentage] if args.key?(:license_discount_percentage) @machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences) @memory_overcommit_ratio = args[:memory_overcommit_ratio] if args.key?(:memory_overcommit_ratio) @service_type = args[:service_type] if args.key?(:service_type) @storage_deduplication_compression_ratio = args[:storage_deduplication_compression_ratio] if args.key?(:storage_deduplication_compression_ratio) end |