SecureScoreControlDefinitionsOperationsExtensions.ListBySubscriptionAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.SecureScoreControlDefinitionItem>> ListBySubscriptionAsync(this Microsoft.Azure.Management.Security.ISecureScoreControlDefinitionsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Security.ISecureScoreControlDefinitionsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.SecureScoreControlDefinitionItem>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As ISecureScoreControlDefinitionsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SecureScoreControlDefinitionItem))

Parameters

operations
ISecureScoreControlDefinitionsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to