共用方式為


ServerVulnerabilityAssessmentsSettingCollection.GetAllAsync Method

Definition

Get a list of all the server vulnerability assessments settings over a subscription level scope

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings
  • Operation Id: ServerVulnerabilityAssessmentsSettings_ListBySubscription
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentsSettingResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentsSettingResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentsSettingResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServerVulnerabilityAssessmentsSettingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to