Cluster Profile Manager Create Profile
Create a profile from the specified CreateSpec.
Required privileges: Profile.Create
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 ClusterProfileManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"CreateProfileRequestType Object"
Specification for the profile being created. Usually a derived class CreateSpec can be used to create the Profile.
Profile created from the specified createSpec.
"MoRefProfile Object"
DuplicateName: If a profile with the specified name already exists.
InvalidProfileReferenceHost: if the specified reference host is incompatible or no reference host has been specified.
"DuplicateName Object"
The name that is already bound in the name space.
Managed object that already holds the name.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ClusterProfileManager/{moId}/CreateProfile