Appliance REST APIs Operations Index
All available Appliance REST APIs Operations
Access
Consolecli
GET
Get Access Consolecli
Get enabled state of the console-based controlled CLI (TTY1).
PUT
Set Access Consolecli
Set enabled state of the console-based controlled CLI (TTY1).
Dcui
GET
Get Access Dcui
Get enabled state of Direct Console User Interface (DCUI TTY2).
PUT
Set Access Dcui
Set enabled state of Direct Console User Interface (DCUI TTY2).
Appliance
Local Accounts
POST
Create Username Local Accounts
Create a new local user account.
DELETE
Delete Username Local Accounts
Delete a local user account.
GET
Get Username Local Accounts
Get the local user account information.
PUT
Set Username Local Accounts
Set local user account properties.
PATCH
Update Username Local Accounts
Update selected fields in local user account properties.
GET
List Local Accounts
Get a list of the local user accounts.
Monitoring
GET
Get Stat Id Monitoring
Get monitored item info
GET
List Monitoring
Get monitored items list
GET
Get Monitoring Query
Get monitoring data.
Networking
POST
Change Networking Async
Changes the Hostname/IP of the management network of vCenter appliance. The Hostname/IP change invokes the PNID change process which involves LDAP entry modification, updating registry entries, configuration files modification and network configuration changes. vCenter server is expected to be down for few minutes during these changes
GET
Get Networking
Get Networking information for all configured interfaces.
PATCH
Update Networking
Enable or Disable ipv6 on all interfaces
POST
Reset Networking
Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
Ntp
GET
Get Ntp
Get the NTP configuration status. If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.
PUT
Set Ntp
Set NTP servers. This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration.
POST
Create Ntp Test
Test the connection to a list of ntp servers.
Services
GET
Get Service
Returns the state of a service.
GET
List Services
Lists details of vCenter services.
POST
Create Service Restart
Restarts a service
POST
Create Service Start
Starts a service
POST
Create Service Stop
Stops a service
Shutdown
POST
Create Shutdown Cancel
Cancel pending shutdown action.
GET
Get Shutdown
Get details about the pending shutdown action.
POST
Create Shutdown Poweroff
Power off the appliance.
POST
Create Shutdown Reboot
Reboot the appliance.
Health
Databasestorage
GET
Get Health Database Storage
Get database storage health.
Infraprofile
Configs
Local Accounts
Logging
Forwarding
GET
Get Logging Forwarding
Returns the configuration for forwarding log messages to remote logging servers.
PUT
Set Logging Forwarding
Sets the configuration for forwarding log messages to remote log servers.
POST
Test Logging Forwarding
Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: "This is a diagnostic log test message from vCenter Server."
Networking
Interfaces
GET
Get Interface Name Networking
Get information about a particular network interface.
GET
List Networking Interfaces
Get list of available network interfaces, including those that are not yet configured.
No Proxy
GET
Get Networking Noproxy
Returns servers for which no proxy configuration will be applied.
PUT
Set Networking Noproxy
Sets servers for which no proxy configuration should be applied. This operation sets environment variables. In order for this operation to take effect, a logout from appliance or a service restart is required. If IPv4 is enabled, "127.0.0.1" and "localhost" will always bypass the proxy (even if they are not explicitly configured).
Proxy
DELETE
Delete Protocol Networking Proxy
Deletes a proxy configuration for a specific protocol.
GET
Get Protocol Networking Proxy
Gets the proxy configuration for a specific protocol.
PUT
Set Protocol Networking Proxy
Configures which proxy server to use for the specified protocol. This operation sets environment variables for using proxy. In order for this configuration to take effect a logout / service restart is required.
GET
List Networking Proxy
Gets proxy configuration for all configured protocols.
POST
Test Protocol Proxy
Tests a proxy configuration by testing the connection to the proxy server and test host.
Dns Domains
POST
Create Networking Dns Domains
Add domain to DNS search domains.
GET
List Networking Dns Domains
Get list of DNS search domains.
PUT
Set Networking Dns Domains
Set DNS search domains.
Dns Hostname
GET
Get Networking Dns Hostname
Get the Fully Qualified Doman Name.
PUT
Set Networking Dns Hostname
Set the Fully Qualified Domain Name.
POST
Create Dns Hostname Test
Test the Fully Qualified Domain Name.
Dns Servers
POST
Create Networking Dns Servers
Add a DNS server. This method fails if mode argument is "dhcp"
GET
Get Networking Dns Servers
Get DNS server configuration.
PUT
Set Networking Dns Servers
Set the DNS server configuration. If you set the mode argument to "DHCP", a DHCP refresh is forced.
POST
Create Dns Servers Test
Test if dns servers are reachable.
Firewall Inbound
GET
Get Networking Firewall Inbound
Get the ordered list of firewall rules. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set.
PUT
Set Networking Firewall Inbound
Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses. This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows: [dropped table ]
In the above example, the first rule drops all packets originating from 10.112.0.1 and
the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set.
Recovery
Backup Job
POST
Create Id Job Cancel
Cancel the backup job.
POST
Create Recovery Backup Job
Initiate backup.
GET
List Recovery Backup Job
Get list of backup jobs
GET
Get Id Backup Job
See backup job progress/result.
Backup Parts
GET
Get Id Backup Parts
Gets the size (in MB) of the part.
GET
List Recovery Backup Parts
Gets a list of the backup parts.
Backup Schedules
POST
Create Schedule Backup
Creates a schedule
DELETE
Delete Schedule Backup
Deletes an existing schedule
GET
Get Schedule Backup
Returns an existing schedule information based on id
GET
List Recovery Backup Schedules
Returns a list of existing schedules with details
POST
Run Schedule
Initiate backup with the specified schedule
PUT
Set Schedule Backup Update
Updates a schedule
Backup System Name
GET
List Recovery Backup System Name
Returns a list of system names for which backup archives exist under locSpec.
Backup Job Details
GET
List Backup Job Details
Returns detailed information about the current and historical backup jobs.
Backup System Name Archive
GET
Get System Name Archive Backup
Returns the information for backup corresponding to given backup location and system name.
GET
List System Name Backup Archives
Returns information about backup archives corresponding to given backup location and system name, which match the Archive.FilterSpec.
System
Storage
GET
List System Storage
Get disk to partition mapping.
POST
Create System Storage Resize
Resize all partitions to 100 percent of disk size.
POST
Resize Ex System Storage
Resize all partitions to 100 percent of disk size.
Security Global Fips
Update
Pending
GET
Get Version Update Pending
Gets update information
POST
Install Version Pending
Starts operation of installing the appliance update. Will fail is the update is not staged
GET
List Update Pending
Checks if new updates are available.
POST
Precheck Version Pending
Runs update precheck
POST
Stage Version Pending
Starts staging the appliance update. The updates are searched for in the following order: staged, CDROM, URL
POST
Stage And Install Version Pending
Starts operation of installing the appliance update. Will stage update if not already staged The updates are searched for in the following order: staged, CDROM, URL
POST
Validate Version Pending
Validates the user provided data before the update installation.
Vcenter Settings V1
Config
Config Current
Vmon
Service
GET
Get Service Vmon
Returns the state of a service.
PATCH
Update Service Vmon
Updates the properties of a service.
GET
Get Vmon Service
Lists details of services managed by vMon.
POST
Create Service Vmon Restart
Restarts a service
POST
Create Service Vmon Start
Starts a service
POST
Create Service Vmon Stop
Stops a service