List Hosts Software Drafts
Returns information about the software drafts for the specified host that match the Drafts.FilterSpec. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSoftwareSpecification.Read. - The resource HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the host. The parameter must be an identifier for the resource type: HostSystem.
Query Parameters
Query Parameters
Owners of the drafts. If unset or empty, drafts from all owners will be returned.
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
SettingsHostsSoftwareDraftsSummary
of type application/json
Map of software drafts keyed by their identifiers. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.draft.
{
"metadata": {
"creation_time": "string",
"owner": "string",
"status": "VALID"
}
}
Errors
com.vmware.vapi.std.errors.unsupported : If the host is not a vLCM managed standlone host.
com.vmware.vapi.std.errors.not_found : If there is no host associated with host in the system.
com.vmware.vapi.std.errors.error : If there is 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