Compartir a través de


SqlDatabaseSqlVulnerabilityAssessmentCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • IdDatabaseSqlVulnerabilityAssessmentsSettings_Get de operaciones
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

Nombre de la evaluación de vulnerabilidades de SQL.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a