EvaluationsClient Constructors
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.
Overloads
EvaluationsClient() |
Initializes a new instance of EvaluationsClient for mocking. |
EvaluationsClient(String, TokenCredential) |
Initializes a new instance of AzureAIClient. |
EvaluationsClient(String, TokenCredential, AIProjectClientOptions) |
Initializes a new instance of AzureAIClient. |
EvaluationsClient(Uri, String, String, String, TokenCredential) |
Initializes a new instance of AzureAIClient. |
EvaluationsClient(Uri, String, String, String, TokenCredential, AIProjectClientOptions) |
Initializes a new instance of AzureAIClient. |
EvaluationsClient()
- Source:
- EvaluationsClient.cs
Initializes a new instance of EvaluationsClient for mocking.
protected EvaluationsClient ();
Protected Sub New ()
Applies to
EvaluationsClient(String, TokenCredential)
- Source:
- EvaluationsClient.cs
Initializes a new instance of AzureAIClient.
public EvaluationsClient (string connectionString, Azure.Core.TokenCredential credential);
new Azure.AI.Projects.EvaluationsClient : string * Azure.Core.TokenCredential -> Azure.AI.Projects.EvaluationsClient
Public Sub New (connectionString As String, credential As TokenCredential)
Parameters
- connectionString
- String
The Azure AI Studio project connection string, in the form endpoint;subscription_id;resource_group_name;project_name
.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
connectionString
is null.
connectionString
Applies to
EvaluationsClient(String, TokenCredential, AIProjectClientOptions)
- Source:
- EvaluationsClient.cs
Initializes a new instance of AzureAIClient.
public EvaluationsClient (string connectionString, Azure.Core.TokenCredential credential, Azure.AI.Projects.AIProjectClientOptions options);
new Azure.AI.Projects.EvaluationsClient : string * Azure.Core.TokenCredential * Azure.AI.Projects.AIProjectClientOptions -> Azure.AI.Projects.EvaluationsClient
Public Sub New (connectionString As String, credential As TokenCredential, options As AIProjectClientOptions)
Parameters
- connectionString
- String
The Azure AI Studio project connection string, in the form endpoint;subscription_id;resource_group_name;project_name
.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- options
- AIProjectClientOptions
The options for configuring the client.
Exceptions
connectionString
is null.
connectionString
is an empty string.
Applies to
EvaluationsClient(Uri, String, String, String, TokenCredential)
- Source:
- EvaluationsClient.cs
Initializes a new instance of AzureAIClient.
public EvaluationsClient (Uri endpoint, string subscriptionId, string resourceGroupName, string projectName, Azure.Core.TokenCredential credential);
new Azure.AI.Projects.EvaluationsClient : Uri * string * string * string * Azure.Core.TokenCredential -> Azure.AI.Projects.EvaluationsClient
Public Sub New (endpoint As Uri, subscriptionId As String, resourceGroupName As String, projectName As String, credential As TokenCredential)
Parameters
- endpoint
- Uri
The Azure AI Studio project endpoint, in the form https://<azure-region>.api.azureml.ms
or https://<private-link-guid>.<azure-region>.api.azureml.ms
, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
- subscriptionId
- String
The Azure subscription ID.
- resourceGroupName
- String
The name of the Azure Resource Group.
- projectName
- String
The Azure AI Studio project name.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
, subscriptionId
, resourceGroupName
, projectName
or credential
is null.
subscriptionId
, resourceGroupName
or projectName
is an empty string, and was expected to be non-empty.
Applies to
EvaluationsClient(Uri, String, String, String, TokenCredential, AIProjectClientOptions)
- Source:
- EvaluationsClient.cs
Initializes a new instance of AzureAIClient.
public EvaluationsClient (Uri endpoint, string subscriptionId, string resourceGroupName, string projectName, Azure.Core.TokenCredential credential, Azure.AI.Projects.AIProjectClientOptions options);
new Azure.AI.Projects.EvaluationsClient : Uri * string * string * string * Azure.Core.TokenCredential * Azure.AI.Projects.AIProjectClientOptions -> Azure.AI.Projects.EvaluationsClient
Public Sub New (endpoint As Uri, subscriptionId As String, resourceGroupName As String, projectName As String, credential As TokenCredential, options As AIProjectClientOptions)
Parameters
- endpoint
- Uri
The Azure AI Studio project endpoint, in the form https://<azure-region>.api.azureml.ms
or https://<private-link-guid>.<azure-region>.api.azureml.ms
, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
- subscriptionId
- String
The Azure subscription ID.
- resourceGroupName
- String
The name of the Azure Resource Group.
- projectName
- String
The Azure AI Studio project name.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- options
- AIProjectClientOptions
The options for configuring the client.
Exceptions
endpoint
, subscriptionId
, resourceGroupName
, projectName
or credential
is null.
subscriptionId
, resourceGroupName
or projectName
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET