Listing Virtual Service Route Tables

List the virtual service route tables in a virtual service of Service Mesh.

Important

Before you proceed, you must set up the appropriate OCI policies for the virtual service route table resource. For details, see Required IAM Policy for Virtual Service Route Table.
    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
    2. Click Service Meshes.
    3. On the Service Mesh page, from the list of compartments on the left side, select a compartment.
    4. From the list of meshes, click the mesh name that contains the virtual service with the virtual route tables.
    5. On the details page of the mesh, click the name of the virtual service.
    6. On the details page of the virtual service, under Resources, click Route Tables.
    In the Route Tables section, you can view the list of route tables associated with the virtual service. The list displays the name and state of a route table with the date and time that it was last updated.
  • To see what operations are available for virtual-service-route-table list use:

    oci service-mesh virtual-service-route-table list -h

    To list virtual service route tables use the oci service-mesh virtual-service-route-table list option:

    oci service-mesh virtual-service-route-table list --compartment-id <compartmentId>

    where:

    • <compartmentId>: The OCID of the compartment to which the virtual service route table belongs.

    For example:

    oci service-mesh virtual-service-route-table list --compartment-id ocid1.compartment.oc1..aaa...

    If you want to list those virtual service route tables with a status of Active, include the --lifecycle-state ACTIVE parameter in the request. For example:

    oci service-mesh virtual-service-route-table list --compartment-id ocid1.compartment.oc1..aaa... --lifecycle-state ACTIVE

    For more information about using the CLI, see:

  • Use the ListVirtualServiceRouteTable operation to list the virtual service route tables in a virtual service.