6.0.1

Table Of Contents
API Commands in the vCenter Server Appliance Shell
The API commands in the vCenter Server Appliance let you perform various administrative tasks in the
vCenter Server Appliance. The API commands are provided by appliance management service in the
vCenter Server Appliance. You can edit time synchronization seings, monitor processes and services, set
up the SNMP seings, and so on.
Table 43. API Commands Available in the vCenter Server Appliance
API Command Description
com.vmware.appliance.version1.access.consolecli.get
Get information about the state of the
console-based controlled CLI (TTY1).
com.vmware.appliance.version1.access.consolecli.set
Set enabled state of console-based
controlled CLI (TTY1).
com.vmware.appliance.version1.access.dcui.get
Get information about the state of the
Direct Console User Interface (DCUI
TTY2).
com.vmware.appliance.version1.access.dcui.set
Set enabled state of the Direct Console
User Interface (DCUI TTY2).
com.vmware.appliance.version1.access.shell.get
Get information about the state of Bash
shell, that is, access to Bash shell from
within the controlled CLI.
com.vmware.appliance.version1.access.shell.set
Set enabled state of Bash shell, that is,
access to Bash shell from within the
controlled CLI.
com.vmware.appliance.version1.access.ssh.get
Get enabled state of the SSH-based
controlled CLI.
com.vmware.appliance.version1.access.ssh.set
Set enabled state of the SSH-based
controlled CLI.
com.vmware.appliance.version1.localaccounts.user.add
Create a new local user account.
com.vmware.appliance.version1.localaccounts.user.delete
Delete a local user account.
com.vmware.appliance.version1.localaccounts.user.get
Get the local user account information.
com.vmware.appliance.version1.localaccounts.user.list
List local user accounts .
com.vmware.appliance.version1.localaccounts.user.password.updat
e
Update the password of a logged in
user or of the user that you specify in
the username parameter.
com.vmware.appliance.version1.localaccounts.user.set
Update local user account properties,
such as role, full name, enabled status,
and password.
com.vmware.appliance.version1.monitoring.snmp.disable
Stop an enabled SNMP agent.
com.vmware.appliance.version1.monitoring.snmp.enable
Start a disabled SNMP agent.
com.vmware.appliance.version1.monitoring.snmp.get
Return an SNMP agent conguration.
com.vmware.appliance.version1.monitoring.snmp.hash
Generate localized keys for secure
SNMPv3 communications.
com.vmware.appliance.version1.monitoring.snmp.limits
Get SNMP limits information.
com.vmware.appliance.version1.monitoring.snmp.reset
Restore seings to factory defaults.
com.vmware.appliance.version1.monitoring.snmp.set
Set SNMP conguration.
com.vmware.appliance.version1.monitoring.snmp.test
Send a warmStart notication to all
congured traps and inform
destinations (see RFC 3418).
Chapter 4 Using the Appliance Shell to Configure the vCenter Server Appliance
VMware, Inc. 33