Create Depots Online
Adds a new online software depot to the list of currently configured online software depots. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
{
"location": "string"
}
Location of the depot. It should be the location to the index.xml for the depot.
Description of the depot. If unset, the description will be empty.
Flag indicating whether this depot is enabled or not. Disabling the depot doesn’t delete its cached metadata and payloads. It will not be refreshed next time depots are re-synced. If unset, the depot will be enabled.
Private data saved by the Online.Info.owner of the depot. It is opaque to vLCM. If unset, no ownerdata will be saved.
Authentication
Response
Response BodyResponse Body
Identifier of the currently configured online depot. The result will be an identifier for the resource type: com.vmware.esx.settings.depots.online.
Errors
com.vmware.vapi.std.errors.invalid_argument : If an invalid location is provided. | com.vmware.vapi.std.errors.already_exists : If depot with given location already exists.
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
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: create