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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET