Class ServiceMeshProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.ServiceMeshProfile

public final class ServiceMeshProfile extends Object
Service mesh profile for a managed cluster.
  • Constructor Details

    • ServiceMeshProfile

      public ServiceMeshProfile()
      Creates an instance of ServiceMeshProfile class.
  • Method Details

    • mode

      public ServiceMeshMode mode()
      Get the mode property: Mode of the service mesh.
      Returns:
      the mode value.
    • withMode

      public ServiceMeshProfile withMode(ServiceMeshMode mode)
      Set the mode property: Mode of the service mesh.
      Parameters:
      mode - the mode value to set.
      Returns:
      the ServiceMeshProfile object itself.
    • istio

      public IstioServiceMesh istio()
      Get the istio property: Istio service mesh configuration.
      Returns:
      the istio value.
    • withIstio

      public ServiceMeshProfile withIstio(IstioServiceMesh istio)
      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.