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.
Release History
2.0.0 (2021-07-26)
Features
- Model IaasVMRestoreRequest has a new parameter identity_info
- Model IaasVMRestoreWithRehydrationRequest has a new parameter identity_info
Breaking changes
- Removed operation group BackupResourceStorageConfigsNonCRROperations
1.1.0 (2021-07-22)
Features
- Model AzureWorkloadPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadRestoreRequest has a new parameter target_virtual_machine_id
- Added operation group BackupResourceStorageConfigsNonCRROperations
1.0.0 (2021-05-26)
Features
- Added operation group BackupUsageSummariesCRROperations
Breaking changes
- Model AzureWorkloadSAPHanaPointInTimeRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreWithRehydrateRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadPointInTimeRestoreRequest no longer has parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest no longer has parameter target_virtual_machine_id
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
ormsrestazure.azure_active_directory
instances are no longer supported, use theazure-identity
classes instead: https://pypi.org/project/azure-identity/credentials
parameter has been renamedcredential
-
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 aazure.core.polling.LROPoller
and are prefixed withbegin_
. -
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:
raw
has been removed. Equivalent feature can be found usingcls
, a callback that will give access to internal HTTP response for advanced user- For a complete set of supported options, see the parameters accept in Request documentation of azure-core
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
tomsrest.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 asClientRawResponse
, without polling, now this returns an LROPoller. After polling, the final resource will be returned as aClientRawResponse
. - New
polling
parameter. The default behavior isPolling=True
which will poll using ARM algorithm. WhenPolling=False
, the response of the initial call will be returned without polling. polling
parameter accepts instances of subclasses ofmsrest.polling.PollingMethod
.add_done_callback
will no longer raise if called after polling is finished, but will instead execute the callback right away.
- Return type changes from
Bugfixes
- Compatibility of the sdist with wheel 0.31.0
0.1.2 (2019-03-12)
- Updating permissible versions of the msrestazure package to unblock Azure/azure-cli#6973.
0.1.1 (2017-08-09)
Bug fixes
- Fix duration parsing (#1214)
0.1.0 (2017-06-05)
- Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-recoveryservicesbackup-2.0.0.zip
.
File metadata
- Download URL: azure-mgmt-recoveryservicesbackup-2.0.0.zip
- Upload date:
- Size: 425.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3e60daefbc20a7fa381c7ad1498f4bf4bb5a1414c1c64188cc9d5c98c4e12ac |
|
MD5 | f44b1bbc41dfa209839b13e520d38a65 |
|
BLAKE2b-256 | f48f26e2829be414c90c6bc50aa812f74cd274a116cd415808c63d7cb1cbc470 |
Provenance
File details
Details for the file azure_mgmt_recoveryservicesbackup-2.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_recoveryservicesbackup-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 404.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8be0013eeb4d038f16597b0fd556eade27595953e5004a52e8358c8c3efce2e |
|
MD5 | fe395e666cd8e6d4d2a5e90d8ff65999 |
|
BLAKE2b-256 | 6d96e28567853df65d0196b3e05b32ade261c646847619826547b8c8584c6dc6 |