Package com.azure.ai.openai.models
Class OnYourDataVectorSearchAuthenticationType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnYourDataVectorSearchAuthenticationType>
com.azure.ai.openai.models.OnYourDataVectorSearchAuthenticationType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class OnYourDataVectorSearchAuthenticationType
extends com.azure.core.util.ExpandableStringEnum<OnYourDataVectorSearchAuthenticationType>
The authentication types supported with Azure OpenAI On Your Data vector search.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OnYourDataVectorSearchAuthenticationTypeAuthentication via access token.static final OnYourDataVectorSearchAuthenticationTypeAuthentication via API key. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a OnYourDataVectorSearchAuthenticationType from its string representation.values()Gets known OnYourDataVectorSearchAuthenticationType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
API_KEY
Authentication via API key. -
ACCESS_TOKEN
Authentication via access token.
-
-
Constructor Details
-
OnYourDataVectorSearchAuthenticationType
Deprecated.Use thefromString(String)factory method.Creates a new instance of OnYourDataVectorSearchAuthenticationType value.
-
-
Method Details
-
fromString
Creates or finds a OnYourDataVectorSearchAuthenticationType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OnYourDataVectorSearchAuthenticationType.
-
values
Gets known OnYourDataVectorSearchAuthenticationType values.- Returns:
- known OnYourDataVectorSearchAuthenticationType values.
-
fromString(String)factory method.