CognitiveServicesAgentDeploymentResource.StopAsync(CancellationToken) Method

Definition

Stops an Agent Deployment.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to