Class: Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences
- Inherits:
-
Object
- Object
- Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb
Overview
Preferences concerning Sole Tenancy nodes and VMs.
Defined Under Namespace
Modules: CommitmentPlan, HostMaintenancePolicy
Instance Attribute Summary collapse
-
#commitment_plan ⇒ ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan
Commitment plan to consider when calculating costs for virtual machine insights and recommendations.
-
#cpu_overcommit_ratio ⇒ ::Float
CPU overcommit ratio.
-
#host_maintenance_policy ⇒ ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::HostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
-
#node_types ⇒ ::Array<::Google::Cloud::MigrationCenter::V1::SoleTenantNodeType>
A list of sole tenant node types.
Instance Attribute Details
#commitment_plan ⇒ ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan
Returns 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.
3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3416 class SoleTenancyPreferences include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sole Tenancy nodes maintenance policy. module HostMaintenancePolicy # Unspecified host maintenance policy. HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0 # Default host maintenance policy. HOST_MAINTENANCE_POLICY_DEFAULT = 1 # Restart in place host maintenance policy. HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2 # Migrate within node group host maintenance policy. HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3 end # Type of committed use discount. module CommitmentPlan # Unspecified commitment plan. COMMITMENT_PLAN_UNSPECIFIED = 0 # No commitment plan (on-demand usage). ON_DEMAND = 1 # 1 year commitment. COMMITMENT_1_YEAR = 2 # 3 years commitment. COMMITMENT_3_YEAR = 3 end end |
#cpu_overcommit_ratio ⇒ ::Float
Returns CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3416 class SoleTenancyPreferences include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sole Tenancy nodes maintenance policy. module HostMaintenancePolicy # Unspecified host maintenance policy. HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0 # Default host maintenance policy. HOST_MAINTENANCE_POLICY_DEFAULT = 1 # Restart in place host maintenance policy. HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2 # Migrate within node group host maintenance policy. HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3 end # Type of committed use discount. module CommitmentPlan # Unspecified commitment plan. COMMITMENT_PLAN_UNSPECIFIED = 0 # No commitment plan (on-demand usage). ON_DEMAND = 1 # 1 year commitment. COMMITMENT_1_YEAR = 2 # 3 years commitment. COMMITMENT_3_YEAR = 3 end end |
#host_maintenance_policy ⇒ ::Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::HostMaintenancePolicy
Returns Sole Tenancy nodes maintenance policy.
3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3416 class SoleTenancyPreferences include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sole Tenancy nodes maintenance policy. module HostMaintenancePolicy # Unspecified host maintenance policy. HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0 # Default host maintenance policy. HOST_MAINTENANCE_POLICY_DEFAULT = 1 # Restart in place host maintenance policy. HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2 # Migrate within node group host maintenance policy. HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3 end # Type of committed use discount. module CommitmentPlan # Unspecified commitment plan. COMMITMENT_PLAN_UNSPECIFIED = 0 # No commitment plan (on-demand usage). ON_DEMAND = 1 # 1 year commitment. COMMITMENT_1_YEAR = 2 # 3 years commitment. COMMITMENT_3_YEAR = 3 end end |
#node_types ⇒ ::Array<::Google::Cloud::MigrationCenter::V1::SoleTenantNodeType>
Returns A list of sole tenant node types. An empty list means that all possible node types will be considered.
3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3416 class SoleTenancyPreferences include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sole Tenancy nodes maintenance policy. module HostMaintenancePolicy # Unspecified host maintenance policy. HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0 # Default host maintenance policy. HOST_MAINTENANCE_POLICY_DEFAULT = 1 # Restart in place host maintenance policy. HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2 # Migrate within node group host maintenance policy. HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3 end # Type of committed use discount. module CommitmentPlan # Unspecified commitment plan. COMMITMENT_PLAN_UNSPECIFIED = 0 # No commitment plan (on-demand usage). ON_DEMAND = 1 # 1 year commitment. COMMITMENT_1_YEAR = 2 # 3 years commitment. COMMITMENT_3_YEAR = 3 end end |