appliance system storage: resize ex

Resize all partitions to 100 percent of disk size. This operation was added in vSphere API 6.7

Request:

HTTP request

POST https://{server}/rest/appliance/system/storage?action=resize-ex
No request parameters

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        {
            "key""string",
            "value"{
                "new_size"1,
                "old_size"1
            }
        }
    ]
}

Response Type:

Name Type Description
bold = required
value list List of the partitions with the size before and after resizing. List of {"key": string, "value": storage_change}
value[].key string
value[].value storage_change
value[].value.old_size long Original size of the partition in MB. This attribute was added in vSphere API 6.7

value[].value.new_size long Nedw size of the partition in MB. This attribute was added in vSphere API 6.7

Errors:

HTTP Status Code Type Description
500 error Generic error