Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to