Share via


SecureScoreCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecureScoreResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecureScoreResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to