Share via


ResourceGroupSecurityTaskCollection.GetAll(String, CancellationToken) 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.Pageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityTaskResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceGroupSecurityTaskResource)

Parameters

filter
String

OData filter. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to