List Depots Offline
Returns currently imported offline software depots. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Read.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
map
of
SettingsDepotsOfflineSummary
of type application/json
Map of currently imported offline software depots keyed by their identifier. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline.
{
"description": "string",
"file_id": "string",
"location": "string",
"owner": "string",
"ownerdata": "string",
"source_type": "PULL"
}
Description of the depot. If not set during import, it will be empty.
The Offline.SourceType enumerated type defines possible values of sources for the offline depot.
PULL : Content is pulled from the URL location. The URL scheme of the value in {@link CreateSpec#location) can be http, https or file.
PUSH : Content was previously uploaded using the file upload enpoint present on vCenter appliance. This endpoint is present at https://VCENTERFQDN:9087/vum-fileupload URL.
Possible values are: PULL , PUSH
File identifier returned by the file upload endpoint after file is uploaded. This field is optional and it is only relevant when the value of Offline.Summary.source-type is PUSH.
Location of the depot from which content is retrieved. This field is optional and it is only relevant when the value of Offline.Summary.source-type is PULL.
Name of the user creating the depot. This field is optional because it was added in a newer version than its parent node.
Private data saved by the Offline.Summary.owner of depot. It is opaque to vLCM. This field is optional because it was added in a newer version than its parent node.
Errors
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: list