Package: azure-mgmt-recoveryservicessiterecovery
Microsoft Azure SDK for PythonThis 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 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.8+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-recoveryservicessiterecovery
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.recoveryservicessiterecoveryimportSiteRecoveryManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=SiteRecoveryManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Recovery Services Site Recovery 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.2.0 (2024-02-22)Features AddedAdded operation ReplicationFabricsOperations.begin_remove_infraModel A2AEnableProtectionInput has a new parameter auto_protection_of_data_disk1.1.0 (2023-09-15)Features AddedModel A2AReplicationDetails has a new parameter churn_option_selectedModel AzureFabricSpecificDetails has a new parameter location_detailsModel FabricQueryParameter has a new parameter extended_location_mappingsModel FabricQueryParameter has a new parameter location_detailsModel HyperVReplicaAzurePlannedFailoverProviderInput has a new parameter os_upgrade_versionModel HyperVReplicaAzureReplicationDetails has a new parameter all_available_os_upgrade_configurationsModel HyperVReplicaAzureTestFailoverInput has a new parameter os_upgrade_versionModel InMageAzureV2ReplicationDetails has a new parameter all_available_os_upgrade_configurationsModel InMageAzureV2ReplicationDetails has a new parameter os_nameModel InMageAzureV2ReplicationDetails has a new parameter supported_os_versionsModel InMageAzureV2TestFailoverInput has a new parameter os_upgrade_versionModel InMageAzureV2UnplannedFailoverInput has a new parameter os_upgrade_versionModel VMwareCbtEnableMigrationInput has a new parameter confidential_vm_key_vault_idModel VMwareCbtEnableMigrationInput has a new parameter target_vm_security_profileModel VMwareCbtMigrateInput has a new parameter os_upgrade_versionModel VMwareCbtMigrationDetails has a new parameter appliance_monitoring_detailsModel VMwareCbtMigrationDetails has a new parameter confidential_vm_key_vault_idModel VMwareCbtMigrationDetails has a new parameter delta_sync_progress_percentageModel VMwareCbtMigrationDetails has a new parameter delta_sync_retry_countModel VMwareCbtMigrationDetails has a new parameter gateway_operation_detailsModel VMwareCbtMigrationDetails has a new parameter is_check_sum_resync_cycleModel VMwareCbtMigrationDetails has a new parameter operation_nameModel VMwareCbtMigrationDetails has a new parameter os_nameModel VMwareCbtMigrationDetails has a new parameter supported_os_versionsModel VMwareCbtMigrationDetails has a new parameter target_vm_security_profileModel VMwareCbtProtectedDiskDetails has a new parameter gateway_operation_detailsModel VMwareCbtProtectionContainerMappingDetails has a new parameter excluded_skusModel VMwareCbtTestMigrateInput has a new parameter os_upgrade_version1.0.0 (2022-12-15)Features AddedModel AzureFabricSpecificDetails has a new parameter extended_locationsModel RecoveryPlanA2ADetails has a new parameter primary_extended_locationModel RecoveryPlanA2ADetails has a new parameter recovery_extended_location1.0.0b2 (2022-11-18)Features AddedAdded operation ReplicationMigrationItemsOperations.begin_pause_replicationAdded operation ReplicationMigrationItemsOperations.begin_resume_replicationAdded operation ReplicationProtectedItemsOperations.begin_switch_providerAdded operation group ReplicationAppliancesOperationsModel A2AContainerMappingInput has a new parameter automation_account_authentication_typeModel A2ACreateProtectionIntentInput has a new parameter agent_auto_update_statusModel A2ACreateProtectionIntentInput has a new parameter automation_account_arm_idModel A2ACreateProtectionIntentInput has a new parameter automation_account_authentication_typeModel A2AEnableProtectionInput has a new parameter recovery_capacity_reservation_group_idModel A2AEnableProtectionInput has a new parameter recovery_extended_locationModel A2AProtectionContainerMappingDetails has a new parameter automation_account_authentication_typeModel A2AReplicationDetails has a new parameter initial_primary_extended_locationModel A2AReplicationDetails has a new parameter initial_recovery_extended_locationModel A2AReplicationDetails has a new parameter primary_extended_locationModel A2AReplicationDetails has a new parameter recovery_capacity_reservation_group_idModel A2AReplicationDetails has a new parameter recovery_extended_locationModel A2AReplicationIntentDetails has a new parameter agent_auto_update_statusModel A2AReplicationIntentDetails has a new parameter automation_account_arm_idModel A2AReplicationIntentDetails has a new parameter automation_account_authentication_typeModel A2ASwitchProtectionInput has a new parameter recovery_capacity_reservation_group_idModel A2AUpdateContainerMappingInput has a new parameter automation_account_authentication_typeModel A2AUpdateReplicationProtectedItemInput has a new parameter recovery_capacity_reservation_group_idModel HyperVVirtualMachineDetails has a new parameter hyper_v_host_idModel InMageAzureV2ProtectedDiskDetails has a new parameter seconds_to_take_switch_providerModel InMageAzureV2ReplicationDetails has a new parameter switch_provider_blocking_error_detailsModel InMageAzureV2ReplicationDetails has a new parameter switch_provider_detailsModel InMageRcmProtectedDiskDetails has a new parameter seed_blob_uriModel InMageRcmReplicationDetails has a new parameter storage_account_idModel MigrationItemProperties has a new parameter critical_job_historyModel MigrationItemProperties has a new parameter last_migration_statusModel MigrationItemProperties has a new parameter last_migration_timeModel MigrationItemProperties has a new parameter recovery_services_provider_idModel MigrationItemProperties has a new parameter replication_statusModel RecoveryPlanA2AInput has a new parameter primary_extended_locationModel RecoveryPlanA2AInput has a new parameter recovery_extended_locationModel ReplicationProtectedItemProperties has a new parameter switch_provider_stateModel ReplicationProtectedItemProperties has a new parameter switch_provider_state_descriptionModel VMwareCbtEnableMigrationInput has a new parameter perform_sql_bulk_registrationModel VMwareCbtEnableMigrationInput has a new parameter test_network_idModel VMwareCbtEnableMigrationInput has a new parameter test_subnet_nameModel VMwareCbtMigrationDetails has a new parameter resume_progress_percentageModel VMwareCbtMigrationDetails has a new parameter resume_retry_countModel VMwareCbtMigrationDetails has a new parameter storage_account_idModel VMwareCbtMigrationDetails has a new parameter test_network_idModel VMwareCbtNicDetails has a new parameter test_ip_addressModel VMwareCbtNicDetails has a new parameter test_ip_address_typeModel VMwareCbtNicDetails has a new parameter test_network_idModel VMwareCbtNicDetails has a new parameter test_subnet_nameModel VMwareCbtNicInput has a new parameter test_static_ip_addressModel VMwareCbtNicInput has a new parameter test_subnet_nameModel VMwareCbtProtectedDiskDetails has a new parameter seed_blob_uriModel VMwareCbtProtectedDiskDetails has a new parameter target_blob_uriModel VMwareCbtProtectionContainerMappingDetails has a new parameter role_size_to_nic_count_mapModel VMwareCbtTestMigrateInput has a new parameter vm_nicsModel VMwareCbtUpdateDiskInput has a new parameter is_os_diskModel VMwareCbtUpdateMigrationItemInput has a new parameter test_network_idModel VMwareDetails has a new parameter switch_provider_blocking_error_detailsModel VmmVirtualMachineDetails has a new parameter hyper_v_host_idBreaking ChangesOperation ReplicationProtectedItemsOperations.begin_update_mobility_service has a new required parameter replicated_protected_item_nameOperation ReplicationProtectedItemsOperations.begin_update_mobility_service no longer has parameter replication_protected_item_name1.0.0b1 (2021-07-28)Initial Release