Partager via


SqlDatabaseSqlVulnerabilityAssessmentBaselineResource.GetSqlDatabaseSqlVulnerabilityAssessmentBaselineRule Méthode

Définition

Obtient la base de référence de la règle d’évaluation des vulnérabilités SQL d’une base de données.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules/{ruleId}
  • IdDatabaseSqlVulnerabilityAssessmentRuleBaselines_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource> GetSqlDatabaseSqlVulnerabilityAssessmentBaselineRule (string ruleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseSqlVulnerabilityAssessmentBaselineRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource>
override this.GetSqlDatabaseSqlVulnerabilityAssessmentBaselineRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource>
Public Overridable Function GetSqlDatabaseSqlVulnerabilityAssessmentBaselineRule (ruleId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource)

Paramètres

ruleId
String

ID de règle d’évaluation des vulnérabilités.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

ruleId est une chaîne vide et devait être non vide.

ruleId a la valeur null.

S’applique à