SubscriptionSecurityTaskResource.UpdateSubscriptionLevelTaskStateAsync Method

Definition

Recommended tasks that will help improve the security of the subscription proactively

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}.
  • Operation Id. : SecurityTasks_UpdateSubscriptionLevelTaskState.
  • Default Api Version. : 2015-06-01-preview.
  • Resource. : SubscriptionSecurityTaskResource.
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateSubscriptionLevelTaskStateAsync(Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType taskUpdateActionType, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSubscriptionLevelTaskStateAsync : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateSubscriptionLevelTaskStateAsync : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateSubscriptionLevelTaskStateAsync (taskUpdateActionType As TaskUpdateActionType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

taskUpdateActionType
TaskUpdateActionType

Type of the action to do on the task.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to