AzureSqlManagedDatabaseBackupAdapter.CreateManagedDatabaseBackupShortTermRetentionPolicyModelFromResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
The converted model