Esx. Settings. Depots. Offline List

Esx. Settings. Depots. Offline List

Returns currently imported offline software depots.

This operation was added in vSphere API 7.0.0.0.

Returns an authorization error if you do not have all of the privileges described as follows:

  • Operation execution requires VcIntegrity.lifecycleSettings.Read.
Request
URI
GET
https://{api_host}/esx/settings/depots/offline
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Map of currently imported offline software depots keyed by their identifier.

The key in the response map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline.

{
    "0": "E",
    "1": "s",
    "2": "x",
    "3": ".",
    "4": "S",
    "5": "e",
    "6": "t",
    "7": "t",
    "8": "i",
    "9": "n",
    "10": "g",
    "11": "s",
    "12": ".",
    "13": "D",
    "14": "e",
    "15": "p",
    "16": "o",
    "17": "t",
    "18": "s",
    "19": ".",
    "20": "O",
    "21": "f",
    "22": "f",
    "23": "l",
    "24": "i",
    "25": "n",
    "26": "e",
    "27": ".",
    "28": "S",
    "29": "u",
    "30": "m",
    "31": "m",
    "32": "a",
    "33": "r",
    "34": "y",
    "35": " ",
    "36": "O",
    "37": "b",
    "38": "j",
    "39": "e",
    "40": "c",
    "41": "t"
}

401

if the caller is not authenticated.

Returns Vapi.Std.Errors.Unauthenticated of type(s) application/json
"Vapi.Std.Errors.Unauthenticated Object"

500

If there is some unknown internal error. The accompanying error message will give more details about the failure.

Returns Vapi.Std.Errors.Error of type(s) application/json
"Vapi.Std.Errors.Error Object"

503

If the service is not available.

Returns Vapi.Std.Errors.ServiceUnavailable of type(s) application/json
"Vapi.Std.Errors.ServiceUnavailable Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/esx/settings/depots/offline