Compartilhar via


SqlDatabaseSqlVulnerabilityAssessmentCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

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

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