/** * Oracle Cloud Migrations API * A description of the Oracle Cloud Migrations API. * OpenAPI spec version: 20220919 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The configuration of the virtual machine???s placement policy. */ export interface OlvmVmPlacementPolicy { /** * Affinity of the virtual machine. */ "vmAffinity"?: OlvmVmPlacementPolicy.VmAffinity; /** * List of hosts. */ "hosts"?: Array; } export declare namespace OlvmVmPlacementPolicy { enum VmAffinity { Migratable = "MIGRATABLE", Pinned = "PINNED", UserMigratable = "USER_MIGRATABLE" } function getJsonObj(obj: OlvmVmPlacementPolicy): object; function getDeserializedJsonObj(obj: OlvmVmPlacementPolicy): object; }