Partilhar via


SqlVulnerabilityAssessmentBaselineRuleCollection.GetAllAsync Método

Definição

Obtém os resultados de todas as regras na Linha de Base.

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules
  • Operação IdSqlVulnerabilityAssessmentBaselineRules_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource> GetAllAsync (Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>
override this.GetAllAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>
Public Overridable Function GetAllAsync (workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlVulnerabilityAssessmentBaselineRuleResource)

Parâmetros

workspaceId
Guid

A ID do workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SqlVulnerabilityAssessmentBaselineRuleResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a