Compartir a través de


SqlServerSqlVulnerabilityAssessmentCollection.GetIfExistsAsync 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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • IdSqlVulnerabilityAssessmentsSettings_Get de operación
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>> 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.SqlServerSqlVulnerabilityAssessmentResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>>
Public Overridable Function GetIfExistsAsync (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SqlServerSqlVulnerabilityAssessmentResource))

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