Upgrade Multiple Software Clusters
Upgrade a set of clusters to its corresponding specific version.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Specifications for upgrading selected clusters. The key in the parameter map must be an identifier for the resource type: ClusterComputeResource.
Authentication
Response
Response BodyResponse Body
map
of
NamespaceManagementSoftwareClustersResult
of type application/json
Pre-check result when invoking upgrade for each cluster. The key in the result map will be an identifier for the resource type: ClusterComputeResource.
{
"exception": {},
"res": "STARTED"
}
The Clusters.Result.Res enumerated type represents the upgrade invocation result for each cluster.
STARTED : Upgrade is started.
REJECTED : Upgrade is rejected. This implies pre-check failed when invoking upgrade of the cluster.
Possible values are: STARTED , REJECTED
Exception when cluster pre-check failed during upgrade invocation. This field is optional and it is only relevant when the value of Clusters.Result.res is REJECTED.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user does not have Namespaces.Upgrade privilege on all specified clusters.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘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: upgrade_multiple