DatabaseBackupOperationsExtensions.BeginCreateOrUpdateDatabaseBackupLongTermRetentionPolicy 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.
Begins creating or updating an Azure SQL Server backup LongTermRetention policy. To determine the status of the operation call GetDatabaseBackupLongTermRetentionPolicyOperationStatus.
public static Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyCreateOrUpdateResponse BeginCreateOrUpdateDatabaseBackupLongTermRetentionPolicy (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations operations, string resourceGroupName, string serverName, string databaseName, string backupLongTermRetentionPolicyName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyCreateOrUpdateParameters parameters);
static member BeginCreateOrUpdateDatabaseBackupLongTermRetentionPolicy : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations * string * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyCreateOrUpdateResponse
<Extension()>
Public Function BeginCreateOrUpdateDatabaseBackupLongTermRetentionPolicy (operations As IDatabaseBackupOperations, resourceGroupName As String, serverName As String, databaseName As String, backupLongTermRetentionPolicyName As String, parameters As DatabaseBackupLongTermRetentionPolicyCreateOrUpdateParameters) As DatabaseBackupLongTermRetentionPolicyCreateOrUpdateResponse
Parameters
- operations
- IDatabaseBackupOperations
Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations.
- resourceGroupName
- String
Required. The name of the Resource Group to which the Azure SQL Server belongs.
- serverName
- String
Required. The name of the Azure SQL Server on which the database is hosted.
- databaseName
- String
Required. The name of the Azure SQL Database to be operated on.
- backupLongTermRetentionPolicyName
- String
Required. The name of the Azure SQL Database backup LongTermRetention policy.
Required. The required parameters for creating or updating a database backup LongTermRetention policy.
Returns
Response for long running Azure operations.