ArmCognitiveServicesModelFactory.CognitiveServicesHostedAgentDeployment Method

Definition

Represents a hosted agent deployment where the underlying infrastructure is owned by the platform.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesHostedAgentDeployment CognitiveServicesHostedAgentDeployment(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, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProvisioningState? provisioningState = default, int? minReplicas = default, int? maxReplicas = default);
static member CognitiveServicesHostedAgentDeployment : 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> * Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentDeploymentProvisioningState> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesHostedAgentDeployment
Public Shared Function CognitiveServicesHostedAgentDeployment (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 provisioningState As Nullable(Of CognitiveServicesAgentDeploymentProvisioningState) = Nothing, Optional minReplicas As Nullable(Of Integer) = Nothing, Optional maxReplicas As Nullable(Of Integer) = Nothing) As CognitiveServicesHostedAgentDeployment

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.

provisioningState
Nullable<CognitiveServicesAgentDeploymentProvisioningState>

Gets or sets the provisioning state of the agent deployment.

minReplicas
Nullable<Int32>

Gets or sets the minimum number of replicas for this hosted deployment.

maxReplicas
Nullable<Int32>

Gets or sets the maximum number of replicas for this hosted deployment.

Returns

A new CognitiveServicesHostedAgentDeployment instance for mocking.

Applies to