Getting Virtual Service Details

Get the details of a specific virtual service in Service Mesh.

Important

Before you proceed, you must set up the appropriate OCI policies for the virtual service resource. For details, Required IAM Policy for Virtual Services.
    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, select the mesh that contains your virtual services.
    5. On the details page of the mesh, from the Virtual Services table, click the name of the virtual service for which you want to view the details.
    On the details page of the virtual service, you can view the details.
  • To see what operations are available for virtual-service get use:

    oci service-mesh virtual-service get -h

    To get the details for a virtual service, use the service-mesh virtual-service get option.

    oci service-mesh virtual-service get --virtual-service-id <virtualServiceId>

    Where:

    • <virtualServiceId> is the OCID of the virtual service. To find out the virtual service OCID, see Listing Virtual Services.

    For example:

    oci service-mesh virtual-service get --virtual-service-id ocid1.meshvirtualservice.oc1..aaa...

    For more information about using the CLI, see:

  • Use the GetVirtualService operation to view the details a virtual service.