CognitiveServicesAgentApplicationResource.GetCognitiveServicesAgentDeployment 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.
Gets an Agent Deployment by name.
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource> GetCognitiveServicesAgentDeployment(string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCognitiveServicesAgentDeployment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>
override this.GetCognitiveServicesAgentDeployment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>
Public Overridable Function GetCognitiveServicesAgentDeployment (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CognitiveServicesAgentDeploymentResource)
Parameters
- deploymentName
- String
The name of the deployment associated with the Cognitive Services Account.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
deploymentName is null.
deploymentName is an empty string, and was expected to be non-empty.