esx vm data sets: list
Lists the data sets of a virtual machine. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
GET https://{server}/api/esx/vm/{vm}/data-sets
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
vm | string | Identifier of the virtual machine. |
Response:
HTTP Status Code: 200
Response Body Structure:
[
{
"name" : "string",
"description" : "string",
"data_set" : "obj-103"
},
{
"name" : "string",
"description" : "string",
"data_set" : "obj-103"
}
]
{
"name" : "string",
"description" : "string",
"data_set" : "obj-103"
},
{
"name" : "string",
"description" : "string",
"data_set" : "obj-103"
}
]
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | summary[] | The list of data sets. |
-[].data_set | string | The identifier of the data set. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.vm.DataSet . When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.vm.DataSet . |
-[].name | string | The name of the data set. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
-[].description | string | The description of the data set. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
404 | not_found | if the virtual machine is not found. |
403 | unauthorized | if the user doesn't have the required privileges. |