次の方法で共有


RestorableDroppedManagedDatabaseResource.GetManagedRestorableDroppedDbBackupShortTermRetentionPolicyAsync メソッド

定義

削除されたデータベースの短期保持ポリシーを取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}
  • 操作IdManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>> GetManagedRestorableDroppedDbBackupShortTermRetentionPolicyAsync (Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedRestorableDroppedDbBackupShortTermRetentionPolicyAsync : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>>
override this.GetManagedRestorableDroppedDbBackupShortTermRetentionPolicyAsync : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>>
Public Overridable Function GetManagedRestorableDroppedDbBackupShortTermRetentionPolicyAsync (policyName As ManagedShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource))

パラメーター

policyName
ManagedShortTermRetentionPolicyName

ポリシー名。

cancellationToken
CancellationToken

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

戻り値

適用対象