Listing Meshes
List the meshes in a specific compartment in Service Mesh.
Important
Before you proceed, you must set up the appropriate OCI policies for the mesh resource. For details, see Required IAM Policy for a Mesh.
Before you proceed, you must set up the appropriate OCI policies for the mesh resource. For details, see Required IAM Policy for a Mesh.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
- Click Service Meshes.
- On the Service Mesh page, from the list of compartments on the left side, select a compartment.
The page displays the list of meshes with the name, state, and OCID of a mesh with the date and time of its creation. To see the operations available for
mesh list
use:oci service-mesh mesh list -h
To list meshes using the CLI, run
oci service-mesh mesh list
:oci service-mesh mesh list --compartment-id <compartmentId>
Where:
<compartmentId>
: the OCID of the compartment containing the mesh.
For example:
oci service-mesh mesh list --compartment-id ocid1.compartment.oc1..aaa...
If you want to list just the meshes with a specific status, include the
--lifecycle-state
parameter in the request. For example:oci service-mesh mesh list --compartment-id ocid1.compartment.oc1..aaa... --lifecycle-state ACTIVE
For more information about using the CLI, see:
Use the ListMeshes operation to create a mesh.