Share via


MockableSecurityCenterTenantResource.GetSecureScoreControlDefinitionsAsync Method

Definition

List the available security controls, their assessments, and the max score

  • Request Path: /providers/Microsoft.Security/secureScoreControlDefinitions
  • Operation Id: SecureScoreControlDefinitions_List
  • Default Api Version: 2020-01-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem> GetSecureScoreControlDefinitionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecureScoreControlDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem>
override this.GetSecureScoreControlDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem>
Public Overridable Function GetSecureScoreControlDefinitionsAsync (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