Esx. Settings. Repository. Software. Drafts List
Returns information about the software drafts for the specified cluster that match the Esx.Settings.Repository.Software.Drafts.FilterSpec.
This operation was added in vSphere API 9.0.0.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires VcIntegrity.lifecycleSoftwareSpecification.Read.
Software specification identifier for which the draft is created. If the software specification identifier is set to -1, global software drafts are returned.
This property was added in vSphere API 9.0.0.0.
If missing or null or empty, drafts from all software specification identifiers are returned.
When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.esx.settings.repository.software_spec. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.esx.settings.repository.software_spec.
Owners of the drafts.
This property was added in vSphere API 9.0.0.0.
If missing or null or empty, drafts from all owners will be returned.
Map of software drafts in the repository keyed by their identifiers that match the Esx.Settings.Repository.Software.Drafts.FilterSpec.
The key in the response map will be an identifier for the resource type: com.vmware.esx.settings.draft.
{
"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": "R",
"14": "e",
"15": "p",
"16": "o",
"17": "s",
"18": "i",
"19": "t",
"20": "o",
"21": "r",
"22": "y",
"23": ".",
"24": "S",
"25": "o",
"26": "f",
"27": "t",
"28": "w",
"29": "a",
"30": "r",
"31": "e",
"32": ".",
"33": "D",
"34": "r",
"35": "a",
"36": "f",
"37": "t",
"38": "s",
"39": ".",
"40": "I",
"41": "n",
"42": "f",
"43": "o",
"44": " ",
"45": "O",
"46": "b",
"47": "j",
"48": "e",
"49": "c",
"50": "t"
}
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If the caller does not have the necessary privileges.
"Vapi.Std.Errors.Unauthorized Object"
If there is unknown internal error. The accompanying error message will give more details about the failure.
"Vapi.Std.Errors.Error Object"
If the service is not available.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/esx/settings/repository/software/drafts