Browse vCenter Compute Item
DescriptionBrowse files and folders accessible to vCenter server’s compute object.
Request
URLURL
Path Parameters
Path Parameters
The ID of a pairing between this Site Recovery Manager server and remote one.
The ID of a vCenter server.
The ID of a vCenter Server’s compute object.Supported types:
- ClusterComputeResource
- ComputeResource
- HostSystem
- ResourcePool
Query Parameters
Query Parameters
Id of the datastore which you must browse.. Leave empty when browsing hosts and in addition add ‘/vmimages’ as value for path query param.
Filter result items by file type.
Possible values are: VM_DISK , FLOPPY_IMAGE , ISO_IMAGE , VM_CONFIG_FILES , ALL_FILES , FOLDERS
The path on the given datastore to browse. Leave empty for root node. Use ‘/vmimages’ when browsing a host without datastore id passed as query param.
Whether the datastore file system search should include the sub folders of the specified browse path.
Authentication
Response
Response BodyResponse Body
200 OK
Browse information about vCenter server’s compute object.
{
"_meta": {
"errors": [
{
"code": "string",
"field": "string",
"message": "string"
}
],
"limit": 0,
"links": {
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"offset": 0,
"total": 0
},
"list": [
{
"datastore_id": "string",
"datastore_name": "string",
"modification": 0,
"name": "string",
"owner": "root",
"path": "/datastore-name/testFolder/childFolder",
"size": 0,
"type": "FOLDER"
}
]
}
Errors
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request