[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Update All Storage Policy Supported Entity Types
DescriptionUpdates the supported entity types for the specified provider VDC storage policy.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/storagePolicySupportedEntityTypes
Request Body
Request Body
array of
StoragePolicySupportedEntityType
of type(s) application/json
Required
The updated list of supported entity types.
{
"name": "urn:vcloud:type:vmware:vm"
}
string
name
Optional
The name of the supported entity type. Can be either a static VCD type or a defined entity type.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
StoragePolicySupportedEntityTypes
of type(s) application/json;version=36.3
This response body class contains all of the following:
Page, InlineStoragePolicySupportedEntityTypes1
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '[{"name":"urn:vcloud:type:vmware:vm"}]' https://{api_host}/cloudapi/1.0.0/storagePolicySupportedEntityTypes
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.2