FailoverPlacement

FailoverPlacement
FailoverPlacement

Placement settings to be used in failover and planned migration.

JSON Example
{
    "host": "host-4",
    "hostName": "somehostname",
    "networkMappings": {
        "defaultNetwork": "network-14",
        "defaultNetworkName": "VM Network",
        "mappings": [
            {
                "key": 4000,
                "networkId": "network-14",
                "networkName": "VM Network"
            }
        ]
    },
    "resourcePool": "resgroup-4",
    "resourcePoolName": "someresourcepoolname",
    "storageProfileSettings": {
        "datastoreId": "datastore-12",
        "datastoreName": "ds_nfs_shared",
        "storageProfileId": "43fa8d5f-4049-44f2-9aad-97dab40ff112",
        "storageProfileName": "Gold Storage Policy"
    },
    "vmFolder": "group-v4",
    "vmFolderName": "somefoldername"
}
string
host
Optional

Optional target host on which the virtual machine will run.

string
hostName
Optional

The host name.

networkMappings
Optional

networkMappings

string
resourcePool
Optional

The resource pool to which the virtual machine should be attached.

string
resourcePoolName
Optional

The resource pool name.

storageProfileSettings
Optional

storageProfileSettings

string
vmFolder
Optional

The folder to add the recovered virtual machine to.

string
vmFolderName
Optional

The folder name.