Compartir a través de


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