SecureScoreControlDefinitionsOperationsExtensions.ListBySubscriptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.