Compartir a través de


SqlServerSqlVulnerabilityAssessmentBaselineResource.GetSqlServerSqlVulnerabilityAssessmentBaselineRuleAsync Método

Definición

Obtiene la base de referencia de la regla de evaluación de vulnerabilidades sql de una base de datos del sistema.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules/{ruleId}
  • IdSqlVulnerabilityAssessmentRuleBaseline_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>> GetSqlServerSqlVulnerabilityAssessmentBaselineRuleAsync (string ruleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlServerSqlVulnerabilityAssessmentBaselineRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>>
override this.GetSqlServerSqlVulnerabilityAssessmentBaselineRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>>
Public Overridable Function GetSqlServerSqlVulnerabilityAssessmentBaselineRuleAsync (ruleId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerSqlVulnerabilityAssessmentBaselineRuleResource))

Parámetros

ruleId
String

Identificador de la regla de evaluación de vulnerabilidades.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

ruleId es una cadena vacía y se espera que no esté vacía.

ruleId es null.

Se aplica a