Get Upgrade Units

Get Upgrade Units

Get upgrade units

Request
URI
GET
https://nsxmanager.your.domain/api/v1/upgrade/upgrade-units
COPY
Query Parameters
boolean
has_warnings
Optional

Flag to indicate whether to return only upgrade units with warnings

string
included_fields
Optional

Comma separated list of fields that should be included to result of query

string
component_type
Optional

Component type based on which upgrade units to be filtered

Possible values are : HOST, EDGE, CCP,
integer
page_size
Optional

Maximum number of results to return in this page (server may return fewer)

string
sort_by
Optional

Field by which records are sorted

string
cursor
Optional

Opaque cursor to be used for getting next page of records (supplied by current result page)

string
upgrade_unit_type
Optional

Upgrade unit type based on which upgrade units to be filtered

Possible values are : HOST, EDGE, EDGE_CLUSTER, CCP, CCP_CLUSTER,
string
current_version
Optional

Current version of upgrade unit based on which upgrade units to be filtered

boolean
sort_ascending
Optional

sort_ascending

string
group_id
Optional

UUID of group based on which upgrade units to be filtered


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns UpgradeUnitListResult of type(s) application/json
This response body class contains all of the following: ListResult , InlineUpgradeUnitListResult1
{
    "_self": {
        "rel": "string"
    },
    "cursor": "string",
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "sort_ascending": false,
    "result_count": 0,
    "_schema": "string",
    "sort_by": "string",
    "results": [
        {
            "_self": {
                "rel": "string"
            },
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "group": {
                "display_name": "string",
                "id": "string"
            },
            "warnings": [
                "string"
            ],
            "current_version": "string",
            "metadata": [
                {
                    "value": "string",
                    "key": "string"
                }
            ],
            "type": "string",
            "id": "string",
            "display_name": "string"
        }
    ]
}

default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code