次の方法で共有


ManagedDatabaseVulnerabilityAssessmentCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • 操作IdManagedDatabaseVulnerabilityAssessments_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentResource>> 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.ManagedDatabaseVulnerabilityAssessmentResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentResource>>
Public Overridable Function GetIfExistsAsync (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedDatabaseVulnerabilityAssessmentResource))

パラメーター

vulnerabilityAssessmentName
VulnerabilityAssessmentName

脆弱性評価の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象