ArmCognitiveServicesModelFactory.CognitiveServicesVersionedAgentReference Method

Definition

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

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).

agentVersion
String

Gets the agent's version (unique for each agent lineage).

Returns

A new CognitiveServicesVersionedAgentReference instance for mocking.

Applies to