SecureScoreCollection.GetAllAsync(CancellationToken) Method

Definition

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores
  • Operation Id: SecureScores_List
  • Default Api Version: 2020-01-01
  • Resource: SecureScoreResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecureScoreResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to