Get Component Version Drift
Get version drift for a component
Component for which you want to get the version drift statusOne among: DOMAIN, VCENTER, CLUSTER, HOST, NSX_T_MANAGER, SDDC_MANAGER
Resource ID of the component
9ab78840-ee25-11e8-a8fc-d71c338107bd
Filter by: component name (partial match, case-insensitive). Optional
Filter by: component public name (partial match, case-insensitive). Optional
Filter by: current version (partial match, case-insensitive). Optional
Filter by: target version (partial match, case-insensitive). Optional
Filter by: Component version status enum value (partial match, case-insensitive).One among: ON_TARGET, VERSION_DRIFT Optional
Filter by: localized status text (partial match, case-insensitive). Use this to filter on the display text shown in the UI (e.g., 'On Target'). Optional
Optional sort to apply to result. List can contain values among: componentName, currentVersion, targetVersion, componentVersionStatus, statusText. Multiple values supported (comma-separated) or multiple occurrences for different sort directions (asc/desc). Example: sort=currentVersion,desc
Page number (0-based index)
Number of records per page
Ok
{
"elements": [
{
"componentType": "One among: DOMAIN, VCENTER, ESX_CLUSTER, ESX_HOST, NSX_T_MANAGER, SDDC_MANAGER_VCF",
"componentId": "string",
"componentName": "string",
"publicName": "string",
"currentVersion": "string",
"targetVersion": "string",
"componentVersionStatus": {
"value": "string",
"statusText": "string"
},
"mixedVersions": false,
"hasChildren": false,
"subComponents": [
{
"componentType": "One among: DOMAIN, VCENTER, ESX_CLUSTER, ESX_HOST, NSX_T_MANAGER, SDDC_MANAGER_VCF",
"componentId": "string",
"componentName": "string",
"publicName": "string",
"currentVersion": "string",
"targetVersion": "string",
"componentVersionStatus": {
"value": "string",
"statusText": "string"
},
"mixedVersions": false,
"hasChildren": false,
"subComponents": [
"ComponentVersion Object"
]
}
]
}
],
"pageMetadata": {
"pageNumber": 0,
"pageSize": 0,
"totalElements": 0,
"totalPages": 0
}
}
The list of elements included in this page
Represents pageable elements pagination metadata
Bad Request
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"notifications": [
{
"severity": "string",
"message": "string",
"remediations": [
{
"message": "string",
"link": "string"
}
],
"impactMessage": "string"
}
],
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"notifications": [
{
"severity": "string",
"message": "string",
"remediations": [
{
"message": "string",
"link": "string"
}
],
"impactMessage": "string"
}
],
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"Error Object"
],
"referenceToken": "string",
"label": "string",
"remediationUrl": "string"
}
],
"referenceToken": "string",
"label": "string",
"remediationUrl": "string"
}
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
Detailed results of the precheck validation.
The localized error message
The localized remediation error message
The underlying cause exceptions.
The nested errors when the error is a composite one
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
The localized label message
The URL string for remediation documentation link
Internal server error
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
Detailed results of the precheck validation.
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
The localized label message
The URL string for remediation documentation link
curl -H 'Authorization: <value>' https://{api_host}/v1/version-drift?componentType=value&componentId=v