Share via


ServerVulnerabilityAssessmentCollection.GetAll(CancellationToken) Method

Definition

Gets a list of server vulnerability assessment onboarding statuses on a given resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments
  • Operation Id: ServerVulnerabilityAssessment_ListByExtendedResource
  • Default Api Version: 2020-01-01
  • Resource: ServerVulnerabilityAssessmentResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServerVulnerabilityAssessmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to