Compartir a través de


SqlDatabaseResource.GetSqlDatabaseSqlVulnerabilityAssessmentAsync Método

Definición

Obtiene la directiva de evaluación de vulnerabilidades de SQL para la base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • IdDatabaseSqlVulnerabilityAssessmentsSettings_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>> GetSqlDatabaseSqlVulnerabilityAssessmentAsync (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseSqlVulnerabilityAssessmentAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
override this.GetSqlDatabaseSqlVulnerabilityAssessmentAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
Public Overridable Function GetSqlDatabaseSqlVulnerabilityAssessmentAsync (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlDatabaseSqlVulnerabilityAssessmentResource))

Parámetros

vulnerabilityAssessmentName
VulnerabilityAssessmentName

Nombre de la evaluación de vulnerabilidades de SQL.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a