CognitiveServicesAgentDeploymentResource.GetAsync(CancellationToken) Method

Definition

Gets an Agent Deployment by name.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}.
  • Operation Id. : AgentDeploymentResources_Get.
  • Default Api Version. : 2026-01-15-preview.
  • Resource. : CognitiveServicesAgentDeploymentResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesAgentDeploymentResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to