ResourceGroupSecurityTaskResource.UpdateResourceGroupLevelTaskState Method

Definition

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}.
  • Operation Id. : Tasks_UpdateResourceGroupLevelTaskState.
  • Default Api Version. : 2015-06-01-preview.
  • Resource. : ResourceGroupSecurityTaskResource.
public virtual Azure.Response UpdateResourceGroupLevelTaskState(Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType taskUpdateActionType, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateResourceGroupLevelTaskState : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> Azure.Response
override this.UpdateResourceGroupLevelTaskState : Azure.ResourceManager.SecurityCenter.Models.TaskUpdateActionType * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateResourceGroupLevelTaskState (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