Cloud Director Appliance API Operations Index

Cloud Director Appliance API Operations Index

All available Cloud Director Appliance API Operations

Appliance Service
GET
Get Service Status

Valid input values are:

  • vcd (alias of vmware-vcd)
  • vmware-vcd
  • vpostgres
  • repmgrd
  • appliance-sync.timer
POST
Reload Service

Valid input values are:

  • vpostgres
  • nginx
Appliance Services
GET
Get Services

Returns current operational state for the vcd, vpostgres, repmgrd and appliance-sync.timer services running on this appliance.

Backup
GET
Query Backup List

Returns the list of backup bundles available in /opt/vmware/vcloud-director/data/transfer/backups/

POST
Create Backup

This will create a backup of the postgresql DB of the appliance, as well as other vcd specific certificate files needed during restore process. This api endpoint should only be executed on the current postgresql HA primary appliance. The task will fail on Standby and Application-Cell appliances.

GET
Get Backup Info

Returns the backup file details for the specified backup instance

DELETE
Delete Backup

This will delete the backup file package specified, from the backups directory in the transfer share.

POST
Restore Primary Backup

This will restore the specified backup of the postgresql DB of the appliance, as well as other vcd specific files. This api endpoint should only be executed on the current postgresql HA primary appliance. The task will fail on Standby and Application-Cell appliances.

Failover Mode
File System
GET
Get File System

Current supported input values are:

  • root
  • postgres
  • nfs
Fips Status
GET
Get Fips Status

Returns the FIPS mode of a single appliance and its Cloud Director cell

PUT
Fips Toggle

This will activate or deactivate only the appliance's FIPS mode and will not activate or deactivate the Cloud Director server group's FIPS mode.

To activate an appliance's FIPS mode, the Cloud Director server's FIPS mode must be "On Pending Restart" or "On".

To deactivate an appliance's FIPS mode, the Cloud Director server's FIPS mode must be "Off Pending Restart" or "Off".

Fips Status List
GET
Get Fips Status List

Returns the FIPS mode of all appliances and Cloud Director cells

Invalidate Token
DELETE
Invalidate Token

The value of 'current' could also be provided for the URL auth-token parameter when the request's authentication method is bearer token.

Is Primary
GET
Get Is Primary

Valid response values are:

  • true
  • false
Mount
GET
Query Nfs Mount

Returns the current NFS mount point information.

PUT
Mount Nfs

Mount or unmount nfs share specified. To unmount specify nfs parameter value as empty string.

POST
Validate Nfs

Validates nfs parameters and mount point. Performs mount and runs diagnostic checks.

Nfs Validate
POST
Post Nfs Validate Deprecated

Validates nfs parameters and mount point. Performs mount and runs diagnostic checks.

Nodes
GET
Get Nodes

Returns postgres HA state of all nodes from this appliance's point of view.

Promote
Sessions
POST
Post Sessions
  • Token is valid for a minimum of 30 minutes.
  • Once token is issued or used, a 30 minute timer is started. If not used within that period it will expire.
  • Token is valid for a maximum of 24 hours, after which it expires.
Storage
GET
Get Storage

Returns file system information for the following file systems on the appliance.

  • local root file system
  • local database disk file system
  • nfs share file system
Switchover
System Setup
POST
Perform System Setup

Setup appliance nodes.

POST
Post System Setup Deprecated

Setup appliance nodes.

Task List
GET
Query Task List

The response code corresponds to the task list being successfully retrieved, and not to the asynchoronous operations themselves. The status of the asynchronous operation(s) can be viewed in the response body.

Tasks are per cell and remain in memory till the respective appliance node is rebooted. This means that tasks that were triggered prior to reboot are lost upon reboot.

Task Status
GET
Get Task Status Deprecated

The response code corresponds to the task being successfully retrieved, and not to the asynchoronous operation itself. The status of the asynchronous operation can be viewed in the response body.

Tasks are per cell and remain in memory till the respective appliance nodes is rebooted. This means that tasks that were triggered prior to reboot are lost upon reboot.

GET
Query Task Status

The response code corresponds to the task being successfully retrieved, and not to the asynchoronous operation itself. The status of the asynchronous operation can be viewed in the response body.

Tasks are per cell and remain in memory till the respective appliance nodes is rebooted. This means that tasks that were triggered prior to reboot are lost upon reboot.

Unregister
Version
GET
Get Version

Returns current appliance version