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

AzureSqlManagedDatabaseBackupAdapter.CreateManagedDatabaseBackupShortTermRetentionPolicyModelFromResponse Method

Definition

Converts the response from the service to a powershell managed database object

public static Microsoft.Azure.Commands.Sql.ManagedDatabaseBackup.Model.AzureSqlManagedDatabaseBackupShortTermRetentionPolicyModel CreateManagedDatabaseBackupShortTermRetentionPolicyModelFromResponse (string resourceGroup, string managedInstanceName, string managedDatabaseName, Microsoft.Azure.Management.Sql.Models.ManagedBackupShortTermRetentionPolicy managedBackupShortTermRetentionPolicy, DateTime? deletionDate = default);
static member CreateManagedDatabaseBackupShortTermRetentionPolicyModelFromResponse : string * string * string * Microsoft.Azure.Management.Sql.Models.ManagedBackupShortTermRetentionPolicy * Nullable<DateTime> -> Microsoft.Azure.Commands.Sql.ManagedDatabaseBackup.Model.AzureSqlManagedDatabaseBackupShortTermRetentionPolicyModel
Public Shared Function CreateManagedDatabaseBackupShortTermRetentionPolicyModelFromResponse (resourceGroup As String, managedInstanceName As String, managedDatabaseName As String, managedBackupShortTermRetentionPolicy As ManagedBackupShortTermRetentionPolicy, Optional deletionDate As Nullable(Of DateTime) = Nothing) As AzureSqlManagedDatabaseBackupShortTermRetentionPolicyModel

Parameters

resourceGroup
String

The resource group the managed instance is in

managedInstanceName
String

The name of the Azure Sql Database Managed Instance

managedDatabaseName
String

The name of the Azure Sql Managed Database

managedBackupShortTermRetentionPolicy
ManagedBackupShortTermRetentionPolicy
deletionDate
Nullable<DateTime>

Deletion date for deleted databases

Returns

The converted model

Applies to