Get Clusters Software Commits
Released in v7.0.0 DescriptionReturns the information about a specific commit.
Request
URLURL
https://{api_host}/api/esx/settings/clusters/{cluster}/software/commits/{commit}
Parameters
Parameters
string
cluster
Required
Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.
string
commit
Required
Identifier of the specific commit.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.commit.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
SettingsClustersSoftwareCommitsInfo
of type application/json
Information about the commit.
{
"apply_status": "enum",
"author": "string",
"commit_time": "string",
"description": "string"
}
apply_status
Required
Apply status of the commit.
Possible values are:
string
author
Required
Author of the commit.
string
commit_time
Required
Creation time of the commit.
string
description
Required
Description accompanying this commit.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/esx/settings/clusters/{cluster}/software/commits/{commit}
Errors
404
com.vmware.vapi.std.errors.error : If there is unknown internal error. The accompanying error message will give more details about the failure. | com.vmware.vapi.std.errors.not_found : If there is no cluster associated with cluster in the system or if desired specification commit is not found.