ArmCognitiveServicesModelFactory.CognitiveServicesAgentDeploymentProperties Method

Definition

Type representing an agent deployment as a management construct. Please note this is the abstract base class. The derived classes available for instantiation are: CognitiveServicesManagedAgentDeployment and CognitiveServicesHostedAgentDeployment.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProperties CognitiveServicesAgentDeploymentProperties(string description = default, System.Collections.Generic.IDictionary<string,string> tags = default, string displayName = default, string deploymentId = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentState? state = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentProtocolVersion> protocols = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesVersionedAgentReference> agents = default, string deploymentType = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProvisioningState? provisioningState = default);
static member CognitiveServicesAgentDeploymentProperties : string * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentState> * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentProtocolVersion> * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesVersionedAgentReference> * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProvisioningState> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProperties
Public Shared Function CognitiveServicesAgentDeploymentProperties (Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional displayName As String = Nothing, Optional deploymentId As String = Nothing, Optional state As Nullable(Of CognitiveServicesAgentDeploymentState) = Nothing, Optional protocols As IEnumerable(Of CognitiveServicesAgentProtocolVersion) = Nothing, Optional agents As IEnumerable(Of CognitiveServicesVersionedAgentReference) = Nothing, Optional deploymentType As String = Nothing, Optional provisioningState As Nullable(Of CognitiveServicesAgentDeploymentProvisioningState) = Nothing) As CognitiveServicesAgentDeploymentProperties

Parameters

description
String

The asset description text.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

displayName
String

Gets or sets the display name of the deployment.

deploymentId
String

Gets or sets the unique identifier of the deployment.

state
Nullable<CognitiveServicesAgentDeploymentState>

Gets or sets the current operational state of the deployment (and, intrinsically, of the comprising agents).

protocols
IEnumerable<CognitiveServicesAgentProtocolVersion>

Gets or sets the supported protocol types and versions exposed by this deployment.

agents
IEnumerable<CognitiveServicesVersionedAgentReference>

Returns a flat list of agent:version deployed in this deployment.

deploymentType
String

Gets or sets the type of deployment for the agent.

provisioningState
Nullable<CognitiveServicesAgentDeploymentProvisioningState>

Gets or sets the provisioning state of the agent deployment.

Returns

A new CognitiveServicesAgentDeploymentProperties instance for mocking.

Applies to