Freigeben über


SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Vorgangs-IdDatabaseSqlVulnerabilityAssessmentBaselines_Get
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)

Parameter

baselineName
SqlVulnerabilityAssessmentBaselineName

Der zu verwendende SqlVulnerabilityAssessmentBaselineName.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: