Vcenter V Storage Object Manager Retrieve V Storage Object

Vcenter V Storage Object Manager Retrieve V Storage Object

Retrieve a virtual storage object.

Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/VcenterVStorageObjectManager/{moId}/RetrieveVStorageObject
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VcenterVStorageObjectManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Request Body
RetrieveVStorageObjectRequestType of type(s) application/json
Required

Show optional properties

{
    "id": {
        "id": "string"
    },
    "datastore": {}
}
{
    "id": {
        "_typeName": "string",
        "id": "string"
    },
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "diskInfoFlags": [
        "string"
    ]
}
id
Required

This data object type describes an identifier class which is globally unique to identify the associated object.

datastore
Required

Reference to an instance of the Datastore managed object.

array of string
diskInfoFlags
Optional

Flags indicating the FCD information to be retrieved. If diskInfoFlags is unset, then all FCD information will be retrieved. See vslmDiskInfoFlagEnum for the list of supported values.

Since: vSphere API Release 8.0.0.1

Authentication
This operation uses the following authentication methods.
Responses
200

The required virtual storage object.

Returns VStorageObject of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "config": {
        "_typeName": "string",
        "id": {
            "_typeName": "string",
            "id": "string"
        },
        "name": "string",
        "createTime": "string",
        "keepAfterDeleteVm": false,
        "relocationDisabled": false,
        "nativeSnapshotSupported": false,
        "changedBlockTrackingEnabled": false,
        "backing": {
            "_typeName": "string",
            "datastore": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        },
        "metadata": [
            {
                "_typeName": "string",
                "key": "string",
                "value": "string"
            }
        ],
        "vclock": {
            "_typeName": "string",
            "vClockTime": 0
        },
        "iofilter": [
            "string"
        ],
        "descriptorVersion": 0,
        "capacityInMB": 0,
        "consumptionType": [
            "string"
        ],
        "consumerId": [
            {
                "_typeName": "string",
                "id": "string"
            }
        ]
    }
}
config
Required

Data object specifies Virtual storage object configuration


500

FileFault: If an error occurs when retrieving the virtual object.

InvalidDatastore: If the operation cannot be performed on the datastore.

NotFound: If specified virtual storage object cannot be found.

Returns VimFault of type(s) application/json
This response body class contains all of the following: MethodFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}

Virtual Infrastructure Operations
POST
Vcenter V Storage Object Manager Attach Tag To V Storage Object
POST
Vcenter V Storage Object Manager Clear V Storage Object Control Flags
POST
Vcenter V Storage Object Manager Clone V Storage Object Task
POST
Vcenter V Storage Object Manager Create Disk Task
POST
Vcenter V Storage Object Manager Create Disk From Snapshot Task
POST
Vcenter V Storage Object Manager Delete Snapshot Task
POST
Vcenter V Storage Object Manager Delete V Storage Object Task
POST
Vcenter V Storage Object Manager Delete V Storage Object Ex Task
POST
Vcenter V Storage Object Manager Detach Tag From V Storage Object
POST
Vcenter V Storage Object Manager Extend Disk Task
POST
Vcenter V Storage Object Manager Inflate Disk Task
POST
Vcenter V Storage Object Manager List Tags Attached To V Storage Object
POST
Vcenter V Storage Object Manager List V Storage Object
POST
Vcenter V Storage Object Manager List V Storage Objects Attached To Tag
POST
Vcenter V Storage Object Manager Query Virtual Disk Uuid Ex
POST
Vcenter V Storage Object Manager Reconcile Datastore Inventory Task
POST
Vcenter V Storage Object Manager Register Disk
POST
Vcenter V Storage Object Manager Relocate V Storage Object Task
POST
Vcenter V Storage Object Manager Rename V Storage Object
POST
Vcenter V Storage Object Manager Rename V Storage Object Ex
POST
Vcenter V Storage Object Manager Retrieve Snapshot Details
POST
Vcenter V Storage Object Manager Retrieve Snapshot Info
POST
Vcenter V Storage Object Manager Retrieve V Storage Infrastructure Object Policy
POST
Vcenter V Storage Object Manager Retrieve V Storage Object
POST
Vcenter V Storage Object Manager Retrieve V Storage Object Associations
POST
Vcenter V Storage Object Manager Retrieve V Storage Object State
POST
Vcenter V Storage Object Manager Revert V Storage Object Task
POST
Vcenter V Storage Object Manager Revert V Storage Object Ex Task
POST
Vcenter V Storage Object Manager Schedule Reconcile Datastore Inventory
POST
Vcenter V Storage Object Manager Set Virtual Disk Uuid Ex Task
POST
Vcenter V Storage Object Manager Set V Storage Object Control Flags
POST
Vcenter V Storage Object Manager Update V Storage Infrastructure Object Policy Task
POST
Vcenter V Storage Object Manager Update V Storage Object Crypto Task
POST
Vcenter V Storage Object Manager Update V Storage Object Policy Task
POST
Vcenter V Storage Object Manager V Center Update V Storage Object Metadata Ex Task
POST
Vcenter V Storage Object Manager V Storage Object Create Snapshot Task
POST
Vcenter V Storage Object Manager V Storage Object Create Snapshot Ex Task
POST
Vcenter V Storage Object Manager V Storage Object Delete Snapshot Ex Task
POST
Vcenter V Storage Object Manager V Storage Object Extend Disk Ex Task
POST
Vcenter V Storage Object Manager Vstorage Object V Center Query Changed Disk Areas