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.
Before you proceed, you must set up the appropriate OCI policies for the virtual service resource. For details, Required IAM Policy for Virtual Services.
- 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.
- From the list of meshes, select the mesh that contains your virtual services.
- 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.