Esx. Settings. Inventory. Reports. Transition Summary. Clusters Get

Esx. Settings. Inventory. Reports. Transition Summary. Clusters Get

Returns the image and transition summary of the clusters defined in the Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams as an input.

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.lifecycleSettings.Read.
  • The resource ClusterComputeResource referenced by the property Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.clusters requires VcIntegrity.lifecycleSettings.Read.
  • The resource Folder referenced by the property Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.folders requires VcIntegrity.lifecycleSettings.Read.
  • The resource Datacenter referenced by the property Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.datacenters requires VcIntegrity.lifecycleSettings.Read.
Request
URI
GET
https://{api_host}/esx/settings/inventory/reports/transition-summary/clusters
COPY
Query Parameters
spec
Required

Describe the inventory objects on which the specified operation will be performed.

string of array
clusters
Optional

List of clusters on which the specified operation needs to be executed.

This property was added in vSphere API 9.0.0.0.

This property is optional and it is only relevant when the value of type is Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.InventoryType.CLUSTER.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: ClusterComputeResource. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: ClusterComputeResource.

string of array
folders
Optional

List of folders on which the specified operation will be executed. Internally each folder entity will be expanded to individual baseline managed clusters which are underneath the designated folder. If the list contains the managed object ID of the root folder, the specified operation will be executed on all baseline managed clusters.

This property was added in vSphere API 9.0.0.0.

This property is optional and it is only relevant when the value of type is Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.InventoryType.FOLDER.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Folder. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Folder.

string of array
datacenters
Optional

List of the data-centers on which the specified operation will be executed. Internally each data-center entity will be expanded to individual baseline managed clusters which are underneath the designated data-center.

This property was added in vSphere API 9.0.0.0.

This property is optional and it is only relevant when the value of type is Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams.InventoryType.DATACENTER.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Datacenter. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Datacenter.


Authentication
This operation uses the following authentication methods.
Responses
200

Summary containing image details and transition status of the entities passed in input

Returns Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.Info of type(s) application/json
"Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.Info Object"

400

If invalid Esx.Settings.Inventory.Reports.TransitionSummary.Clusters.GetParams is passed as an input

Returns Vapi.Std.Errors.InvalidArgument of type(s) application/json
"Vapi.Std.Errors.InvalidArgument Object"

401

If the caller is not authenticated

Returns Vapi.Std.Errors.Unauthenticated of type(s) application/json
"Vapi.Std.Errors.Unauthenticated Object"

403

If the caller is not authorized to invoke the interface.

Returns Vapi.Std.Errors.Unauthorized of type(s) application/json
"Vapi.Std.Errors.Unauthorized Object"

404

If some of the provided inventories doesn't exist.

Returns Vapi.Std.Errors.NotFound of type(s) application/json
"Vapi.Std.Errors.NotFound Object"

500

If there is unknown internal error. The accompanying error message will contain more details.

Returns Vapi.Std.Errors.Error of type(s) application/json
"Vapi.Std.Errors.Error Object"

503

If the service is not available.

Returns Vapi.Std.Errors.ServiceUnavailable of type(s) application/json
"Vapi.Std.Errors.ServiceUnavailable Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/esx/settings/inventory/reports/transition-summary/clusters?spec=v