你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestorableDroppedManagedDatabaseResource.GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy 方法

定义

获取已删除数据库的短期保留策略。

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

参数

policyName
ManagedShortTermRetentionPolicyName

策略名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于