SubscriptionSecurityAlertResource.ActivateAsync(CancellationToken) 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.
Update the alert's state
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate
- Operation Id: Alerts_UpdateSubscriptionLevelStateToActivate
- Default Api Version: 2022-01-01
- Resource: SubscriptionSecurityAlertResource
public virtual System.Threading.Tasks.Task<Azure.Response> ActivateAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ActivateAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.