Share via


SecuritySubAssessmentCollection.GetAllAsync(CancellationToken) Method

Definition

Get security sub-assessments on all your scanned resources inside a scope

  • Request Path: /{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments
  • Operation Id: SubAssessments_List
  • Default Api Version: 2019-01-01-preview
  • Resource: SecuritySubAssessmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecuritySubAssessmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to