CognitiveServicesAgentApplicationResource.EnableAsync 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.
Enables an Agent Application.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}/enable.
- Operation Id. : AgentApplications_Enable.
- Default Api Version. : 2026-01-15-preview.
- Resource. : CognitiveServicesAgentApplicationResource.
public virtual System.Threading.Tasks.Task<Azure.Response> EnableAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member EnableAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.EnableAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function EnableAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.