Microsoft Azure Recovery Services Site Recovery Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Recovery Services Site Recovery Management Client Library. This package has been tested with Python 3.8+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.8+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-recoveryservicessiterecovery
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
AZURE_CLIENT_ID
for Azure client ID.AZURE_TENANT_ID
for Azure tenant ID.AZURE_CLIENT_SECRET
for Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID
.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.recoveryservicessiterecovery import SiteRecoveryManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = SiteRecoveryManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Recovery Services Site Recovery Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.2.0 (2024-02-22)
Features Added
- Added operation ReplicationFabricsOperations.begin_remove_infra
- Model A2AEnableProtectionInput has a new parameter auto_protection_of_data_disk
1.1.0 (2023-09-15)
Features Added
- Model A2AReplicationDetails has a new parameter churn_option_selected
- Model AzureFabricSpecificDetails has a new parameter location_details
- Model FabricQueryParameter has a new parameter extended_location_mappings
- Model FabricQueryParameter has a new parameter location_details
- Model HyperVReplicaAzurePlannedFailoverProviderInput has a new parameter os_upgrade_version
- Model HyperVReplicaAzureReplicationDetails has a new parameter all_available_os_upgrade_configurations
- Model HyperVReplicaAzureTestFailoverInput has a new parameter os_upgrade_version
- Model InMageAzureV2ReplicationDetails has a new parameter all_available_os_upgrade_configurations
- Model InMageAzureV2ReplicationDetails has a new parameter os_name
- Model InMageAzureV2ReplicationDetails has a new parameter supported_os_versions
- Model InMageAzureV2TestFailoverInput has a new parameter os_upgrade_version
- Model InMageAzureV2UnplannedFailoverInput has a new parameter os_upgrade_version
- Model VMwareCbtEnableMigrationInput has a new parameter confidential_vm_key_vault_id
- Model VMwareCbtEnableMigrationInput has a new parameter target_vm_security_profile
- Model VMwareCbtMigrateInput has a new parameter os_upgrade_version
- Model VMwareCbtMigrationDetails has a new parameter appliance_monitoring_details
- Model VMwareCbtMigrationDetails has a new parameter confidential_vm_key_vault_id
- Model VMwareCbtMigrationDetails has a new parameter delta_sync_progress_percentage
- Model VMwareCbtMigrationDetails has a new parameter delta_sync_retry_count
- Model VMwareCbtMigrationDetails has a new parameter gateway_operation_details
- Model VMwareCbtMigrationDetails has a new parameter is_check_sum_resync_cycle
- Model VMwareCbtMigrationDetails has a new parameter operation_name
- Model VMwareCbtMigrationDetails has a new parameter os_name
- Model VMwareCbtMigrationDetails has a new parameter supported_os_versions
- Model VMwareCbtMigrationDetails has a new parameter target_vm_security_profile
- Model VMwareCbtProtectedDiskDetails has a new parameter gateway_operation_details
- Model VMwareCbtProtectionContainerMappingDetails has a new parameter excluded_skus
- Model VMwareCbtTestMigrateInput has a new parameter os_upgrade_version
1.0.0 (2022-12-15)
Features Added
- Model AzureFabricSpecificDetails has a new parameter extended_locations
- Model RecoveryPlanA2ADetails has a new parameter primary_extended_location
- Model RecoveryPlanA2ADetails has a new parameter recovery_extended_location
1.0.0b2 (2022-11-18)
Features Added
- Added operation ReplicationMigrationItemsOperations.begin_pause_replication
- Added operation ReplicationMigrationItemsOperations.begin_resume_replication
- Added operation ReplicationProtectedItemsOperations.begin_switch_provider
- Added operation group ReplicationAppliancesOperations
- Model A2AContainerMappingInput has a new parameter automation_account_authentication_type
- Model A2ACreateProtectionIntentInput has a new parameter agent_auto_update_status
- Model A2ACreateProtectionIntentInput has a new parameter automation_account_arm_id
- Model A2ACreateProtectionIntentInput has a new parameter automation_account_authentication_type
- Model A2AEnableProtectionInput has a new parameter recovery_capacity_reservation_group_id
- Model A2AEnableProtectionInput has a new parameter recovery_extended_location
- Model A2AProtectionContainerMappingDetails has a new parameter automation_account_authentication_type
- Model A2AReplicationDetails has a new parameter initial_primary_extended_location
- Model A2AReplicationDetails has a new parameter initial_recovery_extended_location
- Model A2AReplicationDetails has a new parameter primary_extended_location
- Model A2AReplicationDetails has a new parameter recovery_capacity_reservation_group_id
- Model A2AReplicationDetails has a new parameter recovery_extended_location
- Model A2AReplicationIntentDetails has a new parameter agent_auto_update_status
- Model A2AReplicationIntentDetails has a new parameter automation_account_arm_id
- Model A2AReplicationIntentDetails has a new parameter automation_account_authentication_type
- Model A2ASwitchProtectionInput has a new parameter recovery_capacity_reservation_group_id
- Model A2AUpdateContainerMappingInput has a new parameter automation_account_authentication_type
- Model A2AUpdateReplicationProtectedItemInput has a new parameter recovery_capacity_reservation_group_id
- Model HyperVVirtualMachineDetails has a new parameter hyper_v_host_id
- Model InMageAzureV2ProtectedDiskDetails has a new parameter seconds_to_take_switch_provider
- Model InMageAzureV2ReplicationDetails has a new parameter switch_provider_blocking_error_details
- Model InMageAzureV2ReplicationDetails has a new parameter switch_provider_details
- Model InMageRcmProtectedDiskDetails has a new parameter seed_blob_uri
- Model InMageRcmReplicationDetails has a new parameter storage_account_id
- Model MigrationItemProperties has a new parameter critical_job_history
- Model MigrationItemProperties has a new parameter last_migration_status
- Model MigrationItemProperties has a new parameter last_migration_time
- Model MigrationItemProperties has a new parameter recovery_services_provider_id
- Model MigrationItemProperties has a new parameter replication_status
- Model RecoveryPlanA2AInput has a new parameter primary_extended_location
- Model RecoveryPlanA2AInput has a new parameter recovery_extended_location
- Model ReplicationProtectedItemProperties has a new parameter switch_provider_state
- Model ReplicationProtectedItemProperties has a new parameter switch_provider_state_description
- Model VMwareCbtEnableMigrationInput has a new parameter perform_sql_bulk_registration
- Model VMwareCbtEnableMigrationInput has a new parameter test_network_id
- Model VMwareCbtEnableMigrationInput has a new parameter test_subnet_name
- Model VMwareCbtMigrationDetails has a new parameter resume_progress_percentage
- Model VMwareCbtMigrationDetails has a new parameter resume_retry_count
- Model VMwareCbtMigrationDetails has a new parameter storage_account_id
- Model VMwareCbtMigrationDetails has a new parameter test_network_id
- Model VMwareCbtNicDetails has a new parameter test_ip_address
- Model VMwareCbtNicDetails has a new parameter test_ip_address_type
- Model VMwareCbtNicDetails has a new parameter test_network_id
- Model VMwareCbtNicDetails has a new parameter test_subnet_name
- Model VMwareCbtNicInput has a new parameter test_static_ip_address
- Model VMwareCbtNicInput has a new parameter test_subnet_name
- Model VMwareCbtProtectedDiskDetails has a new parameter seed_blob_uri
- Model VMwareCbtProtectedDiskDetails has a new parameter target_blob_uri
- Model VMwareCbtProtectionContainerMappingDetails has a new parameter role_size_to_nic_count_map
- Model VMwareCbtTestMigrateInput has a new parameter vm_nics
- Model VMwareCbtUpdateDiskInput has a new parameter is_os_disk
- Model VMwareCbtUpdateMigrationItemInput has a new parameter test_network_id
- Model VMwareDetails has a new parameter switch_provider_blocking_error_details
- Model VmmVirtualMachineDetails has a new parameter hyper_v_host_id
Breaking Changes
- Operation ReplicationProtectedItemsOperations.begin_update_mobility_service has a new required parameter replicated_protected_item_name
- Operation ReplicationProtectedItemsOperations.begin_update_mobility_service no longer has parameter replication_protected_item_name
1.0.0b1 (2021-07-28)
- 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-recoveryservicessiterecovery-1.2.0.tar.gz
.
File metadata
- Download URL: azure-mgmt-recoveryservicessiterecovery-1.2.0.tar.gz
- Upload date:
- Size: 298.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e776216d7931fe640ceac03a328be135a594b4c3fc85c46525d4e9d1a69dbd17 |
|
MD5 | 954f52f49b2e3fac0e31f60b58306954 |
|
BLAKE2b-256 | 235d3ac5f9288d54bee3031e3e1dc5022b7e38b48cb6573e4a5a69822b1e2cf1 |
File details
Details for the file azure_mgmt_recoveryservicessiterecovery-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_recoveryservicessiterecovery-1.2.0-py3-none-any.whl
- Upload date:
- Size: 415.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79cfb5f80eec2c5622e4c1a8cee80e4b80b1dd4132431e9db04f444b2895bf9f |
|
MD5 | ac409c87f1031d93006b4c4ec064756f |
|
BLAKE2b-256 | dc999333eb9a370963b92899246918814516e8ea44661b5212d6265097f63d34 |