Google Cloud Migration Center V1 Client - Class VmwareEnginePreferences (1.0.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class VmwareEnginePreferences.

The user preferences relating to Google Cloud VMware Engine target platform.

Generated from protobuf message google.cloud.migrationcenter.v1.VmwareEnginePreferences

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cpu_overcommit_ratio float

CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.

↳ memory_overcommit_ratio float

Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.

↳ 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.

↳ commitment_plan int

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.

getCpuOvercommitRatio

CPU overcommit ratio.

Acceptable values are between 1.0 and 8.0, with 0.1 increment.

Returns
Type Description
float

setCpuOvercommitRatio

CPU overcommit ratio.

Acceptable values are between 1.0 and 8.0, with 0.1 increment.

Parameter
Name Description
var float
Returns
Type Description
$this

getMemoryOvercommitRatio

Memory overcommit ratio.

Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.

Returns
Type Description
float

setMemoryOvercommitRatio

Memory overcommit ratio.

Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.

Parameter
Name Description
var float
Returns
Type Description
$this

getStorageDeduplicationCompressionRatio

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.

Returns
Type Description
float

setStorageDeduplicationCompressionRatio

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.

Parameter
Name Description
var float
Returns
Type Description
$this

getCommitmentPlan

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
Type Description
int

setCommitmentPlan

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.

Parameter
Name Description
var int
Returns
Type Description
$this