Class ServiceMeshProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ServiceMeshProfile
Service mesh profile for a managed cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionistio()Get the istio property: Istio service mesh configuration.mode()Get the mode property: Mode of the service mesh.voidvalidate()Validates the instance.withIstio(IstioServiceMesh istio) Set the istio property: Istio service mesh configuration.withMode(ServiceMeshMode mode) Set the mode property: Mode of the service mesh.
-
Constructor Details
-
ServiceMeshProfile
public ServiceMeshProfile()Creates an instance of ServiceMeshProfile class.
-
-
Method Details
-
mode
Get the mode property: Mode of the service mesh.- Returns:
- the mode value.
-
withMode
Set the mode property: Mode of the service mesh.- Parameters:
mode- the mode value to set.- Returns:
- the ServiceMeshProfile object itself.
-
istio
Get the istio property: Istio service mesh configuration.- Returns:
- the istio value.
-
withIstio
Set the istio property: Istio service mesh configuration.- Parameters:
istio- the istio value to set.- Returns:
- the ServiceMeshProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-