Upgradables APIs

Upgradables APIs

APIs for managing Upgradables

Table of Contents

1. Get the Upgradables

Get the Upgradables API provides the list of upgradables in the system. Each upgradable provides information about the bundle, resource and its associated software components that can be prechecked and upgraded. The upgradables can be of different types ex: AVAILABLE, PENDING, SCHEDULED etc.

1.1. Prerequisites

None

1.2. Steps

  • Invoke the API.

cURL Request

$ curl 'https://sfo-vcf01.rainpole.io/v1/system/upgradables' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/system/upgradables HTTP/1.1
Accept: application/json
Host: sfo-vcf01.rainpole.io
Authorization: Bearer etYWRta....

HTTP Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 406

{
  "elements" : [ {
    "bundleId" : "360b784a-9efc-4daa-9b3a-c5b3fafd8cb1",
    "bundleType" : "VXRAIL",
    "resource" : {
      "resourceId" : "ef16054d-1981-4d82-bb42-35f1b3f1a488",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ {
      "id" : "f67f6e69-e8d4-43a4-bebc-4179d744a184",
      "type" : "VXRAIL",
      "isUserInputRequired" : false
    } ],
    "status" : "AVAILABLE"
  } ]
}

2. Get the Upgradables for a Domain

(Deprecated)

This API provides the list of upgradables up to the target version for a given domain. If target version API for some domain is not selected upgradables for that domain will not be returned. Each upgradable provides information about the bundle, resource and its associated software components that can be prechecked and upgraded. The upgradables can be of different types ex: AVAILABLE, PENDING, SCHEDULED etc. This API is used only for management domain, for all cases please use [_getupgradables] API.

2.1. Prerequisites

  • ID of a domain

2.2. Steps

  • Invoke the API.

cURL Request

$ curl 'https://sfo-vcf01.rainpole.io/v1/upgradables/domains/ef16054d-1981-4d82-bb42-35f1b3f1a488' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/ef16054d-1981-4d82-bb42-35f1b3f1a488 HTTP/1.1
Accept: application/json
Host: sfo-vcf01.rainpole.io
Authorization: Bearer etYWRta....

HTTP Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 290

{
  "elements" : [ {
    "bundleId" : "4686aa89-fc52-429f-86cf-6fe4f34fe361",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "ef16054d-1981-4d82-bb42-35f1b3f1a488",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ ],
    "status" : "AVAILABLE"
  } ]
}

3. Get the Target VCF Release Upgradables for a Domain

This API provides the list of upgradables for a given domain and target VCF release. Each upgradable provides information about the bundle, resource and its associated software components that can be prechecked and upgraded. The upgradables can be of different types ex: AVAILABLE, PENDING, SCHEDULED etc.

3.1. Prerequisites

  • ID of a domain

  • Version of a Target Release

3.2. Steps

  • Invoke the API.

cURL Request

$ curl 'https://sfo-vcf01.rainpole.io/v1/upgradables/domains/ef16054d-1981-4d82-bb42-35f1b3f1a488?targetVersion=4.1.0.0' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/ef16054d-1981-4d82-bb42-35f1b3f1a488?targetVersion=4.1.0.0 HTTP/1.1
Accept: application/json
Host: sfo-vcf01.rainpole.io
Authorization: Bearer etYWRta....

HTTP Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 290

{
  "elements" : [ {
    "bundleId" : "4686aa89-fc52-429f-86cf-6fe4f34fe361",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "ef16054d-1981-4d82-bb42-35f1b3f1a488",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ ],
    "status" : "AVAILABLE"
  } ]
}

Last updated 2023-05-21 23:30:49 PDT

Operations
GET
Get Nsxt Upgrade Resources
Get NSX upgradable resources
GET
Get Upgradables
Get the Upgradables
GET
Get Upgradables And Resource Errors
Get the Upgradables and Resource Errors
GET
Get Upgradables By Domain
Get the Upgradables
GET
Get Upgradables Clusters
Get registered and available HSM details along with Software details