Deleting a Virtual Service

Delete a 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, click the mesh name that contains the virtual services.
    5. On the details page of the mesh, click the name of the virtual service that you want to delete.
    6. On the details page of the virtual service, click More actions and then select Delete.
    7. In the Delete Virtual Service dialog box, click Delete all.
      Note

      All the virtual service resources listed in the dialog box are deleted.
  • To see what operations are available for virtual-service delete use:

    oci service-mesh virtual-service delete -h

    To delete a virtual service, use the service-mesh virtual-service delete option.

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

    Where:

    • <virtualServiceId>: is the OCID of the virtual service.

    For example:

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

    For more information about using the CLI, see:

  • Use the DeleteVirtualService operation to delete a virtual service.