ArmCognitiveServicesModelFactory.CognitiveServicesAgentReferenceProperties Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentReferenceProperties CognitiveServicesAgentReferenceProperties(string agentId = default, string agentName = default);
static member CognitiveServicesAgentReferenceProperties : string * string -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentReferenceProperties
Public Shared Function CognitiveServicesAgentReferenceProperties (Optional agentId As String = Nothing, Optional agentName As String = Nothing) As CognitiveServicesAgentReferenceProperties

Parameters

agentId
String

Gets the agent's unique identifier within the organization (subscription).

agentName
String

Gets the agent's name (unique within the project/app).

Returns

A new CognitiveServicesAgentReferenceProperties instance for mocking.

Applies to