Get Hosts Software Commits
Returns the information about a specific commit. 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.
Identifier of the specific commit. The parameter must be an identifier for the resource type: com.vmware.esx.settings.commit.
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
Information about the commit.
{
"apply_status": "APPLIED",
"author": "string",
"commit_time": "string",
"description": "string"
}
The Commits.ApplyStatusType enumerated type defines possible values regarding the application of this commit.
APPLIED : Commit has been applied to the host.
NOT_APPLIED : Commit hasn’t been applied to the host.
Possible values are: APPLIED , NOT_APPLIED
Author of the commit.
Creation time of the commit.
Description accompanying this commit.
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 or if working copy of the software document is not found.
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: get