ManagedInstanceVulnerabilityAssessmentCollection.GetAllAsync Method

Definition

Gets the managed instance's vulnerability assessment policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments
  • Operation Id: ManagedInstanceVulnerabilityAssessments_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedInstanceVulnerabilityAssessmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to