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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to