Query Storage Classes
Retrieves a list of Org-scoped storage classes. If no Org context is supplied then all available storage classes are retrieved. Results can be filtered by id, name, and region.
Request
URI
GET
https://{api_host}/cloudapi/vcf/storageClasses
COPY
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
OK
Returns
StorageClasses
of type(s)
application/json;version=40.0
This response body class contains all of the following:
InlineStorageClasses0 ,
InlineStorageClasses1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"name": "string",
"region": {
"name": "string",
"id": "string"
},
"storageConsumedMiB": 0,
"storageCapacityMiB": 0,
"zones": [
{
"name": "string",
"id": "string"
}
]
}
]
}
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[object Object]
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/vcf/storageClasses?page=value&pageSize=v
Availability
Added in 40.0
On This Page
Storage Classes Operations
GET
Query Storage Classes
GET
Get Storage Class