esx settings clusters depot overrides: add
Adds a new depot override to the list of currently configured depot overrides for a given cluster.
Request:
HTTP request
POST https://{server}/api/esx/settings/clusters/{cluster}/depot-overrides
?action=add
?action=add
{
"location" : "http://myurl.com"
}
"location" : "http://myurl.com"
}
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
cluster | string | Identifier for the cluster. |
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | depot | Information of a depot override. |
-.location | URI | Location of the depot override. This could be a location of zip file or location to an index.xml file. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
401 | unauthenticated | if the caller is not authenticated. |
400 | invalid_argument | If an invalid location is provided. |
404 | not_found | If there is no cluster associated with cluster in the system. |
400 | already_exists | if depot override with given information already exists. |
500 | error | If there is some unknown internal error. The accompanying error message will give more details about the failure. |
503 | service_unavailable | If the service is not available. |