Class IstioServiceMesh

java.lang.Object
com.azure.resourcemanager.containerservice.models.IstioServiceMesh
All Implemented Interfaces:
com.azure.json.JsonSerializable<IstioServiceMesh>

public final class IstioServiceMesh extends Object implements com.azure.json.JsonSerializable<IstioServiceMesh>
Istio service mesh configuration.
  • Constructor Details

    • IstioServiceMesh

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

    • components

      public IstioComponents components()
      Get the components property: Istio components configuration.
      Returns:
      the components value.
    • withComponents

      public IstioServiceMesh withComponents(IstioComponents components)
      Set the components property: Istio components configuration.
      Parameters:
      components - the components value to set.
      Returns:
      the IstioServiceMesh object itself.
    • certificateAuthority

      public IstioCertificateAuthority certificateAuthority()
      Get the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca.
      Returns:
      the certificateAuthority value.
    • withCertificateAuthority

      public IstioServiceMesh withCertificateAuthority(IstioCertificateAuthority certificateAuthority)
      Set the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca.
      Parameters:
      certificateAuthority - the certificateAuthority value to set.
      Returns:
      the IstioServiceMesh object itself.
    • revisions

      public List<String> revisions()
      Get the revisions property: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade.
      Returns:
      the revisions value.
    • withRevisions

      public IstioServiceMesh withRevisions(List<String> revisions)
      Set the revisions property: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade.
      Parameters:
      revisions - the revisions value to set.
      Returns:
      the IstioServiceMesh object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<IstioServiceMesh>
      Throws:
      IOException
    • fromJson

      public static IstioServiceMesh fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IstioServiceMesh from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IstioServiceMesh if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the IstioServiceMesh.