SubscriptionSecurityTaskResource.UpdateSubscriptionLevelTaskState 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 Azure.Response UpdateSubscriptionLevelTaskState(Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType taskUpdateActionType, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSubscriptionLevelTaskState : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> Azure.Response
override this.UpdateSubscriptionLevelTaskState : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateSubscriptionLevelTaskState (taskUpdateActionType As TaskUpdateActionType, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

taskUpdateActionType
TaskUpdateActionType

Type of the action to do on the task.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to