VStorageObjectAttachResult

VStorageObjectAttachResult
VStorageObjectAttachResult

This data type defines the result of attaching a vStorage object to VM

Since: vSphere API Release 9.1.0.0

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "volumeId": {
        "_typeName": "string",
        "id": "string"
    },
    "diskUUID": "string",
    "fault": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    }
}
volumeId
Required

The ID of the operated volume See ID

string
diskUUID
Optional

UUID for disk, value is obtained from vm config and can be used during mounting.

This field will be set in case of a successful attach operation. When fault field is set, this value will not be set and should be ignored.

fault
Optional

Fault, if any, corresponding to the specified volume ID that caused operation to fail.

Absence of fault will indicate successful result.