CmdID

CmdID / aws / aws appmesh

aws appmesh delete-virtual-service

Deletes an existing virtual service. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a virtual service

The following delete-virtual-service example deletes the specified virtual service.

aws appmesh delete-virtual-service --mesh-name app1 --virtual-service-name serviceB.svc.cluster.localIdentify
--mesh-nameThe name of the service mesh to delete the virtual service in.
--virtual-service-nameThe name of the virtual service to delete.
Its output
{
    "virtualService": {
        "meshName": "app1",
        "metadata": {
            "arn": "arn:aws:appmesh:us-west-2:123456789012:mesh/app1/virtualService/serviceB.svc.cluster.local",
            "createdAt": 1563908363.999,
            "lastUpdatedAt": 1563913940.866,
            "uid": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "version": 3
        },
        "spec": {},
        "status": {
            "status": "DELETED"
        },
        "virtualServiceName": "serviceB.svc.cluster.local"
    }
}

For more information, see Virtual Service in the AWS App Mesh User Guide.

Options

3 in the AWS CLI reference
--mesh-nameThe name of the service mesh to delete the virtual service in.
--mesh-ownerThe Amazon Web Services IAM account ID of the service mesh owner.
--virtual-service-nameThe name of the virtual service to delete.