appliance system storage: list
Get disk to partition mapping
Request:
HTTP request
GET https://{server}/rest/appliance/system/storage
No request parameters
Response:
HTTP Status Code: 200
Representations:
{
"value": [
{
"disk": "obj-103",
"partition": "string"
},
{
"disk": "obj-103",
"partition": "string"
}
]
}
"value": [
{
"disk": "obj-103",
"partition": "string"
},
{
"disk": "obj-103",
"partition": "string"
}
]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/appliance/system/storage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value-array>
<array-item>
<partition>string</partition>
<disk>obj-103</disk>
</array-item>
<array-item>
<partition>string</partition>
<disk>obj-103</disk>
</array-item>
</value-array>
</ns0:List-Result>
<ns0:List-Result xmlns:ns0="http://vmware.com/appliance/system/storage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value-array>
<array-item>
<partition>string</partition>
<disk>obj-103</disk>
</array-item>
<array-item>
<partition>string</partition>
<disk>obj-103</disk>
</array-item>
</value-array>
</ns0:List-Result>
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | storage_mapping[] | list of mapping items. |
value[].disk | string | NGC disk ID When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.appliance.system.storage . When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.appliance.system.storage . |
value[].partition | string | Storage partition name |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |