Package: azure-mgmt-dataprotection
Microsoft Azure SDK for PythonThis is the Microsoft Azure Data Protection Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-dataprotection
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.dataprotectionimportDataProtectionClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=DataProtectionClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Data Protection Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History1.3.0 (2023-12-18)Features AddedAdded operation BackupInstancesOperations.begin_trigger_cross_region_restoreAdded operation BackupInstancesOperations.begin_validate_cross_region_restoreAdded operation group FetchCrossRegionRestoreJobOperationsAdded operation group FetchCrossRegionRestoreJobsOperationsAdded operation group FetchSecondaryRecoveryPointsOperationsModel AzureBackupDiscreteRecoveryPoint has a new parameter recovery_point_stateModel BackupVault has a new parameter replicated_regionsModel JobExtendedInfo has a new parameter warning_details1.2.0 (2023-07-21)Features AddedModel AzureBackupJob has a new parameter rehydration_priorityModel AzureBackupRecoveryPointBasedRestoreRequest has a new parameter identity_detailsModel AzureBackupRecoveryTimeBasedRestoreRequest has a new parameter identity_detailsModel AzureBackupRestoreRequest has a new parameter identity_detailsModel AzureBackupRestoreWithRehydrationRequest has a new parameter identity_detailsModel BackupInstance has a new parameter identity_detailsModel BackupVault has a new parameter secure_scoreModel Datasource has a new parameter resource_propertiesModel DatasourceSet has a new parameter resource_propertiesModel DeletedBackupInstance has a new parameter identity_detailsModel DppIdentityDetails has a new parameter user_assigned_identitiesModel FeatureSettings has a new parameter cross_region_restore_settingsModel KubernetesClusterBackupDatasourceParameters has a new parameter backup_hook_referencesModel KubernetesClusterRestoreCriteria has a new parameter restore_hook_references1.1.0 (2023-06-16)Features AddedAdded operation group DppResourceGuardProxyOperations1.0.0 (2023-02-15)Features AddedModel AzureBackupDiscreteRecoveryPoint has a new parameter expiry_timeModel BackupVault has a new parameter feature_settingsModel PatchBackupVaultInput has a new parameter feature_settingsModel TargetDetails has a new parameter target_resource_arm_idBreaking ChangesClient name is changed fromDataProtectionClienttoDataProtectionMgmtClientModel ResourceGuardResource no longer has parameter identityRemoved operation group BackupInstancesExtensionRoutingOperationsRemoved operation group DppResourceGuardProxyOperationsRenamed operation BackupVaultsOperations.delete to BackupVaultsOperations.begin_delete1.0.0b4 (2023-01-17)Features AddedAdded operation group BackupInstancesExtensionRoutingOperationsAdded operation group DppResourceGuardProxyOperationsModel PolicyParameters has a new parameter backup_datasource_parameters_listModel ResourceGuardResource has a new parameter identityBreaking ChangesModel AzureBackupDiscreteRecoveryPoint no longer has parameter expiry_timeModel BackupVault no longer has parameter feature_settingsModel PatchBackupVaultInput no longer has parameter feature_settingsModel TargetDetails no longer has parameter target_resource_arm_id1.0.0b3 (2022-12-29)Features AddedModel AzureBackupDiscreteRecoveryPoint has a new parameter expiry_timeModel BackupVault has a new parameter feature_settingsModel PatchBackupVaultInput has a new parameter feature_settingsModel TargetDetails has a new parameter target_resource_arm_idBreaking ChangesModel ResourceGuardResource no longer has parameter identityRemoved operation group BackupInstancesExtensionRoutingOperationsRemoved operation group DppResourceGuardProxyOperations1.0.0b2 (2022-10-11)Features AddedAdded operation BackupInstancesOperations.begin_resume_backupsAdded operation BackupInstancesOperations.begin_resume_protectionAdded operation BackupInstancesOperations.begin_stop_protectionAdded operation BackupInstancesOperations.begin_suspend_backupsAdded operation BackupInstancesOperations.begin_sync_backup_instanceAdded operation BackupInstancesOperations.get_backup_instance_operation_resultAdded operation group BackupInstancesExtensionRoutingOperationsAdded operation group DeletedBackupInstancesOperationsAdded operation group DppResourceGuardProxyOperationsAdded operation group OperationStatusBackupVaultContextOperationsAdded operation group OperationStatusResourceGroupContextOperationsModel AzureBackupRecoveryPointBasedRestoreRequest has a new parameter source_resource_idModel AzureBackupRecoveryTimeBasedRestoreRequest has a new parameter source_resource_idModel AzureBackupRestoreRequest has a new parameter source_resource_idModel AzureBackupRestoreWithRehydrationRequest has a new parameter source_resource_idModel BackupInstance has a new parameter validation_typeModel BackupInstanceResource has a new parameter tagsModel BackupVault has a new parameter is_vault_protected_by_resource_guardModel BackupVault has a new parameter monitoring_settingsModel BackupVault has a new parameter security_settingsModel PatchResourceRequestInput has a new parameter propertiesModel SecretStoreResource has a new parameter value1.0.0b1 (2021-10-19)Initial Release