View Source GoogleApi.MigrationCenter.V1.Model.SoleTenancyPreferences (google_api_migration_center v0.5.1)

Preferences concerning Sole Tenancy nodes and VMs.

Attributes

  • commitmentPlan (type: String.t, default: nil) - 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.
  • cpuOvercommitRatio (type: float(), default: nil) - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
  • hostMaintenancePolicy (type: String.t, default: nil) - Sole Tenancy nodes maintenance policy.
  • nodeTypes (type: list(GoogleApi.MigrationCenter.V1.Model.SoleTenantNodeType.t), default: nil) - A list of sole tenant node types. An empty list means that all possible node types will be considered.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MigrationCenter.V1.Model.SoleTenancyPreferences{
  commitmentPlan: String.t() | nil,
  cpuOvercommitRatio: float() | nil,
  hostMaintenancePolicy: String.t() | nil,
  nodeTypes: [GoogleApi.MigrationCenter.V1.Model.SoleTenantNodeType.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.