Compartilhar via


SqlServerSqlVulnerabilityAssessmentCollection.GetAsync Método

Definição

Obtém a política de Avaliação de Vulnerabilidades do SQL.

  • Caminho da solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operação IdSqlVulnerabilityAssessmentsSettings_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>> GetAsync (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>>
override this.GetAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>>
Public Overridable Function GetAsync (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerSqlVulnerabilityAssessmentResource))

Parâmetros

vulnerabilityAssessmentName
VulnerabilityAssessmentName

O nome da Avaliação de Vulnerabilidades do SQL.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a