Share via


SubscriptionSecurityTaskCollection.GetAllAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks
  • Operation Id: Tasks_ListByHomeRegion
  • Default Api Version: 2015-06-01-preview
  • Resource: SubscriptionSecurityTaskResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SubscriptionSecurityTaskResource)

Parameters

filter
String

OData filter. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to