[{"label":"Latest (v37.0)","version":"latest"},{"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 Pvdc Storage Policy Supported Entity Types

Description

Updates the supported entity types for the specified provider VDC storage policy.

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/pvdcStoragePolicies/{pvdcStoragePolicyUrn}/supportedEntityTypes
Copy

Path Parameters

Path Parameters

string
pvdcStoragePolicyUrn Required

pvdcStoragePolicyUrn


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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns StoragePolicySupportedEntityTypes of type(s) application/json;version=37.0
This response body class contains all of the following: Page, InlineStoragePolicySupportedEntityTypes1

No error details were provided in the OpenAPI specification.

Code Samples

Code 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/pvdcStoragePolicies/{pvdcStoragePolicyUrn}/supportedEntityTypes


[{"label":"Latest (v37.0)","version":"latest"},{"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
Feedback

Was this page helpful?