Share via


ResourceGroupSecurityTaskCollection.GetAllAsync 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
  • Operation Id: Tasks_ListByResourceGroup
  • Default Api Version: 2015-06-01-preview
  • Resource: ResourceGroupSecurityTaskResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceGroupSecurityTaskResource)

Parameters

filter
String

OData filter. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ResourceGroupSecurityTaskResource that may take multiple service requests to iterate over.

Applies to