Share via


SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection.GetAllAsync Method

Definition

Gets a system database's sql vulnerability assessment rule baseline.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules
  • Operation Id: SqlVulnerabilityAssessmentRuleBaseline_ListByBaseline
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineRuleResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlServerSqlVulnerabilityAssessmentBaselineRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to