Delen via


MockableSecurityCenterSubscriptionResource.GetSecureScoreControlDefinitionsBySubscriptionAsync Method

Definition

For a specified subscription, list the available security controls, their assessments, and the max score

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to