ProjectsOpenAIModelFactory.OpenAPIAuthenticationDetails(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
authentication details for OpenApiFunctionDefinition Please note this is the abstract base class. The derived classes available for instantiation are: OpenAPIAnonymousAuthenticationDetails, OpenAPIProjectConnectionAuthenticationDetails, and OpenAPIManagedAuthenticationDetails.
public static Azure.AI.Projects.OpenAI.OpenAPIAuthenticationDetails OpenAPIAuthenticationDetails(string type = default);
static member OpenAPIAuthenticationDetails : string -> Azure.AI.Projects.OpenAI.OpenAPIAuthenticationDetails
Public Shared Function OpenAPIAuthenticationDetails (Optional type As String = Nothing) As OpenAPIAuthenticationDetails
Parameters
- type
- String
The type of authentication, must be anonymous/project_connection/managed_identity.
Returns
A new OpenAPIAuthenticationDetails instance for mocking.