Class OnYourDataAuthenticationOptions

java.lang.Object
com.azure.ai.openai.models.OnYourDataAuthenticationOptions
All Implemented Interfaces:
com.azure.json.JsonSerializable<OnYourDataAuthenticationOptions>
Direct Known Subclasses:
OnYourDataAccessTokenAuthenticationOptions, OnYourDataApiKeyAuthenticationOptions, OnYourDataConnectionStringAuthenticationOptions, OnYourDataEncodedApiKeyAuthenticationOptions, OnYourDataKeyAndKeyIdAuthenticationOptions, OnYourDataSystemAssignedManagedIdentityAuthenticationOptions, OnYourDataUserAssignedManagedIdentityAuthenticationOptions, OnYourDataUsernameAndPasswordAuthenticationOptions

public class OnYourDataAuthenticationOptions extends Object implements com.azure.json.JsonSerializable<OnYourDataAuthenticationOptions>
The authentication options for Azure OpenAI On Your Data.
  • Constructor Details

    • OnYourDataAuthenticationOptions

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

    • getType

      public OnYourDataAuthenticationType getType()
      Get the type property: The authentication type.
      Returns:
      the type value.
    • toJson

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

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