createVirtualService
inline suspend fun AppMeshClient.createVirtualService(crossinline block: CreateVirtualServiceRequest.Builder.() -> Unit): CreateVirtualServiceResponse
Creates a virtual service within a service mesh.
A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly by means of a virtual router. Dependent services call your virtual service by its virtualServiceName
, and those requests are routed to the virtual node or virtual router that is specified as the provider for the virtual service.
For more information about virtual services, see Virtual services.