Add Clusters Depot Overrides
Released in v7.0.0Adds a new depot override to the list of currently configured depot overrides for a given cluster. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write. - The resource ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
https://{api_host}/api/esx/settings/clusters/{cluster}/depot-overrides?action=add
Parameters
Parameters
string
cluster
Required
Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
Request Body
SettingsClustersDepotOverridesDepot of type application/json (required){
"location": "string"
}
string
location
Required
Location of the depot override. This could be a location of zip file or location to an index.xml file.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"location":"string"}' https://{api_host}/api/esx/settings/clusters/{cluster}/depot-overrides?action=add
Errors
404
com.vmware.vapi.std.errors.not_found : If there is no cluster associated with cluster in the system. | com.vmware.vapi.std.errors.error : If there is some unknown internal error. The accompanying error message will give more details about the failure.
409
com.vmware.vapi.std.errors.already_exists : if depot override with given information already exists.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.