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

{
  "elements" : [ {
    "bundleId" : "c47bced6-4cc9-4748-9e5a-8bd20a7d1da1",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "511f9891-83ed-4461-9e88-852b70252995",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ {
      "id" : "763c95e0-5bac-4637-afc1-b10876fa9a20",
      "type" : "SDDC_MANAGER",
      "isUserInputRequired" : false
    } ],
    "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/511f9891-83ed-4461-9e88-852b70252995' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/511f9891-83ed-4461-9e88-852b70252995 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" : "c47bced6-4cc9-4748-9e5a-8bd20a7d1da1",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "511f9891-83ed-4461-9e88-852b70252995",
      "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/511f9891-83ed-4461-9e88-852b70252995?targetVersion=4.1.0.0' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer etYWRta....'

HTTP Request

GET /v1/upgradables/domains/511f9891-83ed-4461-9e88-852b70252995?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" : "c47bced6-4cc9-4748-9e5a-8bd20a7d1da1",
    "bundleType" : "SDDC_MANAGER",
    "resource" : {
      "resourceId" : "511f9891-83ed-4461-9e88-852b70252995",
      "type" : "DOMAIN"
    },
    "softwareComponents" : [ ],
    "status" : "AVAILABLE"
  } ]
}

Last updated 2023-04-27 11:11:39 PDT

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