AIProjectsModelFactory.ConnectionProperties(ConnectionType, 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.
Initializes a new instance of ConnectionProperties.
public static Azure.AI.Projects.ConnectionProperties ConnectionProperties (Azure.AI.Projects.ConnectionType category = Azure.AI.Projects.ConnectionType.AzureOpenAI, string target = default);
static member ConnectionProperties : Azure.AI.Projects.ConnectionType * string -> Azure.AI.Projects.ConnectionProperties
Public Shared Function ConnectionProperties (Optional category As ConnectionType = Azure.AI.Projects.ConnectionType.AzureOpenAI, Optional target As String = Nothing) As ConnectionProperties
Parameters
- category
- ConnectionType
Category of the connection.
- target
- String
The connection URL to be used for this service.
Returns
A new ConnectionProperties instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET