Class IdentityConfiguration

java.lang.Object
com.azure.resourcemanager.machinelearning.models.IdentityConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<IdentityConfiguration>
Direct Known Subclasses:
AmlToken, ManagedIdentity, UserIdentity

public class IdentityConfiguration extends Object implements com.azure.json.JsonSerializable<IdentityConfiguration>
Base definition for identity configuration.
  • Constructor Details

    • IdentityConfiguration

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

    • identityType

      public IdentityConfigurationType identityType()
      Get the identityType property: [Required] Specifies the type of identity framework.
      Returns:
      the identityType value.
    • 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<IdentityConfiguration>
      Throws:
      IOException
    • fromJson

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