ServiceMeshProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ServiceMeshProfile
- com.
Implements
public final class ServiceMeshProfile
implements JsonSerializable<ServiceMeshProfile>
Service mesh profile for a managed cluster.
Constructor Summary
Constructor | Description |
---|---|
ServiceMeshProfile() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
Istio |
istio()
Get the istio property: Istio service mesh configuration. |
Service |
mode()
Get the mode property: Mode of the service mesh. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Service |
withIstio(IstioServiceMesh istio)
Set the istio property: Istio service mesh configuration. |
Service |
withMode(ServiceMeshMode mode)
Set the mode property: Mode of the service mesh. |
Methods inherited from java.lang.Object
Constructor Details
ServiceMeshProfile
public ServiceMeshProfile()
Creates an instance of ServiceMeshProfile class.
Method Details
fromJson
public static ServiceMeshProfile fromJson(JsonReader jsonReader)
Reads an instance of ServiceMeshProfile from the JsonReader.
Parameters:
Returns:
Throws:
istio
public IstioServiceMesh istio()
Get the istio property: Istio service mesh configuration.
Returns:
mode
public ServiceMeshMode mode()
Get the mode property: Mode of the service mesh.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIstio
public ServiceMeshProfile withIstio(IstioServiceMesh istio)
Set the istio property: Istio service mesh configuration.
Parameters:
Returns:
withMode
public ServiceMeshProfile withMode(ServiceMeshMode mode)
Set the mode property: Mode of the service mesh.
Parameters:
Returns:
Applies to
Azure SDK for Java