Get Depots Online
Released in v7.0.0 DescriptionGets the information about a currently configured online software depot. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Read.
Request
URLURL
https://{api_host}/api/esx/settings/depots/online/{depot}
Parameters
Parameters
string
depot
Required
Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online.
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
Response
Response
Response BodyResponse Body
200 OK returns
SettingsDepotsOnlineInfo
of type application/json
Information of the currently configured online software depot.
{
"description": "string",
"enabled": false,
"location": "string",
"system_defined": false
}
string
description
Required
Description of the Depot. It will be an empty string if no description was provided during create.
boolean
enabled
Required
Flag indicating whether this depot is enabled or not.
string
location
Required
Location of the Depot.
boolean
system_defined
Required
Flag to indicate if the depot is system defined. System defined depot can not be deleted.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/esx/settings/depots/online/{depot}
Errors
404
com.vmware.vapi.std.errors.not_found : If there is no depot with given identifier depot in the system.
500
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
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.
Depots Online Operations
post
patch
delete