ArmCognitiveServicesModelFactory.CognitiveServicesManagedAgentDeployment Method
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.
Represents a managed agent deployment where the underlying infrastructure is managed by the platform in the deployer's subscription.
public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedAgentDeployment CognitiveServicesManagedAgentDeployment(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);
static member CognitiveServicesManagedAgentDeployment : 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> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedAgentDeployment
Public Shared Function CognitiveServicesManagedAgentDeployment (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) As CognitiveServicesManagedAgentDeployment
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.
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.
Returns a flat list of agent:version deployed in this deployment.
- provisioningState
- Nullable<CognitiveServicesAgentDeploymentProvisioningState>
Gets or sets the provisioning state of the agent deployment.
Returns
A new CognitiveServicesManagedAgentDeployment instance for mocking.