Skip to main content

Microsoft Azure Recovery Services Backup Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Recovery Services Backup Management Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see azure-servicemanagement-legacy library.

For a more complete set of Azure libraries, see the azure bundle package.

Usage

For code examples, see Recovery Services Backup Management on docs.microsoft.com.

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-recoveryservicesbackup%2FREADME.png

Release History

0.5.0 (2019-11-21)

Features

  • Model AzureVmWorkloadProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureVmWorkloadProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureVmWorkloadProtectedItem has a new parameter is_rehydrate

  • Model AzureVmWorkloadProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureVmWorkloadProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureFileshareProtectedItemExtendedInfo has a new parameter resource_state

  • Model AzureFileshareProtectedItemExtendedInfo has a new parameter resource_state_sync_time

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter extended_properties

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter is_rehydrate

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureWorkloadSAPHanaPointInTimeRestoreRequest has a new parameter recovery_mode

  • Model AzureVmWorkloadProtectionPolicy has a new parameter make_policy_consistent

  • Model AzureIaaSVMProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureIaaSVMProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureIaaSVMProtectedItem has a new parameter extended_properties

  • Model AzureIaaSVMProtectedItem has a new parameter is_rehydrate

  • Model AzureIaaSVMProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureIaaSVMProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model DPMProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model DPMProtectedItem has a new parameter is_rehydrate

  • Model DPMProtectedItem has a new parameter deferred_delete_time_remaining

  • Model DPMProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureWorkloadRestoreRequest has a new parameter recovery_mode

  • Model AzureWorkloadSAPHanaRestoreRequest has a new parameter recovery_mode

  • Model ProtectedItem has a new parameter deferred_delete_time_remaining

  • Model ProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model ProtectedItem has a new parameter is_rehydrate

  • Model ProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model ProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureWorkloadSQLRestoreRequest has a new parameter recovery_mode

  • Model InquiryValidation has a new parameter additional_detail

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter is_rehydrate

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter is_rehydrate

  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureWorkloadSQLPointInTimeRestoreRequest has a new parameter recovery_mode

  • Model AzureIaaSComputeVMProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureIaaSComputeVMProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureIaaSComputeVMProtectedItem has a new parameter extended_properties

  • Model AzureIaaSComputeVMProtectedItem has a new parameter is_rehydrate

  • Model AzureIaaSComputeVMProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureIaaSComputeVMProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model IaasVMRestoreRequest has a new parameter restore_disk_lun_list

  • Model AzureFileShareRecoveryPoint has a new parameter recovery_point_size_in_gb

  • Model BackupResourceVaultConfig has a new parameter soft_delete_feature_state

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter is_rehydrate

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model MabFileFolderProtectedItem has a new parameter last_backup_time

  • Model MabFileFolderProtectedItem has a new parameter deferred_delete_time_remaining

  • Model MabFileFolderProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model MabFileFolderProtectedItem has a new parameter is_rehydrate

  • Model MabFileFolderProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model IaasVMRecoveryPoint has a new parameter recovery_point_disk_configuration

  • Model GenericProtectedItem has a new parameter deferred_delete_time_remaining

  • Model GenericProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model GenericProtectedItem has a new parameter is_rehydrate

  • Model GenericProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model GenericProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureWorkloadPointInTimeRestoreRequest has a new parameter recovery_mode

  • Model ExportJobsOperationResultInfo has a new parameter excel_file_blob_sas_key

  • Model ExportJobsOperationResultInfo has a new parameter excel_file_blob_url

  • Model AzureFileshareProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureFileshareProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureFileshareProtectedItem has a new parameter is_rehydrate

  • Model AzureFileshareProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureFileshareProtectedItem has a new parameter is_scheduled_for_deferred_delete

  • Model AzureSqlProtectedItem has a new parameter deferred_delete_time_remaining

  • Model AzureSqlProtectedItem has a new parameter is_deferred_delete_schedule_upcoming

  • Model AzureSqlProtectedItem has a new parameter is_rehydrate

  • Model AzureSqlProtectedItem has a new parameter deferred_delete_time_in_utc

  • Model AzureSqlProtectedItem has a new parameter is_scheduled_for_deferred_delete

General Breaking changes

This version uses a next-generation code generator that might introduce breaking changes if from some import. In summary, some modules were incorrectly visible/importable and have been renamed. This fixed several issues caused by usage of classes that were not supposed to be used in the first place. RecoveryServicesBackupClient cannot be imported from azure.mgmt.recoveryservicesbackup.recovery_services_backup_client anymore (import from azure.mgmt.recoveryservicesbackup works like before) RecoveryServicesBackupClientConfiguration import has been moved from azure.mgmt.recoveryservicesbackup.recovery_services_backup_client to azure.mgmt.recoveryservicesbackup A model MyClass from a “models” sub-module cannot be imported anymore using azure.mgmt.recoveryservicesbackup.models.my_class (import from azure.mgmt.recoveryservicesbackup.models works like before) An operation class MyClassOperations from an operations sub-module cannot be imported anymore using azure.mgmt.recoveryservicesbackup.operations.my_class_operations (import from azure.mgmt.recoveryservicesbackup.operations works like before) Last but not least, HTTP connection pooling is now enabled by default. You should always use a client as a context manager, or call close(), or use no more than one client per process.

