Cluster Profile Update Cluster Profile

Cluster Profile Update Cluster Profile

Update the ClusterProfile with the specified config.

Required privileges: Profile.Edit

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/ClusterProfile/{moId}/UpdateClusterProfile
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case ClusterProfile/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
UpdateClusterProfileRequestType of type(s) application/json
Required
"UpdateClusterProfileRequestType Object"
config
Required

Specification which describes the changes.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

DuplicateName: If the profile with the new name already exists.

Returns DuplicateName of type(s) application/json
"DuplicateName Object"
string
name
Required

The name that is already bound in the name space.

object
Required

Managed object that already holds the name.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ClusterProfile/{moId}/UpdateClusterProfile