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.
Before you proceed, you must set up the appropriate OCI policies for the virtual service resource. For details, Required IAM Policy for Virtual Services.
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.