次の方法で共有


ManagedInstanceAdvancedThreatProtectionCollection.GetIfExists メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • 操作IdManagedInstanceAdvancedThreatProtectionSettings_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource> GetIfExists (Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName advancedThreatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource>
Public Overridable Function GetIfExists (advancedThreatProtectionName As AdvancedThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedInstanceAdvancedThreatProtectionResource)

パラメーター

advancedThreatProtectionName
AdvancedThreatProtectionName

Advanced Threat Protection 状態の名前。

cancellationToken
CancellationToken

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

戻り値

適用対象