Package com.azure.ai.openai.models
Class OnYourDataKeyAndKeyIdAuthenticationOptions
java.lang.Object
com.azure.ai.openai.models.OnYourDataAuthenticationOptions
com.azure.ai.openai.models.OnYourDataKeyAndKeyIdAuthenticationOptions
public final class OnYourDataKeyAndKeyIdAuthenticationOptions
extends OnYourDataAuthenticationOptions
The authentication options for Azure OpenAI On Your Data when using an Elasticsearch key and key ID pair.
-
Constructor Summary
ConstructorsConstructorDescriptionOnYourDataKeyAndKeyIdAuthenticationOptions(String key, String keyId) Creates an instance of OnYourDataKeyAndKeyIdAuthenticationOptions class. -
Method Summary
-
Constructor Details
-
OnYourDataKeyAndKeyIdAuthenticationOptions
Creates an instance of OnYourDataKeyAndKeyIdAuthenticationOptions class.- Parameters:
key- the key value to set.keyId- the keyId value to set.
-
-
Method Details
-
getKey
Get the key property: The key to use for authentication.- Returns:
- the key value.
-
getKeyId
Get the keyId property: The key ID to use for authentication.- Returns:
- the keyId value.
-