共用方式為


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

Parameters

filter
String

OData filter. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to