Use the viocli get command to view the resources in your deployment.

The viocli get command supports various actions to perform different tasks. The following parameter applies to all actions.

Parameter Mandatory or Optional Description

-v or --verbose

Optional

Displays output in verbose mode.

To display the parameters for the command, run viocli get -h or viocli get --help. You can also use the -h or --help option to display parameters for any action. For example, viocli get controllers -h shows parameters for the controller action.

Use viocli get to perform the following actions.

viocli get controllers [-v]

Displays information about all controllers in your deployment. You can include the -v parameter to display the validation results of the control plane.

viocli get deployment [-v]

Displays detailed information about your deployment, including its overall status, the status of your log analytics integration (if configured), and the status of each node.

viocli get drivers

Displays driver types for OpenStack Cinder and OpenStack Neutron.

viocli get resources

Displays a list of all resource types in your deployment.

viocli get <resource-type> <resource-name>

Displays all resources of a certain type. When displaying resources of the instances type, the following additional parameters apply.

Parameter Mandatory or Optional Description

--nova-state {ERROR | SHUTOFF}

Optional

Displays OpenStack instances in the ERROR or SHUTOFF state only.

--vc-state {poweredOn | poweredOff | suspended}

Optional

Displays OpenStack instances in the specified state that are powered on, powered off, or suspended in vCenter Server.

viocli get resource-typeresource-name

Displays information about a specific resource. When displaying information about a specific resource, the following additional parameter applies.

Parameter Mandatory or Optional Description

--history

Optional

Displays the configuration changes for the specified resource.