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

Representation:

{
    "value"[
        {
            "description"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "disk""obj-103",
            "partition""string"
        },
        {
            "description"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "disk""obj-103",
            "partition""string"
        }
    ]
}

Response Type:

Name Type Description
bold = required
value storage_mapping[] list of mapping items.
value[].disk string The disk number in the vSphere Web Client.

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.

value[].description localizable_message Description of partition. This attribute was added in vSphere API 6.7

Optional. This field is optional because it was added in a newer version than its parent node.

value[].description.id string Unique identifier of the localizable string or message template.

This identifier is typically used to retrieve a locale-specific string or message template from a message catalog.

value[].description.default_message string The value of this localizable string or message template in the en_US (English) locale. If vapi.std.localizable_message.id refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog.

value[].description.args string[] Arguments to be substituted into a message template.

Errors:

HTTP Status Code Type Description
500 error Generic error