AssessmentsOperationsExtensions.ListAsync 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.
Get security assessments on all your scanned resources inside a scope
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.SecurityAssessmentResponse>> ListAsync(this Microsoft.Azure.Management.Security.IAssessmentsOperations operations, string scope, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Security.IAssessmentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.SecurityAssessmentResponse>>
<Extension()>
Public Function ListAsync (operations As IAssessmentsOperations, scope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SecurityAssessmentResponse))
Parameters
- operations
- IAssessmentsOperations
The operations group for this extension method.
- scope
- String
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
- cancellationToken
- CancellationToken
The cancellation token.