Skip to main content

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.7+. 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

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:

Troubleshooting

Next steps

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.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


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.1.0.tar.gz.

File metadata

File hashes

Hashes for azure-mgmt-recoveryservicessiterecovery-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6720b0b4ad42594e82e4b0f553eaa17f3ceab70601fdfccc886e9b9610dacd98
MD5 408462cba95c1dd7248af9c178903ab7
BLAKE2b-256 74512179e94480d1b23a5525a9d449aa00c54b0aa18639d6ca3e9a178dba131c

See more details on using hashes here.

File details

Details for the file azure_mgmt_recoveryservicessiterecovery-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_recoveryservicessiterecovery-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbe9431769de89854e61563e7445ab9ab32fffe33545f8df5245cd5dd93a2118
MD5 fe0ccb495e3c030403842dcee3a7096b
BLAKE2b-256 c1590aa80c44fbf2d80ac5966adaf22cd297f2cea69f3ebbe66a8f00242448c0

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