Compartilhar via


AIProjectsModelFactory.ConnectionProperties(ConnectionType, String) Method

Definition

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