Class IstioCertificateAuthority

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

public final class IstioCertificateAuthority extends Object implements com.azure.json.JsonSerializable<IstioCertificateAuthority>
Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca.
  • Constructor Details

    • IstioCertificateAuthority

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

    • plugin

      Get the plugin property: Plugin certificates information for Service Mesh.
      Returns:
      the plugin value.
    • withPlugin

      Set the plugin property: Plugin certificates information for Service Mesh.
      Parameters:
      plugin - the plugin value to set.
      Returns:
      the IstioCertificateAuthority 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<IstioCertificateAuthority>
      Throws:
      IOException
    • fromJson

      public static IstioCertificateAuthority fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IstioCertificateAuthority from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IstioCertificateAuthority 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 IstioCertificateAuthority.