Partilhar via


SqlVulnerabilityAssessmentBaselineRuleCollection.AddRules Método

Definição

Adicione uma lista de regras de linha de base. Substituirá todos os resultados existentes anteriormente (para todas as regras).

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

Parâmetros

workspaceId
Guid

A ID do workspace.

content
RulesResultsContent

As regras de linha de base.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a