Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SoleTenancyPreferences

import type { SoleTenancyPreferences } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";

Preferences concerning Sole Tenancy nodes and VMs.

interface SoleTenancyPreferences {
commitmentPlan?:
| "COMMITMENT_PLAN_UNSPECIFIED"
| "ON_DEMAND"
| "COMMITMENT_1_YEAR"
| "COMMITMENT_3_YEAR";
cpuOvercommitRatio?: number;
hostMaintenancePolicy?:
| "HOST_MAINTENANCE_POLICY_UNSPECIFIED"
| "HOST_MAINTENANCE_POLICY_DEFAULT"
| "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE"
| "HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP";
nodeTypes?: SoleTenantNodeType[];
}

§Properties

§
commitmentPlan?: "COMMITMENT_PLAN_UNSPECIFIED" | "ON_DEMAND" | "COMMITMENT_1_YEAR" | "COMMITMENT_3_YEAR"
[src]

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?: number
[src]

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

§
hostMaintenancePolicy?: "HOST_MAINTENANCE_POLICY_UNSPECIFIED" | "HOST_MAINTENANCE_POLICY_DEFAULT" | "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE" | "HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP"
[src]

Sole Tenancy nodes maintenance policy.

§

A list of sole tenant node types. An empty list means that all possible node types will be considered.