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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET