VMware Cloud Director API - GET-VdcStorageClass
GET /vdcStorageProfile/{id}
- Operation:
- GET /vdcStorageProfile/{id}
- Description:
- Returns storage class referred by the Id. All properties of the storage classes are visible to vcloud user, except for VDC Storage Class reference
- Since:
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
VdcStorageClassType representation of storage class referred by storageClassId
- Produce media type(s):
-
application/vnd.vmware.vcloud.vdcStorageProfile+xml
application/vnd.vmware.vcloud.vdcStorageProfile+json
- Output type:
- VdcStorageProfileType
- Examples
-
- Request
-
HTTP 1.1
GET /api/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f
Headers:
x-vcloud-authorization: jlfBniGOkcjcw1qWDpCYp6dhBJZ4LQW0m5Sp7UjZ/Vg=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 936
Content-Type: application/vnd.vmware.vcloud.vdcstorageprofile+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><VdcStorageProfile
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f"
id="urn:vcloud:vdcstorageProfile:eb6aacbd-f0d8-4a07-8248-1de28151e98f"
name="profile"
type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42"
rel="up"
type="application/vnd.vmware.vcloud.vdc+xml"/>
<Link
href="https://vcloud.example.com/api/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
rel="down"
type="application/vnd.vmware.vcloud.metadata+xml"/>
<Enabled>false</Enabled>
<Units>MB</Units>
<Limit>301</Limit>
<Default>false</Default>
</VdcStorageProfile>