RecoveredDevice

RecoveredDevice
RecoveredDevice

Represents the device after the failover.

Even though many of the fields in this structure are marked optional, it is important for VASA provider to make sure that the recovery of the entire ReplicationGroup succeeds atomically. The only valid scenario when there is a device specific recovery failure is when there is no valid replica for the Virtual Volume (e.g. Virtual Volume was just added to the ReplicationGroup).

This structure may be used only with operations rendered under /sms.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "targetDeviceId": {
        "_typeName": "string",
        "id": "string"
    },
    "recoveredDeviceId": {
        "_typeName": "string"
    },
    "sourceDeviceId": {
        "_typeName": "string"
    },
    "info": [
        "string"
    ],
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "recoveredDiskInfo": [
        {
            "_typeName": "string",
            "deviceKey": 0,
            "dsUrl": "string",
            "diskPath": "string"
        }
    ],
    "error": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    },
    "warnings": [
        {
            "_typeName": "string",
            "faultCause": "MethodFault Object",
            "faultMessage": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "arg": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ],
                    "message": "string"
                }
            ]
        }
    ]
}
targetDeviceId
Optional

Identifier of the replication target device.

For Virtual Volumes, this could be the same as a Virtual Volume Id, for VMDK's this could be an FCD uuid, or some other ID made up by the replicator. This identifier is opaque to vSphere and hence does not have any distinguishing type. This can be used to identify the replica without the accompanying source device id (though there are no such uses in the current API).

Since this an opaque type, the recovered device id at recoveredDeviceId should be filled in even if the values are the same.

This structure may be used only with operations rendered under /sms.

recoveredDeviceId
Optional

Base class that represents a replicated device.

This structure may be used only with operations rendered under /sms.

sourceDeviceId
Required

Base class that represents a replicated device.

This structure may be used only with operations rendered under /sms.

array of string
info
Optional

Informational messages.

datastore
Required

Reference to an instance of the Datastore managed object.

recoveredDiskInfo
Optional

Only to be filled in if the recoveredDeviceId is VirtualMachineId.

error
Optional

The base data object type for all the object model faults that an application might handle.

warnings
Optional

Warnings.