Skip to main content

Microsoft Azure Recoveryservicesbackup Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Recoveryservicesbackup Management Client Library. This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. For a more complete view of Azure libraries, see the azure sdk python release.

Usage

To learn how to use this package, see the quickstart guide

For docs and references, see Python SDK References Code samples for this package can be found at Recoveryservicesbackup Management on docs.microsoft.com. Additional code samples for different Azure services are available at Samples Repo

Provide Feedback

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

Impressions

Release History

1.0.0b1 (2021-05-14)

This is beta preview version.

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

    • azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/
    • credentials parameter has been renamed credential
  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

0.11.0 (2020-12-28)

Features

  • Model IaasVMRecoveryPoint has a new parameter zones
  • Model IaasVMRestoreRequest has a new parameter zones

0.10.0 (2020-12-08)

Features

  • Model IaasVMRestoreRequest has a new parameter disk_encryption_set_id
  • Model IaasVMRestoreRequest has a new parameter restore_with_managed_disks
  • Model BackupResourceConfig has a new parameter cross_region_restore_flag
  • Model AzureFileshareProtectedItem has a new parameter health_status
  • Added operation RecoveryPointsOperations.get_access_token
  • Added operation group AadPropertiesOperations
  • Added operation group CrossRegionRestoreOperations
  • Added operation group BackupCrrJobDetailsOperations
  • Added operation group PrivateEndpointOperations
  • Added operation group BackupCrrJobsOperations
  • Added operation group RecoveryPointsCrrOperations
  • Added operation group CrrOperationResultsOperations
  • Added operation group CrrOperationStatusOperations
  • Added operation group BackupProtectedItemsCrrOperations

Breaking changes

  • Removed operation RecoveryServicesBackupClientOperationsMixin.get_operation_status1

0.9.0 (2020-12-07)

Features

  • Model AzureFileshareProtectedItem has a new parameter kpis_healths
  • Model AzureIaaSVMProtectedItem has a new parameter kpis_healths
  • Model AzureIaaSClassicComputeVMProtectedItem has a new parameter kpis_healths
  • Model AzureVmWorkloadProtectedItem has a new parameter kpis_healths
  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter kpis_healths
  • Model AzureIaaSComputeVMProtectedItem has a new parameter kpis_healths
  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter kpis_healths
  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter kpis_healths
  • Added operation RecoveryServicesBackupClientOperationsMixin.bms_prepare_data_move
  • Added operation RecoveryServicesBackupClientOperationsMixin.bms_trigger_data_move
  • Added operation RecoveryServicesBackupClientOperationsMixin.get_operation_status1
  • Added operation group BackupResourceEncryptionConfigsOperations
  • Added operation group BMSPrepareDataMoveOperationResultOperations

Breaking changes

  • Model AzureFileshareProtectedItem no longer has parameter health_status
  • Model AzureFileshareProtectedItem no longer has parameter health_details
  • Model AzureVmWorkloadProtectedItem no longer has parameter health_status
  • Model AzureVmWorkloadProtectedItem no longer has parameter health_details
  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem no longer has parameter health_status
  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem no longer has parameter health_details
  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem no longer has parameter health_status
  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem no longer has parameter health_details
  • Model AzureVmWorkloadSQLDatabaseProtectedItem no longer has parameter health_status
  • Model AzureVmWorkloadSQLDatabaseProtectedItem no longer has parameter health_details

0.8.0 (2020-06-05)

Features

  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter health_details
  • Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter health_status
  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter health_details
  • Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter health_status
  • Model AzureFileshareProtectedItem has a new parameter health_details
  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter health_details
  • Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter health_status
  • Model AzureVmWorkloadProtectedItem has a new parameter health_details
  • Model AzureVmWorkloadProtectedItem has a new parameter health_status

0.7.0 (2020-03-24)

Features

  • Added operation BackupResourceVaultConfigsOperations.put
  • Added operation group RecoveryServicesBackupClientOperationsMixin
  • Added operation group PrivateEndpointConnectionOperations

0.6.0 (2020-01-14)

Features

  • Model TargetRestoreInfo has a new parameter target_directory_for_file_restore
  • Model AzureIaaSVMProtectionPolicy has a new parameter instant_rp_details

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-1.0.0b1.zip (419.5 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_recoveryservicesbackup-1.0.0b1-py2.py3-none-any.whl (398.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file azure-mgmt-recoveryservicesbackup-1.0.0b1.zip.

File metadata

  • Download URL: azure-mgmt-recoveryservicesbackup-1.0.0b1.zip
  • Upload date:
  • Size: 419.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for azure-mgmt-recoveryservicesbackup-1.0.0b1.zip
Algorithm Hash digest
SHA256 62652cb0e2219062e33c8962415402452675bfa16c89fa1111d73f33cb50ef40
MD5 b8ec846710e68917756469ec50339e1c
BLAKE2b-256 d222ef018d51b46318a528b93ab3f2bdde6e516af1794c81b5c78685328aa3af

See more details on using hashes here.

File details

Details for the file azure_mgmt_recoveryservicesbackup-1.0.0b1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_recoveryservicesbackup-1.0.0b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a669017db8bd4a525f7b24a19ff8cffd5ac9ea50c52542a9eda9067c799466b
MD5 ab3fa39261e46a62e44681cb8aa114b4
BLAKE2b-256 fc656971e16df6e3a0cb8fcb731dd7ccb06f24b5b9bc9eb471c6f95885ad0065

See more details on using hashes here.

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