Partilhar via


SqlVulnerabilityAssessmentBaselineRuleCollection.GetAsync Método

Definição

Obtém os resultados de uma determinada regra na Linha de Base.

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • IdSqlVulnerabilityAssessmentBaselineRules_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>> GetAsync (string ruleId, Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>>
override this.GetAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>>
Public Overridable Function GetAsync (ruleId As String, workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlVulnerabilityAssessmentBaselineRuleResource))

Parâmetros

ruleId
String

A ID da regra.

workspaceId
Guid

A ID do workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

ruleId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

ruleId é nulo.

Aplica-se a