Upgradables APIs

Upgradables APIs

APIs for managing Upgradables

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: 369

{
  "elements" : [ {
    "bundleId" : "63351466-0b4e-412a-aec0-464978513674",
    "bundleType" : "VXRAIL",
    "resource" : {
      "resourceId" : "96355926-18c9-4151-aaf1-f4d85dc9143e",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ {
      "id" : "41c246b1-3cf4-4f9b-8020-df912fe11a69",
      "type" : "VXRAIL"
    } ],
    "status" : "AVAILABLE"
  } ]
}

2. Get the Upgradables for a Domain

This API provides the list of upgradables for a given domain. 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.

2.1. Prerequisites

  • ID of a domain

2.2. Steps

  • Invoke the API.

cURL Request

$ curl 'https://sfo-vcf01.rainpole.io/v1/upgradables/domains/96355926-18c9-4151-aaf1-f4d85dc9143e' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/96355926-18c9-4151-aaf1-f4d85dc9143e 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" : "50b4e0b7-85b8-4328-ba2f-e92c6c9483f0",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "96355926-18c9-4151-aaf1-f4d85dc9143e",
      "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/96355926-18c9-4151-aaf1-f4d85dc9143e?targetVersion=4.1.0.0' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/96355926-18c9-4151-aaf1-f4d85dc9143e?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" : "50b4e0b7-85b8-4328-ba2f-e92c6c9483f0",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "96355926-18c9-4151-aaf1-f4d85dc9143e",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ ],
    "status" : "AVAILABLE"
  } ]
}

Last updated 2022-01-24 06:18:36 PST

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