Compartir a través de


SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.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}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • IdDatabaseSqlVulnerabilityAssessmentBaselines_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName baselineName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentBaselineResource>>
Public Overridable Function GetIfExistsAsync (baselineName As SqlVulnerabilityAssessmentBaselineName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SqlDatabaseSqlVulnerabilityAssessmentBaselineResource))

Parámetros

baselineName
SqlVulnerabilityAssessmentBaselineName

SqlVulnerabilityAssessmentBaselineName que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a