0.4.0 (2019-05-21)

Features

  • Model AzureWorkloadRestoreRequest has a new parameter target_info

  • Model AzureVmWorkloadSAPHanaDatabaseProtectableItem has a new parameter is_auto_protected

  • Model AzureVmWorkloadSAPHanaSystemProtectableItem has a new parameter is_auto_protected

  • Model AzureIaaSVMJobTaskDetails has a new parameter task_execution_details

  • Model AzureWorkloadContainer has a new parameter operation_type

  • Model AzureVmWorkloadSQLInstanceProtectableItem has a new parameter is_auto_protected

  • Model AzureIaaSVMJobExtendedInfo has a new parameter estimated_remaining_duration

  • Model AzureVmWorkloadSQLAvailabilityGroupProtectableItem has a new parameter is_auto_protected

  • Model AzureVmWorkloadProtectableItem has a new parameter is_auto_protected

  • Model AzureVMAppContainerProtectionContainer has a new parameter operation_type

  • Model AzureSQLAGWorkloadContainerProtectionContainer has a new parameter operation_type

  • Model AzureVmWorkloadSQLDatabaseProtectableItem has a new parameter is_auto_protected

  • Added operation BackupResourceStorageConfigsOperations.patch

  • Added operation ProtectionIntentOperations.delete

  • Added operation ProtectionIntentOperations.get

  • Added operation group BackupProtectionIntentOperations

  • Added operation group OperationOperations

0.3.0 (2018-06-27)

Features

  • SAP HANA contract changes (new filters added to existing API’s.). This feature is still in development phase and not open for usage yet.

  • Instant RP field added in create policy.

  • Comments added for some contracts.

Python details

  • Model DPMProtectedItem has a new parameter create_mode

  • Model MabFileFolderProtectedItem has a new parameter create_mode

  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter create_mode

  • Model AzureWorkloadContainer has a new parameter workload_type

  • Model AzureIaaSVMProtectionPolicy has a new parameter instant_rp_retention_range_in_days

  • Model AzureFileshareProtectedItem has a new parameter create_mode

  • Model AzureSQLAGWorkloadContainerProtectionContainer has a new parameter workload_type

  • Model AzureSqlProtectedItem has a new parameter create_mode

  • Model AzureIaaSVMJobExtendedInfo has a new parameter internal_property_bag

  • Model KeyAndSecretDetails has a new parameter encryption_mechanism

  • Model AzureIaaSVMProtectedItem has a new parameter create_mode

  • Model AzureVMAppContainerProtectionContainer has a new parameter workload_type

  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter create_mode

  • Model IaasVMRecoveryPoint has a new parameter os_type

  • Model ProtectionPolicyQueryObject has a new parameter workload_type

  • Model AzureIaaSComputeVMProtectedItem has a new parameter create_mode

  • Model Settings has a new parameter is_compression

  • Model GenericProtectedItem has a new parameter create_mode

  • Model AzureWorkloadJob has a new parameter workload_type

  • Model ProtectedItem has a new parameter create_mode

  • Operation ProtectionContainersOperations.inquire has a new “filter” parameter

0.2.0 (2018-05-25)

Features

  • Client class can be used as a context manager to keep the underlying HTTP session open for performance

General Breaking changes

This version uses a next-generation code generator that might introduce breaking changes.

  • Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments. To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the “*” syntax for keyword-only arguments.

  • Enum types now use the “str” mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered. While this is not a breaking change, the distinctions are important, and are documented here: https://docs.python.org/3/library/enum.html#others At a glance:

    • “is” should not be used at all.

    • “format” will return the string value, where “%s” string formatting will return NameOfEnum.stringvalue. Format syntax should be prefered.

  • New Long Running Operation:

    • Return type changes from msrestazure.azure_operation.AzureOperationPoller to msrest.polling.LROPoller. External API is the same.

    • Return type is now always a msrest.polling.LROPoller, regardless of the optional parameters used.

    • The behavior has changed when using raw=True. Instead of returning the initial call result as ClientRawResponse, without polling, now this returns an LROPoller. After polling, the final resource will be returned as a ClientRawResponse.

    • New polling parameter. The default behavior is Polling=True which will poll using ARM algorithm. When Polling=False, the response of the initial call will be returned without polling.

    • polling parameter accepts instances of subclasses of msrest.polling.PollingMethod.

    • add_done_callback will no longer raise if called after polling is finished, but will instead execute the callback right away.

Bugfixes

  • Compatibility of the sdist with wheel 0.31.0

0.1.2 (2019-03-12)

0.1.1 (2017-08-09)

Bug fixes

  • Fix duration parsing (#1214)

0.1.0 (2017-06-05)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-recoveryservicesbackup-0.5.0.zip (219.2 kB view hashes)

Uploaded Source

Built Distribution

azure_mgmt_recoveryservicesbackup-0.5.0-py2.py3-none-any.whl (194.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page