Update All Storage Policy Supported Entity Types
Updates the supported entity types for the specified provider VDC storage policy.
Request
URI
PUT
https://{api_host}/cloudapi/2.0.0/storagePolicySupportedEntityTypes
COPY
Request Body
The updated list of supported entity types.
StoragePolicySupportedEntityTypes
of type(s)
application/json
Optional
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "urn:vcloud:type:vmware:vm"
}
]
}
Responses
200
OK
Returns
StoragePolicySupportedEntityTypes
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineStoragePolicySupportedEntityTypes0 ,
InlineStoragePolicySupportedEntityTypes1
"StoragePolicySupportedEntityTypes Object"
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/2.0.0/storagePolicySupportedEntityTypes
Availability
Added in 39.0
Pvdc Storage Policy V2 Operations
PUT
Update All Storage Policy Supported Entity Types
PUT
Update Pvdc Storage Policy Supported Entity Types