Listing Bastions
List the bastions in a compartment.
Use the oci bastion bastion list command and required parameters to list all bastions in a compartment:
oci bastion bastion list --compartment-id <compartment_ocid> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ListBastions operation to list all bastions in a compartment.