Add Hosts Depot Overrides
Adds a new depot override to the list of currently configured depot overrides for a given host. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write. - The resource HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
Path Parameters
Path Parameters
Identifier for the host. The parameter must be an identifier for the resource type: HostSystem.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Information of a depot override.
{
"location": "string"
}
Location of the depot override. This could be a location of zip file or location to an index.xml file.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.invalid_argument : If an invalid location is provided. | com.vmware.vapi.std.errors.already_exists : if depot override with given information already exists. | com.vmware.vapi.std.errors.unsupported : If the host is not a vLCM managed standlone host.
com.vmware.vapi.std.errors.not_found : If there is no host associated with host 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.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: add