Delen via


SecuritySubAssessmentCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecuritySubAssessmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to