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
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3446 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
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3446 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
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3446 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>
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3446 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 |