Class ManagedClusterAddonProfileIdentity

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

public final class ManagedClusterAddonProfileIdentity extends UserAssignedIdentity
Information of user assigned identity used by this add-on.
  • Method Details

    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class UserAssignedIdentity
      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<UserAssignedIdentity>
      Overrides:
      toJson in class UserAssignedIdentity
      Throws:
      IOException
    • fromJson

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