Compartilhar via


SqlDatabaseVulnerabilityAssessmentCollection.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}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operação IdDatabaseVulnerabilityAssessments_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseVulnerabilityAssessmentResource> 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.SqlDatabaseVulnerabilityAssessmentResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseVulnerabilityAssessmentResource>
Public Overridable Function GetIfExists (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlDatabaseVulnerabilityAssessmentResource)

Parâmetros

vulnerabilityAssessmentName
VulnerabilityAssessmentName

O nome da avaliação de vulnerabilidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a