Freigeben über


ManagedDatabaseResource.GetManagedBackupShortTermRetentionPolicy Methode

Definition

Ruft die kurzfristige Aufbewahrungsrichtlinie einer verwalteten Datenbank ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}
  • Vorgang IdManagedBackupShortTermRetentionPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource> GetManagedBackupShortTermRetentionPolicy (Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedBackupShortTermRetentionPolicy : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource>
override this.GetManagedBackupShortTermRetentionPolicy : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource>
Public Overridable Function GetManagedBackupShortTermRetentionPolicy (policyName As ManagedShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedBackupShortTermRetentionPolicyResource)

Parameter

policyName
ManagedShortTermRetentionPolicyName

Der Richtlinienname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: