Partilhar via


SqlDatabaseSqlVulnerabilityAssessmentCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse 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 Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource> GetIfExists (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>
Public Overridable Function GetIfExists (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlDatabaseSqlVulnerabilityAssessmentResource)

Parâmetros

vulnerabilityAssessmentName
VulnerabilityAssessmentName

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a