From 6c72af3448073ffed6f8e2ff1eee7f94f611613d Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 21 Feb 2018 14:39:59 -0800 Subject: [PATCH] Autorest violations fixes in RecoveryServices.Backup (#1805) * Generated from ee4507de8c2ba506fb8a7a9decff67691ed4d336 * Update version.py * Updated tests and recordings for recoveryservices.backup --- .../recoveryservicesbackup/models/__init__.py | 432 +- .../models/azure_backup_server_container.py | 40 +- .../models/azure_backup_server_engine.py | 13 +- .../models/azure_file_share_backup_request.py | 37 + .../azure_file_share_protectable_item.py | 64 + .../azure_file_share_protection_policy.py | 56 + .../models/azure_file_share_recovery_point.py | 46 + .../azure_file_share_restore_request.py | 66 + .../models/azure_fileshare_protected_item.py | 101 + ..._fileshare_protected_item_extended_info.py | 39 + ...azure_iaa_sclassic_compute_vm_container.py | 29 +- ...aa_sclassic_compute_vm_protectable_item.py | 15 +- ..._iaa_sclassic_compute_vm_protected_item.py | 40 +- .../models/azure_iaa_scompute_vm_container.py | 29 +- .../azure_iaa_scompute_vm_protectable_item.py | 15 +- .../azure_iaa_scompute_vm_protected_item.py | 40 +- .../models/azure_iaa_svm_error_info.py | 3 +- .../models/azure_iaa_svm_health_details.py | 3 +- .../models/azure_iaa_svm_job.py | 21 +- .../models/azure_iaa_svm_job_extended_info.py | 7 +- .../models/azure_iaa_svm_job_task_details.py | 1 + .../models/azure_iaa_svm_protected_item.py | 45 +- ...re_iaa_svm_protected_item_extended_info.py | 1 + .../models/azure_iaa_svm_protection_policy.py | 10 +- .../azure_resource_protection_intent.py | 61 + .../models/azure_sql_container.py | 29 +- .../models/azure_sql_protected_item.py | 30 +- .../azure_sql_protected_item_extended_info.py | 1 + .../models/azure_sql_protection_policy.py | 6 +- ...workload_container_protection_container.py | 49 + .../models/azure_storage_container.py | 65 + .../models/azure_storage_error_info.py | 37 + .../models/azure_storage_job.py | 88 + .../models/azure_storage_job_extended_info.py | 38 + .../models/azure_storage_job_task_details.py | 32 + .../azure_storage_protectable_container.py | 40 + ..._vm_app_container_protectable_container.py | 40 + ...e_vm_app_container_protection_container.py | 49 + ...ure_vm_resource_feature_support_request.py | 41 + ...re_vm_resource_feature_support_response.py | 30 + .../models/azure_vm_workload_item.py | 78 + .../azure_vm_workload_protectable_item.py | 92 + ...m_workload_protected_item_extended_info.py | 39 + .../azure_vm_workload_protection_policy.py | 49 + ...sql_availability_group_protectable_item.py | 62 + ..._workload_sql_database_protectable_item.py | 61 + ...vm_workload_sql_database_protected_item.py | 125 + ..._vm_workload_sql_database_workload_item.py | 52 + ..._workload_sql_instance_protectable_item.py | 61 + ..._vm_workload_sql_instance_workload_item.py | 70 + .../models/azure_workload_backup_request.py | 48 + .../models/azure_workload_container.py | 72 + .../azure_workload_container_extended_info.py | 38 + .../models/azure_workload_error_info.py | 46 + .../models/azure_workload_job.py | 78 + .../azure_workload_job_extended_info.py | 38 + .../models/azure_workload_job_task_details.py | 32 + .../models/azure_workload_recovery_point.py | 51 + .../models/azure_workload_restore_request.py | 55 + ...rkload_sql_point_in_time_recovery_point.py | 54 + ...kload_sql_point_in_time_restore_request.py | 66 + .../azure_workload_sql_recovery_point.py | 58 + ...rkload_sql_recovery_point_extended_info.py | 35 + .../azure_workload_sql_restore_request.py | 72 + .../models/backup_engine_base.py | 19 +- .../models/backup_engine_base_resource.py | 6 +- .../models/backup_engine_extended_info.py | 1 + .../models/backup_management_usage.py | 7 +- .../models/backup_request.py | 9 +- .../models/backup_request_resource.py | 5 +- .../models/backup_resource_config.py | 17 +- .../models/backup_resource_config_resource.py | 6 +- .../models/backup_resource_vault_config.py | 21 +- .../backup_resource_vault_config_resource.py | 6 +- .../models/backup_status_request.py | 40 + .../models/backup_status_response.py | 67 + .../models/bek_details.py | 1 + .../models/bms_backup_engine_query_object.py | 1 + .../models/bms_backup_engines_query_object.py | 8 +- .../bms_backup_summaries_query_object.py | 4 +- .../models/bms_container_query_object.py | 22 +- .../bms_refresh_containers_query_object.py | 32 + .../models/bms_workload_item_query_object.py | 52 + .../models/bmspo_query_object.py | 22 +- .../models/bmsrp_query_object.py | 15 +- .../models/client_discovery_display.py | 16 +- .../client_discovery_for_log_specification.py | 5 +- .../models/client_discovery_for_properties.py | 4 +- ...ent_discovery_for_service_specification.py | 6 +- .../client_discovery_value_for_single_api.py | 21 +- ...nt_discovery_value_for_single_api_paged.py | 4 +- .../models/client_script_for_connect.py | 1 + .../models/container_identity_info.py | 41 + .../models/daily_retention_format.py | 5 +- .../models/daily_retention_schedule.py | 7 +- .../mgmt/recoveryservicesbackup/models/day.py | 1 + .../models/distributed_nodes_info.py | 37 + .../models/dpm_backup_engine.py | 13 +- .../models/dpm_container.py | 40 +- .../models/dpm_container_extended_info.py | 1 + .../models/dpm_error_info.py | 3 +- .../recoveryservicesbackup/models/dpm_job.py | 21 +- .../models/dpm_job_extended_info.py | 7 +- .../models/dpm_job_task_details.py | 1 + .../models/dpm_protected_item.py | 30 +- .../dpm_protected_item_extended_info.py | 3 +- .../models/encryption_details.py | 1 + .../models/error_detail.py | 36 + .../export_jobs_operation_result_info.py | 2 +- .../models/feature_support_request.py | 39 + .../models/generic_container.py | 59 + .../models/generic_container_extended_info.py | 37 + .../models/generic_protected_item.py | 92 + .../models/generic_protection_policy.py | 50 + .../models/generic_recovery_point.py | 2 +- .../models/get_protected_item_query_object.py | 1 + .../models/iaa_svm_container.py | 34 +- .../models/iaa_svm_protectable_item.py | 20 +- .../models/iaas_vm_backup_request.py | 2 +- .../models/iaas_vm_recovery_point.py | 13 +- .../models/iaas_vm_restore_request.py | 12 +- .../models/iaas_vmilr_registration_request.py | 2 +- .../models/ilr_request.py | 6 +- .../models/ilr_request_resource.py | 5 +- .../models/inquiry_info.py | 40 + .../models/inquiry_validation.py | 32 + .../models/instant_item_recovery_target.py | 5 +- .../mgmt/recoveryservicesbackup/models/job.py | 16 +- .../models/job_query_object.py | 15 +- .../models/job_resource.py | 5 +- .../models/kek_details.py | 1 + .../models/key_and_secret_details.py | 7 +- .../models/log_schedule_policy.py | 37 + .../models/long_term_retention_policy.py | 18 +- .../models/long_term_schedule_policy.py | 2 +- .../models/mab_container.py | 45 +- .../models/mab_container_extended_info.py | 10 +- .../models/mab_container_health_details.py | 40 + .../models/mab_error_info.py | 3 +- .../models/mab_file_folder_protected_item.py | 26 +- ...ile_folder_protected_item_extended_info.py | 1 + .../recoveryservicesbackup/models/mab_job.py | 36 +- .../models/mab_job_extended_info.py | 7 +- .../models/mab_job_task_details.py | 1 + .../models/mab_protection_policy.py | 10 +- .../models/monthly_retention_schedule.py | 18 +- .../models/name_info.py | 1 + .../models/operation_result_info.py | 4 +- .../models/operation_result_info_base.py | 6 +- .../operation_result_info_base_resource.py | 12 +- .../models/operation_status.py | 13 +- .../models/operation_status_error.py | 1 + .../models/operation_status_extended_info.py | 7 +- .../operation_status_job_extended_info.py | 2 +- .../operation_status_jobs_extended_info.py | 6 +- ...tion_status_provision_ilr_extended_info.py | 6 +- .../models/operation_worker_response.py | 9 +- .../models/point_in_time_range.py | 32 + .../models/pre_backup_validation.py | 40 + .../pre_validate_enable_backup_request.py | 50 + .../pre_validate_enable_backup_response.py | 52 + .../models/protectable_container.py | 60 + .../models/protectable_container_resource.py | 57 + .../protectable_container_resource_paged.py | 27 + .../models/protected_item.py | 29 +- .../models/protected_item_query_object.py | 29 +- .../models/protected_item_resource.py | 5 +- .../models/protection_container.py | 35 +- .../models/protection_container_resource.py | 6 +- .../models/protection_intent.py | 68 + .../models/protection_intent_resource.py | 57 + .../models/protection_policy.py | 11 +- .../models/protection_policy_query_object.py | 14 +- .../models/protection_policy_resource.py | 6 +- .../models/recovery_point.py | 9 +- .../models/recovery_point_resource.py | 5 +- .../models/recovery_point_tier_information.py | 9 +- .../recovery_services_backup_client_enums.py | 391 +- .../recoveryservicesbackup/models/resource.py | 3 +- .../models/resource_list.py | 1 + .../models/restore_file_specs.py | 36 + .../models/restore_request.py | 9 +- .../models/restore_request_resource.py | 5 +- .../models/retention_duration.py | 5 +- .../models/retention_policy.py | 6 +- .../models/schedule_policy.py | 9 +- .../recoveryservicesbackup/models/settings.py | 33 + .../models/simple_retention_policy.py | 6 +- .../models/simple_schedule_policy.py | 12 +- .../models/sql_data_directory.py | 38 + .../models/sql_data_directory_mapping.py | 42 + .../models/sub_protection_policy.py | 40 + .../models/target_afs_restore_info.py | 32 + .../models/target_restore_info.py | 39 + .../models/token_information.py | 1 + .../models/weekly_retention_format.py | 9 +- .../models/weekly_retention_schedule.py | 11 +- .../models/workload_inquiry_details.py | 39 + .../models/workload_item.py | 60 + .../models/workload_item_resource.py | 57 + .../models/workload_item_resource_paged.py | 27 + .../models/workload_protectable_item.py | 22 +- .../workload_protectable_item_resource.py | 6 +- .../models/yearly_retention_schedule.py | 22 +- .../operations/__init__.py | 30 +- .../operations/backup_engines_operations.py | 24 +- .../operations/backup_jobs_operations.py | 11 +- .../backup_operation_results_operations.py | 11 +- .../backup_operation_statuses_operations.py | 14 +- .../operations/backup_policies_operations.py | 15 +- .../backup_protectable_items_operations.py | 12 +- .../backup_protected_items_operations.py | 15 +- ...backup_protection_containers_operations.py | 12 +- ...kup_resource_storage_configs_operations.py | 33 +- ...ackup_resource_vault_configs_operations.py | 30 +- .../operations/backup_status_operations.py | 103 + .../backup_usage_summaries_operations.py | 15 +- .../backup_workload_items_operations.py | 124 + .../operations/backups_operations.py | 15 +- ...xport_jobs_operation_results_operations.py | 20 +- .../operations/feature_support_operations.py | 106 + ...m_level_recovery_connections_operations.py | 24 +- .../job_cancellations_operations.py | 11 +- .../operations/job_details_operations.py | 14 +- .../job_operation_results_operations.py | 11 +- .../operations/jobs_operations.py | 15 +- .../operations/operations.py | 12 +- .../protectable_containers_operations.py | 116 + ...ected_item_operation_results_operations.py | 15 +- ...cted_item_operation_statuses_operations.py | 14 +- .../operations/protected_items_operations.py | 37 +- ..._container_operation_results_operations.py | 15 +- ...er_refresh_operation_results_operations.py | 11 +- .../protection_containers_operations.py | 237 +- .../protection_intent_operations.py | 185 + .../protection_policies_operations.py | 41 +- ...ion_policy_operation_results_operations.py | 15 +- ...on_policy_operation_statuses_operations.py | 14 +- .../operations/recovery_points_operations.py | 24 +- .../operations/restores_operations.py | 15 +- .../operations/security_pi_ns_operations.py | 14 +- .../recovery_services_backup_client.py | 79 +- .../mgmt/recoveryservicesbackup/version.py | 3 +- .../tests/__init__.py | 0 ...coveryservices_backup.test_iaasvm_e2e.yaml | 2820 ++++++++++++ ...ryservices_backup.test_operations_api.yaml | 312 ++ .../tests/recoveryservicesbackup_testcase.py | 11 +- .../test_mgmt_recoveryservices_backup.py | 26 +- ...coveryservices_backup.test_iaasvm_e2e.yaml | 3918 ----------------- ...ryservices_backup.test_operations_api.yaml | 298 -- 250 files changed, 9705 insertions(+), 5458 deletions(-) create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_backup_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protectable_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_recovery_point.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_restore_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_resource_protection_intent.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_error_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_task_details.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_protectable_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protectable_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_response.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_backup_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_error_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_task_details.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_response.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_refresh_containers_query_object.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/container_identity_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/distributed_nodes_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/error_detail.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/feature_support_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container_extended_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protection_policy.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_validation.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/log_schedule_policy.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_health_details.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/point_in_time_range.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_backup_validation.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_response.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource_paged.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent_resource.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_file_specs.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/settings.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory_mapping.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sub_protection_policy.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_afs_restore_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_restore_info.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_inquiry_details.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource_paged.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_status_operations.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_workload_items_operations.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/feature_support_operations.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py create mode 100644 azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_intent_operations.py create mode 100644 azure-mgmt-recoveryservicesbackup/tests/__init__.py create mode 100644 azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml create mode 100644 azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml rename {azure-mgmt => azure-mgmt-recoveryservicesbackup}/tests/recoveryservicesbackup_testcase.py (98%) rename {azure-mgmt => azure-mgmt-recoveryservicesbackup}/tests/test_mgmt_recoveryservices_backup.py (88%) delete mode 100644 azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml delete mode 100644 azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py index 2557e1a753ad..588a1eaaebd6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/__init__.py @@ -9,47 +9,143 @@ # regenerated. # -------------------------------------------------------------------------- +from .azure_fileshare_protected_item_extended_info import AzureFileshareProtectedItemExtendedInfo +from .azure_fileshare_protected_item import AzureFileshareProtectedItem +from .schedule_policy import SchedulePolicy +from .retention_policy import RetentionPolicy +from .azure_file_share_protection_policy import AzureFileShareProtectionPolicy +from .azure_iaa_sclassic_compute_vm_protected_item import AzureIaaSClassicComputeVMProtectedItem +from .azure_iaa_scompute_vm_protected_item import AzureIaaSComputeVMProtectedItem from .azure_iaa_svm_error_info import AzureIaaSVMErrorInfo +from .azure_iaa_svm_health_details import AzureIaaSVMHealthDetails from .azure_iaa_svm_job_task_details import AzureIaaSVMJobTaskDetails from .azure_iaa_svm_job_extended_info import AzureIaaSVMJobExtendedInfo from .azure_iaa_svm_job import AzureIaaSVMJob +from .azure_iaa_svm_protected_item_extended_info import AzureIaaSVMProtectedItemExtendedInfo +from .azure_iaa_svm_protected_item import AzureIaaSVMProtectedItem +from .azure_iaa_svm_protection_policy import AzureIaaSVMProtectionPolicy +from .azure_resource_protection_intent import AzureResourceProtectionIntent +from .azure_sql_protected_item_extended_info import AzureSqlProtectedItemExtendedInfo +from .azure_sql_protected_item import AzureSqlProtectedItem +from .azure_sql_protection_policy import AzureSqlProtectionPolicy +from .azure_storage_error_info import AzureStorageErrorInfo +from .azure_storage_job_task_details import AzureStorageJobTaskDetails +from .azure_storage_job_extended_info import AzureStorageJobExtendedInfo +from .azure_storage_job import AzureStorageJob +from .azure_vm_resource_feature_support_request import AzureVMResourceFeatureSupportRequest +from .azure_vm_resource_feature_support_response import AzureVMResourceFeatureSupportResponse +from .azure_vm_workload_protected_item_extended_info import AzureVmWorkloadProtectedItemExtendedInfo +from .settings import Settings +from .sub_protection_policy import SubProtectionPolicy +from .azure_vm_workload_protection_policy import AzureVmWorkloadProtectionPolicy +from .error_detail import ErrorDetail +from .azure_vm_workload_sql_database_protected_item import AzureVmWorkloadSQLDatabaseProtectedItem +from .azure_workload_error_info import AzureWorkloadErrorInfo +from .azure_workload_job_task_details import AzureWorkloadJobTaskDetails +from .azure_workload_job_extended_info import AzureWorkloadJobExtendedInfo +from .azure_workload_job import AzureWorkloadJob +from .name_info import NameInfo +from .backup_management_usage import BackupManagementUsage +from .backup_status_request import BackupStatusRequest +from .backup_status_response import BackupStatusResponse +from .bms_backup_summaries_query_object import BMSBackupSummariesQueryObject +from .day import Day +from .daily_retention_format import DailyRetentionFormat +from .retention_duration import RetentionDuration +from .daily_retention_schedule import DailyRetentionSchedule from .dpm_error_info import DpmErrorInfo from .dpm_job_task_details import DpmJobTaskDetails from .dpm_job_extended_info import DpmJobExtendedInfo from .dpm_job import DpmJob +from .dpm_protected_item_extended_info import DPMProtectedItemExtendedInfo +from .dpm_protected_item import DPMProtectedItem +from .export_jobs_operation_result_info import ExportJobsOperationResultInfo +from .feature_support_request import FeatureSupportRequest +from .generic_protected_item import GenericProtectedItem +from .generic_protection_policy import GenericProtectionPolicy from .job import Job from .job_query_object import JobQueryObject from .job_resource import JobResource +from .log_schedule_policy import LogSchedulePolicy +from .weekly_retention_schedule import WeeklyRetentionSchedule +from .weekly_retention_format import WeeklyRetentionFormat +from .monthly_retention_schedule import MonthlyRetentionSchedule +from .yearly_retention_schedule import YearlyRetentionSchedule +from .long_term_retention_policy import LongTermRetentionPolicy +from .long_term_schedule_policy import LongTermSchedulePolicy from .mab_error_info import MabErrorInfo +from .mab_file_folder_protected_item_extended_info import MabFileFolderProtectedItemExtendedInfo +from .mab_file_folder_protected_item import MabFileFolderProtectedItem from .mab_job_task_details import MabJobTaskDetails from .mab_job_extended_info import MabJobExtendedInfo from .mab_job import MabJob +from .mab_protection_policy import MabProtectionPolicy +from .operation_result_info import OperationResultInfo +from .operation_result_info_base import OperationResultInfoBase +from .operation_result_info_base_resource import OperationResultInfoBaseResource +from .operation_worker_response import OperationWorkerResponse +from .pre_validate_enable_backup_request import PreValidateEnableBackupRequest +from .pre_validate_enable_backup_response import PreValidateEnableBackupResponse +from .protected_item import ProtectedItem +from .protected_item_query_object import ProtectedItemQueryObject +from .protected_item_resource import ProtectedItemResource +from .protection_intent import ProtectionIntent +from .protection_intent_resource import ProtectionIntentResource +from .protection_policy import ProtectionPolicy +from .protection_policy_query_object import ProtectionPolicyQueryObject +from .protection_policy_resource import ProtectionPolicyResource from .resource import Resource from .resource_list import ResourceList +from .simple_retention_policy import SimpleRetentionPolicy +from .simple_schedule_policy import SimpleSchedulePolicy from .dpm_container_extended_info import DPMContainerExtendedInfo from .azure_backup_server_container import AzureBackupServerContainer from .azure_backup_server_engine import AzureBackupServerEngine +from .azure_file_share_backup_request import AzureFileShareBackupRequest +from .azure_file_share_protectable_item import AzureFileShareProtectableItem +from .azure_file_share_recovery_point import AzureFileShareRecoveryPoint +from .restore_file_specs import RestoreFileSpecs +from .target_afs_restore_info import TargetAFSRestoreInfo +from .azure_file_share_restore_request import AzureFileShareRestoreRequest from .azure_iaa_sclassic_compute_vm_container import AzureIaaSClassicComputeVMContainer from .azure_iaa_sclassic_compute_vm_protectable_item import AzureIaaSClassicComputeVMProtectableItem -from .azure_iaa_sclassic_compute_vm_protected_item import AzureIaaSClassicComputeVMProtectedItem from .azure_iaa_scompute_vm_container import AzureIaaSComputeVMContainer from .azure_iaa_scompute_vm_protectable_item import AzureIaaSComputeVMProtectableItem -from .azure_iaa_scompute_vm_protected_item import AzureIaaSComputeVMProtectedItem -from .azure_iaa_svm_health_details import AzureIaaSVMHealthDetails -from .azure_iaa_svm_protected_item_extended_info import AzureIaaSVMProtectedItemExtendedInfo -from .azure_iaa_svm_protected_item import AzureIaaSVMProtectedItem -from .schedule_policy import SchedulePolicy -from .retention_policy import RetentionPolicy -from .azure_iaa_svm_protection_policy import AzureIaaSVMProtectionPolicy +from .azure_sqlag_workload_container_protection_container import AzureSQLAGWorkloadContainerProtectionContainer from .azure_sql_container import AzureSqlContainer -from .azure_sql_protected_item_extended_info import AzureSqlProtectedItemExtendedInfo -from .azure_sql_protected_item import AzureSqlProtectedItem -from .azure_sql_protection_policy import AzureSqlProtectionPolicy +from .azure_storage_container import AzureStorageContainer +from .azure_storage_protectable_container import AzureStorageProtectableContainer +from .azure_vm_app_container_protectable_container import AzureVMAppContainerProtectableContainer +from .azure_vm_app_container_protection_container import AzureVMAppContainerProtectionContainer +from .azure_vm_workload_item import AzureVmWorkloadItem +from .pre_backup_validation import PreBackupValidation +from .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem +from .azure_vm_workload_sql_availability_group_protectable_item import AzureVmWorkloadSQLAvailabilityGroupProtectableItem +from .azure_vm_workload_sql_database_protectable_item import AzureVmWorkloadSQLDatabaseProtectableItem +from .azure_vm_workload_sql_database_workload_item import AzureVmWorkloadSQLDatabaseWorkloadItem +from .azure_vm_workload_sql_instance_protectable_item import AzureVmWorkloadSQLInstanceProtectableItem +from .sql_data_directory import SQLDataDirectory +from .azure_vm_workload_sql_instance_workload_item import AzureVmWorkloadSQLInstanceWorkloadItem +from .azure_workload_backup_request import AzureWorkloadBackupRequest +from .inquiry_validation import InquiryValidation +from .workload_inquiry_details import WorkloadInquiryDetails +from .inquiry_info import InquiryInfo +from .distributed_nodes_info import DistributedNodesInfo +from .azure_workload_container_extended_info import AzureWorkloadContainerExtendedInfo +from .azure_workload_container import AzureWorkloadContainer +from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint +from .azure_workload_restore_request import AzureWorkloadRestoreRequest +from .point_in_time_range import PointInTimeRange +from .azure_workload_sql_point_in_time_recovery_point import AzureWorkloadSQLPointInTimeRecoveryPoint +from .azure_workload_sql_point_in_time_restore_request import AzureWorkloadSQLPointInTimeRestoreRequest +from .azure_workload_sql_recovery_point_extended_info import AzureWorkloadSQLRecoveryPointExtendedInfo +from .azure_workload_sql_recovery_point import AzureWorkloadSQLRecoveryPoint +from .target_restore_info import TargetRestoreInfo +from .sql_data_directory_mapping import SQLDataDirectoryMapping +from .azure_workload_sql_restore_request import AzureWorkloadSQLRestoreRequest from .backup_engine_extended_info import BackupEngineExtendedInfo from .backup_engine_base import BackupEngineBase from .backup_engine_base_resource import BackupEngineBaseResource -from .name_info import NameInfo -from .backup_management_usage import BackupManagementUsage from .backup_request import BackupRequest from .backup_request_resource import BackupRequestResource from .backup_resource_config import BackupResourceConfig @@ -59,21 +155,18 @@ from .bek_details import BEKDetails from .bms_backup_engine_query_object import BMSBackupEngineQueryObject from .bms_backup_engines_query_object import BMSBackupEnginesQueryObject -from .bms_backup_summaries_query_object import BMSBackupSummariesQueryObject from .bms_container_query_object import BMSContainerQueryObject from .bmspo_query_object import BMSPOQueryObject +from .bms_refresh_containers_query_object import BMSRefreshContainersQueryObject from .bmsrp_query_object import BMSRPQueryObject +from .bms_workload_item_query_object import BMSWorkloadItemQueryObject from .client_script_for_connect import ClientScriptForConnect -from .day import Day -from .daily_retention_format import DailyRetentionFormat -from .retention_duration import RetentionDuration -from .daily_retention_schedule import DailyRetentionSchedule +from .container_identity_info import ContainerIdentityInfo from .dpm_backup_engine import DpmBackupEngine from .dpm_container import DpmContainer -from .dpm_protected_item_extended_info import DPMProtectedItemExtendedInfo -from .dpm_protected_item import DPMProtectedItem from .encryption_details import EncryptionDetails -from .export_jobs_operation_result_info import ExportJobsOperationResultInfo +from .generic_container_extended_info import GenericContainerExtendedInfo +from .generic_container import GenericContainer from .generic_recovery_point import GenericRecoveryPoint from .get_protected_item_query_object import GetProtectedItemQueryObject from .iaas_vm_backup_request import IaasVMBackupRequest @@ -88,42 +181,26 @@ from .ilr_request import ILRRequest from .ilr_request_resource import ILRRequestResource from .instant_item_recovery_target import InstantItemRecoveryTarget -from .weekly_retention_schedule import WeeklyRetentionSchedule -from .weekly_retention_format import WeeklyRetentionFormat -from .monthly_retention_schedule import MonthlyRetentionSchedule -from .yearly_retention_schedule import YearlyRetentionSchedule -from .long_term_retention_policy import LongTermRetentionPolicy -from .long_term_schedule_policy import LongTermSchedulePolicy from .mab_container_extended_info import MabContainerExtendedInfo +from .mab_container_health_details import MABContainerHealthDetails from .mab_container import MabContainer -from .mab_file_folder_protected_item_extended_info import MabFileFolderProtectedItemExtendedInfo -from .mab_file_folder_protected_item import MabFileFolderProtectedItem -from .mab_protection_policy import MabProtectionPolicy -from .operation_result_info import OperationResultInfo -from .operation_result_info_base import OperationResultInfoBase -from .operation_result_info_base_resource import OperationResultInfoBaseResource from .operation_status_error import OperationStatusError from .operation_status_extended_info import OperationStatusExtendedInfo from .operation_status import OperationStatus from .operation_status_job_extended_info import OperationStatusJobExtendedInfo from .operation_status_jobs_extended_info import OperationStatusJobsExtendedInfo from .operation_status_provision_ilr_extended_info import OperationStatusProvisionILRExtendedInfo -from .operation_worker_response import OperationWorkerResponse -from .protected_item import ProtectedItem -from .protected_item_query_object import ProtectedItemQueryObject -from .protected_item_resource import ProtectedItemResource +from .protectable_container import ProtectableContainer +from .protectable_container_resource import ProtectableContainerResource from .protection_container import ProtectionContainer from .protection_container_resource import ProtectionContainerResource -from .protection_policy import ProtectionPolicy -from .protection_policy_query_object import ProtectionPolicyQueryObject -from .protection_policy_resource import ProtectionPolicyResource from .recovery_point import RecoveryPoint from .recovery_point_resource import RecoveryPointResource from .restore_request import RestoreRequest from .restore_request_resource import RestoreRequestResource -from .simple_retention_policy import SimpleRetentionPolicy -from .simple_schedule_policy import SimpleSchedulePolicy from .token_information import TokenInformation +from .workload_item import WorkloadItem +from .workload_item_resource import WorkloadItemResource from .workload_protectable_item import WorkloadProtectableItem from .workload_protectable_item_resource import WorkloadProtectableItemResource from .client_discovery_display import ClientDiscoveryDisplay @@ -132,89 +209,202 @@ from .client_discovery_for_properties import ClientDiscoveryForProperties from .client_discovery_value_for_single_api import ClientDiscoveryValueForSingleApi from .job_resource_paged import JobResourcePaged +from .protection_policy_resource_paged import ProtectionPolicyResourcePaged +from .protected_item_resource_paged import ProtectedItemResourcePaged +from .backup_management_usage_paged import BackupManagementUsagePaged from .backup_engine_base_resource_paged import BackupEngineBaseResourcePaged +from .protectable_container_resource_paged import ProtectableContainerResourcePaged +from .workload_item_resource_paged import WorkloadItemResourcePaged from .recovery_point_resource_paged import RecoveryPointResourcePaged -from .protection_policy_resource_paged import ProtectionPolicyResourcePaged from .workload_protectable_item_resource_paged import WorkloadProtectableItemResourcePaged -from .protected_item_resource_paged import ProtectedItemResourcePaged from .protection_container_resource_paged import ProtectionContainerResourcePaged -from .backup_management_usage_paged import BackupManagementUsagePaged from .client_discovery_value_for_single_api_paged import ClientDiscoveryValueForSingleApiPaged from .recovery_services_backup_client_enums import ( + ProtectionState, + HealthStatus, JobSupportedAction, + ProtectedItemState, + SupportStatus, + LastBackupStatus, + ProtectedItemHealthStatus, + UsagesUnit, + DataSourceType, + ProtectionStatus, + FabricName, + Type, + RetentionDurationType, BackupManagementType, JobStatus, JobOperationType, + DayOfWeek, + RetentionScheduleFormat, + WeekOfMonth, + MonthOfYear, MabServerType, WorkloadType, - ProtectionState, - HealthStatus, - ProtectedItemState, - UsagesUnit, + HttpStatusCode, + ValidationStatus, + HealthState, + ScheduleRunType, + AzureFileShareType, + RecoveryType, + CopyOptions, + RestoreRequestType, + InquiryStatus, + SQLDataDirectoryType, + BackupType, + RestorePointType, + OverwriteOptions, StorageType, StorageTypeState, EnhancedSecurityState, - Type, ContainerType, - RetentionDurationType, + RestorePointQueryType, + WorkloadItemType, RecoveryPointTierType, RecoveryPointTierStatus, - RecoveryType, - DayOfWeek, - RetentionScheduleFormat, - WeekOfMonth, - MonthOfYear, BackupItemType, OperationStatusValues, - HttpStatusCode, - DataSourceType, - HealthState, - ScheduleRunType, - ProtectionStatus, ) __all__ = [ + 'AzureFileshareProtectedItemExtendedInfo', + 'AzureFileshareProtectedItem', + 'SchedulePolicy', + 'RetentionPolicy', + 'AzureFileShareProtectionPolicy', + 'AzureIaaSClassicComputeVMProtectedItem', + 'AzureIaaSComputeVMProtectedItem', 'AzureIaaSVMErrorInfo', + 'AzureIaaSVMHealthDetails', 'AzureIaaSVMJobTaskDetails', 'AzureIaaSVMJobExtendedInfo', 'AzureIaaSVMJob', + 'AzureIaaSVMProtectedItemExtendedInfo', + 'AzureIaaSVMProtectedItem', + 'AzureIaaSVMProtectionPolicy', + 'AzureResourceProtectionIntent', + 'AzureSqlProtectedItemExtendedInfo', + 'AzureSqlProtectedItem', + 'AzureSqlProtectionPolicy', + 'AzureStorageErrorInfo', + 'AzureStorageJobTaskDetails', + 'AzureStorageJobExtendedInfo', + 'AzureStorageJob', + 'AzureVMResourceFeatureSupportRequest', + 'AzureVMResourceFeatureSupportResponse', + 'AzureVmWorkloadProtectedItemExtendedInfo', + 'Settings', + 'SubProtectionPolicy', + 'AzureVmWorkloadProtectionPolicy', + 'ErrorDetail', + 'AzureVmWorkloadSQLDatabaseProtectedItem', + 'AzureWorkloadErrorInfo', + 'AzureWorkloadJobTaskDetails', + 'AzureWorkloadJobExtendedInfo', + 'AzureWorkloadJob', + 'NameInfo', + 'BackupManagementUsage', + 'BackupStatusRequest', + 'BackupStatusResponse', + 'BMSBackupSummariesQueryObject', + 'Day', + 'DailyRetentionFormat', + 'RetentionDuration', + 'DailyRetentionSchedule', 'DpmErrorInfo', 'DpmJobTaskDetails', 'DpmJobExtendedInfo', 'DpmJob', + 'DPMProtectedItemExtendedInfo', + 'DPMProtectedItem', + 'ExportJobsOperationResultInfo', + 'FeatureSupportRequest', + 'GenericProtectedItem', + 'GenericProtectionPolicy', 'Job', 'JobQueryObject', 'JobResource', + 'LogSchedulePolicy', + 'WeeklyRetentionSchedule', + 'WeeklyRetentionFormat', + 'MonthlyRetentionSchedule', + 'YearlyRetentionSchedule', + 'LongTermRetentionPolicy', + 'LongTermSchedulePolicy', 'MabErrorInfo', + 'MabFileFolderProtectedItemExtendedInfo', + 'MabFileFolderProtectedItem', 'MabJobTaskDetails', 'MabJobExtendedInfo', 'MabJob', + 'MabProtectionPolicy', + 'OperationResultInfo', + 'OperationResultInfoBase', + 'OperationResultInfoBaseResource', + 'OperationWorkerResponse', + 'PreValidateEnableBackupRequest', + 'PreValidateEnableBackupResponse', + 'ProtectedItem', + 'ProtectedItemQueryObject', + 'ProtectedItemResource', + 'ProtectionIntent', + 'ProtectionIntentResource', + 'ProtectionPolicy', + 'ProtectionPolicyQueryObject', + 'ProtectionPolicyResource', 'Resource', 'ResourceList', + 'SimpleRetentionPolicy', + 'SimpleSchedulePolicy', 'DPMContainerExtendedInfo', 'AzureBackupServerContainer', 'AzureBackupServerEngine', + 'AzureFileShareBackupRequest', + 'AzureFileShareProtectableItem', + 'AzureFileShareRecoveryPoint', + 'RestoreFileSpecs', + 'TargetAFSRestoreInfo', + 'AzureFileShareRestoreRequest', 'AzureIaaSClassicComputeVMContainer', 'AzureIaaSClassicComputeVMProtectableItem', - 'AzureIaaSClassicComputeVMProtectedItem', 'AzureIaaSComputeVMContainer', 'AzureIaaSComputeVMProtectableItem', - 'AzureIaaSComputeVMProtectedItem', - 'AzureIaaSVMHealthDetails', - 'AzureIaaSVMProtectedItemExtendedInfo', - 'AzureIaaSVMProtectedItem', - 'SchedulePolicy', - 'RetentionPolicy', - 'AzureIaaSVMProtectionPolicy', + 'AzureSQLAGWorkloadContainerProtectionContainer', 'AzureSqlContainer', - 'AzureSqlProtectedItemExtendedInfo', - 'AzureSqlProtectedItem', - 'AzureSqlProtectionPolicy', + 'AzureStorageContainer', + 'AzureStorageProtectableContainer', + 'AzureVMAppContainerProtectableContainer', + 'AzureVMAppContainerProtectionContainer', + 'AzureVmWorkloadItem', + 'PreBackupValidation', + 'AzureVmWorkloadProtectableItem', + 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', + 'AzureVmWorkloadSQLDatabaseProtectableItem', + 'AzureVmWorkloadSQLDatabaseWorkloadItem', + 'AzureVmWorkloadSQLInstanceProtectableItem', + 'SQLDataDirectory', + 'AzureVmWorkloadSQLInstanceWorkloadItem', + 'AzureWorkloadBackupRequest', + 'InquiryValidation', + 'WorkloadInquiryDetails', + 'InquiryInfo', + 'DistributedNodesInfo', + 'AzureWorkloadContainerExtendedInfo', + 'AzureWorkloadContainer', + 'AzureWorkloadRecoveryPoint', + 'AzureWorkloadRestoreRequest', + 'PointInTimeRange', + 'AzureWorkloadSQLPointInTimeRecoveryPoint', + 'AzureWorkloadSQLPointInTimeRestoreRequest', + 'AzureWorkloadSQLRecoveryPointExtendedInfo', + 'AzureWorkloadSQLRecoveryPoint', + 'TargetRestoreInfo', + 'SQLDataDirectoryMapping', + 'AzureWorkloadSQLRestoreRequest', 'BackupEngineExtendedInfo', 'BackupEngineBase', 'BackupEngineBaseResource', - 'NameInfo', - 'BackupManagementUsage', 'BackupRequest', 'BackupRequestResource', 'BackupResourceConfig', @@ -224,21 +414,18 @@ 'BEKDetails', 'BMSBackupEngineQueryObject', 'BMSBackupEnginesQueryObject', - 'BMSBackupSummariesQueryObject', 'BMSContainerQueryObject', 'BMSPOQueryObject', + 'BMSRefreshContainersQueryObject', 'BMSRPQueryObject', + 'BMSWorkloadItemQueryObject', 'ClientScriptForConnect', - 'Day', - 'DailyRetentionFormat', - 'RetentionDuration', - 'DailyRetentionSchedule', + 'ContainerIdentityInfo', 'DpmBackupEngine', 'DpmContainer', - 'DPMProtectedItemExtendedInfo', - 'DPMProtectedItem', 'EncryptionDetails', - 'ExportJobsOperationResultInfo', + 'GenericContainerExtendedInfo', + 'GenericContainer', 'GenericRecoveryPoint', 'GetProtectedItemQueryObject', 'IaasVMBackupRequest', @@ -253,42 +440,26 @@ 'ILRRequest', 'ILRRequestResource', 'InstantItemRecoveryTarget', - 'WeeklyRetentionSchedule', - 'WeeklyRetentionFormat', - 'MonthlyRetentionSchedule', - 'YearlyRetentionSchedule', - 'LongTermRetentionPolicy', - 'LongTermSchedulePolicy', 'MabContainerExtendedInfo', + 'MABContainerHealthDetails', 'MabContainer', - 'MabFileFolderProtectedItemExtendedInfo', - 'MabFileFolderProtectedItem', - 'MabProtectionPolicy', - 'OperationResultInfo', - 'OperationResultInfoBase', - 'OperationResultInfoBaseResource', 'OperationStatusError', 'OperationStatusExtendedInfo', 'OperationStatus', 'OperationStatusJobExtendedInfo', 'OperationStatusJobsExtendedInfo', 'OperationStatusProvisionILRExtendedInfo', - 'OperationWorkerResponse', - 'ProtectedItem', - 'ProtectedItemQueryObject', - 'ProtectedItemResource', + 'ProtectableContainer', + 'ProtectableContainerResource', 'ProtectionContainer', 'ProtectionContainerResource', - 'ProtectionPolicy', - 'ProtectionPolicyQueryObject', - 'ProtectionPolicyResource', 'RecoveryPoint', 'RecoveryPointResource', 'RestoreRequest', 'RestoreRequestResource', - 'SimpleRetentionPolicy', - 'SimpleSchedulePolicy', 'TokenInformation', + 'WorkloadItem', + 'WorkloadItemResource', 'WorkloadProtectableItem', 'WorkloadProtectableItemResource', 'ClientDiscoveryDisplay', @@ -297,42 +468,59 @@ 'ClientDiscoveryForProperties', 'ClientDiscoveryValueForSingleApi', 'JobResourcePaged', + 'ProtectionPolicyResourcePaged', + 'ProtectedItemResourcePaged', + 'BackupManagementUsagePaged', 'BackupEngineBaseResourcePaged', + 'ProtectableContainerResourcePaged', + 'WorkloadItemResourcePaged', 'RecoveryPointResourcePaged', - 'ProtectionPolicyResourcePaged', 'WorkloadProtectableItemResourcePaged', - 'ProtectedItemResourcePaged', 'ProtectionContainerResourcePaged', - 'BackupManagementUsagePaged', 'ClientDiscoveryValueForSingleApiPaged', + 'ProtectionState', + 'HealthStatus', 'JobSupportedAction', + 'ProtectedItemState', + 'SupportStatus', + 'LastBackupStatus', + 'ProtectedItemHealthStatus', + 'UsagesUnit', + 'DataSourceType', + 'ProtectionStatus', + 'FabricName', + 'Type', + 'RetentionDurationType', 'BackupManagementType', 'JobStatus', 'JobOperationType', + 'DayOfWeek', + 'RetentionScheduleFormat', + 'WeekOfMonth', + 'MonthOfYear', 'MabServerType', 'WorkloadType', - 'ProtectionState', - 'HealthStatus', - 'ProtectedItemState', - 'UsagesUnit', + 'HttpStatusCode', + 'ValidationStatus', + 'HealthState', + 'ScheduleRunType', + 'AzureFileShareType', + 'RecoveryType', + 'CopyOptions', + 'RestoreRequestType', + 'InquiryStatus', + 'SQLDataDirectoryType', + 'BackupType', + 'RestorePointType', + 'OverwriteOptions', 'StorageType', 'StorageTypeState', 'EnhancedSecurityState', - 'Type', 'ContainerType', - 'RetentionDurationType', + 'RestorePointQueryType', + 'WorkloadItemType', 'RecoveryPointTierType', 'RecoveryPointTierStatus', - 'RecoveryType', - 'DayOfWeek', - 'RetentionScheduleFormat', - 'WeekOfMonth', - 'MonthOfYear', 'BackupItemType', 'OperationStatusValues', - 'HttpStatusCode', - 'DataSourceType', - 'HealthState', - 'ScheduleRunType', - 'ProtectionStatus', ] diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py index 29dfcd397c49..ef9156d27949 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_container.py @@ -15,33 +15,21 @@ class AzureBackupServerContainer(ProtectionContainer): """AzureBackupServer (DPMVenus) workload-specific protection container. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param can_re_register: Specifies whether the container is re-registrable. :type can_re_register: bool :param container_id: ID of container. @@ -51,19 +39,18 @@ class AzureBackupServerContainer(ProtectionContainer): :param dpm_agent_version: Backup engine Agent version :type dpm_agent_version: str :param dpm_servers: List of BackupEngines protecting the container - :type dpm_servers: list of str + :type dpm_servers: list[str] :param upgrade_available: To check if upgrade available :type upgrade_available: bool :param protection_status: Protection status of the container. :type protection_status: str :param extended_info: Extended Info of the container. - :type extended_info: :class:`DPMContainerExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.DPMContainerExtendedInfo """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } _attribute_map = { @@ -72,13 +59,12 @@ class AzureBackupServerContainer(ProtectionContainer): 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, 'health_status': {'key': 'healthStatus', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, - 'protectable_object_type': {'key': 'protectableObjectType', 'type': 'str'}, 'can_re_register': {'key': 'canReRegister', 'type': 'bool'}, 'container_id': {'key': 'containerId', 'type': 'str'}, 'protected_item_count': {'key': 'protectedItemCount', 'type': 'long'}, 'dpm_agent_version': {'key': 'dpmAgentVersion', 'type': 'str'}, - 'dpm_servers': {'key': 'DPMServers', 'type': '[str]'}, - 'upgrade_available': {'key': 'UpgradeAvailable', 'type': 'bool'}, + 'dpm_servers': {'key': 'dpmServers', 'type': '[str]'}, + 'upgrade_available': {'key': 'upgradeAvailable', 'type': 'bool'}, 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, 'extended_info': {'key': 'extendedInfo', 'type': 'DPMContainerExtendedInfo'}, } @@ -93,4 +79,4 @@ def __init__(self, friendly_name=None, backup_management_type=None, registration self.upgrade_available = upgrade_available self.protection_status = protection_status self.extended_info = extended_info - self.protectable_object_type = 'AzureBackupServerContainer' + self.container_type = 'AzureBackupServerContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py index 31e58543fa4c..45c015a9ef45 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_backup_server_engine.py @@ -19,9 +19,10 @@ class AzureBackupServerEngine(BackupEngineBase): :type friendly_name: str :param backup_management_type: Type of backup management for the backup engine. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Registration status of the backup engine with the Recovery Services Vault. :type registration_status: str @@ -46,9 +47,9 @@ class AzureBackupServerEngine(BackupEngineBase): available :type is_dpm_upgrade_available: bool :param extended_info: Extended info of the backupengine - :type extended_info: :class:`BackupEngineExtendedInfo - ` - :param backup_engine_type: Polymorphic Discriminator + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo + :param backup_engine_type: Constant filled by server. :type backup_engine_type: str """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_backup_request.py new file mode 100644 index 000000000000..2d3b8dcc29d0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_backup_request.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .backup_request import BackupRequest + + +class AzureFileShareBackupRequest(BackupRequest): + """AzureFileShare workload-specific backup request. + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_point_expiry_time_in_utc: Backup copy will expire after + the time specified (UTC). + :type recovery_point_expiry_time_in_utc: datetime + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_expiry_time_in_utc': {'key': 'recoveryPointExpiryTimeInUTC', 'type': 'iso-8601'}, + } + + def __init__(self, recovery_point_expiry_time_in_utc=None): + super(AzureFileShareBackupRequest, self).__init__() + self.recovery_point_expiry_time_in_utc = recovery_point_expiry_time_in_utc + self.object_type = 'AzureFileShareBackupRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protectable_item.py new file mode 100644 index 000000000000..8c2ac213205e --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protectable_item.py @@ -0,0 +1,64 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .workload_protectable_item import WorkloadProtectableItem + + +class AzureFileShareProtectableItem(WorkloadProtectableItem): + """Protectable item for Azure Fileshare workloads. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. + :type protectable_item_type: str + :param parent_container_fabric_id: Full Fabric ID of container to which + this protectable item belongs. For example, ARM ID. + :type parent_container_fabric_id: str + :param parent_container_friendly_name: Friendly name of container to which + this protectable item belongs. + :type parent_container_friendly_name: str + :param azure_file_share_type: File Share type XSync or XSMB. Possible + values include: 'Invalid', 'XSMB', 'XSync' + :type azure_file_share_type: str or + ~azure.mgmt.recoveryservicesbackup.models.AzureFileShareType + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_container_fabric_id': {'key': 'parentContainerFabricId', 'type': 'str'}, + 'parent_container_friendly_name': {'key': 'parentContainerFriendlyName', 'type': 'str'}, + 'azure_file_share_type': {'key': 'azureFileShareType', 'type': 'str'}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_container_fabric_id=None, parent_container_friendly_name=None, azure_file_share_type=None): + super(AzureFileShareProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state) + self.parent_container_fabric_id = parent_container_fabric_id + self.parent_container_friendly_name = parent_container_friendly_name + self.azure_file_share_type = azure_file_share_type + self.protectable_item_type = 'AzureFileShare' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py new file mode 100644 index 000000000000..e245120670ee --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_protection_policy.py @@ -0,0 +1,56 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_policy import ProtectionPolicy + + +class AzureFileShareProtectionPolicy(ProtectionPolicy): + """AzureStorage backup policy. + + :param protected_items_count: Number of items associated with this policy. + :type protected_items_count: int + :param backup_management_type: Constant filled by server. + :type backup_management_type: str + :param work_load_type: Type of workload for the backup management + :type work_load_type: str + :param schedule_policy: Backup schedule specified as part of backup + policy. + :type schedule_policy: + ~azure.mgmt.recoveryservicesbackup.models.SchedulePolicy + :param retention_policy: Retention policy with the details on backup copy + retention ranges. + :type retention_policy: + ~azure.mgmt.recoveryservicesbackup.models.RetentionPolicy + :param time_zone: TimeZone optional input as string. For example: TimeZone + = "Pacific Standard Time". + :type time_zone: str + """ + + _validation = { + 'backup_management_type': {'required': True}, + } + + _attribute_map = { + 'protected_items_count': {'key': 'protectedItemsCount', 'type': 'int'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'work_load_type': {'key': 'workLoadType', 'type': 'str'}, + 'schedule_policy': {'key': 'schedulePolicy', 'type': 'SchedulePolicy'}, + 'retention_policy': {'key': 'retentionPolicy', 'type': 'RetentionPolicy'}, + 'time_zone': {'key': 'timeZone', 'type': 'str'}, + } + + def __init__(self, protected_items_count=None, work_load_type=None, schedule_policy=None, retention_policy=None, time_zone=None): + super(AzureFileShareProtectionPolicy, self).__init__(protected_items_count=protected_items_count) + self.work_load_type = work_load_type + self.schedule_policy = schedule_policy + self.retention_policy = retention_policy + self.time_zone = time_zone + self.backup_management_type = 'AzureStorage' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_recovery_point.py new file mode 100644 index 000000000000..e094923284e4 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_recovery_point.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .recovery_point import RecoveryPoint + + +class AzureFileShareRecoveryPoint(RecoveryPoint): + """Azure File Share workload specific backup copy. + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_point_type: Type of the backup copy. Specifies whether it + is a crash consistent backup or app consistent. + :type recovery_point_type: str + :param recovery_point_time: Time at which this backup copy was created. + :type recovery_point_time: datetime + :param file_share_snapshot_uri: Contains Url to the snapshot of fileshare, + if applicable + :type file_share_snapshot_uri: str + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_type': {'key': 'recoveryPointType', 'type': 'str'}, + 'recovery_point_time': {'key': 'recoveryPointTime', 'type': 'iso-8601'}, + 'file_share_snapshot_uri': {'key': 'fileShareSnapshotUri', 'type': 'str'}, + } + + def __init__(self, recovery_point_type=None, recovery_point_time=None, file_share_snapshot_uri=None): + super(AzureFileShareRecoveryPoint, self).__init__() + self.recovery_point_type = recovery_point_type + self.recovery_point_time = recovery_point_time + self.file_share_snapshot_uri = file_share_snapshot_uri + self.object_type = 'AzureFileShareRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_restore_request.py new file mode 100644 index 000000000000..1b1e58f59dc1 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_file_share_restore_request.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .restore_request import RestoreRequest + + +class AzureFileShareRestoreRequest(RestoreRequest): + """AzureFileShare Restore Request. + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_type: Type of this recovery. Possible values include: + 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Source storage account ARM Id + :type source_resource_id: str + :param copy_options: Options to resolve copy conflicts. Possible values + include: 'Invalid', 'CreateCopy', 'Skip', 'Overwrite', 'FailOnConflict' + :type copy_options: str or + ~azure.mgmt.recoveryservicesbackup.models.CopyOptions + :param restore_request_type: Restore Type (FullShareRestore or + ItemLevelRestore). Possible values include: 'Invalid', 'FullShareRestore', + 'ItemLevelRestore' + :type restore_request_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestoreRequestType + :param restore_file_specs: List of Source Files/Folders(which need to + recover) and TargetFolderPath details + :type restore_file_specs: + list[~azure.mgmt.recoveryservicesbackup.models.RestoreFileSpecs] + :param target_details: Target File Share Details + :type target_details: + ~azure.mgmt.recoveryservicesbackup.models.TargetAFSRestoreInfo + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'copy_options': {'key': 'copyOptions', 'type': 'str'}, + 'restore_request_type': {'key': 'restoreRequestType', 'type': 'str'}, + 'restore_file_specs': {'key': 'restoreFileSpecs', 'type': '[RestoreFileSpecs]'}, + 'target_details': {'key': 'targetDetails', 'type': 'TargetAFSRestoreInfo'}, + } + + def __init__(self, recovery_type=None, source_resource_id=None, copy_options=None, restore_request_type=None, restore_file_specs=None, target_details=None): + super(AzureFileShareRestoreRequest, self).__init__() + self.recovery_type = recovery_type + self.source_resource_id = source_resource_id + self.copy_options = copy_options + self.restore_request_type = restore_request_type + self.restore_file_specs = restore_file_specs + self.target_details = target_details + self.object_type = 'AzureFileShareRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py new file mode 100644 index 000000000000..dfd80aeb8c8f --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protected_item import ProtectedItem + + +class AzureFileshareProtectedItem(ProtectedItem): + """Azure File Share workload-specific backup item. + + :param backup_management_type: Type of backup managemenent for the backed + up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Type of workload this item represents. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param container_name: Unique name of container + :type container_name: str + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param last_recovery_point: Timestamp when the last (latest) backup copy + was created for this backup item. + :type last_recovery_point: datetime + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. + :type protected_item_type: str + :param friendly_name: Friendly name of the fileshare represented by this + backup item. + :type friendly_name: str + :param protection_status: Backup status of this backup item. + :type protection_status: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + 'ProtectionStopped', 'ProtectionPaused' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState + :param health_status: backups running status for this backup item. + Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', + 'Invalid' + :type health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.HealthStatus + :param last_backup_status: Last backup operation status. Possible values: + Healthy, Unhealthy. + :type last_backup_status: str + :param last_backup_time: Timestamp of the last backup operation on this + backup item. + :type last_backup_time: datetime + :param extended_info: Additional information with this backup item. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureFileshareProtectedItemExtendedInfo + """ + + _validation = { + 'protected_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, + 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'health_status': {'key': 'healthStatus', 'type': 'str'}, + 'last_backup_status': {'key': 'lastBackupStatus', 'type': 'str'}, + 'last_backup_time': {'key': 'lastBackupTime', 'type': 'iso-8601'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureFileshareProtectedItemExtendedInfo'}, + } + + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, protection_status=None, protection_state=None, health_status=None, last_backup_status=None, last_backup_time=None, extended_info=None): + super(AzureFileshareProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) + self.friendly_name = friendly_name + self.protection_status = protection_status + self.protection_state = protection_state + self.health_status = health_status + self.last_backup_status = last_backup_status + self.last_backup_time = last_backup_time + self.extended_info = extended_info + self.protected_item_type = 'AzureFileShareProtectedItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_extended_info.py new file mode 100644 index 000000000000..eeecbcc00436 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_fileshare_protected_item_extended_info.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureFileshareProtectedItemExtendedInfo(Model): + """Additional information about Azure File Share backup item. + + :param oldest_recovery_point: The oldest backup copy available for this + item in the service. + :type oldest_recovery_point: datetime + :param recovery_point_count: Number of available backup copies associated + with this backup item. + :type recovery_point_count: int + :param policy_state: Indicates consistency of policy object and policy + applied to this backup item. + :type policy_state: str + """ + + _attribute_map = { + 'oldest_recovery_point': {'key': 'oldestRecoveryPoint', 'type': 'iso-8601'}, + 'recovery_point_count': {'key': 'recoveryPointCount', 'type': 'int'}, + 'policy_state': {'key': 'policyState', 'type': 'str'}, + } + + def __init__(self, oldest_recovery_point=None, recovery_point_count=None, policy_state=None): + super(AzureFileshareProtectedItemExtendedInfo, self).__init__() + self.oldest_recovery_point = oldest_recovery_point + self.recovery_point_count = recovery_point_count + self.policy_state = policy_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_container.py index 77705478d7e5..2ec1dd189274 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_container.py @@ -16,33 +16,21 @@ class AzureIaaSClassicComputeVMContainer(IaaSVMContainer): """IaaS VM workload-specific backup item representing a classic virtual machine. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param virtual_machine_id: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. :type virtual_machine_id: str @@ -54,10 +42,9 @@ class AzureIaaSClassicComputeVMContainer(IaaSVMContainer): """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, virtual_machine_id=None, virtual_machine_version=None, resource_group=None): super(AzureIaaSClassicComputeVMContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, virtual_machine_id=virtual_machine_id, virtual_machine_version=virtual_machine_version, resource_group=resource_group) - self.protectable_object_type = 'Microsoft.ClassicCompute/virtualMachines' + self.container_type = 'Microsoft.ClassicCompute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protectable_item.py index dd63ba3122c4..9e3c45c59f72 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protectable_item.py @@ -18,13 +18,16 @@ class AzureIaaSClassicComputeVMProtectableItem(IaaSVMProtectableItem): :param backup_management_type: Type of backup managemenent to backup an item. :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str :param friendly_name: Friendly name of the backup item. :type friendly_name: str :param protection_state: State of the back up item. Possible values - include: 'Invalid', 'NotProtected', 'Protecting', 'Protected' - :type protection_state: str or :class:`ProtectionStatus - ` - :param protectable_item_type: Polymorphic Discriminator + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. :type protectable_item_type: str :param virtual_machine_id: Fully qualified ARM ID of the virtual machine. :type virtual_machine_id: str @@ -34,6 +37,6 @@ class AzureIaaSClassicComputeVMProtectableItem(IaaSVMProtectableItem): 'protectable_item_type': {'required': True}, } - def __init__(self, backup_management_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): - super(AzureIaaSClassicComputeVMProtectableItem, self).__init__(backup_management_type=backup_management_type, friendly_name=friendly_name, protection_state=protection_state, virtual_machine_id=virtual_machine_id) + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): + super(AzureIaaSClassicComputeVMProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, virtual_machine_id=virtual_machine_id) self.protectable_item_type = 'Microsoft.ClassicCompute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py index 92c85911dab2..ed004a52cc72 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_sclassic_compute_vm_protected_item.py @@ -17,15 +17,16 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +37,9 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param friendly_name: Friendly name of the VM represented by this backup item. @@ -49,17 +52,16 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param protection_state: Backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - :type protection_state: str or :class:`ProtectionState - ` + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState :param health_status: Health status of protected item. Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' - :type health_status: str or :class:`HealthStatus - ` + :type health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.HealthStatus :param health_details: Health details on this backup item. - :type health_details: list of :class:`AzureIaaSVMHealthDetails - ` - :param last_backup_status: Last backup operation status. Possible values: - Healthy, Unhealthy. + :type health_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMHealthDetails] + :param last_backup_status: Last backup operation status. :type last_backup_status: str :param last_backup_time: Timestamp of the last backup operation on this backup item. @@ -67,14 +69,14 @@ class AzureIaaSClassicComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param protected_item_data_id: Data ID of the protected item. :type protected_item_data_id: str :param extended_info: Additional information for this backup item. - :type extended_info: :class:`AzureIaaSVMProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMProtectedItemExtendedInfo """ _validation = { 'protected_item_type': {'required': True}, } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): - super(AzureIaaSClassicComputeVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, friendly_name=friendly_name, virtual_machine_id=virtual_machine_id, protection_status=protection_status, protection_state=protection_state, health_status=health_status, health_details=health_details, last_backup_status=last_backup_status, last_backup_time=last_backup_time, protected_item_data_id=protected_item_data_id, extended_info=extended_info) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): + super(AzureIaaSClassicComputeVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name, friendly_name=friendly_name, virtual_machine_id=virtual_machine_id, protection_status=protection_status, protection_state=protection_state, health_status=health_status, health_details=health_details, last_backup_status=last_backup_status, last_backup_time=last_backup_time, protected_item_data_id=protected_item_data_id, extended_info=extended_info) self.protected_item_type = 'Microsoft.ClassicCompute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_container.py index b03d4111e6ac..5fc10ebd76a6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_container.py @@ -16,33 +16,21 @@ class AzureIaaSComputeVMContainer(IaaSVMContainer): """IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param virtual_machine_id: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. :type virtual_machine_id: str @@ -54,10 +42,9 @@ class AzureIaaSComputeVMContainer(IaaSVMContainer): """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, virtual_machine_id=None, virtual_machine_version=None, resource_group=None): super(AzureIaaSComputeVMContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, virtual_machine_id=virtual_machine_id, virtual_machine_version=virtual_machine_version, resource_group=resource_group) - self.protectable_object_type = 'Microsoft.Compute/virtualMachines' + self.container_type = 'Microsoft.Compute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protectable_item.py index 64270c478923..d6a999bc2286 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protectable_item.py @@ -19,13 +19,16 @@ class AzureIaaSComputeVMProtectableItem(IaaSVMProtectableItem): :param backup_management_type: Type of backup managemenent to backup an item. :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str :param friendly_name: Friendly name of the backup item. :type friendly_name: str :param protection_state: State of the back up item. Possible values - include: 'Invalid', 'NotProtected', 'Protecting', 'Protected' - :type protection_state: str or :class:`ProtectionStatus - ` - :param protectable_item_type: Polymorphic Discriminator + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. :type protectable_item_type: str :param virtual_machine_id: Fully qualified ARM ID of the virtual machine. :type virtual_machine_id: str @@ -35,6 +38,6 @@ class AzureIaaSComputeVMProtectableItem(IaaSVMProtectableItem): 'protectable_item_type': {'required': True}, } - def __init__(self, backup_management_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): - super(AzureIaaSComputeVMProtectableItem, self).__init__(backup_management_type=backup_management_type, friendly_name=friendly_name, protection_state=protection_state, virtual_machine_id=virtual_machine_id) + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): + super(AzureIaaSComputeVMProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, virtual_machine_id=virtual_machine_id) self.protectable_item_type = 'Microsoft.Compute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py index dc66d5f5320d..d1368aff6f37 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_scompute_vm_protected_item.py @@ -18,15 +18,16 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -37,7 +38,9 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param friendly_name: Friendly name of the VM represented by this backup item. @@ -50,17 +53,16 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param protection_state: Backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - :type protection_state: str or :class:`ProtectionState - ` + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState :param health_status: Health status of protected item. Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' - :type health_status: str or :class:`HealthStatus - ` + :type health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.HealthStatus :param health_details: Health details on this backup item. - :type health_details: list of :class:`AzureIaaSVMHealthDetails - ` - :param last_backup_status: Last backup operation status. Possible values: - Healthy, Unhealthy. + :type health_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMHealthDetails] + :param last_backup_status: Last backup operation status. :type last_backup_status: str :param last_backup_time: Timestamp of the last backup operation on this backup item. @@ -68,14 +70,14 @@ class AzureIaaSComputeVMProtectedItem(AzureIaaSVMProtectedItem): :param protected_item_data_id: Data ID of the protected item. :type protected_item_data_id: str :param extended_info: Additional information for this backup item. - :type extended_info: :class:`AzureIaaSVMProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMProtectedItemExtendedInfo """ _validation = { 'protected_item_type': {'required': True}, } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): - super(AzureIaaSComputeVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, friendly_name=friendly_name, virtual_machine_id=virtual_machine_id, protection_status=protection_status, protection_state=protection_state, health_status=health_status, health_details=health_details, last_backup_status=last_backup_status, last_backup_time=last_backup_time, protected_item_data_id=protected_item_data_id, extended_info=extended_info) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): + super(AzureIaaSComputeVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name, friendly_name=friendly_name, virtual_machine_id=virtual_machine_id, protection_status=protection_status, protection_state=protection_state, health_status=health_status, health_details=health_details, last_backup_status=last_backup_status, last_backup_time=last_backup_time, protected_item_data_id=protected_item_data_id, extended_info=extended_info) self.protected_item_type = 'Microsoft.Compute/virtualMachines' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_error_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_error_info.py index a1589bba6c2d..9fbff08aeaaf 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_error_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_error_info.py @@ -24,7 +24,7 @@ class AzureIaaSVMErrorInfo(Model): :type error_string: str :param recommendations: List of localized recommendations for above error code. - :type recommendations: list of str + :type recommendations: list[str] """ _attribute_map = { @@ -35,6 +35,7 @@ class AzureIaaSVMErrorInfo(Model): } def __init__(self, error_code=None, error_title=None, error_string=None, recommendations=None): + super(AzureIaaSVMErrorInfo, self).__init__() self.error_code = error_code self.error_title = error_title self.error_string = error_string diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_health_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_health_details.py index d8c2c8f7ee8c..9368a5a4daa4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_health_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_health_details.py @@ -22,7 +22,7 @@ class AzureIaaSVMHealthDetails(Model): :param message: Health Message :type message: str :param recommendations: Health Recommended Actions - :type recommendations: list of str + :type recommendations: list[str] """ _attribute_map = { @@ -33,6 +33,7 @@ class AzureIaaSVMHealthDetails(Model): } def __init__(self, code=None, title=None, message=None, recommendations=None): + super(AzureIaaSVMHealthDetails, self).__init__() self.code = code self.title = title self.message = message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job.py index f64195e8b724..f2343a5a1ad5 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job.py @@ -20,9 +20,10 @@ class AzureIaaSVMJob(Job): :type entity_friendly_name: str :param backup_management_type: Backup management type to execute the current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param operation: The operation name. :type operation: str :param status: Job status. @@ -33,23 +34,23 @@ class AzureIaaSVMJob(Job): :type end_time: datetime :param activity_id: ActivityId of job. :type activity_id: str - :param job_type: Polymorphic Discriminator + :param job_type: Constant filled by server. :type job_type: str :param duration: Time elapsed during the execution of this job. :type duration: timedelta :param actions_info: Gets or sets the state/actions applicable on this job like cancel/retry. - :type actions_info: list of str or :class:`JobSupportedAction - ` + :type actions_info: list[str or + ~azure.mgmt.recoveryservicesbackup.models.JobSupportedAction] :param error_details: Error details on execution of this job. - :type error_details: list of :class:`AzureIaaSVMErrorInfo - ` + :type error_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMErrorInfo] :param virtual_machine_version: Specifies whether the backup item is a Classic or an Azure Resource Manager VM. :type virtual_machine_version: str :param extended_info: Additional information for this job. - :type extended_info: :class:`AzureIaaSVMJobExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMJobExtendedInfo """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_extended_info.py index 782e90c60c57..34d5a43ae87e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_extended_info.py @@ -16,10 +16,10 @@ class AzureIaaSVMJobExtendedInfo(Model): """Azure IaaS VM workload-specific additional information for job. :param tasks_list: List of tasks associated with this job. - :type tasks_list: list of :class:`AzureIaaSVMJobTaskDetails - ` + :type tasks_list: + list[~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMJobTaskDetails] :param property_bag: Job properties. - :type property_bag: dict + :type property_bag: dict[str, str] :param progress_percentage: Indicates progress of the job. Null if it has not started or completed. :type progress_percentage: float @@ -36,6 +36,7 @@ class AzureIaaSVMJobExtendedInfo(Model): } def __init__(self, tasks_list=None, property_bag=None, progress_percentage=None, dynamic_error_message=None): + super(AzureIaaSVMJobExtendedInfo, self).__init__() self.tasks_list = tasks_list self.property_bag = property_bag self.progress_percentage = progress_percentage diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py index e708f8f3ac59..fc14a96baf05 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_job_task_details.py @@ -42,6 +42,7 @@ class AzureIaaSVMJobTaskDetails(Model): } def __init__(self, task_id=None, start_time=None, end_time=None, instance_id=None, duration=None, status=None, progress_percentage=None): + super(AzureIaaSVMJobTaskDetails, self).__init__() self.task_id = task_id self.start_time = start_time self.end_time = end_time diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py index abd3bc08da48..d54af6fd8915 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item.py @@ -15,17 +15,22 @@ class AzureIaaSVMProtectedItem(ProtectedItem): """IaaS VM workload-specific backup item. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMProtectedItem + :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +41,9 @@ class AzureIaaSVMProtectedItem(ProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param friendly_name: Friendly name of the VM represented by this backup item. @@ -49,17 +56,16 @@ class AzureIaaSVMProtectedItem(ProtectedItem): :param protection_state: Backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - :type protection_state: str or :class:`ProtectionState - ` + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState :param health_status: Health status of protected item. Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' - :type health_status: str or :class:`HealthStatus - ` + :type health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.HealthStatus :param health_details: Health details on this backup item. - :type health_details: list of :class:`AzureIaaSVMHealthDetails - ` - :param last_backup_status: Last backup operation status. Possible values: - Healthy, Unhealthy. + :type health_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMHealthDetails] + :param last_backup_status: Last backup operation status. :type last_backup_status: str :param last_backup_time: Timestamp of the last backup operation on this backup item. @@ -67,8 +73,8 @@ class AzureIaaSVMProtectedItem(ProtectedItem): :param protected_item_data_id: Data ID of the protected item. :type protected_item_data_id: str :param extended_info: Additional information for this backup item. - :type extended_info: :class:`AzureIaaSVMProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureIaaSVMProtectedItemExtendedInfo """ _validation = { @@ -82,6 +88,7 @@ class AzureIaaSVMProtectedItem(ProtectedItem): 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'policy_id': {'key': 'policyId', 'type': 'str'}, 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, 'virtual_machine_id': {'key': 'virtualMachineId', 'type': 'str'}, @@ -99,8 +106,8 @@ class AzureIaaSVMProtectedItem(ProtectedItem): 'protected_item_type': {'Microsoft.ClassicCompute/virtualMachines': 'AzureIaaSClassicComputeVMProtectedItem', 'Microsoft.Compute/virtualMachines': 'AzureIaaSComputeVMProtectedItem'} } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): - super(AzureIaaSVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, virtual_machine_id=None, protection_status=None, protection_state=None, health_status=None, health_details=None, last_backup_status=None, last_backup_time=None, protected_item_data_id=None, extended_info=None): + super(AzureIaaSVMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) self.friendly_name = friendly_name self.virtual_machine_id = virtual_machine_id self.protection_status = protection_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_extended_info.py index d67bd03e0180..32455c635dfd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protected_item_extended_info.py @@ -33,6 +33,7 @@ class AzureIaaSVMProtectedItemExtendedInfo(Model): } def __init__(self, oldest_recovery_point=None, recovery_point_count=None, policy_inconsistent=None): + super(AzureIaaSVMProtectedItemExtendedInfo, self).__init__() self.oldest_recovery_point = oldest_recovery_point self.recovery_point_count = recovery_point_count self.policy_inconsistent = policy_inconsistent diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protection_policy.py index ab20b52e2d36..460e2b693b63 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_iaa_svm_protection_policy.py @@ -17,16 +17,16 @@ class AzureIaaSVMProtectionPolicy(ProtectionPolicy): :param protected_items_count: Number of items associated with this policy. :type protected_items_count: int - :param backup_management_type: Polymorphic Discriminator + :param backup_management_type: Constant filled by server. :type backup_management_type: str :param schedule_policy: Backup schedule specified as part of backup policy. - :type schedule_policy: :class:`SchedulePolicy - ` + :type schedule_policy: + ~azure.mgmt.recoveryservicesbackup.models.SchedulePolicy :param retention_policy: Retention policy with the details on backup copy retention ranges. - :type retention_policy: :class:`RetentionPolicy - ` + :type retention_policy: + ~azure.mgmt.recoveryservicesbackup.models.RetentionPolicy :param time_zone: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". :type time_zone: str diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_resource_protection_intent.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_resource_protection_intent.py new file mode 100644 index 000000000000..a4e41f82d926 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_resource_protection_intent.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_intent import ProtectionIntent + + +class AzureResourceProtectionIntent(ProtectionIntent): + """IaaS VM specific backup protection intent item. + + :param backup_management_type: Type of backup managemenent for the backed + up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param item_id: ID of the item which is getting protected, In case of + Azure Vm , it is ProtectedItemId + :type item_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protection_intent_item_type: Constant filled by server. + :type protection_intent_item_type: str + :param friendly_name: Friendly name of the VM represented by this backup + item. + :type friendly_name: str + """ + + _validation = { + 'protection_intent_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'item_id': {'key': 'itemId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protection_intent_item_type': {'key': 'protectionIntentItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + } + + def __init__(self, backup_management_type=None, source_resource_id=None, item_id=None, policy_id=None, protection_state=None, friendly_name=None): + super(AzureResourceProtectionIntent, self).__init__(backup_management_type=backup_management_type, source_resource_id=source_resource_id, item_id=item_id, policy_id=policy_id, protection_state=protection_state) + self.friendly_name = friendly_name + self.protection_intent_item_type = 'AzureResourceItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_container.py index c08dce6949be..52b3046d6d6c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_container.py @@ -15,40 +15,27 @@ class AzureSqlContainer(ProtectionContainer): """Azure Sql workload-specific container. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None): super(AzureSqlContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status) - self.protectable_object_type = 'AzureSqlContainer' + self.container_type = 'AzureSqlContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py index 4200727003b4..a48e7054ea40 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item.py @@ -17,15 +17,16 @@ class AzureSqlProtectedItem(ProtectedItem): :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +37,9 @@ class AzureSqlProtectedItem(ProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param protected_item_data_id: Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services. @@ -44,11 +47,11 @@ class AzureSqlProtectedItem(ProtectedItem): :param protection_state: Backup state of the backed up item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - :type protection_state: str or :class:`ProtectedItemState - ` + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemState :param extended_info: Additional information for this backup item. - :type extended_info: :class:`AzureSqlProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureSqlProtectedItemExtendedInfo """ _validation = { @@ -62,14 +65,15 @@ class AzureSqlProtectedItem(ProtectedItem): 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'policy_id': {'key': 'policyId', 'type': 'str'}, 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, 'protected_item_data_id': {'key': 'protectedItemDataId', 'type': 'str'}, 'protection_state': {'key': 'protectionState', 'type': 'str'}, 'extended_info': {'key': 'extendedInfo', 'type': 'AzureSqlProtectedItemExtendedInfo'}, } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, protected_item_data_id=None, protection_state=None, extended_info=None): - super(AzureSqlProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, protected_item_data_id=None, protection_state=None, extended_info=None): + super(AzureSqlProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) self.protected_item_data_id = protected_item_data_id self.protection_state = protection_state self.extended_info = extended_info diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_extended_info.py index 8b306f3c1868..169b89d1482f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protected_item_extended_info.py @@ -33,6 +33,7 @@ class AzureSqlProtectedItemExtendedInfo(Model): } def __init__(self, oldest_recovery_point=None, recovery_point_count=None, policy_state=None): + super(AzureSqlProtectedItemExtendedInfo, self).__init__() self.oldest_recovery_point = oldest_recovery_point self.recovery_point_count = recovery_point_count self.policy_state = policy_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protection_policy.py index 7decd2104be1..c5e5406c0212 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sql_protection_policy.py @@ -17,11 +17,11 @@ class AzureSqlProtectionPolicy(ProtectionPolicy): :param protected_items_count: Number of items associated with this policy. :type protected_items_count: int - :param backup_management_type: Polymorphic Discriminator + :param backup_management_type: Constant filled by server. :type backup_management_type: str :param retention_policy: Retention policy details. - :type retention_policy: :class:`RetentionPolicy - ` + :type retention_policy: + ~azure.mgmt.recoveryservicesbackup.models.RetentionPolicy """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py new file mode 100644 index 000000000000..482e6d0454d1 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_sqlag_workload_container_protection_container.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_container import AzureWorkloadContainer + + +class AzureSQLAGWorkloadContainerProtectionContainer(AzureWorkloadContainer): + """Container for SQL workloads under SQL Availability Group. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param registration_status: Status of registration of the container with + the Recovery Services Vault. + :type registration_status: str + :param health_status: Status of health of the container. + :type health_status: str + :param container_type: Constant filled by server. + :type container_type: str + :param source_resource_id: ARM ID of the virtual machine represented by + this Azure Workload Container + :type source_resource_id: str + :param last_updated_time: Time stamp when this container was updated. + :type last_updated_time: datetime + :param extended_info: Additional details of a workload container. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadContainerExtendedInfo + """ + + _validation = { + 'container_type': {'required': True}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, source_resource_id=None, last_updated_time=None, extended_info=None): + super(AzureSQLAGWorkloadContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info) + self.container_type = 'SQLAGWorkLoadContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_container.py new file mode 100644 index 000000000000..5517b4d9730b --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_container.py @@ -0,0 +1,65 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_container import ProtectionContainer + + +class AzureStorageContainer(ProtectionContainer): + """Azure Storage Account workload-specific container. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param registration_status: Status of registration of the container with + the Recovery Services Vault. + :type registration_status: str + :param health_status: Status of health of the container. + :type health_status: str + :param container_type: Constant filled by server. + :type container_type: str + :param source_resource_id: Fully qualified ARM url. + :type source_resource_id: str + :param storage_account_version: Storage account version. + :type storage_account_version: str + :param resource_group: Resource group name of Recovery Services Vault. + :type resource_group: str + :param protected_item_count: Number of items backed up in this container. + :type protected_item_count: long + """ + + _validation = { + 'container_type': {'required': True}, + } + + _attribute_map = { + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, + 'health_status': {'key': 'healthStatus', 'type': 'str'}, + 'container_type': {'key': 'containerType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'storage_account_version': {'key': 'storageAccountVersion', 'type': 'str'}, + 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, + 'protected_item_count': {'key': 'protectedItemCount', 'type': 'long'}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, source_resource_id=None, storage_account_version=None, resource_group=None, protected_item_count=None): + super(AzureStorageContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status) + self.source_resource_id = source_resource_id + self.storage_account_version = storage_account_version + self.resource_group = resource_group + self.protected_item_count = protected_item_count + self.container_type = 'StorageContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_error_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_error_info.py new file mode 100644 index 000000000000..92c1c9ab63c0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_error_info.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureStorageErrorInfo(Model): + """Azure storage specific error information. + + :param error_code: Error code. + :type error_code: int + :param error_string: Localized error string. + :type error_string: str + :param recommendations: List of localized recommendations for above error + code. + :type recommendations: list[str] + """ + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'int'}, + 'error_string': {'key': 'errorString', 'type': 'str'}, + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + } + + def __init__(self, error_code=None, error_string=None, recommendations=None): + super(AzureStorageErrorInfo, self).__init__() + self.error_code = error_code + self.error_string = error_string + self.recommendations = recommendations diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job.py new file mode 100644 index 000000000000..233507ed4e33 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .job import Job + + +class AzureStorageJob(Job): + """Azure storage specific job. + + :param entity_friendly_name: Friendly name of the entity on which the + current job is executing. + :type entity_friendly_name: str + :param backup_management_type: Backup management type to execute the + current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param operation: The operation name. + :type operation: str + :param status: Job status. + :type status: str + :param start_time: The start time. + :type start_time: datetime + :param end_time: The end time. + :type end_time: datetime + :param activity_id: ActivityId of job. + :type activity_id: str + :param job_type: Constant filled by server. + :type job_type: str + :param duration: Time elapsed during the execution of this job. + :type duration: timedelta + :param actions_info: Gets or sets the state/actions applicable on this job + like cancel/retry. + :type actions_info: list[str or + ~azure.mgmt.recoveryservicesbackup.models.JobSupportedAction] + :param error_details: Error details on execution of this job. + :type error_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureStorageErrorInfo] + :param storage_account_name: Specifies friendly name of the storage + account. + :type storage_account_name: str + :param storage_account_version: Specifies whether the Storage account is a + Classic or an Azure Resource Manager Storage account. + :type storage_account_version: str + :param extended_info: Additional information about the job. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureStorageJobExtendedInfo + """ + + _validation = { + 'job_type': {'required': True}, + } + + _attribute_map = { + 'entity_friendly_name': {'key': 'entityFriendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'activity_id': {'key': 'activityId', 'type': 'str'}, + 'job_type': {'key': 'jobType', 'type': 'str'}, + 'duration': {'key': 'duration', 'type': 'duration'}, + 'actions_info': {'key': 'actionsInfo', 'type': '[JobSupportedAction]'}, + 'error_details': {'key': 'errorDetails', 'type': '[AzureStorageErrorInfo]'}, + 'storage_account_name': {'key': 'storageAccountName', 'type': 'str'}, + 'storage_account_version': {'key': 'storageAccountVersion', 'type': 'str'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureStorageJobExtendedInfo'}, + } + + def __init__(self, entity_friendly_name=None, backup_management_type=None, operation=None, status=None, start_time=None, end_time=None, activity_id=None, duration=None, actions_info=None, error_details=None, storage_account_name=None, storage_account_version=None, extended_info=None): + super(AzureStorageJob, self).__init__(entity_friendly_name=entity_friendly_name, backup_management_type=backup_management_type, operation=operation, status=status, start_time=start_time, end_time=end_time, activity_id=activity_id) + self.duration = duration + self.actions_info = actions_info + self.error_details = error_details + self.storage_account_name = storage_account_name + self.storage_account_version = storage_account_version + self.extended_info = extended_info + self.job_type = 'AzureStorageJob' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_extended_info.py new file mode 100644 index 000000000000..0f615645a212 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_extended_info.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureStorageJobExtendedInfo(Model): + """Azure Storage workload-specific additional information for job. + + :param tasks_list: List of tasks for this job + :type tasks_list: + list[~azure.mgmt.recoveryservicesbackup.models.AzureStorageJobTaskDetails] + :param property_bag: Job properties. + :type property_bag: dict[str, str] + :param dynamic_error_message: Non localized error message on job + execution. + :type dynamic_error_message: str + """ + + _attribute_map = { + 'tasks_list': {'key': 'tasksList', 'type': '[AzureStorageJobTaskDetails]'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'dynamic_error_message': {'key': 'dynamicErrorMessage', 'type': 'str'}, + } + + def __init__(self, tasks_list=None, property_bag=None, dynamic_error_message=None): + super(AzureStorageJobExtendedInfo, self).__init__() + self.tasks_list = tasks_list + self.property_bag = property_bag + self.dynamic_error_message = dynamic_error_message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_task_details.py new file mode 100644 index 000000000000..e57f68bbba0f --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_job_task_details.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureStorageJobTaskDetails(Model): + """Azure storage workload specific job task details. + + :param task_id: The task display name. + :type task_id: str + :param status: The status. + :type status: str + """ + + _attribute_map = { + 'task_id': {'key': 'taskId', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, task_id=None, status=None): + super(AzureStorageJobTaskDetails, self).__init__() + self.task_id = task_id + self.status = status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_protectable_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_protectable_container.py new file mode 100644 index 000000000000..9f20a3e6276c --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_storage_protectable_container.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protectable_container import ProtectableContainer + + +class AzureStorageProtectableContainer(ProtectableContainer): + """Azure Storage-specific protectable containers. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param health_status: Status of health of the container. + :type health_status: str + :param container_id: Fabric Id of the container such as ARM Id. + :type container_id: str + :param protectable_container_type: Constant filled by server. + :type protectable_container_type: str + """ + + _validation = { + 'protectable_container_type': {'required': True}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, health_status=None, container_id=None): + super(AzureStorageProtectableContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, health_status=health_status, container_id=container_id) + self.protectable_container_type = 'StorageContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protectable_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protectable_container.py new file mode 100644 index 000000000000..fc281db93938 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protectable_container.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protectable_container import ProtectableContainer + + +class AzureVMAppContainerProtectableContainer(ProtectableContainer): + """Azure workload-specific container. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param health_status: Status of health of the container. + :type health_status: str + :param container_id: Fabric Id of the container such as ARM Id. + :type container_id: str + :param protectable_container_type: Constant filled by server. + :type protectable_container_type: str + """ + + _validation = { + 'protectable_container_type': {'required': True}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, health_status=None, container_id=None): + super(AzureVMAppContainerProtectableContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, health_status=health_status, container_id=container_id) + self.protectable_container_type = 'VMAppContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py new file mode 100644 index 000000000000..45e2c28dd60c --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_app_container_protection_container.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_container import AzureWorkloadContainer + + +class AzureVMAppContainerProtectionContainer(AzureWorkloadContainer): + """Container for SQL workloads under Azure Virtual Machines. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param registration_status: Status of registration of the container with + the Recovery Services Vault. + :type registration_status: str + :param health_status: Status of health of the container. + :type health_status: str + :param container_type: Constant filled by server. + :type container_type: str + :param source_resource_id: ARM ID of the virtual machine represented by + this Azure Workload Container + :type source_resource_id: str + :param last_updated_time: Time stamp when this container was updated. + :type last_updated_time: datetime + :param extended_info: Additional details of a workload container. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadContainerExtendedInfo + """ + + _validation = { + 'container_type': {'required': True}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, source_resource_id=None, last_updated_time=None, extended_info=None): + super(AzureVMAppContainerProtectionContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status, source_resource_id=source_resource_id, last_updated_time=last_updated_time, extended_info=extended_info) + self.container_type = 'VMAppContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_request.py new file mode 100644 index 000000000000..dfb75cf5bfac --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_request.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .feature_support_request import FeatureSupportRequest + + +class AzureVMResourceFeatureSupportRequest(FeatureSupportRequest): + """AzureResource(IaaS VM) Specific feature support request. + + :param feature_type: Constant filled by server. + :type feature_type: str + :param vm_size: Size of the resource: VM size(A/D series etc) in case of + IaasVM + :type vm_size: str + :param vm_sku: SKUs (Premium/Managed etc) in case of IaasVM + :type vm_sku: str + """ + + _validation = { + 'feature_type': {'required': True}, + } + + _attribute_map = { + 'feature_type': {'key': 'featureType', 'type': 'str'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'vm_sku': {'key': 'vmSku', 'type': 'str'}, + } + + def __init__(self, vm_size=None, vm_sku=None): + super(AzureVMResourceFeatureSupportRequest, self).__init__() + self.vm_size = vm_size + self.vm_sku = vm_sku + self.feature_type = 'AzureVMResourceBackup' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_response.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_response.py new file mode 100644 index 000000000000..eb9cc1ada10d --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_resource_feature_support_response.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureVMResourceFeatureSupportResponse(Model): + """Response for feature support requests for Azure IaasVm. + + :param support_status: Support status of feature. Possible values include: + 'Invalid', 'Supported', 'DefaultOFF', 'DefaultON', 'NotSupported' + :type support_status: str or + ~azure.mgmt.recoveryservicesbackup.models.SupportStatus + """ + + _attribute_map = { + 'support_status': {'key': 'supportStatus', 'type': 'str'}, + } + + def __init__(self, support_status=None): + super(AzureVMResourceFeatureSupportResponse, self).__init__() + self.support_status = support_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py new file mode 100644 index 000000000000..d040dcc3cbd3 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_item.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .workload_item import WorkloadItem + + +class AzureVmWorkloadItem(WorkloadItem): + """Azure VM workload-specific workload item. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceWorkloadItem + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + } + + _subtype_map = { + 'workload_item_type': {'SQLDataBase': 'AzureVmWorkloadSQLDatabaseWorkloadItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceWorkloadItem'} + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, sub_workload_item_count=None): + super(AzureVmWorkloadItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state) + self.parent_name = parent_name + self.server_name = server_name + self.is_auto_protectable = is_auto_protectable + self.subinquireditemcount = subinquireditemcount + self.sub_workload_item_count = sub_workload_item_count + self.workload_item_type = 'AzureVmWorkloadItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py new file mode 100644 index 000000000000..7c808d3198d9 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protectable_item.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .workload_protectable_item import WorkloadProtectableItem + + +class AzureVmWorkloadProtectableItem(WorkloadProtectableItem): + """Azure VM workload-specific protectable item. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLInstanceProtectableItem + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_unique_name': {'key': 'parentUniqueName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'subprotectableitemcount': {'key': 'subprotectableitemcount', 'type': 'int'}, + 'prebackupvalidation': {'key': 'prebackupvalidation', 'type': 'PreBackupValidation'}, + } + + _subtype_map = { + 'protectable_item_type': {'SQLAvailabilityGroupContainer': 'AzureVmWorkloadSQLAvailabilityGroupProtectableItem', 'SQLDataBase': 'AzureVmWorkloadSQLDatabaseProtectableItem', 'SQLInstance': 'AzureVmWorkloadSQLInstanceProtectableItem'} + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, parent_unique_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, subprotectableitemcount=None, prebackupvalidation=None): + super(AzureVmWorkloadProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state) + self.parent_name = parent_name + self.parent_unique_name = parent_unique_name + self.server_name = server_name + self.is_auto_protectable = is_auto_protectable + self.subinquireditemcount = subinquireditemcount + self.subprotectableitemcount = subprotectableitemcount + self.prebackupvalidation = prebackupvalidation + self.protectable_item_type = 'AzureVmWorkloadProtectableItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_extended_info.py new file mode 100644 index 000000000000..2c78cf2c0fea --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protected_item_extended_info.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureVmWorkloadProtectedItemExtendedInfo(Model): + """Additional information on Azure Workload for SQL specific backup item. + + :param oldest_recovery_point: The oldest backup copy available for this + backup item. + :type oldest_recovery_point: datetime + :param recovery_point_count: Number of backup copies available for this + backup item. + :type recovery_point_count: int + :param policy_state: Indicates consistency of policy object and policy + applied to this backup item. + :type policy_state: str + """ + + _attribute_map = { + 'oldest_recovery_point': {'key': 'oldestRecoveryPoint', 'type': 'iso-8601'}, + 'recovery_point_count': {'key': 'recoveryPointCount', 'type': 'int'}, + 'policy_state': {'key': 'policyState', 'type': 'str'}, + } + + def __init__(self, oldest_recovery_point=None, recovery_point_count=None, policy_state=None): + super(AzureVmWorkloadProtectedItemExtendedInfo, self).__init__() + self.oldest_recovery_point = oldest_recovery_point + self.recovery_point_count = recovery_point_count + self.policy_state = policy_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py new file mode 100644 index 000000000000..49d2d18ae3bb --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_protection_policy.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_policy import ProtectionPolicy + + +class AzureVmWorkloadProtectionPolicy(ProtectionPolicy): + """Azure VM (Mercury) workload-specific backup policy. + + :param protected_items_count: Number of items associated with this policy. + :type protected_items_count: int + :param backup_management_type: Constant filled by server. + :type backup_management_type: str + :param work_load_type: Type of workload for the backup management + :type work_load_type: str + :param settings: Common settings for the backup management + :type settings: ~azure.mgmt.recoveryservicesbackup.models.Settings + :param sub_protection_policy: List of sub-protection policies which + includes schedule and retention + :type sub_protection_policy: + list[~azure.mgmt.recoveryservicesbackup.models.SubProtectionPolicy] + """ + + _validation = { + 'backup_management_type': {'required': True}, + } + + _attribute_map = { + 'protected_items_count': {'key': 'protectedItemsCount', 'type': 'int'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'work_load_type': {'key': 'workLoadType', 'type': 'str'}, + 'settings': {'key': 'settings', 'type': 'Settings'}, + 'sub_protection_policy': {'key': 'subProtectionPolicy', 'type': '[SubProtectionPolicy]'}, + } + + def __init__(self, protected_items_count=None, work_load_type=None, settings=None, sub_protection_policy=None): + super(AzureVmWorkloadProtectionPolicy, self).__init__(protected_items_count=protected_items_count) + self.work_load_type = work_load_type + self.settings = settings + self.sub_protection_policy = sub_protection_policy + self.backup_management_type = 'AzureWorkload' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py new file mode 100644 index 000000000000..86a0fa3f36f9 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_availability_group_protectable_item.py @@ -0,0 +1,62 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSQLAvailabilityGroupProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SQL Availability + Group. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, parent_unique_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, subprotectableitemcount=None, prebackupvalidation=None): + super(AzureVmWorkloadSQLAvailabilityGroupProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, parent_unique_name=parent_unique_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, subprotectableitemcount=subprotectableitemcount, prebackupvalidation=prebackupvalidation) + self.protectable_item_type = 'SQLAvailabilityGroupContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py new file mode 100644 index 000000000000..d18c36ba231e --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protectable_item.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSQLDatabaseProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SQL Database. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, parent_unique_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, subprotectableitemcount=None, prebackupvalidation=None): + super(AzureVmWorkloadSQLDatabaseProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, parent_unique_name=parent_unique_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, subprotectableitemcount=subprotectableitemcount, prebackupvalidation=prebackupvalidation) + self.protectable_item_type = 'SQLDataBase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py new file mode 100644 index 000000000000..4532b4055145 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_protected_item.py @@ -0,0 +1,125 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protected_item import ProtectedItem + + +class AzureVmWorkloadSQLDatabaseProtectedItem(ProtectedItem): + """Azure VM workload-specific protected item representing SQL Database. + + :param backup_management_type: Type of backup managemenent for the backed + up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Type of workload this item represents. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param container_name: Unique name of container + :type container_name: str + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param last_recovery_point: Timestamp when the last (latest) backup copy + was created for this backup item. + :type last_recovery_point: datetime + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. + :type protected_item_type: str + :param friendly_name: Friendly name of the DB represented by this backup + item. + :type friendly_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param parent_name: Parent name of the DB such as Instance or Availability + Group. + :type parent_name: str + :param parent_type: Parent type of DB, SQLAG or StandAlone + :type parent_type: str + :param protection_status: Backup status of this backup item. + :type protection_status: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + 'ProtectionStopped', 'ProtectionPaused' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState + :param last_backup_status: Last backup operation status. Possible values: + Healthy, Unhealthy. Possible values include: 'Invalid', 'Healthy', + 'Unhealthy', 'IRPending' + :type last_backup_status: str or + ~azure.mgmt.recoveryservicesbackup.models.LastBackupStatus + :param last_backup_time: Timestamp of the last backup operation on this + backup item. + :type last_backup_time: datetime + :param last_backup_error_detail: Error details in last backup + :type last_backup_error_detail: + ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + :param protected_item_data_source_id: Data ID of the protected item. + :type protected_item_data_source_id: str + :param protected_item_health_status: Health status of the backup item, + evaluated based on last heartbeat received. Possible values include: + 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending' + :type protected_item_health_status: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemHealthStatus + :param extended_info: Additional information for this backup item. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo + """ + + _validation = { + 'protected_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, + 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'parent_type': {'key': 'parentType', 'type': 'str'}, + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'last_backup_status': {'key': 'lastBackupStatus', 'type': 'str'}, + 'last_backup_time': {'key': 'lastBackupTime', 'type': 'iso-8601'}, + 'last_backup_error_detail': {'key': 'lastBackupErrorDetail', 'type': 'ErrorDetail'}, + 'protected_item_data_source_id': {'key': 'protectedItemDataSourceId', 'type': 'str'}, + 'protected_item_health_status': {'key': 'protectedItemHealthStatus', 'type': 'str'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureVmWorkloadProtectedItemExtendedInfo'}, + } + + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, server_name=None, parent_name=None, parent_type=None, protection_status=None, protection_state=None, last_backup_status=None, last_backup_time=None, last_backup_error_detail=None, protected_item_data_source_id=None, protected_item_health_status=None, extended_info=None): + super(AzureVmWorkloadSQLDatabaseProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) + self.friendly_name = friendly_name + self.server_name = server_name + self.parent_name = parent_name + self.parent_type = parent_type + self.protection_status = protection_status + self.protection_state = protection_state + self.last_backup_status = last_backup_status + self.last_backup_time = last_backup_time + self.last_backup_error_detail = last_backup_error_detail + self.protected_item_data_source_id = protected_item_data_source_id + self.protected_item_health_status = protected_item_health_status + self.extended_info = extended_info + self.protected_item_type = 'AzureVmWorkloadSQLDatabase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py new file mode 100644 index 000000000000..3af57794d8d5 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_database_workload_item.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_vm_workload_item import AzureVmWorkloadItem + + +class AzureVmWorkloadSQLDatabaseWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SQL Database. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, sub_workload_item_count=None): + super(AzureVmWorkloadSQLDatabaseWorkloadItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, sub_workload_item_count=sub_workload_item_count) + self.workload_item_type = 'SQLDataBase' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py new file mode 100644 index 000000000000..d11e7b52a601 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_protectable_item.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_vm_workload_protectable_item import AzureVmWorkloadProtectableItem + + +class AzureVmWorkloadSQLInstanceProtectableItem(AzureVmWorkloadProtectableItem): + """Azure VM workload-specific protectable item representing SQL Instance. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. + :type protectable_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param parent_unique_name: Parent Unique Name is added to provide the + service formatted URI Name of the Parent + Only Applicable for data bases where the parent would be either Instance + or a SQL AG. + :type parent_unique_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if protectable item is + auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param subprotectableitemcount: For instance or AG, indicates number of + DB's to be protected + :type subprotectableitemcount: int + :param prebackupvalidation: Pre-backup validation for protectable objects + :type prebackupvalidation: + ~azure.mgmt.recoveryservicesbackup.models.PreBackupValidation + """ + + _validation = { + 'protectable_item_type': {'required': True}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, parent_unique_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, subprotectableitemcount=None, prebackupvalidation=None): + super(AzureVmWorkloadSQLInstanceProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, parent_unique_name=parent_unique_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, subprotectableitemcount=subprotectableitemcount, prebackupvalidation=prebackupvalidation) + self.protectable_item_type = 'SQLInstance' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py new file mode 100644 index 000000000000..51a663c5b0ca --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_vm_workload_sql_instance_workload_item.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_vm_workload_item import AzureVmWorkloadItem + + +class AzureVmWorkloadSQLInstanceWorkloadItem(AzureVmWorkloadItem): + """Azure VM workload-specific workload item representing SQL Instance. + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Constant filled by server. + :type workload_item_type: str + :param parent_name: Name for instance or AG + :type parent_name: str + :param server_name: Host/Cluster Name for instance or AG + :type server_name: str + :param is_auto_protectable: Indicates if workload item is auto-protectable + :type is_auto_protectable: bool + :param subinquireditemcount: For instance or AG, indicates number of DB's + present + :type subinquireditemcount: int + :param sub_workload_item_count: For instance or AG, indicates number of + DB's to be protected + :type sub_workload_item_count: int + :param data_directory_paths: Data Directory Paths for default directories + :type data_directory_paths: + list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectory] + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'parent_name': {'key': 'parentName', 'type': 'str'}, + 'server_name': {'key': 'serverName', 'type': 'str'}, + 'is_auto_protectable': {'key': 'isAutoProtectable', 'type': 'bool'}, + 'subinquireditemcount': {'key': 'subinquireditemcount', 'type': 'int'}, + 'sub_workload_item_count': {'key': 'subWorkloadItemCount', 'type': 'int'}, + 'data_directory_paths': {'key': 'dataDirectoryPaths', 'type': '[SQLDataDirectory]'}, + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, parent_name=None, server_name=None, is_auto_protectable=None, subinquireditemcount=None, sub_workload_item_count=None, data_directory_paths=None): + super(AzureVmWorkloadSQLInstanceWorkloadItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state, parent_name=parent_name, server_name=server_name, is_auto_protectable=is_auto_protectable, subinquireditemcount=subinquireditemcount, sub_workload_item_count=sub_workload_item_count) + self.data_directory_paths = data_directory_paths + self.workload_item_type = 'SQLInstance' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_backup_request.py new file mode 100644 index 000000000000..8595b10e994d --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_backup_request.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .backup_request import BackupRequest + + +class AzureWorkloadBackupRequest(BackupRequest): + """AzureWorkload workload-specific backup request. + + :param object_type: Constant filled by server. + :type object_type: str + :param backup_type: Type of backup, viz. Full, Differential, Log or + CopyOnlyFull. Possible values include: 'Invalid', 'Full', 'Differential', + 'Log', 'CopyOnlyFull' + :type backup_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupType + :param enable_compression: Bool for Compression setting + :type enable_compression: bool + :param recovery_point_expiry_time_in_utc: Backup copy will expire after + the time specified (UTC). + :type recovery_point_expiry_time_in_utc: datetime + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'backup_type': {'key': 'backupType', 'type': 'str'}, + 'enable_compression': {'key': 'enableCompression', 'type': 'bool'}, + 'recovery_point_expiry_time_in_utc': {'key': 'recoveryPointExpiryTimeInUTC', 'type': 'iso-8601'}, + } + + def __init__(self, backup_type=None, enable_compression=None, recovery_point_expiry_time_in_utc=None): + super(AzureWorkloadBackupRequest, self).__init__() + self.backup_type = backup_type + self.enable_compression = enable_compression + self.recovery_point_expiry_time_in_utc = recovery_point_expiry_time_in_utc + self.object_type = 'AzureWorkloadBackupRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py new file mode 100644 index 000000000000..3dec7131d32d --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_container import ProtectionContainer + + +class AzureWorkloadContainer(ProtectionContainer): + """Container for the workloads running inside Azure Compute or Classic + Compute. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param registration_status: Status of registration of the container with + the Recovery Services Vault. + :type registration_status: str + :param health_status: Status of health of the container. + :type health_status: str + :param container_type: Constant filled by server. + :type container_type: str + :param source_resource_id: ARM ID of the virtual machine represented by + this Azure Workload Container + :type source_resource_id: str + :param last_updated_time: Time stamp when this container was updated. + :type last_updated_time: datetime + :param extended_info: Additional details of a workload container. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadContainerExtendedInfo + """ + + _validation = { + 'container_type': {'required': True}, + } + + _attribute_map = { + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, + 'health_status': {'key': 'healthStatus', 'type': 'str'}, + 'container_type': {'key': 'containerType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadContainerExtendedInfo'}, + } + + _subtype_map = { + 'container_type': {'SQLAGWorkLoadContainer': 'AzureSQLAGWorkloadContainerProtectionContainer', 'VMAppContainer': 'AzureVMAppContainerProtectionContainer'} + } + + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, source_resource_id=None, last_updated_time=None, extended_info=None): + super(AzureWorkloadContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status) + self.source_resource_id = source_resource_id + self.last_updated_time = last_updated_time + self.extended_info = extended_info + self.container_type = 'AzureWorkloadContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_extended_info.py new file mode 100644 index 000000000000..0ae53f14d59f --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_container_extended_info.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureWorkloadContainerExtendedInfo(Model): + """Extended information of the container. + + :param host_server_name: Host Os Name in case of Stand Alone and + Cluster Name in case of distributed container. + :type host_server_name: str + :param inquiry_info: Inquiry Status for the container. + :type inquiry_info: ~azure.mgmt.recoveryservicesbackup.models.InquiryInfo + :param nodes_list: List of the nodes in case of distributed container. + :type nodes_list: + list[~azure.mgmt.recoveryservicesbackup.models.DistributedNodesInfo] + """ + + _attribute_map = { + 'host_server_name': {'key': 'hostServerName', 'type': 'str'}, + 'inquiry_info': {'key': 'inquiryInfo', 'type': 'InquiryInfo'}, + 'nodes_list': {'key': 'nodesList', 'type': '[DistributedNodesInfo]'}, + } + + def __init__(self, host_server_name=None, inquiry_info=None, nodes_list=None): + super(AzureWorkloadContainerExtendedInfo, self).__init__() + self.host_server_name = host_server_name + self.inquiry_info = inquiry_info + self.nodes_list = nodes_list diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_error_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_error_info.py new file mode 100644 index 000000000000..ad7a0a8dd03d --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_error_info.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureWorkloadErrorInfo(Model): + """Azure storage specific error information. + + :param error_code: Error code. + :type error_code: int + :param error_string: Localized error string. + :type error_string: str + :param error_title: Title: Typically, the entity that the error pertains + to. + :type error_title: str + :param recommendations: List of localized recommendations for above error + code. + :type recommendations: list[str] + :param additional_details: Additional details for above error code. + :type additional_details: str + """ + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'int'}, + 'error_string': {'key': 'errorString', 'type': 'str'}, + 'error_title': {'key': 'errorTitle', 'type': 'str'}, + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'additional_details': {'key': 'additionalDetails', 'type': 'str'}, + } + + def __init__(self, error_code=None, error_string=None, error_title=None, recommendations=None, additional_details=None): + super(AzureWorkloadErrorInfo, self).__init__() + self.error_code = error_code + self.error_string = error_string + self.error_title = error_title + self.recommendations = recommendations + self.additional_details = additional_details diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job.py new file mode 100644 index 000000000000..c65ebed65d55 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .job import Job + + +class AzureWorkloadJob(Job): + """Azure storage specific job. + + :param entity_friendly_name: Friendly name of the entity on which the + current job is executing. + :type entity_friendly_name: str + :param backup_management_type: Backup management type to execute the + current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param operation: The operation name. + :type operation: str + :param status: Job status. + :type status: str + :param start_time: The start time. + :type start_time: datetime + :param end_time: The end time. + :type end_time: datetime + :param activity_id: ActivityId of job. + :type activity_id: str + :param job_type: Constant filled by server. + :type job_type: str + :param duration: Time elapsed during the execution of this job. + :type duration: timedelta + :param actions_info: Gets or sets the state/actions applicable on this job + like cancel/retry. + :type actions_info: list[str or + ~azure.mgmt.recoveryservicesbackup.models.JobSupportedAction] + :param error_details: Error details on execution of this job. + :type error_details: + list[~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadErrorInfo] + :param extended_info: Additional information about the job. + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadJobExtendedInfo + """ + + _validation = { + 'job_type': {'required': True}, + } + + _attribute_map = { + 'entity_friendly_name': {'key': 'entityFriendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'activity_id': {'key': 'activityId', 'type': 'str'}, + 'job_type': {'key': 'jobType', 'type': 'str'}, + 'duration': {'key': 'duration', 'type': 'duration'}, + 'actions_info': {'key': 'actionsInfo', 'type': '[JobSupportedAction]'}, + 'error_details': {'key': 'errorDetails', 'type': '[AzureWorkloadErrorInfo]'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadJobExtendedInfo'}, + } + + def __init__(self, entity_friendly_name=None, backup_management_type=None, operation=None, status=None, start_time=None, end_time=None, activity_id=None, duration=None, actions_info=None, error_details=None, extended_info=None): + super(AzureWorkloadJob, self).__init__(entity_friendly_name=entity_friendly_name, backup_management_type=backup_management_type, operation=operation, status=status, start_time=start_time, end_time=end_time, activity_id=activity_id) + self.duration = duration + self.actions_info = actions_info + self.error_details = error_details + self.extended_info = extended_info + self.job_type = 'AzureWorkloadJob' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_extended_info.py new file mode 100644 index 000000000000..9a369534c433 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_extended_info.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureWorkloadJobExtendedInfo(Model): + """Azure VM workload-specific additional information for job. + + :param tasks_list: List of tasks for this job + :type tasks_list: + list[~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadJobTaskDetails] + :param property_bag: Job properties. + :type property_bag: dict[str, str] + :param dynamic_error_message: Non localized error message on job + execution. + :type dynamic_error_message: str + """ + + _attribute_map = { + 'tasks_list': {'key': 'tasksList', 'type': '[AzureWorkloadJobTaskDetails]'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'dynamic_error_message': {'key': 'dynamicErrorMessage', 'type': 'str'}, + } + + def __init__(self, tasks_list=None, property_bag=None, dynamic_error_message=None): + super(AzureWorkloadJobExtendedInfo, self).__init__() + self.tasks_list = tasks_list + self.property_bag = property_bag + self.dynamic_error_message = dynamic_error_message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_task_details.py new file mode 100644 index 000000000000..dd8441aa83a9 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_job_task_details.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureWorkloadJobTaskDetails(Model): + """Azure VM workload specific job task details. + + :param task_id: The task display name. + :type task_id: str + :param status: The status. + :type status: str + """ + + _attribute_map = { + 'task_id': {'key': 'taskId', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, task_id=None, status=None): + super(AzureWorkloadJobTaskDetails, self).__init__() + self.task_id = task_id + self.status = status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py new file mode 100644 index 000000000000..b251d07b2698 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_recovery_point.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .recovery_point import RecoveryPoint + + +class AzureWorkloadRecoveryPoint(RecoveryPoint): + """Workload specific recoverypoint, specifcally encaspulates full/diff + recoverypoint. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSQLRecoveryPoint + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_point_time_in_utc: UTC time at which recoverypoint was + created + :type recovery_point_time_in_utc: datetime + :param type: Type of restore point. Possible values include: 'Invalid', + 'Full', 'Log', 'Differential' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointType + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_time_in_utc': {'key': 'recoveryPointTimeInUTC', 'type': 'iso-8601'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSQLRecoveryPoint': 'AzureWorkloadSQLRecoveryPoint'} + } + + def __init__(self, recovery_point_time_in_utc=None, type=None): + super(AzureWorkloadRecoveryPoint, self).__init__() + self.recovery_point_time_in_utc = recovery_point_time_in_utc + self.type = type + self.object_type = 'AzureWorkloadRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py new file mode 100644 index 000000000000..b95c89681bf8 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_restore_request.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .restore_request import RestoreRequest + + +class AzureWorkloadRestoreRequest(RestoreRequest): + """AzureWorkload-specific restore. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSQLRestoreRequest + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible + values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', + 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Fully qualified ARM ID of the VM on which + workload that was running is being recovered. + :type source_resource_id: str + :param property_bag: Workload specific property bag. + :type property_bag: dict[str, str] + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSQLRestoreRequest': 'AzureWorkloadSQLRestoreRequest'} + } + + def __init__(self, recovery_type=None, source_resource_id=None, property_bag=None): + super(AzureWorkloadRestoreRequest, self).__init__() + self.recovery_type = recovery_type + self.source_resource_id = source_resource_id + self.property_bag = property_bag + self.object_type = 'AzureWorkloadRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py new file mode 100644 index 000000000000..69b168566b9c --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_recovery_point.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_sql_recovery_point import AzureWorkloadSQLRecoveryPoint + + +class AzureWorkloadSQLPointInTimeRecoveryPoint(AzureWorkloadSQLRecoveryPoint): + """Recovery point specific to PointInTime. + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_point_time_in_utc: UTC time at which recoverypoint was + created + :type recovery_point_time_in_utc: datetime + :param type: Type of restore point. Possible values include: 'Invalid', + 'Full', 'Log', 'Differential' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointType + :param extended_info: Extended Info that provides data directory details. + Will be populated in two cases: + When a specific recovery point is accessed using GetRecoveryPoint + Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo + query filter + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadSQLRecoveryPointExtendedInfo + :param time_ranges: List of log ranges + :type time_ranges: + list[~azure.mgmt.recoveryservicesbackup.models.PointInTimeRange] + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_time_in_utc': {'key': 'recoveryPointTimeInUTC', 'type': 'iso-8601'}, + 'type': {'key': 'type', 'type': 'str'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadSQLRecoveryPointExtendedInfo'}, + 'time_ranges': {'key': 'timeRanges', 'type': '[PointInTimeRange]'}, + } + + def __init__(self, recovery_point_time_in_utc=None, type=None, extended_info=None, time_ranges=None): + super(AzureWorkloadSQLPointInTimeRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type, extended_info=extended_info) + self.time_ranges = time_ranges + self.object_type = 'AzureWorkloadSQLPointInTimeRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py new file mode 100644 index 000000000000..8bfacaff51be --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_point_in_time_restore_request.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_sql_restore_request import AzureWorkloadSQLRestoreRequest + + +class AzureWorkloadSQLPointInTimeRestoreRequest(AzureWorkloadSQLRestoreRequest): + """AzureWorkload SQL -specific restore. Specifically for PointInTime/Log + restore. + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible + values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', + 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Fully qualified ARM ID of the VM on which + workload that was running is being recovered. + :type source_resource_id: str + :param property_bag: Workload specific property bag. + :type property_bag: dict[str, str] + :param should_use_alternate_target_location: Default option set to true. + If this is set to false, alternate data directory must be provided + :type should_use_alternate_target_location: bool + :param is_non_recoverable: SQL specific property where user can chose to + set no-recovery when restore operation is tried + :type is_non_recoverable: bool + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo + :param alternate_directory_paths: Data directory details + :type alternate_directory_paths: + list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] + :param point_in_time: PointInTime value + :type point_in_time: datetime + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, + 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, + 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, + 'point_in_time': {'key': 'pointInTime', 'type': 'iso-8601'}, + } + + def __init__(self, recovery_type=None, source_resource_id=None, property_bag=None, should_use_alternate_target_location=None, is_non_recoverable=None, target_info=None, alternate_directory_paths=None, point_in_time=None): + super(AzureWorkloadSQLPointInTimeRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag, should_use_alternate_target_location=should_use_alternate_target_location, is_non_recoverable=is_non_recoverable, target_info=target_info, alternate_directory_paths=alternate_directory_paths) + self.point_in_time = point_in_time + self.object_type = 'AzureWorkloadSQLPointInTimeRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py new file mode 100644 index 000000000000..1f91d30aaddb --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_recovery_point import AzureWorkloadRecoveryPoint + + +class AzureWorkloadSQLRecoveryPoint(AzureWorkloadRecoveryPoint): + """SQL specific recoverypoint, specifcally encaspulates full/diff + recoverypoint alongwith extended info. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSQLPointInTimeRecoveryPoint + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_point_time_in_utc: UTC time at which recoverypoint was + created + :type recovery_point_time_in_utc: datetime + :param type: Type of restore point. Possible values include: 'Invalid', + 'Full', 'Log', 'Differential' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointType + :param extended_info: Extended Info that provides data directory details. + Will be populated in two cases: + When a specific recovery point is accessed using GetRecoveryPoint + Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo + query filter + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.AzureWorkloadSQLRecoveryPointExtendedInfo + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_point_time_in_utc': {'key': 'recoveryPointTimeInUTC', 'type': 'iso-8601'}, + 'type': {'key': 'type', 'type': 'str'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'AzureWorkloadSQLRecoveryPointExtendedInfo'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSQLPointInTimeRecoveryPoint': 'AzureWorkloadSQLPointInTimeRecoveryPoint'} + } + + def __init__(self, recovery_point_time_in_utc=None, type=None, extended_info=None): + super(AzureWorkloadSQLRecoveryPoint, self).__init__(recovery_point_time_in_utc=recovery_point_time_in_utc, type=type) + self.extended_info = extended_info + self.object_type = 'AzureWorkloadSQLRecoveryPoint' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_extended_info.py new file mode 100644 index 000000000000..f9cad64d7c4e --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_recovery_point_extended_info.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureWorkloadSQLRecoveryPointExtendedInfo(Model): + """Extended info class details. + + :param data_directory_time_in_utc: UTC time at which data directory info + was captured + :type data_directory_time_in_utc: datetime + :param data_directory_paths: List of data directory paths during restore + operation. + :type data_directory_paths: + list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectory] + """ + + _attribute_map = { + 'data_directory_time_in_utc': {'key': 'dataDirectoryTimeInUTC', 'type': 'iso-8601'}, + 'data_directory_paths': {'key': 'dataDirectoryPaths', 'type': '[SQLDataDirectory]'}, + } + + def __init__(self, data_directory_time_in_utc=None, data_directory_paths=None): + super(AzureWorkloadSQLRecoveryPointExtendedInfo, self).__init__() + self.data_directory_time_in_utc = data_directory_time_in_utc + self.data_directory_paths = data_directory_paths diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py new file mode 100644 index 000000000000..92887b254859 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/azure_workload_sql_restore_request.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_workload_restore_request import AzureWorkloadRestoreRequest + + +class AzureWorkloadSQLRestoreRequest(AzureWorkloadRestoreRequest): + """AzureWorkload SQL -specific restore. Specifically for full/diff restore. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureWorkloadSQLPointInTimeRestoreRequest + + :param object_type: Constant filled by server. + :type object_type: str + :param recovery_type: OLR/ALR, RestoreDisks is invalid option. Possible + values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', + 'RestoreDisks' + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType + :param source_resource_id: Fully qualified ARM ID of the VM on which + workload that was running is being recovered. + :type source_resource_id: str + :param property_bag: Workload specific property bag. + :type property_bag: dict[str, str] + :param should_use_alternate_target_location: Default option set to true. + If this is set to false, alternate data directory must be provided + :type should_use_alternate_target_location: bool + :param is_non_recoverable: SQL specific property where user can chose to + set no-recovery when restore operation is tried + :type is_non_recoverable: bool + :param target_info: Details of target database + :type target_info: + ~azure.mgmt.recoveryservicesbackup.models.TargetRestoreInfo + :param alternate_directory_paths: Data directory details + :type alternate_directory_paths: + list[~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryMapping] + """ + + _validation = { + 'object_type': {'required': True}, + } + + _attribute_map = { + 'object_type': {'key': 'objectType', 'type': 'str'}, + 'recovery_type': {'key': 'recoveryType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'property_bag': {'key': 'propertyBag', 'type': '{str}'}, + 'should_use_alternate_target_location': {'key': 'shouldUseAlternateTargetLocation', 'type': 'bool'}, + 'is_non_recoverable': {'key': 'isNonRecoverable', 'type': 'bool'}, + 'target_info': {'key': 'targetInfo', 'type': 'TargetRestoreInfo'}, + 'alternate_directory_paths': {'key': 'alternateDirectoryPaths', 'type': '[SQLDataDirectoryMapping]'}, + } + + _subtype_map = { + 'object_type': {'AzureWorkloadSQLPointInTimeRestoreRequest': 'AzureWorkloadSQLPointInTimeRestoreRequest'} + } + + def __init__(self, recovery_type=None, source_resource_id=None, property_bag=None, should_use_alternate_target_location=None, is_non_recoverable=None, target_info=None, alternate_directory_paths=None): + super(AzureWorkloadSQLRestoreRequest, self).__init__(recovery_type=recovery_type, source_resource_id=source_resource_id, property_bag=property_bag) + self.should_use_alternate_target_location = should_use_alternate_target_location + self.is_non_recoverable = is_non_recoverable + self.target_info = target_info + self.alternate_directory_paths = alternate_directory_paths + self.object_type = 'AzureWorkloadSQLRestoreRequest' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py index f9b91db0a01a..21c3d8aba6aa 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base.py @@ -16,13 +16,17 @@ class BackupEngineBase(Model): """The base backup engine class. All workload specific backup engines derive from this class. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureBackupServerEngine, DpmBackupEngine + :param friendly_name: Friendly name of the backup engine. :type friendly_name: str :param backup_management_type: Type of backup management for the backup engine. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Registration status of the backup engine with the Recovery Services Vault. :type registration_status: str @@ -47,9 +51,9 @@ class BackupEngineBase(Model): available :type is_dpm_upgrade_available: bool :param extended_info: Extended info of the backupengine - :type extended_info: :class:`BackupEngineExtendedInfo - ` - :param backup_engine_type: Polymorphic Discriminator + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo + :param backup_engine_type: Constant filled by server. :type backup_engine_type: str """ @@ -68,7 +72,7 @@ class BackupEngineBase(Model): 'dpm_version': {'key': 'dpmVersion', 'type': 'str'}, 'azure_backup_agent_version': {'key': 'azureBackupAgentVersion', 'type': 'str'}, 'is_azure_backup_agent_upgrade_available': {'key': 'isAzureBackupAgentUpgradeAvailable', 'type': 'bool'}, - 'is_dpm_upgrade_available': {'key': 'isDPMUpgradeAvailable', 'type': 'bool'}, + 'is_dpm_upgrade_available': {'key': 'isDpmUpgradeAvailable', 'type': 'bool'}, 'extended_info': {'key': 'extendedInfo', 'type': 'BackupEngineExtendedInfo'}, 'backup_engine_type': {'key': 'backupEngineType', 'type': 'str'}, } @@ -78,6 +82,7 @@ class BackupEngineBase(Model): } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, backup_engine_state=None, health_status=None, can_re_register=None, backup_engine_id=None, dpm_version=None, azure_backup_agent_version=None, is_azure_backup_agent_upgrade_available=None, is_dpm_upgrade_available=None, extended_info=None): + super(BackupEngineBase, self).__init__() self.friendly_name = friendly_name self.backup_management_type = backup_management_type self.registration_status = registration_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_resource.py index 52253a45d182..fae80c386bdf 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_base_resource.py @@ -29,12 +29,12 @@ class BackupEngineBaseResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: BackupEngineBaseResource properties - :type properties: :class:`BackupEngineBase - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineBase """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py index ea92d78c0f97..ef9a437e148a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_engine_extended_info.py @@ -49,6 +49,7 @@ class BackupEngineExtendedInfo(Model): } def __init__(self, database_name=None, protected_items_count=None, protected_servers_count=None, disk_count=None, used_disk_space=None, available_disk_space=None, refreshed_at=None, azure_protected_instances=None): + super(BackupEngineExtendedInfo, self).__init__() self.database_name = database_name self.protected_items_count = protected_items_count self.protected_servers_count = protected_servers_count diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_management_usage.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_management_usage.py index 1d9f79b02464..8a6cae969f92 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_management_usage.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_management_usage.py @@ -17,8 +17,7 @@ class BackupManagementUsage(Model): :param unit: Unit of the usage. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond' - :type unit: str or :class:`UsagesUnit - ` + :type unit: str or ~azure.mgmt.recoveryservicesbackup.models.UsagesUnit :param quota_period: Quota period of usage. :type quota_period: str :param next_reset_time: Next reset time of usage. @@ -28,8 +27,7 @@ class BackupManagementUsage(Model): :param limit: Limit of usage. :type limit: long :param name: Name of usage. - :type name: :class:`NameInfo - ` + :type name: ~azure.mgmt.recoveryservicesbackup.models.NameInfo """ _attribute_map = { @@ -42,6 +40,7 @@ class BackupManagementUsage(Model): } def __init__(self, unit=None, quota_period=None, next_reset_time=None, current_value=None, limit=None, name=None): + super(BackupManagementUsage, self).__init__() self.unit = unit self.quota_period = quota_period self.next_reset_time = next_reset_time diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request.py index e4669df9bd3e..a8db816b4069 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request.py @@ -16,7 +16,11 @@ class BackupRequest(Model): """Base class for backup request. Workload-specific backup requests are derived from this class. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileShareBackupRequest, AzureWorkloadBackupRequest, + IaasVMBackupRequest + + :param object_type: Constant filled by server. :type object_type: str """ @@ -29,8 +33,9 @@ class BackupRequest(Model): } _subtype_map = { - 'object_type': {'IaasVMBackupRequest': 'IaasVMBackupRequest'} + 'object_type': {'AzureFileShareBackupRequest': 'AzureFileShareBackupRequest', 'AzureWorkloadBackupRequest': 'AzureWorkloadBackupRequest', 'IaasVMBackupRequest': 'IaasVMBackupRequest'} } def __init__(self): + super(BackupRequest, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request_resource.py index 715e406bee74..5e8830bac240 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_request_resource.py @@ -29,12 +29,11 @@ class BackupRequestResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: BackupRequestResource properties - :type properties: :class:`BackupRequest - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.BackupRequest """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config.py index aff6daa3398b..27132b3cfc38 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config.py @@ -15,22 +15,29 @@ class BackupResourceConfig(Model): """The resource storage details. + :param storage_model_type: Storage type. Possible values include: + 'Invalid', 'GeoRedundant', 'LocallyRedundant' + :type storage_model_type: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageType :param storage_type: Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant' - :type storage_type: str or :class:`StorageType - ` + :type storage_type: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageType :param storage_type_state: Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. Possible values include: 'Invalid', 'Locked', 'Unlocked' - :type storage_type_state: str or :class:`StorageTypeState - ` + :type storage_type_state: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageTypeState """ _attribute_map = { + 'storage_model_type': {'key': 'storageModelType', 'type': 'str'}, 'storage_type': {'key': 'storageType', 'type': 'str'}, 'storage_type_state': {'key': 'storageTypeState', 'type': 'str'}, } - def __init__(self, storage_type=None, storage_type_state=None): + def __init__(self, storage_model_type=None, storage_type=None, storage_type_state=None): + super(BackupResourceConfig, self).__init__() + self.storage_model_type = storage_model_type self.storage_type = storage_type self.storage_type_state = storage_type_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config_resource.py index 2e5004998915..deabedce3730 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_config_resource.py @@ -28,12 +28,12 @@ class BackupResourceConfigResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: BackupResourceConfigResource properties - :type properties: :class:`BackupResourceConfig - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceConfig """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config.py index bd3af53de403..31fed3d9641a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config.py @@ -15,28 +15,35 @@ class BackupResourceVaultConfig(Model): """Backup resource vault config details. + :param storage_model_type: Storage type. Possible values include: + 'Invalid', 'GeoRedundant', 'LocallyRedundant' + :type storage_model_type: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageType :param storage_type: Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant' - :type storage_type: str or :class:`StorageType - ` + :type storage_type: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageType :param storage_type_state: Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. Possible values include: 'Invalid', 'Locked', 'Unlocked' - :type storage_type_state: str or :class:`StorageTypeState - ` + :type storage_type_state: str or + ~azure.mgmt.recoveryservicesbackup.models.StorageTypeState :param enhanced_security_state: Enabled or Disabled. Possible values include: 'Invalid', 'Enabled', 'Disabled' - :type enhanced_security_state: str or :class:`EnhancedSecurityState - ` + :type enhanced_security_state: str or + ~azure.mgmt.recoveryservicesbackup.models.EnhancedSecurityState """ _attribute_map = { + 'storage_model_type': {'key': 'storageModelType', 'type': 'str'}, 'storage_type': {'key': 'storageType', 'type': 'str'}, 'storage_type_state': {'key': 'storageTypeState', 'type': 'str'}, 'enhanced_security_state': {'key': 'enhancedSecurityState', 'type': 'str'}, } - def __init__(self, storage_type=None, storage_type_state=None, enhanced_security_state=None): + def __init__(self, storage_model_type=None, storage_type=None, storage_type_state=None, enhanced_security_state=None): + super(BackupResourceVaultConfig, self).__init__() + self.storage_model_type = storage_model_type self.storage_type = storage_type self.storage_type_state = storage_type_state self.enhanced_security_state = enhanced_security_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config_resource.py index 71e6eaaaa35e..e62aae2cb389 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_resource_vault_config_resource.py @@ -28,12 +28,12 @@ class BackupResourceVaultConfigResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: BackupResourceVaultConfigResource properties - :type properties: :class:`BackupResourceVaultConfig - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceVaultConfig """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py new file mode 100644 index 000000000000..361cc741af2b --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_request.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class BackupStatusRequest(Model): + """BackupStatus request. + + :param resource_type: Container Type - VM, SQLPaaS, DPM, AzureFileShare. + Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', + 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type resource_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param resource_id: Entire ARM resource id of the resource + :type resource_id: str + :param po_logical_name: Protectable Item Logical Name + :type po_logical_name: str + """ + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'po_logical_name': {'key': 'poLogicalName', 'type': 'str'}, + } + + def __init__(self, resource_type=None, resource_id=None, po_logical_name=None): + super(BackupStatusRequest, self).__init__() + self.resource_type = resource_type + self.resource_id = resource_id + self.po_logical_name = po_logical_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_response.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_response.py new file mode 100644 index 000000000000..558b660b07cd --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/backup_status_response.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class BackupStatusResponse(Model): + """BackupStatus response. + + :param protection_status: Specifies whether the container is registered or + not. Possible values include: 'Invalid', 'NotProtected', 'Protecting', + 'Protected', 'ProtectionFailed' + :type protection_status: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param vault_id: Specifies the arm resource id of the vault + :type vault_id: str + :param fabric_name: Specifies the fabric name - Azure or AAD. Possible + values include: 'Invalid', 'Azure' + :type fabric_name: str or + ~azure.mgmt.recoveryservicesbackup.models.FabricName + :param container_name: Specifies the product specific container name. E.g. + iaasvmcontainer;iaasvmcontainer;csname;vmname. This is required for portal + :type container_name: str + :param protected_item_name: Specifies the product specific ds name. E.g. + vm;iaasvmcontainer;csname;vmname. This is required for portal + :type protected_item_name: str + :param error_code: ErrorCode in case of intent failed + :type error_code: str + :param error_message: ErrorMessage in case of intent failed. + :type error_message: str + :param policy_name: Specifies the policy name which is used for protection + :type policy_name: str + :param registration_status: Container registration status + :type registration_status: str + """ + + _attribute_map = { + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + 'vault_id': {'key': 'vaultId', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'protected_item_name': {'key': 'protectedItemName', 'type': 'str'}, + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'policy_name': {'key': 'policyName', 'type': 'str'}, + 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, + } + + def __init__(self, protection_status=None, vault_id=None, fabric_name=None, container_name=None, protected_item_name=None, error_code=None, error_message=None, policy_name=None, registration_status=None): + super(BackupStatusResponse, self).__init__() + self.protection_status = protection_status + self.vault_id = vault_id + self.fabric_name = fabric_name + self.container_name = container_name + self.protected_item_name = protected_item_name + self.error_code = error_code + self.error_message = error_message + self.policy_name = policy_name + self.registration_status = registration_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bek_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bek_details.py index 99532fe0648b..701df3cdf9c4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bek_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bek_details.py @@ -30,6 +30,7 @@ class BEKDetails(Model): } def __init__(self, secret_url=None, secret_vault_id=None, secret_data=None): + super(BEKDetails, self).__init__() self.secret_url = secret_url self.secret_vault_id = secret_vault_id self.secret_data = secret_data diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engine_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engine_query_object.py index c765c043c74f..638518ff9e83 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engine_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engine_query_object.py @@ -24,4 +24,5 @@ class BMSBackupEngineQueryObject(Model): } def __init__(self, expand=None): + super(BMSBackupEngineQueryObject, self).__init__() self.expand = expand diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engines_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engines_query_object.py index 7d92b9d8bfe4..c0cc23c8061a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engines_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_engines_query_object.py @@ -17,9 +17,10 @@ class BMSBackupEnginesQueryObject(Model): :param backup_management_type: Backup management type for the backup engine. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param friendly_name: Friendly name of the backup engine. :type friendly_name: str :param expand: Attribute to add extended info. @@ -33,6 +34,7 @@ class BMSBackupEnginesQueryObject(Model): } def __init__(self, backup_management_type=None, friendly_name=None, expand=None): + super(BMSBackupEnginesQueryObject, self).__init__() self.backup_management_type = backup_management_type self.friendly_name = friendly_name self.expand = expand diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_summaries_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_summaries_query_object.py index f3241255ae0d..66bb95b57562 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_summaries_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_backup_summaries_query_object.py @@ -18,8 +18,7 @@ class BMSBackupSummariesQueryObject(Model): :param type: Backup management type for this container. Possible values include: 'Invalid', 'BackupProtectedItemCountSummary', 'BackupProtectionContainerCountSummary' - :type type: str or :class:`Type - ` + :type type: str or ~azure.mgmt.recoveryservicesbackup.models.Type """ _attribute_map = { @@ -27,4 +26,5 @@ class BMSBackupSummariesQueryObject(Model): } def __init__(self, type=None): + super(BMSBackupSummariesQueryObject, self).__init__() self.type = type diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_container_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_container_query_object.py index 5e8ce41d3d9e..87b7804099c8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_container_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_container_query_object.py @@ -17,17 +17,22 @@ class BMSContainerQueryObject(Model): :param backup_management_type: Backup management type for this container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param container_type: Type of container for filter. Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer', - 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter' - :type container_type: str or :class:`ContainerType - ` + 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', + 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', + 'GenericContainer' + :type container_type: str or + ~azure.mgmt.recoveryservicesbackup.models.ContainerType :param backup_engine_name: Backup engine name :type backup_engine_name: str + :param fabric_name: Fabric name for filter + :type fabric_name: str :param status: Status of registration of this container with the Recovery Services Vault. :type status: str @@ -43,13 +48,16 @@ class BMSContainerQueryObject(Model): 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, 'backup_engine_name': {'key': 'backupEngineName', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, } - def __init__(self, backup_management_type, container_type=None, backup_engine_name=None, status=None, friendly_name=None): + def __init__(self, backup_management_type, container_type=None, backup_engine_name=None, fabric_name=None, status=None, friendly_name=None): + super(BMSContainerQueryObject, self).__init__() self.backup_management_type = backup_management_type self.container_type = container_type self.backup_engine_name = backup_engine_name + self.fabric_name = fabric_name self.status = status self.friendly_name = friendly_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_refresh_containers_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_refresh_containers_query_object.py new file mode 100644 index 000000000000..87dd559fd1a0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_refresh_containers_query_object.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class BMSRefreshContainersQueryObject(Model): + """The query filters that can be used with the list containers API. + + :param backup_management_type: Backup management type for this container. + Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + """ + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + } + + def __init__(self, backup_management_type=None): + super(BMSRefreshContainersQueryObject, self).__init__() + self.backup_management_type = backup_management_type diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py new file mode 100644 index 000000000000..ebab5afaf3ae --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bms_workload_item_query_object.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class BMSWorkloadItemQueryObject(Model): + """Filters to list items that can be backed up. + + :param backup_management_type: Backup management type. Possible values + include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', + 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_item_type: Workload Item type. Possible values include: + 'Invalid', 'SQLInstance', 'SQLDataBase' + :type workload_item_type: str or + ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemType + :param workload_type: Workload type. Possible values include: 'Invalid', + 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', + 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param protection_status: Backup status query parameter. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_status: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + """ + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, + } + + def __init__(self, backup_management_type=None, workload_item_type=None, workload_type=None, protection_status=None): + super(BMSWorkloadItemQueryObject, self).__init__() + self.backup_management_type = backup_management_type + self.workload_item_type = workload_item_type + self.workload_type = workload_type + self.protection_status = protection_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py index 3ea23b587105..e3ffd97ca726 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmspo_query_object.py @@ -17,9 +17,18 @@ class BMSPOQueryObject(Model): :param backup_management_type: Backup management type. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', - 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Workload type. Possible values include: 'Invalid', + 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', + 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.WorkloadType + :param container_name: Full name of the container whose Protectable + Objects should be returned. + :type container_name: str :param status: Backup status query parameter. :type status: str :param friendly_name: Friendly name. @@ -28,11 +37,16 @@ class BMSPOQueryObject(Model): _attribute_map = { 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, } - def __init__(self, backup_management_type=None, status=None, friendly_name=None): + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, status=None, friendly_name=None): + super(BMSPOQueryObject, self).__init__() self.backup_management_type = backup_management_type + self.workload_type = workload_type + self.container_name = container_name self.status = status self.friendly_name = friendly_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmsrp_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmsrp_query_object.py index c061a90e0956..ea12a5b859c4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmsrp_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/bmsrp_query_object.py @@ -19,13 +19,26 @@ class BMSRPQueryObject(Model): :type start_date: datetime :param end_date: Backup copies created before this time. :type end_date: datetime + :param restore_point_query_type: RestorePoint type. Possible values + include: 'Invalid', 'Full', 'Log', 'Differential', 'FullAndDifferential', + 'All' + :type restore_point_query_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RestorePointQueryType + :param extended_info: In Get Recovery Point, it tells whether extended + information about recovery point is asked. + :type extended_info: bool """ _attribute_map = { 'start_date': {'key': 'startDate', 'type': 'iso-8601'}, 'end_date': {'key': 'endDate', 'type': 'iso-8601'}, + 'restore_point_query_type': {'key': 'restorePointQueryType', 'type': 'str'}, + 'extended_info': {'key': 'extendedInfo', 'type': 'bool'}, } - def __init__(self, start_date=None, end_date=None): + def __init__(self, start_date=None, end_date=None, restore_point_query_type=None, extended_info=None): + super(BMSRPQueryObject, self).__init__() self.start_date = start_date self.end_date = end_date + self.restore_point_query_type = restore_point_query_type + self.extended_info = extended_info diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_display.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_display.py index dbc271de1f39..f5738cc34f8a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_display.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_display.py @@ -17,22 +17,24 @@ class ClientDiscoveryDisplay(Model): :param provider: Name of the provider for display purposes :type provider: str - :param resource: Name of the resource type for display purposes + :param resource: ResourceType for which this Operation can be performed. :type resource: str - :param operation: Name of the operation for display purposes + :param operation: Operations Name itself. :type operation: str - :param description: Description of the operation for display purposes + :param description: Description of the operation having details of what + operation is about. :type description: str """ _attribute_map = { - 'provider': {'key': 'Provider', 'type': 'str'}, - 'resource': {'key': 'Resource', 'type': 'str'}, - 'operation': {'key': 'Operation', 'type': 'str'}, - 'description': {'key': 'Description', 'type': 'str'}, + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, } def __init__(self, provider=None, resource=None, operation=None, description=None): + super(ClientDiscoveryDisplay, self).__init__() self.provider = provider self.resource = resource self.operation = operation diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_log_specification.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_log_specification.py index 7180ca7b37d9..e86140a96c27 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_log_specification.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_log_specification.py @@ -15,11 +15,11 @@ class ClientDiscoveryForLogSpecification(Model): """Class to represent shoebox log specification in json client discovery. - :param name: Name + :param name: Name for shoebox log specification. :type name: str :param display_name: Localized display name :type display_name: str - :param blob_duration: blob duration + :param blob_duration: blob duration of shoebox log specification :type blob_duration: str """ @@ -30,6 +30,7 @@ class ClientDiscoveryForLogSpecification(Model): } def __init__(self, name=None, display_name=None, blob_duration=None): + super(ClientDiscoveryForLogSpecification, self).__init__() self.name = name self.display_name = display_name self.blob_duration = blob_duration diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_properties.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_properties.py index 1899787fd6cb..c5bbc7f73e39 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_properties.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_properties.py @@ -17,8 +17,7 @@ class ClientDiscoveryForProperties(Model): :param service_specification: Operation properties. :type service_specification: - :class:`ClientDiscoveryForServiceSpecification - ` + ~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryForServiceSpecification """ _attribute_map = { @@ -26,4 +25,5 @@ class ClientDiscoveryForProperties(Model): } def __init__(self, service_specification=None): + super(ClientDiscoveryForProperties, self).__init__() self.service_specification = service_specification diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_service_specification.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_service_specification.py index ff9a41aa81e7..98db749355f7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_service_specification.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_for_service_specification.py @@ -16,9 +16,8 @@ class ClientDiscoveryForServiceSpecification(Model): """Class to represent shoebox service specification in json client discovery. :param log_specifications: List of log specifications of this operation. - :type log_specifications: list of - :class:`ClientDiscoveryForLogSpecification - ` + :type log_specifications: + list[~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryForLogSpecification] """ _attribute_map = { @@ -26,4 +25,5 @@ class ClientDiscoveryForServiceSpecification(Model): } def __init__(self, log_specifications=None): + super(ClientDiscoveryForServiceSpecification, self).__init__() self.log_specifications = log_specifications diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api.py index f54c40e3f02d..40cf67a82233 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api.py @@ -15,28 +15,29 @@ class ClientDiscoveryValueForSingleApi(Model): """Available operation details. - :param name: Name + :param name: Name of the Operation. :type name: str :param display: Contains the localized display information for this particular operation - :type display: :class:`ClientDiscoveryDisplay - ` + :type display: + ~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryDisplay :param origin: The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX :type origin: str - :param properties: Properties - :type properties: :class:`ClientDiscoveryForProperties - ` + :param properties: ShoeBox properties for the given operation. + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryForProperties """ _attribute_map = { - 'name': {'key': 'Name', 'type': 'str'}, - 'display': {'key': 'Display', 'type': 'ClientDiscoveryDisplay'}, - 'origin': {'key': 'Origin', 'type': 'str'}, - 'properties': {'key': 'Properties', 'type': 'ClientDiscoveryForProperties'}, + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'ClientDiscoveryDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'ClientDiscoveryForProperties'}, } def __init__(self, name=None, display=None, origin=None, properties=None): + super(ClientDiscoveryValueForSingleApi, self).__init__() self.name = name self.display = display self.origin = origin diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api_paged.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api_paged.py index 06f86acadd6a..bc7b09691a43 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api_paged.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_discovery_value_for_single_api_paged.py @@ -18,8 +18,8 @@ class ClientDiscoveryValueForSingleApiPaged(Paged): """ _attribute_map = { - 'next_link': {'key': 'NextLink', 'type': 'str'}, - 'current_page': {'key': 'Value', 'type': '[ClientDiscoveryValueForSingleApi]'} + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ClientDiscoveryValueForSingleApi]'} } def __init__(self, *args, **kwargs): diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py index 2cc3977710e3..6915a887f82a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/client_script_for_connect.py @@ -42,6 +42,7 @@ class ClientScriptForConnect(Model): } def __init__(self, script_content=None, script_extension=None, os_type=None, url=None, script_name_suffix=None): + super(ClientScriptForConnect, self).__init__() self.script_content = script_content self.script_extension = script_extension self.os_type = os_type diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/container_identity_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/container_identity_info.py new file mode 100644 index 000000000000..a5792b67e96b --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/container_identity_info.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ContainerIdentityInfo(Model): + """Container identity information. + + :param unique_name: Unique name of the container + :type unique_name: str + :param aad_tenant_id: Protection container identity - AAD Tenant + :type aad_tenant_id: str + :param service_principal_client_id: Protection container identity - AAD + Service Principal + :type service_principal_client_id: str + :param audience: Protection container identity - Audience + :type audience: str + """ + + _attribute_map = { + 'unique_name': {'key': 'uniqueName', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'audience': {'key': 'audience', 'type': 'str'}, + } + + def __init__(self, unique_name=None, aad_tenant_id=None, service_principal_client_id=None, audience=None): + super(ContainerIdentityInfo, self).__init__() + self.unique_name = unique_name + self.aad_tenant_id = aad_tenant_id + self.service_principal_client_id = service_principal_client_id + self.audience = audience diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_format.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_format.py index 4f851fc1c95f..928f7996375b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_format.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_format.py @@ -16,8 +16,8 @@ class DailyRetentionFormat(Model): """Daily retention format. :param days_of_the_month: List of days of the month. - :type days_of_the_month: list of :class:`Day - ` + :type days_of_the_month: + list[~azure.mgmt.recoveryservicesbackup.models.Day] """ _attribute_map = { @@ -25,4 +25,5 @@ class DailyRetentionFormat(Model): } def __init__(self, days_of_the_month=None): + super(DailyRetentionFormat, self).__init__() self.days_of_the_month = days_of_the_month diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_schedule.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_schedule.py index 337da1689ccc..f0b0e34d9279 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_schedule.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/daily_retention_schedule.py @@ -16,10 +16,10 @@ class DailyRetentionSchedule(Model): """Daily retention schedule. :param retention_times: Retention times of retention policy. - :type retention_times: list of datetime + :type retention_times: list[datetime] :param retention_duration: Retention duration of retention Policy. - :type retention_duration: :class:`RetentionDuration - ` + :type retention_duration: + ~azure.mgmt.recoveryservicesbackup.models.RetentionDuration """ _attribute_map = { @@ -28,5 +28,6 @@ class DailyRetentionSchedule(Model): } def __init__(self, retention_times=None, retention_duration=None): + super(DailyRetentionSchedule, self).__init__() self.retention_times = retention_times self.retention_duration = retention_duration diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/day.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/day.py index 55c736f2d102..3df5da3d79f1 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/day.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/day.py @@ -27,5 +27,6 @@ class Day(Model): } def __init__(self, date_property=None, is_last=None): + super(Day, self).__init__() self.date_property = date_property self.is_last = is_last diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/distributed_nodes_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/distributed_nodes_info.py new file mode 100644 index 000000000000..f47aeb1b5eac --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/distributed_nodes_info.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class DistributedNodesInfo(Model): + """This is used to represent the various nodes of the distributed container. + + :param node_name: Name of the node under a distributed container. + :type node_name: str + :param status: Status of this Node. + Failed | Succeeded + :type status: str + :param error_detail: Error Details if the Status is non-success. + :type error_detail: ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + """ + + _attribute_map = { + 'node_name': {'key': 'nodeName', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'error_detail': {'key': 'errorDetail', 'type': 'ErrorDetail'}, + } + + def __init__(self, node_name=None, status=None, error_detail=None): + super(DistributedNodesInfo, self).__init__() + self.node_name = node_name + self.status = status + self.error_detail = error_detail diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py index 8f48c94ab6cb..8504ab05b3a9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_backup_engine.py @@ -19,9 +19,10 @@ class DpmBackupEngine(BackupEngineBase): :type friendly_name: str :param backup_management_type: Type of backup management for the backup engine. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Registration status of the backup engine with the Recovery Services Vault. :type registration_status: str @@ -46,9 +47,9 @@ class DpmBackupEngine(BackupEngineBase): available :type is_dpm_upgrade_available: bool :param extended_info: Extended info of the backupengine - :type extended_info: :class:`BackupEngineExtendedInfo - ` - :param backup_engine_type: Polymorphic Discriminator + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineExtendedInfo + :param backup_engine_type: Constant filled by server. :type backup_engine_type: str """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py index 6704fc6d1e65..c0280178a102 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container.py @@ -15,33 +15,21 @@ class DpmContainer(ProtectionContainer): """DPM workload-specific protection container. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param can_re_register: Specifies whether the container is re-registrable. :type can_re_register: bool :param container_id: ID of container. @@ -51,19 +39,18 @@ class DpmContainer(ProtectionContainer): :param dpm_agent_version: Backup engine Agent version :type dpm_agent_version: str :param dpm_servers: List of BackupEngines protecting the container - :type dpm_servers: list of str + :type dpm_servers: list[str] :param upgrade_available: To check if upgrade available :type upgrade_available: bool :param protection_status: Protection status of the container. :type protection_status: str :param extended_info: Extended Info of the container. - :type extended_info: :class:`DPMContainerExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.DPMContainerExtendedInfo """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } _attribute_map = { @@ -72,13 +59,12 @@ class DpmContainer(ProtectionContainer): 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, 'health_status': {'key': 'healthStatus', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, - 'protectable_object_type': {'key': 'protectableObjectType', 'type': 'str'}, 'can_re_register': {'key': 'canReRegister', 'type': 'bool'}, 'container_id': {'key': 'containerId', 'type': 'str'}, 'protected_item_count': {'key': 'protectedItemCount', 'type': 'long'}, 'dpm_agent_version': {'key': 'dpmAgentVersion', 'type': 'str'}, - 'dpm_servers': {'key': 'DPMServers', 'type': '[str]'}, - 'upgrade_available': {'key': 'UpgradeAvailable', 'type': 'bool'}, + 'dpm_servers': {'key': 'dpmServers', 'type': '[str]'}, + 'upgrade_available': {'key': 'upgradeAvailable', 'type': 'bool'}, 'protection_status': {'key': 'protectionStatus', 'type': 'str'}, 'extended_info': {'key': 'extendedInfo', 'type': 'DPMContainerExtendedInfo'}, } @@ -93,4 +79,4 @@ def __init__(self, friendly_name=None, backup_management_type=None, registration self.upgrade_available = upgrade_available self.protection_status = protection_status self.extended_info = extended_info - self.protectable_object_type = 'DPMContainer' + self.container_type = 'DPMContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_extended_info.py index 07e66a823f12..a2095c4a5728 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_container_extended_info.py @@ -24,4 +24,5 @@ class DPMContainerExtendedInfo(Model): } def __init__(self, last_refreshed_at=None): + super(DPMContainerExtendedInfo, self).__init__() self.last_refreshed_at = last_refreshed_at diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_error_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_error_info.py index 35d1c704762f..f04cd660b6cf 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_error_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_error_info.py @@ -19,7 +19,7 @@ class DpmErrorInfo(Model): :type error_string: str :param recommendations: List of localized recommendations for above error code. - :type recommendations: list of str + :type recommendations: list[str] """ _attribute_map = { @@ -28,5 +28,6 @@ class DpmErrorInfo(Model): } def __init__(self, error_string=None, recommendations=None): + super(DpmErrorInfo, self).__init__() self.error_string = error_string self.recommendations = recommendations diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job.py index 9f4fb0794329..d6264033d6da 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job.py @@ -20,9 +20,10 @@ class DpmJob(Job): :type entity_friendly_name: str :param backup_management_type: Backup management type to execute the current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param operation: The operation name. :type operation: str :param status: Job status. @@ -33,7 +34,7 @@ class DpmJob(Job): :type end_time: datetime :param activity_id: ActivityId of job. :type activity_id: str - :param job_type: Polymorphic Discriminator + :param job_type: Constant filled by server. :type job_type: str :param duration: Time elapsed for job. :type duration: timedelta @@ -49,14 +50,14 @@ class DpmJob(Job): :type workload_type: str :param actions_info: The state/actions applicable on this job like cancel/retry. - :type actions_info: list of str or :class:`JobSupportedAction - ` + :type actions_info: list[str or + ~azure.mgmt.recoveryservicesbackup.models.JobSupportedAction] :param error_details: The errors. - :type error_details: list of :class:`DpmErrorInfo - ` + :type error_details: + list[~azure.mgmt.recoveryservicesbackup.models.DpmErrorInfo] :param extended_info: Additional information for this job. - :type extended_info: :class:`DpmJobExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.DpmJobExtendedInfo """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_extended_info.py index 11c596d89593..7f55497876b9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_extended_info.py @@ -16,10 +16,10 @@ class DpmJobExtendedInfo(Model): """Additional information on the DPM workload-specific job. :param tasks_list: List of tasks associated with this job. - :type tasks_list: list of :class:`DpmJobTaskDetails - ` + :type tasks_list: + list[~azure.mgmt.recoveryservicesbackup.models.DpmJobTaskDetails] :param property_bag: The job properties. - :type property_bag: dict + :type property_bag: dict[str, str] :param dynamic_error_message: Non localized error message on job execution. :type dynamic_error_message: str @@ -32,6 +32,7 @@ class DpmJobExtendedInfo(Model): } def __init__(self, tasks_list=None, property_bag=None, dynamic_error_message=None): + super(DpmJobExtendedInfo, self).__init__() self.tasks_list = tasks_list self.property_bag = property_bag self.dynamic_error_message = dynamic_error_message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_task_details.py index 99ae0f74d0a4..7e454bca67ce 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_task_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_job_task_details.py @@ -36,6 +36,7 @@ class DpmJobTaskDetails(Model): } def __init__(self, task_id=None, start_time=None, end_time=None, duration=None, status=None): + super(DpmJobTaskDetails, self).__init__() self.task_id = task_id self.start_time = start_time self.end_time = end_time diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py index a718e01852e5..57c824866d79 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item.py @@ -17,15 +17,16 @@ class DPMProtectedItem(ProtectedItem): :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +37,9 @@ class DPMProtectedItem(ProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param friendly_name: Friendly name of the managed item :type friendly_name: str @@ -46,14 +49,14 @@ class DPMProtectedItem(ProtectedItem): :param protection_state: Protection state of the backupengine. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - :type protection_state: str or :class:`ProtectedItemState - ` + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemState :param is_scheduled_for_deferred_delete: To check if backup item is scheduled for deferred delete :type is_scheduled_for_deferred_delete: bool :param extended_info: Extended info of the backup item. - :type extended_info: :class:`DPMProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.DPMProtectedItemExtendedInfo """ _validation = { @@ -67,6 +70,7 @@ class DPMProtectedItem(ProtectedItem): 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'policy_id': {'key': 'policyId', 'type': 'str'}, 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, 'backup_engine_name': {'key': 'backupEngineName', 'type': 'str'}, @@ -75,8 +79,8 @@ class DPMProtectedItem(ProtectedItem): 'extended_info': {'key': 'extendedInfo', 'type': 'DPMProtectedItemExtendedInfo'}, } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, friendly_name=None, backup_engine_name=None, protection_state=None, is_scheduled_for_deferred_delete=None, extended_info=None): - super(DPMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, backup_engine_name=None, protection_state=None, is_scheduled_for_deferred_delete=None, extended_info=None): + super(DPMProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) self.friendly_name = friendly_name self.backup_engine_name = backup_engine_name self.protection_state = protection_state diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_extended_info.py index 25d1e65d3620..c7a0eb4a8842 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/dpm_protected_item_extended_info.py @@ -17,7 +17,7 @@ class DPMProtectedItemExtendedInfo(Model): :param protectable_object_load_path: Attribute to provide information on various DBs. - :type protectable_object_load_path: dict + :type protectable_object_load_path: dict[str, str] :param protected: To check if backup item is disk protected. :type protected: bool :param is_present_on_cloud: To check if backup item is cloud protected. @@ -64,6 +64,7 @@ class DPMProtectedItemExtendedInfo(Model): } def __init__(self, protectable_object_load_path=None, protected=None, is_present_on_cloud=None, last_backup_status=None, last_refreshed_at=None, oldest_recovery_point=None, recovery_point_count=None, on_premise_oldest_recovery_point=None, on_premise_latest_recovery_point=None, on_premise_recovery_point_count=None, is_collocated=None, protection_group_name=None, disk_storage_used_in_bytes=None, total_disk_storage_size_in_bytes=None): + super(DPMProtectedItemExtendedInfo, self).__init__() self.protectable_object_load_path = protectable_object_load_path self.protected = protected self.is_present_on_cloud = is_present_on_cloud diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/encryption_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/encryption_details.py index 409b93a678fd..7e8dc88964cc 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/encryption_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/encryption_details.py @@ -37,6 +37,7 @@ class EncryptionDetails(Model): } def __init__(self, encryption_enabled=None, kek_url=None, secret_key_url=None, kek_vault_id=None, secret_key_vault_id=None): + super(EncryptionDetails, self).__init__() self.encryption_enabled = encryption_enabled self.kek_url = kek_url self.secret_key_url = secret_key_url diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/error_detail.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/error_detail.py new file mode 100644 index 000000000000..ab2d0a84f2a6 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/error_detail.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ErrorDetail(Model): + """Error Detail class which encapsulates Code, Message and Recommendations. + + :param code: Error code. + :type code: str + :param message: Error Message related to the Code. + :type message: str + :param recommendations: List of recommendation strings. + :type recommendations: list[str] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + } + + def __init__(self, code=None, message=None, recommendations=None): + super(ErrorDetail, self).__init__() + self.code = code + self.message = message + self.recommendations = recommendations diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/export_jobs_operation_result_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/export_jobs_operation_result_info.py index b2a6358e8ca4..ee1f35437300 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/export_jobs_operation_result_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/export_jobs_operation_result_info.py @@ -15,7 +15,7 @@ class ExportJobsOperationResultInfo(OperationResultInfoBase): """This class is used to send blob details after exporting jobs. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param blob_url: URL of the blob into which the serialized string of list of jobs is exported. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/feature_support_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/feature_support_request.py new file mode 100644 index 000000000000..12626b1963e5 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/feature_support_request.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class FeatureSupportRequest(Model): + """Base class for feature request. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureVMResourceFeatureSupportRequest + + :param feature_type: Constant filled by server. + :type feature_type: str + """ + + _validation = { + 'feature_type': {'required': True}, + } + + _attribute_map = { + 'feature_type': {'key': 'featureType', 'type': 'str'}, + } + + _subtype_map = { + 'feature_type': {'AzureVMResourceBackup': 'AzureVMResourceFeatureSupportRequest'} + } + + def __init__(self): + super(FeatureSupportRequest, self).__init__() + self.feature_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container.py new file mode 100644 index 000000000000..1df1e41e4812 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_container import ProtectionContainer + + +class GenericContainer(ProtectionContainer): + """Base class for generic container of backup items. + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param registration_status: Status of registration of the container with + the Recovery Services Vault. + :type registration_status: str + :param health_status: Status of health of the container. + :type health_status: str + :param container_type: Constant filled by server. + :type container_type: str + :param fabric_name: Name of the container's fabric + :type fabric_name: str + :param extended_information: Extended information (not returned in List + container API calls) + :type extended_information: + ~azure.mgmt.recoveryservicesbackup.models.GenericContainerExtendedInfo + """ + + _validation = { + 'container_type': {'required': True}, + } + + _attribute_map = { + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, + 'health_status': {'key': 'healthStatus', 'type': 'str'}, + 'container_type': {'key': 'containerType', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, + 'extended_information': {'key': 'extendedInformation', 'type': 'GenericContainerExtendedInfo'}, + } + + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, fabric_name=None, extended_information=None): + super(GenericContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status) + self.fabric_name = fabric_name + self.extended_information = extended_information + self.container_type = 'GenericContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container_extended_info.py new file mode 100644 index 000000000000..cd757f10f6a4 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_container_extended_info.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class GenericContainerExtendedInfo(Model): + """Container extended information. + + :param raw_cert_data: Public key of container cert + :type raw_cert_data: str + :param container_identity_info: Container identity information + :type container_identity_info: + ~azure.mgmt.recoveryservicesbackup.models.ContainerIdentityInfo + :param service_endpoints: Azure Backup Service Endpoints for the container + :type service_endpoints: dict[str, str] + """ + + _attribute_map = { + 'raw_cert_data': {'key': 'rawCertData', 'type': 'str'}, + 'container_identity_info': {'key': 'containerIdentityInfo', 'type': 'ContainerIdentityInfo'}, + 'service_endpoints': {'key': 'serviceEndpoints', 'type': '{str}'}, + } + + def __init__(self, raw_cert_data=None, container_identity_info=None, service_endpoints=None): + super(GenericContainerExtendedInfo, self).__init__() + self.raw_cert_data = raw_cert_data + self.container_identity_info = container_identity_info + self.service_endpoints = service_endpoints diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py new file mode 100644 index 000000000000..3ffba5725808 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protected_item.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protected_item import ProtectedItem + + +class GenericProtectedItem(ProtectedItem): + """Base class for backup items. + + :param backup_management_type: Type of backup managemenent for the backed + up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param workload_type: Type of workload this item represents. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param container_name: Unique name of container + :type container_name: str + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param last_recovery_point: Timestamp when the last (latest) backup copy + was created for this backup item. + :type last_recovery_point: datetime + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. + :type protected_item_type: str + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param policy_state: Indicates consistency of policy object and policy + applied to this backup item. + :type policy_state: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + 'ProtectionStopped', 'ProtectionPaused' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionState + :param protected_item_id: Data Plane Service ID of the protected item. + :type protected_item_id: long + :param source_associations: Loosely coupled (type, value) associations + (example - parent of a protected item) + :type source_associations: dict[str, str] + :param fabric_name: Name of this backup item's fabric. + :type fabric_name: str + """ + + _validation = { + 'protected_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, + 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'policy_state': {'key': 'policyState', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protected_item_id': {'key': 'protectedItemId', 'type': 'long'}, + 'source_associations': {'key': 'sourceAssociations', 'type': '{str}'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, + } + + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, policy_state=None, protection_state=None, protected_item_id=None, source_associations=None, fabric_name=None): + super(GenericProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) + self.friendly_name = friendly_name + self.policy_state = policy_state + self.protection_state = protection_state + self.protected_item_id = protected_item_id + self.source_associations = source_associations + self.fabric_name = fabric_name + self.protected_item_type = 'GenericProtectedItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protection_policy.py new file mode 100644 index 000000000000..4a4f32f0fb0c --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_protection_policy.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .protection_policy import ProtectionPolicy + + +class GenericProtectionPolicy(ProtectionPolicy): + """Azure VM (Mercury) workload-specific backup policy. + + :param protected_items_count: Number of items associated with this policy. + :type protected_items_count: int + :param backup_management_type: Constant filled by server. + :type backup_management_type: str + :param sub_protection_policy: List of sub-protection policies which + includes schedule and retention + :type sub_protection_policy: + list[~azure.mgmt.recoveryservicesbackup.models.SubProtectionPolicy] + :param time_zone: TimeZone optional input as string. For example: TimeZone + = "Pacific Standard Time". + :type time_zone: str + :param fabric_name: Name of this policy's fabric. + :type fabric_name: str + """ + + _validation = { + 'backup_management_type': {'required': True}, + } + + _attribute_map = { + 'protected_items_count': {'key': 'protectedItemsCount', 'type': 'int'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'sub_protection_policy': {'key': 'subProtectionPolicy', 'type': '[SubProtectionPolicy]'}, + 'time_zone': {'key': 'timeZone', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, + } + + def __init__(self, protected_items_count=None, sub_protection_policy=None, time_zone=None, fabric_name=None): + super(GenericProtectionPolicy, self).__init__(protected_items_count=protected_items_count) + self.sub_protection_policy = sub_protection_policy + self.time_zone = time_zone + self.fabric_name = fabric_name + self.backup_management_type = 'GenericProtectionPolicy' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_recovery_point.py index 7b64f5d9840e..4d480df0754e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/generic_recovery_point.py @@ -15,7 +15,7 @@ class GenericRecoveryPoint(RecoveryPoint): """Generic backup copy. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param friendly_name: Friendly name of the backup copy. :type friendly_name: str diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/get_protected_item_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/get_protected_item_query_object.py index 2c6cd9e1db40..1bf4f345b27d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/get_protected_item_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/get_protected_item_query_object.py @@ -25,4 +25,5 @@ class GetProtectedItemQueryObject(Model): } def __init__(self, expand=None): + super(GetProtectedItemQueryObject, self).__init__() self.expand = expand diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_container.py index d62a466b95a6..c068f5b7959c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_container.py @@ -15,33 +15,25 @@ class IaaSVMContainer(ProtectionContainer): """IaaS VM workload-specific container. - Variables are only populated by the server, and will be ignored when - sending a request. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureIaaSClassicComputeVMContainer, + AzureIaaSComputeVMContainer :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param virtual_machine_id: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. :type virtual_machine_id: str @@ -53,8 +45,7 @@ class IaaSVMContainer(ProtectionContainer): """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } _attribute_map = { @@ -63,14 +54,13 @@ class IaaSVMContainer(ProtectionContainer): 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, 'health_status': {'key': 'healthStatus', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, - 'protectable_object_type': {'key': 'protectableObjectType', 'type': 'str'}, 'virtual_machine_id': {'key': 'virtualMachineId', 'type': 'str'}, 'virtual_machine_version': {'key': 'virtualMachineVersion', 'type': 'str'}, 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, } _subtype_map = { - 'protectable_object_type': {'Microsoft.ClassicCompute/virtualMachines': 'AzureIaaSClassicComputeVMContainer', 'Microsoft.Compute/virtualMachines': 'AzureIaaSComputeVMContainer'} + 'container_type': {'Microsoft.ClassicCompute/virtualMachines': 'AzureIaaSClassicComputeVMContainer', 'Microsoft.Compute/virtualMachines': 'AzureIaaSComputeVMContainer'} } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, virtual_machine_id=None, virtual_machine_version=None, resource_group=None): @@ -78,4 +68,4 @@ def __init__(self, friendly_name=None, backup_management_type=None, registration self.virtual_machine_id = virtual_machine_id self.virtual_machine_version = virtual_machine_version self.resource_group = resource_group - self.protectable_object_type = 'IaaSVMContainer' + self.container_type = 'IaaSVMContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_protectable_item.py index 91f80ce4dc67..b502492fc6b7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaa_svm_protectable_item.py @@ -15,16 +15,23 @@ class IaaSVMProtectableItem(WorkloadProtectableItem): """IaaS VM workload-specific backup item. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem + :param backup_management_type: Type of backup managemenent to backup an item. :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str :param friendly_name: Friendly name of the backup item. :type friendly_name: str :param protection_state: State of the back up item. Possible values - include: 'Invalid', 'NotProtected', 'Protecting', 'Protected' - :type protection_state: str or :class:`ProtectionStatus - ` - :param protectable_item_type: Polymorphic Discriminator + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. :type protectable_item_type: str :param virtual_machine_id: Fully qualified ARM ID of the virtual machine. :type virtual_machine_id: str @@ -36,6 +43,7 @@ class IaaSVMProtectableItem(WorkloadProtectableItem): _attribute_map = { 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, 'protection_state': {'key': 'protectionState', 'type': 'str'}, 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, @@ -46,7 +54,7 @@ class IaaSVMProtectableItem(WorkloadProtectableItem): 'protectable_item_type': {'Microsoft.ClassicCompute/virtualMachines': 'AzureIaaSClassicComputeVMProtectableItem', 'Microsoft.Compute/virtualMachines': 'AzureIaaSComputeVMProtectableItem'} } - def __init__(self, backup_management_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): - super(IaaSVMProtectableItem, self).__init__(backup_management_type=backup_management_type, friendly_name=friendly_name, protection_state=protection_state) + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None, virtual_machine_id=None): + super(IaaSVMProtectableItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, friendly_name=friendly_name, protection_state=protection_state) self.virtual_machine_id = virtual_machine_id self.protectable_item_type = 'IaaSVMProtectableItem' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_backup_request.py index c22594118d27..600b01cafa5c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_backup_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_backup_request.py @@ -15,7 +15,7 @@ class IaasVMBackupRequest(BackupRequest): """IaaS VM workload-specific backup request. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param recovery_point_expiry_time_in_utc: Backup copy will expire after the time specified (UTC). diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_recovery_point.py index c63ee3597a56..6a5686bd05ab 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_recovery_point.py @@ -15,7 +15,7 @@ class IaasVMRecoveryPoint(RecoveryPoint): """IaaS VM workload specific backup copy. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param recovery_point_type: Type of the backup copy. :type recovery_point_type: str @@ -32,15 +32,14 @@ class IaasVMRecoveryPoint(RecoveryPoint): :type is_source_vm_encrypted: bool :param key_and_secret: Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true. - :type key_and_secret: :class:`KeyAndSecretDetails - ` + :type key_and_secret: + ~azure.mgmt.recoveryservicesbackup.models.KeyAndSecretDetails :param is_instant_ilr_session_active: Is the session to recover items from this backup copy still active. :type is_instant_ilr_session_active: bool :param recovery_point_tier_details: Recovery point tier information. - :type recovery_point_tier_details: list of - :class:`RecoveryPointTierInformation - ` + :type recovery_point_tier_details: + list[~azure.mgmt.recoveryservicesbackup.models.RecoveryPointTierInformation] :param is_managed_virtual_machine: Whether VM is with Managed Disks :type is_managed_virtual_machine: bool :param virtual_machine_size: Virtual Machine Size @@ -61,7 +60,7 @@ class IaasVMRecoveryPoint(RecoveryPoint): 'source_vm_storage_type': {'key': 'sourceVMStorageType', 'type': 'str'}, 'is_source_vm_encrypted': {'key': 'isSourceVMEncrypted', 'type': 'bool'}, 'key_and_secret': {'key': 'keyAndSecret', 'type': 'KeyAndSecretDetails'}, - 'is_instant_ilr_session_active': {'key': 'isInstantILRSessionActive', 'type': 'bool'}, + 'is_instant_ilr_session_active': {'key': 'isInstantIlrSessionActive', 'type': 'bool'}, 'recovery_point_tier_details': {'key': 'recoveryPointTierDetails', 'type': '[RecoveryPointTierInformation]'}, 'is_managed_virtual_machine': {'key': 'isManagedVirtualMachine', 'type': 'bool'}, 'virtual_machine_size': {'key': 'virtualMachineSize', 'type': 'str'}, diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_restore_request.py index 6cf482e860e1..98e4d4f74867 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vm_restore_request.py @@ -15,14 +15,14 @@ class IaasVMRestoreRequest(RestoreRequest): """IaaS VM workload-specific restore. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param recovery_point_id: ID of the backup copy to be recovered. :type recovery_point_id: str :param recovery_type: Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' - :type recovery_type: str or :class:`RecoveryType - ` + :type recovery_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryType :param source_resource_id: Fully qualified ARM ID of the VM which is being recovered. :type source_resource_id: str @@ -60,12 +60,12 @@ class IaasVMRestoreRequest(RestoreRequest): while restoring the VM. If this is false, VM will be restored to the same cloud service as it was at the time of backup. :type create_new_cloud_service: bool - :param original_storage_account_option: + :param original_storage_account_option: Original SA Option :type original_storage_account_option: bool :param encryption_details: Details needed if the VM was encrypted at the time of backup. - :type encryption_details: :class:`EncryptionDetails - ` + :type encryption_details: + ~azure.mgmt.recoveryservicesbackup.models.EncryptionDetails """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vmilr_registration_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vmilr_registration_request.py index a0ecb03aa0dd..f9f6a8b2e3fe 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vmilr_registration_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/iaas_vmilr_registration_request.py @@ -15,7 +15,7 @@ class IaasVMILRRegistrationRequest(ILRRequest): """Restore files/folders from a backup copy of IaaS VM. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param recovery_point_id: ID of the IaaS VM backup copy from where the files/folders have to be restored. diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request.py index 496bfb107837..17252ddfd0aa 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request.py @@ -15,7 +15,10 @@ class ILRRequest(Model): """Parameters to restore file/folders API. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: IaasVMILRRegistrationRequest + + :param object_type: Constant filled by server. :type object_type: str """ @@ -32,4 +35,5 @@ class ILRRequest(Model): } def __init__(self): + super(ILRRequest, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request_resource.py index 93f036c382de..e7a2a153a9c9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/ilr_request_resource.py @@ -28,12 +28,11 @@ class ILRRequestResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: ILRRequestResource properties - :type properties: :class:`ILRRequest - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.ILRRequest """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_info.py new file mode 100644 index 000000000000..d9cfda5189ad --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_info.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class InquiryInfo(Model): + """Details about inquired protectable items under a given container. + + :param status: Inquiry Status for this container such as + InProgress | Failed | Succeeded + :type status: str + :param error_detail: Error Details if the Status is non-success. + :type error_detail: ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + :param inquiry_details: Inquiry Details which will have workload specific + details. + For e.g. - For SQL and oracle this will contain different details. + :type inquiry_details: + list[~azure.mgmt.recoveryservicesbackup.models.WorkloadInquiryDetails] + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error_detail': {'key': 'errorDetail', 'type': 'ErrorDetail'}, + 'inquiry_details': {'key': 'inquiryDetails', 'type': '[WorkloadInquiryDetails]'}, + } + + def __init__(self, status=None, error_detail=None, inquiry_details=None): + super(InquiryInfo, self).__init__() + self.status = status + self.error_detail = error_detail + self.inquiry_details = inquiry_details diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_validation.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_validation.py new file mode 100644 index 000000000000..c9cccd8ad507 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/inquiry_validation.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class InquiryValidation(Model): + """Validation for inquired protectable items under a given container. + + :param status: Status for the Inquiry Validation. + :type status: str + :param error_detail: Error Detail in case the status is non-success. + :type error_detail: ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error_detail': {'key': 'errorDetail', 'type': 'ErrorDetail'}, + } + + def __init__(self, status=None, error_detail=None): + super(InquiryValidation, self).__init__() + self.status = status + self.error_detail = error_detail diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/instant_item_recovery_target.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/instant_item_recovery_target.py index 04bea6f37492..ee3279c5c884 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/instant_item_recovery_target.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/instant_item_recovery_target.py @@ -16,8 +16,8 @@ class InstantItemRecoveryTarget(Model): """Target details for file / folder restore. :param client_scripts: List of client scripts. - :type client_scripts: list of :class:`ClientScriptForConnect - ` + :type client_scripts: + list[~azure.mgmt.recoveryservicesbackup.models.ClientScriptForConnect] """ _attribute_map = { @@ -25,4 +25,5 @@ class InstantItemRecoveryTarget(Model): } def __init__(self, client_scripts=None): + super(InstantItemRecoveryTarget, self).__init__() self.client_scripts = client_scripts diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job.py index f9b11988760e..810b7434910d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job.py @@ -15,14 +15,19 @@ class Job(Model): """Defines workload agnostic properties for a job. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureIaaSVMJob, AzureStorageJob, AzureWorkloadJob, DpmJob, + MabJob + :param entity_friendly_name: Friendly name of the entity on which the current job is executing. :type entity_friendly_name: str :param backup_management_type: Backup management type to execute the current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param operation: The operation name. :type operation: str :param status: Job status. @@ -33,7 +38,7 @@ class Job(Model): :type end_time: datetime :param activity_id: ActivityId of job. :type activity_id: str - :param job_type: Polymorphic Discriminator + :param job_type: Constant filled by server. :type job_type: str """ @@ -53,10 +58,11 @@ class Job(Model): } _subtype_map = { - 'job_type': {'AzureIaaSVMJob': 'AzureIaaSVMJob', 'DpmJob': 'DpmJob', 'MabJob': 'MabJob'} + 'job_type': {'AzureIaaSVMJob': 'AzureIaaSVMJob', 'AzureStorageJob': 'AzureStorageJob', 'AzureWorkloadJob': 'AzureWorkloadJob', 'DpmJob': 'DpmJob', 'MabJob': 'MabJob'} } def __init__(self, entity_friendly_name=None, backup_management_type=None, operation=None, status=None, start_time=None, end_time=None, activity_id=None): + super(Job, self).__init__() self.entity_friendly_name = entity_friendly_name self.backup_management_type = backup_management_type self.operation = operation diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_query_object.py index 9c1e3235e80a..fd26d8686452 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_query_object.py @@ -18,18 +18,18 @@ class JobQueryObject(Model): :param status: Status of the job. Possible values include: 'Invalid', 'InProgress', 'Completed', 'Failed', 'CompletedWithWarnings', 'Cancelled', 'Cancelling' - :type status: str or :class:`JobStatus - ` + :type status: str or ~azure.mgmt.recoveryservicesbackup.models.JobStatus :param backup_management_type: Type of backup managmenent for the job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param operation: Type of operation. Possible values include: 'Invalid', 'Register', 'UnRegister', 'ConfigureBackup', 'Backup', 'Restore', 'DisableBackup', 'DeleteBackupData' - :type operation: str or :class:`JobOperationType - ` + :type operation: str or + ~azure.mgmt.recoveryservicesbackup.models.JobOperationType :param job_id: JobID represents the job uniquely. :type job_id: str :param start_time: Job has started at this time. Value is in UTC. @@ -48,6 +48,7 @@ class JobQueryObject(Model): } def __init__(self, status=None, backup_management_type=None, operation=None, job_id=None, start_time=None, end_time=None): + super(JobQueryObject, self).__init__() self.status = status self.backup_management_type = backup_management_type self.operation = operation diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_resource.py index daf894e97687..b1c2a690d005 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/job_resource.py @@ -28,12 +28,11 @@ class JobResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: JobResource properties - :type properties: :class:`Job - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.Job """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/kek_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/kek_details.py index 33585955a5ae..a3ac7eff0aea 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/kek_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/kek_details.py @@ -30,6 +30,7 @@ class KEKDetails(Model): } def __init__(self, key_url=None, key_vault_id=None, key_backup_data=None): + super(KEKDetails, self).__init__() self.key_url = key_url self.key_vault_id = key_vault_id self.key_backup_data = key_backup_data diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py index 4b19658a7142..332c440a895d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/key_and_secret_details.py @@ -21,11 +21,9 @@ class KeyAndSecretDetails(Model): BEK and KEK can potentiallty have different vault ids. :param kek_details: KEK is encryption key for BEK. - :type kek_details: :class:`KEKDetails - ` + :type kek_details: ~azure.mgmt.recoveryservicesbackup.models.KEKDetails :param bek_details: BEK is bitlocker encrpytion key. - :type bek_details: :class:`BEKDetails - ` + :type bek_details: ~azure.mgmt.recoveryservicesbackup.models.BEKDetails """ _attribute_map = { @@ -34,5 +32,6 @@ class KeyAndSecretDetails(Model): } def __init__(self, kek_details=None, bek_details=None): + super(KeyAndSecretDetails, self).__init__() self.kek_details = kek_details self.bek_details = bek_details diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/log_schedule_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/log_schedule_policy.py new file mode 100644 index 000000000000..9fc1efe08476 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/log_schedule_policy.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .schedule_policy import SchedulePolicy + + +class LogSchedulePolicy(SchedulePolicy): + """Log policy schedule. + + :param schedule_policy_type: Constant filled by server. + :type schedule_policy_type: str + :param schedule_frequency_in_mins: Frequency of the log schedule operation + of this policy in minutes. + :type schedule_frequency_in_mins: int + """ + + _validation = { + 'schedule_policy_type': {'required': True}, + } + + _attribute_map = { + 'schedule_policy_type': {'key': 'schedulePolicyType', 'type': 'str'}, + 'schedule_frequency_in_mins': {'key': 'scheduleFrequencyInMins', 'type': 'int'}, + } + + def __init__(self, schedule_frequency_in_mins=None): + super(LogSchedulePolicy, self).__init__() + self.schedule_frequency_in_mins = schedule_frequency_in_mins + self.schedule_policy_type = 'LogSchedulePolicy' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_retention_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_retention_policy.py index bd997bd87ba9..d051d79fba94 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_retention_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_retention_policy.py @@ -15,23 +15,23 @@ class LongTermRetentionPolicy(RetentionPolicy): """Long term retention policy. - :param retention_policy_type: Polymorphic Discriminator + :param retention_policy_type: Constant filled by server. :type retention_policy_type: str :param daily_schedule: Daily retention schedule of the protection policy. - :type daily_schedule: :class:`DailyRetentionSchedule - ` + :type daily_schedule: + ~azure.mgmt.recoveryservicesbackup.models.DailyRetentionSchedule :param weekly_schedule: Weekly retention schedule of the protection policy. - :type weekly_schedule: :class:`WeeklyRetentionSchedule - ` + :type weekly_schedule: + ~azure.mgmt.recoveryservicesbackup.models.WeeklyRetentionSchedule :param monthly_schedule: Monthly retention schedule of the protection policy. - :type monthly_schedule: :class:`MonthlyRetentionSchedule - ` + :type monthly_schedule: + ~azure.mgmt.recoveryservicesbackup.models.MonthlyRetentionSchedule :param yearly_schedule: Yearly retention schedule of the protection policy. - :type yearly_schedule: :class:`YearlyRetentionSchedule - ` + :type yearly_schedule: + ~azure.mgmt.recoveryservicesbackup.models.YearlyRetentionSchedule """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_schedule_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_schedule_policy.py index c3357df16160..7c7b4227b375 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_schedule_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/long_term_schedule_policy.py @@ -15,7 +15,7 @@ class LongTermSchedulePolicy(SchedulePolicy): """Long term policy schedule. - :param schedule_policy_type: Polymorphic Discriminator + :param schedule_policy_type: Constant filled by server. :type schedule_policy_type: str """ diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container.py index cffbc38ea2af..9e226b2f300e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container.py @@ -15,33 +15,21 @@ class MabContainer(ProtectionContainer): """Container with items backed up using MAB backup engine. - Variables are only populated by the server, and will be ignored when - sending a request. - :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str :param can_re_register: Can the container be registered one more time. :type can_re_register: bool :param container_id: ContainerID represents the container. @@ -51,13 +39,17 @@ class MabContainer(ProtectionContainer): :param agent_version: Agent version of this container. :type agent_version: str :param extended_info: Additional information for this container - :type extended_info: :class:`MabContainerExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.MabContainerExtendedInfo + :param mab_container_health_details: Health details on this mab container. + :type mab_container_health_details: + list[~azure.mgmt.recoveryservicesbackup.models.MABContainerHealthDetails] + :param container_health_state: Health state of mab container. + :type container_health_state: str """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } _attribute_map = { @@ -66,19 +58,22 @@ class MabContainer(ProtectionContainer): 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, 'health_status': {'key': 'healthStatus', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, - 'protectable_object_type': {'key': 'protectableObjectType', 'type': 'str'}, 'can_re_register': {'key': 'canReRegister', 'type': 'bool'}, 'container_id': {'key': 'containerId', 'type': 'long'}, 'protected_item_count': {'key': 'protectedItemCount', 'type': 'long'}, 'agent_version': {'key': 'agentVersion', 'type': 'str'}, 'extended_info': {'key': 'extendedInfo', 'type': 'MabContainerExtendedInfo'}, + 'mab_container_health_details': {'key': 'mabContainerHealthDetails', 'type': '[MABContainerHealthDetails]'}, + 'container_health_state': {'key': 'containerHealthState', 'type': 'str'}, } - def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, can_re_register=None, container_id=None, protected_item_count=None, agent_version=None, extended_info=None): + def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None, can_re_register=None, container_id=None, protected_item_count=None, agent_version=None, extended_info=None, mab_container_health_details=None, container_health_state=None): super(MabContainer, self).__init__(friendly_name=friendly_name, backup_management_type=backup_management_type, registration_status=registration_status, health_status=health_status) self.can_re_register = can_re_register self.container_id = container_id self.protected_item_count = protected_item_count self.agent_version = agent_version self.extended_info = extended_info - self.protectable_object_type = 'MABWindowsContainer' + self.mab_container_health_details = mab_container_health_details + self.container_health_state = container_health_state + self.container_type = 'MABWindowsContainer' diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py index 515cbbd9f164..7d9ebf21d45e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_extended_info.py @@ -20,11 +20,12 @@ class MabContainerExtendedInfo(Model): :param backup_item_type: Type of backup items associated with this container. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', - 'SystemState', 'Client', 'GenericDataSource' - :type backup_item_type: str or :class:`BackupItemType - ` + 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + 'AzureFileShare' + :type backup_item_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupItemType :param backup_items: List of backup items associated with this container. - :type backup_items: list of str + :type backup_items: list[str] :param policy_name: Backup policy associated with this container. :type policy_name: str :param last_backup_status: Latest backup status of this container. @@ -40,6 +41,7 @@ class MabContainerExtendedInfo(Model): } def __init__(self, last_refreshed_at=None, backup_item_type=None, backup_items=None, policy_name=None, last_backup_status=None): + super(MabContainerExtendedInfo, self).__init__() self.last_refreshed_at = last_refreshed_at self.backup_item_type = backup_item_type self.backup_items = backup_items diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_health_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_health_details.py new file mode 100644 index 000000000000..ef3ee8057535 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_container_health_details.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MABContainerHealthDetails(Model): + """MAB workload-specific Health Details. + + :param code: Health Code + :type code: int + :param title: Health Title + :type title: str + :param message: Health Message + :type message: str + :param recommendations: Health Recommended Actions + :type recommendations: list[str] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'int'}, + 'title': {'key': 'title', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + } + + def __init__(self, code=None, title=None, message=None, recommendations=None): + super(MABContainerHealthDetails, self).__init__() + self.code = code + self.title = title + self.message = message + self.recommendations = recommendations diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_error_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_error_info.py index d57e90b3fdea..de50e8f73fc3 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_error_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_error_info.py @@ -18,7 +18,7 @@ class MabErrorInfo(Model): :param error_string: Localized error string. :type error_string: str :param recommendations: List of localized recommendations. - :type recommendations: list of str + :type recommendations: list[str] """ _attribute_map = { @@ -27,5 +27,6 @@ class MabErrorInfo(Model): } def __init__(self, error_string=None, recommendations=None): + super(MabErrorInfo, self).__init__() self.error_string = error_string self.recommendations = recommendations diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py index 25969c227884..dd026220f2f2 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item.py @@ -17,15 +17,16 @@ class MabFileFolderProtectedItem(ProtectedItem): :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +37,9 @@ class MabFileFolderProtectedItem(ProtectedItem): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str :param friendly_name: Friendly name of this backup item. :type friendly_name: str @@ -54,8 +57,8 @@ class MabFileFolderProtectedItem(ProtectedItem): :param deferred_delete_sync_time_in_utc: Sync time for deferred deletion. :type deferred_delete_sync_time_in_utc: long :param extended_info: Additional information with this backup item. - :type extended_info: :class:`MabFileFolderProtectedItemExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.MabFileFolderProtectedItemExtendedInfo """ _validation = { @@ -69,6 +72,7 @@ class MabFileFolderProtectedItem(ProtectedItem): 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'policy_id': {'key': 'policyId', 'type': 'str'}, 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, 'computer_name': {'key': 'computerName', 'type': 'str'}, @@ -79,8 +83,8 @@ class MabFileFolderProtectedItem(ProtectedItem): 'extended_info': {'key': 'extendedInfo', 'type': 'MabFileFolderProtectedItemExtendedInfo'}, } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, friendly_name=None, computer_name=None, last_backup_status=None, protection_state=None, is_scheduled_for_deferred_delete=None, deferred_delete_sync_time_in_utc=None, extended_info=None): - super(MabFileFolderProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point) + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None, friendly_name=None, computer_name=None, last_backup_status=None, protection_state=None, is_scheduled_for_deferred_delete=None, deferred_delete_sync_time_in_utc=None, extended_info=None): + super(MabFileFolderProtectedItem, self).__init__(backup_management_type=backup_management_type, workload_type=workload_type, container_name=container_name, source_resource_id=source_resource_id, policy_id=policy_id, last_recovery_point=last_recovery_point, backup_set_name=backup_set_name) self.friendly_name = friendly_name self.computer_name = computer_name self.last_backup_status = last_backup_status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_extended_info.py index 07c902a4fb9e..79ce290f59aa 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_file_folder_protected_item_extended_info.py @@ -31,6 +31,7 @@ class MabFileFolderProtectedItemExtendedInfo(Model): } def __init__(self, last_refreshed_at=None, oldest_recovery_point=None, recovery_point_count=None): + super(MabFileFolderProtectedItemExtendedInfo, self).__init__() self.last_refreshed_at = last_refreshed_at self.oldest_recovery_point = oldest_recovery_point self.recovery_point_count = recovery_point_count diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py index 2e568b44e66d..c6b7317f1de7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job.py @@ -20,9 +20,10 @@ class MabJob(Job): :type entity_friendly_name: str :param backup_management_type: Backup management type to execute the current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param operation: The operation name. :type operation: str :param status: Job status. @@ -33,33 +34,36 @@ class MabJob(Job): :type end_time: datetime :param activity_id: ActivityId of job. :type activity_id: str - :param job_type: Polymorphic Discriminator + :param job_type: Constant filled by server. :type job_type: str :param duration: Time taken by job to run. :type duration: timedelta :param actions_info: The state/actions applicable on jobs like cancel/retry. - :type actions_info: list of str or :class:`JobSupportedAction - ` + :type actions_info: list[str or + ~azure.mgmt.recoveryservicesbackup.models.JobSupportedAction] :param mab_server_name: Name of server protecting the DS. :type mab_server_name: str :param mab_server_type: Server type of MAB container. Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer', - 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter' - :type mab_server_type: str or :class:`MabServerType - ` + 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', + 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', + 'GenericContainer' + :type mab_server_type: str or + ~azure.mgmt.recoveryservicesbackup.models.MabServerType :param workload_type: Workload type of backup item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', - 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource' - :type workload_type: str or :class:`WorkloadType - ` + 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', + 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.WorkloadType :param error_details: The errors. - :type error_details: list of :class:`MabErrorInfo - ` + :type error_details: + list[~azure.mgmt.recoveryservicesbackup.models.MabErrorInfo] :param extended_info: Additional information on the job. - :type extended_info: :class:`MabJobExtendedInfo - ` + :type extended_info: + ~azure.mgmt.recoveryservicesbackup.models.MabJobExtendedInfo """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_extended_info.py index 4f1e4616e72d..e1dcfeb30025 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_extended_info.py @@ -16,10 +16,10 @@ class MabJobExtendedInfo(Model): """Additional information for the MAB workload-specific job. :param tasks_list: List of tasks for this job. - :type tasks_list: list of :class:`MabJobTaskDetails - ` + :type tasks_list: + list[~azure.mgmt.recoveryservicesbackup.models.MabJobTaskDetails] :param property_bag: The job properties. - :type property_bag: dict + :type property_bag: dict[str, str] :param dynamic_error_message: Non localized error message specific to this job. :type dynamic_error_message: str @@ -32,6 +32,7 @@ class MabJobExtendedInfo(Model): } def __init__(self, tasks_list=None, property_bag=None, dynamic_error_message=None): + super(MabJobExtendedInfo, self).__init__() self.tasks_list = tasks_list self.property_bag = property_bag self.dynamic_error_message = dynamic_error_message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_task_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_task_details.py index 79c06f11d80d..2929646ddaad 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_task_details.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_job_task_details.py @@ -36,6 +36,7 @@ class MabJobTaskDetails(Model): } def __init__(self, task_id=None, start_time=None, end_time=None, duration=None, status=None): + super(MabJobTaskDetails, self).__init__() self.task_id = task_id self.start_time = start_time self.end_time = end_time diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_protection_policy.py index e3082f9017a4..a6c894b34787 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/mab_protection_policy.py @@ -17,14 +17,14 @@ class MabProtectionPolicy(ProtectionPolicy): :param protected_items_count: Number of items associated with this policy. :type protected_items_count: int - :param backup_management_type: Polymorphic Discriminator + :param backup_management_type: Constant filled by server. :type backup_management_type: str :param schedule_policy: Backup schedule of backup policy. - :type schedule_policy: :class:`SchedulePolicy - ` + :type schedule_policy: + ~azure.mgmt.recoveryservicesbackup.models.SchedulePolicy :param retention_policy: Retention policy details. - :type retention_policy: :class:`RetentionPolicy - ` + :type retention_policy: + ~azure.mgmt.recoveryservicesbackup.models.RetentionPolicy """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/monthly_retention_schedule.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/monthly_retention_schedule.py index f3a4ea2e5ff6..bbd92698e5f1 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/monthly_retention_schedule.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/monthly_retention_schedule.py @@ -19,21 +19,20 @@ class MonthlyRetentionSchedule(Model): monthly retention policy. Possible values include: 'Invalid', 'Daily', 'Weekly' :type retention_schedule_format_type: str or - :class:`RetentionScheduleFormat - ` + ~azure.mgmt.recoveryservicesbackup.models.RetentionScheduleFormat :param retention_schedule_daily: Daily retention format for monthly retention policy. - :type retention_schedule_daily: :class:`DailyRetentionFormat - ` + :type retention_schedule_daily: + ~azure.mgmt.recoveryservicesbackup.models.DailyRetentionFormat :param retention_schedule_weekly: Weekly retention format for monthly retention policy. - :type retention_schedule_weekly: :class:`WeeklyRetentionFormat - ` + :type retention_schedule_weekly: + ~azure.mgmt.recoveryservicesbackup.models.WeeklyRetentionFormat :param retention_times: Retention times of retention policy. - :type retention_times: list of datetime + :type retention_times: list[datetime] :param retention_duration: Retention duration of retention Policy. - :type retention_duration: :class:`RetentionDuration - ` + :type retention_duration: + ~azure.mgmt.recoveryservicesbackup.models.RetentionDuration """ _attribute_map = { @@ -45,6 +44,7 @@ class MonthlyRetentionSchedule(Model): } def __init__(self, retention_schedule_format_type=None, retention_schedule_daily=None, retention_schedule_weekly=None, retention_times=None, retention_duration=None): + super(MonthlyRetentionSchedule, self).__init__() self.retention_schedule_format_type = retention_schedule_format_type self.retention_schedule_daily = retention_schedule_daily self.retention_schedule_weekly = retention_schedule_weekly diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/name_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/name_info.py index 647b137a7f5d..51639fbe1fab 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/name_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/name_info.py @@ -27,5 +27,6 @@ class NameInfo(Model): } def __init__(self, value=None, localized_value=None): + super(NameInfo, self).__init__() self.value = value self.localized_value = localized_value diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info.py index 8d367af660b3..5ecd06c86233 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info.py @@ -15,10 +15,10 @@ class OperationResultInfo(OperationResultInfoBase): """Operation result info. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param job_list: List of jobs created by this operation. - :type job_list: list of str + :type job_list: list[str] """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base.py index 0952b67e9fb0..6a8bb3b4502f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base.py @@ -15,7 +15,10 @@ class OperationResultInfoBase(Model): """Base class for operation result info. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ExportJobsOperationResultInfo, OperationResultInfo + + :param object_type: Constant filled by server. :type object_type: str """ @@ -32,4 +35,5 @@ class OperationResultInfoBase(Model): } def __init__(self): + super(OperationResultInfoBase, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base_resource.py index 4f6580c62f60..c1c506cba84f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_result_info_base_resource.py @@ -29,18 +29,18 @@ class OperationResultInfoBaseResource(OperationWorkerResponse): 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' - :type status_code: str or :class:`HttpStatusCode - ` + :type status_code: str or + ~azure.mgmt.recoveryservicesbackup.models.HttpStatusCode :param headers: HTTP headers associated with this operation. - :type headers: dict + :type headers: dict[str, list[str]] :param operation: OperationResultInfoBaseResource operation - :type operation: :class:`OperationResultInfoBase - ` + :type operation: + ~azure.mgmt.recoveryservicesbackup.models.OperationResultInfoBase """ _attribute_map = { 'status_code': {'key': 'statusCode', 'type': 'HttpStatusCode'}, - 'headers': {'key': 'Headers', 'type': '{[str]}'}, + 'headers': {'key': 'headers', 'type': '{[str]}'}, 'operation': {'key': 'operation', 'type': 'OperationResultInfoBase'}, } diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status.py index baeceaec7bc9..eed759a112d9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status.py @@ -21,18 +21,18 @@ class OperationStatus(Model): :type name: str :param status: Operation status. Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', 'Canceled' - :type status: str or :class:`OperationStatusValues - ` + :type status: str or + ~azure.mgmt.recoveryservicesbackup.models.OperationStatusValues :param start_time: Operation start time. Format: ISO-8601. :type start_time: datetime :param end_time: Operation end time. Format: ISO-8601. :type end_time: datetime :param error: Error information related to this operation. - :type error: :class:`OperationStatusError - ` + :type error: + ~azure.mgmt.recoveryservicesbackup.models.OperationStatusError :param properties: Additional information associated with this operation. - :type properties: :class:`OperationStatusExtendedInfo - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.OperationStatusExtendedInfo """ _attribute_map = { @@ -46,6 +46,7 @@ class OperationStatus(Model): } def __init__(self, id=None, name=None, status=None, start_time=None, end_time=None, error=None, properties=None): + super(OperationStatus, self).__init__() self.id = id self.name = name self.status = status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_error.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_error.py index 2284b1fe67fe..5ae05c8e5102 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_error.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_error.py @@ -27,5 +27,6 @@ class OperationStatusError(Model): } def __init__(self, code=None, message=None): + super(OperationStatusError, self).__init__() self.code = code self.message = message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_extended_info.py index 300596c78941..51a5f5b583a7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_extended_info.py @@ -15,7 +15,11 @@ class OperationStatusExtendedInfo(Model): """Base class for additional information of operation status. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: OperationStatusJobExtendedInfo, + OperationStatusJobsExtendedInfo, OperationStatusProvisionILRExtendedInfo + + :param object_type: Constant filled by server. :type object_type: str """ @@ -32,4 +36,5 @@ class OperationStatusExtendedInfo(Model): } def __init__(self): + super(OperationStatusExtendedInfo, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_job_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_job_extended_info.py index 854b1cb311e2..36a05cb02a7d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_job_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_job_extended_info.py @@ -15,7 +15,7 @@ class OperationStatusJobExtendedInfo(OperationStatusExtendedInfo): """Operation status job extended info. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param job_id: ID of the job created for this protected item. :type job_id: str diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_jobs_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_jobs_extended_info.py index b0e9428364e0..f0b3b549009e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_jobs_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_jobs_extended_info.py @@ -15,13 +15,13 @@ class OperationStatusJobsExtendedInfo(OperationStatusExtendedInfo): """Operation status extended info for list of jobs. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param job_ids: IDs of the jobs created for the protected item. - :type job_ids: list of str + :type job_ids: list[str] :param failed_jobs_error: Stores all the failed jobs along with the corresponding error codes. - :type failed_jobs_error: dict + :type failed_jobs_error: dict[str, str] """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_provision_ilr_extended_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_provision_ilr_extended_info.py index dc701c4810b5..0853c75bb975 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_provision_ilr_extended_info.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_status_provision_ilr_extended_info.py @@ -15,11 +15,11 @@ class OperationStatusProvisionILRExtendedInfo(OperationStatusExtendedInfo): """Operation status extended info for ILR provision action. - :param object_type: Polymorphic Discriminator + :param object_type: Constant filled by server. :type object_type: str :param recovery_target: Target details for file / folder restore. - :type recovery_target: :class:`InstantItemRecoveryTarget - ` + :type recovery_target: + ~azure.mgmt.recoveryservicesbackup.models.InstantItemRecoveryTarget """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_worker_response.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_worker_response.py index 720cf4c736f9..a481315049e5 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_worker_response.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/operation_worker_response.py @@ -29,17 +29,18 @@ class OperationWorkerResponse(Model): 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' - :type status_code: str or :class:`HttpStatusCode - ` + :type status_code: str or + ~azure.mgmt.recoveryservicesbackup.models.HttpStatusCode :param headers: HTTP headers associated with this operation. - :type headers: dict + :type headers: dict[str, list[str]] """ _attribute_map = { 'status_code': {'key': 'statusCode', 'type': 'HttpStatusCode'}, - 'headers': {'key': 'Headers', 'type': '{[str]}'}, + 'headers': {'key': 'headers', 'type': '{[str]}'}, } def __init__(self, status_code=None, headers=None): + super(OperationWorkerResponse, self).__init__() self.status_code = status_code self.headers = headers diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/point_in_time_range.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/point_in_time_range.py new file mode 100644 index 000000000000..7f8f4bbfde76 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/point_in_time_range.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PointInTimeRange(Model): + """Provides details for log ranges. + + :param start_time: Start time of the time range for log recovery. + :type start_time: datetime + :param end_time: End time of the time range for log recovery. + :type end_time: datetime + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__(self, start_time=None, end_time=None): + super(PointInTimeRange, self).__init__() + self.start_time = start_time + self.end_time = end_time diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_backup_validation.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_backup_validation.py new file mode 100644 index 000000000000..2128bb750402 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_backup_validation.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PreBackupValidation(Model): + """Pre-backup validation for Azure VM Workload provider. + + :param status: Status of protectable item, i.e. + InProgress,Succeeded,Failed. Possible values include: 'Invalid', + 'Success', 'Failed' + :type status: str or + ~azure.mgmt.recoveryservicesbackup.models.InquiryStatus + :param code: Error code of protectable item + :type code: str + :param message: Message corresponding to the error code for the + protectable item + :type message: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, status=None, code=None, message=None): + super(PreBackupValidation, self).__init__() + self.status = status + self.code = code + self.message = message diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py new file mode 100644 index 000000000000..f2b6ddbe42e2 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_request.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PreValidateEnableBackupRequest(Model): + """Contract to validate if backup can be enabled on the given resource in a + given vault and given configuration. + It will validate followings + 1. Vault capacity + 2. VM is already protected + 3. Any VM related configuration passed in properties. + + :param resource_type: Container Type - VM, SQLPaaS, DPM etc. Possible + values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', + 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type resource_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType + :param resource_id: Entire ARM VM Id + :type resource_id: str + :param vault_id: Entire vault id of the resource + :type vault_id: str + :param properties: Configuration of VM if any needs to be validated like + OS type etc + :type properties: str + """ + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'vault_id': {'key': 'vaultId', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'str'}, + } + + def __init__(self, resource_type=None, resource_id=None, vault_id=None, properties=None): + super(PreValidateEnableBackupRequest, self).__init__() + self.resource_type = resource_type + self.resource_id = resource_id + self.vault_id = vault_id + self.properties = properties diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_response.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_response.py new file mode 100644 index 000000000000..aacd3c70004b --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/pre_validate_enable_backup_response.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PreValidateEnableBackupResponse(Model): + """Response contract for enable backup validation request. + + :param status: Validation Status. Possible values include: 'Invalid', + 'Succeeded', 'Failed' + :type status: str or + ~azure.mgmt.recoveryservicesbackup.models.ValidationStatus + :param error_code: Response error code + :type error_code: str + :param error_message: Response error message + :type error_message: str + :param recommendation: Recommended action for user + :type recommendation: str + :param container_name: Specifies the product specific container name. E.g. + iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required for portal + :type container_name: str + :param protected_item_name: Specifies the product specific ds name. E.g. + vm;iaasvmcontainer;rgname;vmname. This is required for portal + :type protected_item_name: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'recommendation': {'key': 'recommendation', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'protected_item_name': {'key': 'protectedItemName', 'type': 'str'}, + } + + def __init__(self, status=None, error_code=None, error_message=None, recommendation=None, container_name=None, protected_item_name=None): + super(PreValidateEnableBackupResponse, self).__init__() + self.status = status + self.error_code = error_code + self.error_message = error_message + self.recommendation = recommendation + self.container_name = container_name + self.protected_item_name = protected_item_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container.py new file mode 100644 index 000000000000..918855071e40 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ProtectableContainer(Model): + """Protectable Container Class. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer + + :param friendly_name: Friendly name of the container. + :type friendly_name: str + :param backup_management_type: Type of backup managemenent for the + container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param health_status: Status of health of the container. + :type health_status: str + :param container_id: Fabric Id of the container such as ARM Id. + :type container_id: str + :param protectable_container_type: Constant filled by server. + :type protectable_container_type: str + """ + + _validation = { + 'protectable_container_type': {'required': True}, + } + + _attribute_map = { + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'health_status': {'key': 'healthStatus', 'type': 'str'}, + 'container_id': {'key': 'containerId', 'type': 'str'}, + 'protectable_container_type': {'key': 'protectableContainerType', 'type': 'str'}, + } + + _subtype_map = { + 'protectable_container_type': {'StorageContainer': 'AzureStorageProtectableContainer', 'VMAppContainer': 'AzureVMAppContainerProtectableContainer'} + } + + def __init__(self, friendly_name=None, backup_management_type=None, health_status=None, container_id=None): + super(ProtectableContainer, self).__init__() + self.friendly_name = friendly_name + self.backup_management_type = backup_management_type + self.health_status = health_status + self.container_id = container_id + self.protectable_container_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource.py new file mode 100644 index 000000000000..dcab3bcdbc70 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ProtectableContainerResource(Resource): + """Protectable Container Class. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id represents the complete path to the resource. + :vartype id: str + :ivar name: Resource name associated with the resource. + :vartype name: str + :ivar type: Resource type represents the complete path of the form + Namespace/ResourceType/ResourceType/... + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param e_tag: Optional ETag. + :type e_tag: str + :param properties: ProtectableContainerResource properties + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.ProtectableContainer + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'ProtectableContainer'}, + } + + def __init__(self, location=None, tags=None, e_tag=None, properties=None): + super(ProtectableContainerResource, self).__init__(location=location, tags=tags, e_tag=e_tag) + self.properties = properties diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource_paged.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource_paged.py new file mode 100644 index 000000000000..a02dfe9b0496 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protectable_container_resource_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ProtectableContainerResourcePaged(Paged): + """ + A paging container for iterating over a list of :class:`ProtectableContainerResource ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ProtectableContainerResource]'} + } + + def __init__(self, *args, **kwargs): + + super(ProtectableContainerResourcePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py index ea82418794fd..bf14392017f3 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item.py @@ -15,17 +15,23 @@ class ProtectedItem(Model): """Base class for backup items. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileshareProtectedItem, AzureIaaSVMProtectedItem, + AzureSqlProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, + DPMProtectedItem, GenericProtectedItem, MabFileFolderProtectedItem + :param backup_management_type: Type of backup managemenent for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param workload_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - 'GenericDataSource' - :type workload_type: str or :class:`DataSourceType - ` + 'GenericDataSource', 'SQLDataBase', 'AzureFileShare' + :type workload_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param container_name: Unique name of container :type container_name: str :param source_resource_id: ARM ID of the resource to be backed up. @@ -36,7 +42,9 @@ class ProtectedItem(Model): :param last_recovery_point: Timestamp when the last (latest) backup copy was created for this backup item. :type last_recovery_point: datetime - :param protected_item_type: Polymorphic Discriminator + :param backup_set_name: Name of the backup set the backup item belongs to + :type backup_set_name: str + :param protected_item_type: Constant filled by server. :type protected_item_type: str """ @@ -51,18 +59,21 @@ class ProtectedItem(Model): 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, 'policy_id': {'key': 'policyId', 'type': 'str'}, 'last_recovery_point': {'key': 'lastRecoveryPoint', 'type': 'iso-8601'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, 'protected_item_type': {'key': 'protectedItemType', 'type': 'str'}, } _subtype_map = { - 'protected_item_type': {'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} + 'protected_item_type': {'AzureFileShareProtectedItem': 'AzureFileshareProtectedItem', 'AzureIaaSVMProtectedItem': 'AzureIaaSVMProtectedItem', 'Microsoft.Sql/servers/databases': 'AzureSqlProtectedItem', 'AzureVmWorkloadSQLDatabase': 'AzureVmWorkloadSQLDatabaseProtectedItem', 'DPMProtectedItem': 'DPMProtectedItem', 'GenericProtectedItem': 'GenericProtectedItem', 'MabFileFolderProtectedItem': 'MabFileFolderProtectedItem'} } - def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None): + def __init__(self, backup_management_type=None, workload_type=None, container_name=None, source_resource_id=None, policy_id=None, last_recovery_point=None, backup_set_name=None): + super(ProtectedItem, self).__init__() self.backup_management_type = backup_management_type self.workload_type = workload_type self.container_name = container_name self.source_resource_id = source_resource_id self.policy_id = policy_id self.last_recovery_point = last_recovery_point + self.backup_set_name = backup_set_name self.protected_item_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py index c9340f195a69..24d524825f6f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_query_object.py @@ -17,18 +17,20 @@ class ProtectedItemQueryObject(Model): :param health_state: Health State for the backed up item. Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' - :type health_state: str or :class:`HealthState - ` + :type health_state: str or + ~azure.mgmt.recoveryservicesbackup.models.HealthState :param backup_management_type: Backup management type for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param item_type: Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', - 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource' - :type item_type: str or :class:`DataSourceType - ` + 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', + 'SQLDataBase', 'AzureFileShare' + :type item_type: str or + ~azure.mgmt.recoveryservicesbackup.models.DataSourceType :param policy_name: Backup policy name associated with the backup item. :type policy_name: str :param container_name: Name of the container. @@ -37,6 +39,10 @@ class ProtectedItemQueryObject(Model): :type backup_engine_name: str :param friendly_name: Friendly name of protected item :type friendly_name: str + :param fabric_name: Name of the fabric. + :type fabric_name: str + :param backup_set_name: Name of the backup set. + :type backup_set_name: str """ _attribute_map = { @@ -47,9 +53,12 @@ class ProtectedItemQueryObject(Model): 'container_name': {'key': 'containerName', 'type': 'str'}, 'backup_engine_name': {'key': 'backupEngineName', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, + 'backup_set_name': {'key': 'backupSetName', 'type': 'str'}, } - def __init__(self, health_state=None, backup_management_type=None, item_type=None, policy_name=None, container_name=None, backup_engine_name=None, friendly_name=None): + def __init__(self, health_state=None, backup_management_type=None, item_type=None, policy_name=None, container_name=None, backup_engine_name=None, friendly_name=None, fabric_name=None, backup_set_name=None): + super(ProtectedItemQueryObject, self).__init__() self.health_state = health_state self.backup_management_type = backup_management_type self.item_type = item_type @@ -57,3 +66,5 @@ def __init__(self, health_state=None, backup_management_type=None, item_type=Non self.container_name = container_name self.backup_engine_name = backup_engine_name self.friendly_name = friendly_name + self.fabric_name = fabric_name + self.backup_set_name = backup_set_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_resource.py index 7177c53a18f2..205a3165ced7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protected_item_resource.py @@ -28,12 +28,11 @@ class ProtectedItemResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: ProtectedItemResource properties - :type properties: :class:`ProtectedItem - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.ProtectedItem """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py index ca9f5b852163..5a1d28dd7b58 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container.py @@ -16,38 +16,30 @@ class ProtectionContainer(Model): """Base class for container with backup items. Containers with specific workloads are derived from this class. - Variables are only populated by the server, and will be ignored when - sending a request. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureBackupServerContainer, AzureSqlContainer, + AzureStorageContainer, AzureWorkloadContainer, DpmContainer, + GenericContainer, IaaSVMContainer, MabContainer :param friendly_name: Friendly name of the container. :type friendly_name: str :param backup_management_type: Type of backup managemenent for the container. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', - 'DPM', 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType :param registration_status: Status of registration of the container with the Recovery Services Vault. :type registration_status: str :param health_status: Status of health of the container. :type health_status: str - :ivar container_type: Type of the container. The value of this property - for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic - Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows - machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is - AzureSqlContainer. Possible values include: 'Invalid', 'Unknown', - 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', - 'AzureBackupServerContainer', 'MABContainer', 'Cluster', - 'AzureSqlContainer', 'Windows', 'VCenter' - :vartype container_type: str or :class:`ContainerType - ` - :param protectable_object_type: Polymorphic Discriminator - :type protectable_object_type: str + :param container_type: Constant filled by server. + :type container_type: str """ _validation = { - 'container_type': {'readonly': True}, - 'protectable_object_type': {'required': True}, + 'container_type': {'required': True}, } _attribute_map = { @@ -56,17 +48,16 @@ class ProtectionContainer(Model): 'registration_status': {'key': 'registrationStatus', 'type': 'str'}, 'health_status': {'key': 'healthStatus', 'type': 'str'}, 'container_type': {'key': 'containerType', 'type': 'str'}, - 'protectable_object_type': {'key': 'protectableObjectType', 'type': 'str'}, } _subtype_map = { - 'protectable_object_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer', 'AzureSqlContainer': 'AzureSqlContainer', 'DPMContainer': 'DpmContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'MABWindowsContainer': 'MabContainer'} + 'container_type': {'AzureBackupServerContainer': 'AzureBackupServerContainer', 'AzureSqlContainer': 'AzureSqlContainer', 'StorageContainer': 'AzureStorageContainer', 'AzureWorkloadContainer': 'AzureWorkloadContainer', 'DPMContainer': 'DpmContainer', 'GenericContainer': 'GenericContainer', 'IaaSVMContainer': 'IaaSVMContainer', 'MABWindowsContainer': 'MabContainer'} } def __init__(self, friendly_name=None, backup_management_type=None, registration_status=None, health_status=None): + super(ProtectionContainer, self).__init__() self.friendly_name = friendly_name self.backup_management_type = backup_management_type self.registration_status = registration_status self.health_status = health_status self.container_type = None - self.protectable_object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_resource.py index 01742f2fb136..a46f2d414514 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_container_resource.py @@ -29,12 +29,12 @@ class ProtectionContainerResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: ProtectionContainerResource properties - :type properties: :class:`ProtectionContainer - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainer """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent.py new file mode 100644 index 000000000000..64a0d569c5e1 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ProtectionIntent(Model): + """Base class for backup ProtectionIntent. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureResourceProtectionIntent + + :param backup_management_type: Type of backup managemenent for the backed + up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param source_resource_id: ARM ID of the resource to be backed up. + :type source_resource_id: str + :param item_id: ID of the item which is getting protected, In case of + Azure Vm , it is ProtectedItemId + :type item_id: str + :param policy_id: ID of the backup policy with which this item is backed + up. + :type policy_id: str + :param protection_state: Backup state of this backup item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protection_intent_item_type: Constant filled by server. + :type protection_intent_item_type: str + """ + + _validation = { + 'protection_intent_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'}, + 'item_id': {'key': 'itemId', 'type': 'str'}, + 'policy_id': {'key': 'policyId', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'protection_intent_item_type': {'key': 'protectionIntentItemType', 'type': 'str'}, + } + + _subtype_map = { + 'protection_intent_item_type': {'AzureResourceItem': 'AzureResourceProtectionIntent'} + } + + def __init__(self, backup_management_type=None, source_resource_id=None, item_id=None, policy_id=None, protection_state=None): + super(ProtectionIntent, self).__init__() + self.backup_management_type = backup_management_type + self.source_resource_id = source_resource_id + self.item_id = item_id + self.policy_id = policy_id + self.protection_state = protection_state + self.protection_intent_item_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent_resource.py new file mode 100644 index 000000000000..66893e20daa9 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_intent_resource.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ProtectionIntentResource(Resource): + """Base class for backup ProtectionIntent. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id represents the complete path to the resource. + :vartype id: str + :ivar name: Resource name associated with the resource. + :vartype name: str + :ivar type: Resource type represents the complete path of the form + Namespace/ResourceType/ResourceType/... + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param e_tag: Optional ETag. + :type e_tag: str + :param properties: ProtectionIntentResource properties + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionIntent + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'ProtectionIntent'}, + } + + def __init__(self, location=None, tags=None, e_tag=None, properties=None): + super(ProtectionIntentResource, self).__init__(location=location, tags=tags, e_tag=e_tag) + self.properties = properties diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy.py index 68e359989c2e..54e403b0f706 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy.py @@ -16,9 +16,15 @@ class ProtectionPolicy(Model): """Base class for backup policy. Workload-specific backup policies are derived from this class. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileShareProtectionPolicy, + AzureIaaSVMProtectionPolicy, AzureSqlProtectionPolicy, + AzureVmWorkloadProtectionPolicy, GenericProtectionPolicy, + MabProtectionPolicy + :param protected_items_count: Number of items associated with this policy. :type protected_items_count: int - :param backup_management_type: Polymorphic Discriminator + :param backup_management_type: Constant filled by server. :type backup_management_type: str """ @@ -32,9 +38,10 @@ class ProtectionPolicy(Model): } _subtype_map = { - 'backup_management_type': {'AzureIaasVM': 'AzureIaaSVMProtectionPolicy', 'AzureSql': 'AzureSqlProtectionPolicy', 'MAB': 'MabProtectionPolicy'} + 'backup_management_type': {'AzureStorage': 'AzureFileShareProtectionPolicy', 'AzureIaasVM': 'AzureIaaSVMProtectionPolicy', 'AzureSql': 'AzureSqlProtectionPolicy', 'AzureWorkload': 'AzureVmWorkloadProtectionPolicy', 'GenericProtectionPolicy': 'GenericProtectionPolicy', 'MAB': 'MabProtectionPolicy'} } def __init__(self, protected_items_count=None): + super(ProtectionPolicy, self).__init__() self.protected_items_count = protected_items_count self.backup_management_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py index b02b7605f3f6..eecc33b428e2 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_query_object.py @@ -17,14 +17,20 @@ class ProtectionPolicyQueryObject(Model): :param backup_management_type: Backup management type for the backup policy. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - 'AzureBackupServer', 'AzureSql' - :type backup_management_type: str or :class:`BackupManagementType - ` + 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', + 'DefaultBackup' + :type backup_management_type: str or + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementType + :param fabric_name: Fabric name for filter + :type fabric_name: str """ _attribute_map = { 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'fabric_name': {'key': 'fabricName', 'type': 'str'}, } - def __init__(self, backup_management_type=None): + def __init__(self, backup_management_type=None, fabric_name=None): + super(ProtectionPolicyQueryObject, self).__init__() self.backup_management_type = backup_management_type + self.fabric_name = fabric_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_resource.py index 2dca26343699..c4e620443993 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/protection_policy_resource.py @@ -29,12 +29,12 @@ class ProtectionPolicyResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: ProtectionPolicyResource properties - :type properties: :class:`ProtectionPolicy - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicy """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py index 1c2c872739c7..2c5c23741810 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point.py @@ -16,7 +16,11 @@ class RecoveryPoint(Model): """Base class for backup copies. Workload-specific backup copies are derived from this class. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileShareRecoveryPoint, AzureWorkloadRecoveryPoint, + GenericRecoveryPoint, IaasVMRecoveryPoint + + :param object_type: Constant filled by server. :type object_type: str """ @@ -29,8 +33,9 @@ class RecoveryPoint(Model): } _subtype_map = { - 'object_type': {'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} + 'object_type': {'AzureFileShareRecoveryPoint': 'AzureFileShareRecoveryPoint', 'AzureWorkloadRecoveryPoint': 'AzureWorkloadRecoveryPoint', 'GenericRecoveryPoint': 'GenericRecoveryPoint', 'IaasVMRecoveryPoint': 'IaasVMRecoveryPoint'} } def __init__(self): + super(RecoveryPoint, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_resource.py index 9ffd786b7ff1..336cb046e4d9 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_resource.py @@ -29,12 +29,11 @@ class RecoveryPointResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: RecoveryPointResource properties - :type properties: :class:`RecoveryPoint - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.RecoveryPoint """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_tier_information.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_tier_information.py index 883e76d7b8a3..222a9f3f6180 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_tier_information.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_point_tier_information.py @@ -17,12 +17,12 @@ class RecoveryPointTierInformation(Model): :param type: Recovery point tier type. Possible values include: 'Invalid', 'InstantRP', 'HardenedRP' - :type type: str or :class:`RecoveryPointTierType - ` + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryPointTierType :param status: Recovery point tier status. Possible values include: 'Invalid', 'Valid', 'Disabled', 'Deleted' - :type status: str or :class:`RecoveryPointTierStatus - ` + :type status: str or + ~azure.mgmt.recoveryservicesbackup.models.RecoveryPointTierStatus """ _attribute_map = { @@ -31,5 +31,6 @@ class RecoveryPointTierInformation(Model): } def __init__(self, type=None, status=None): + super(RecoveryPointTierInformation, self).__init__() self.type = type self.status = status diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py index a71d068bc700..99e79c7e58b8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/recovery_services_backup_client_enums.py @@ -12,77 +12,32 @@ from enum import Enum -class JobSupportedAction(Enum): - - invalid = "Invalid" - cancellable = "Cancellable" - retriable = "Retriable" - - -class BackupManagementType(Enum): - - invalid = "Invalid" - azure_iaas_vm = "AzureIaasVM" - mab = "MAB" - dpm = "DPM" - azure_backup_server = "AzureBackupServer" - azure_sql = "AzureSql" - - -class JobStatus(Enum): - - invalid = "Invalid" - in_progress = "InProgress" - completed = "Completed" - failed = "Failed" - completed_with_warnings = "CompletedWithWarnings" - cancelled = "Cancelled" - cancelling = "Cancelling" - - -class JobOperationType(Enum): +class ProtectionState(Enum): invalid = "Invalid" - register = "Register" - un_register = "UnRegister" - configure_backup = "ConfigureBackup" - backup = "Backup" - restore = "Restore" - disable_backup = "DisableBackup" - delete_backup_data = "DeleteBackupData" + ir_pending = "IRPending" + protected = "Protected" + protection_error = "ProtectionError" + protection_stopped = "ProtectionStopped" + protection_paused = "ProtectionPaused" -class MabServerType(Enum): +class HealthStatus(Enum): + passed = "Passed" + action_required = "ActionRequired" + action_suggested = "ActionSuggested" invalid = "Invalid" - unknown = "Unknown" - iaas_vm_container = "IaasVMContainer" - iaas_vm_service_container = "IaasVMServiceContainer" - dpm_container = "DPMContainer" - azure_backup_server_container = "AzureBackupServerContainer" - mab_container = "MABContainer" - cluster = "Cluster" - azure_sql_container = "AzureSqlContainer" - windows = "Windows" - vcenter = "VCenter" -class WorkloadType(Enum): +class JobSupportedAction(Enum): invalid = "Invalid" - vm = "VM" - file_folder = "FileFolder" - azure_sql_db = "AzureSqlDb" - sqldb = "SQLDB" - exchange = "Exchange" - sharepoint = "Sharepoint" - vmware_vm = "VMwareVM" - system_state = "SystemState" - client = "Client" - generic_data_source = "GenericDataSource" + cancellable = "Cancellable" + retriable = "Retriable" -class ProtectionState(Enum): +class ProtectedItemState(Enum): invalid = "Invalid" ir_pending = "IRPending" @@ -92,22 +47,30 @@ class ProtectionState(Enum): protection_paused = "ProtectionPaused" -class HealthStatus(Enum): +class SupportStatus(Enum): - passed = "Passed" - action_required = "ActionRequired" - action_suggested = "ActionSuggested" invalid = "Invalid" + supported = "Supported" + default_off = "DefaultOFF" + default_on = "DefaultON" + not_supported = "NotSupported" -class ProtectedItemState(Enum): +class LastBackupStatus(Enum): invalid = "Invalid" + healthy = "Healthy" + unhealthy = "Unhealthy" + ir_pending = "IRPending" + + +class ProtectedItemHealthStatus(Enum): + + invalid = "Invalid" + healthy = "Healthy" + unhealthy = "Unhealthy" + not_reachable = "NotReachable" ir_pending = "IRPending" - protected = "Protected" - protection_error = "ProtectionError" - protection_stopped = "ProtectionStopped" - protection_paused = "ProtectionPaused" class UsagesUnit(Enum): @@ -120,25 +83,36 @@ class UsagesUnit(Enum): bytes_per_second = "BytesPerSecond" -class StorageType(Enum): +class DataSourceType(Enum): invalid = "Invalid" - geo_redundant = "GeoRedundant" - locally_redundant = "LocallyRedundant" + vm = "VM" + file_folder = "FileFolder" + azure_sql_db = "AzureSqlDb" + sqldb = "SQLDB" + exchange = "Exchange" + sharepoint = "Sharepoint" + vmware_vm = "VMwareVM" + system_state = "SystemState" + client = "Client" + generic_data_source = "GenericDataSource" + sql_data_base = "SQLDataBase" + azure_file_share = "AzureFileShare" -class StorageTypeState(Enum): +class ProtectionStatus(Enum): invalid = "Invalid" - locked = "Locked" - unlocked = "Unlocked" + not_protected = "NotProtected" + protecting = "Protecting" + protected = "Protected" + protection_failed = "ProtectionFailed" -class EnhancedSecurityState(Enum): +class FabricName(Enum): invalid = "Invalid" - enabled = "Enabled" - disabled = "Disabled" + azure = "Azure" class Type(Enum): @@ -148,21 +122,6 @@ class Type(Enum): backup_protection_container_count_summary = "BackupProtectionContainerCountSummary" -class ContainerType(Enum): - - invalid = "Invalid" - unknown = "Unknown" - iaas_vm_container = "IaasVMContainer" - iaas_vm_service_container = "IaasVMServiceContainer" - dpm_container = "DPMContainer" - azure_backup_server_container = "AzureBackupServerContainer" - mab_container = "MABContainer" - cluster = "Cluster" - azure_sql_container = "AzureSqlContainer" - windows = "Windows" - vcenter = "VCenter" - - class RetentionDurationType(Enum): invalid = "Invalid" @@ -172,27 +131,40 @@ class RetentionDurationType(Enum): years = "Years" -class RecoveryPointTierType(Enum): +class BackupManagementType(Enum): invalid = "Invalid" - instant_rp = "InstantRP" - hardened_rp = "HardenedRP" + azure_iaas_vm = "AzureIaasVM" + mab = "MAB" + dpm = "DPM" + azure_backup_server = "AzureBackupServer" + azure_sql = "AzureSql" + azure_storage = "AzureStorage" + azure_workload = "AzureWorkload" + default_backup = "DefaultBackup" -class RecoveryPointTierStatus(Enum): +class JobStatus(Enum): invalid = "Invalid" - valid = "Valid" - disabled = "Disabled" - deleted = "Deleted" + in_progress = "InProgress" + completed = "Completed" + failed = "Failed" + completed_with_warnings = "CompletedWithWarnings" + cancelled = "Cancelled" + cancelling = "Cancelling" -class RecoveryType(Enum): +class JobOperationType(Enum): invalid = "Invalid" - original_location = "OriginalLocation" - alternate_location = "AlternateLocation" - restore_disks = "RestoreDisks" + register = "Register" + un_register = "UnRegister" + configure_backup = "ConfigureBackup" + backup = "Backup" + restore = "Restore" + disable_backup = "DisableBackup" + delete_backup_data = "DeleteBackupData" class DayOfWeek(Enum): @@ -239,7 +211,26 @@ class MonthOfYear(Enum): december = "December" -class BackupItemType(Enum): +class MabServerType(Enum): + + invalid = "Invalid" + unknown = "Unknown" + iaas_vm_container = "IaasVMContainer" + iaas_vm_service_container = "IaasVMServiceContainer" + dpm_container = "DPMContainer" + azure_backup_server_container = "AzureBackupServerContainer" + mab_container = "MABContainer" + cluster = "Cluster" + azure_sql_container = "AzureSqlContainer" + windows = "Windows" + vcenter = "VCenter" + vm_app_container = "VMAppContainer" + sqlag_work_load_container = "SQLAGWorkLoadContainer" + storage_container = "StorageContainer" + generic_container = "GenericContainer" + + +class WorkloadType(Enum): invalid = "Invalid" vm = "VM" @@ -252,15 +243,8 @@ class BackupItemType(Enum): system_state = "SystemState" client = "Client" generic_data_source = "GenericDataSource" - - -class OperationStatusValues(Enum): - - invalid = "Invalid" - in_progress = "InProgress" - succeeded = "Succeeded" - failed = "Failed" - canceled = "Canceled" + sql_data_base = "SQLDataBase" + azure_file_share = "AzureFileShare" class HttpStatusCode(Enum): @@ -314,19 +298,11 @@ class HttpStatusCode(Enum): http_version_not_supported = "HttpVersionNotSupported" -class DataSourceType(Enum): +class ValidationStatus(Enum): invalid = "Invalid" - vm = "VM" - file_folder = "FileFolder" - azure_sql_db = "AzureSqlDb" - sqldb = "SQLDB" - exchange = "Exchange" - sharepoint = "Sharepoint" - vmware_vm = "VMwareVM" - system_state = "SystemState" - client = "Client" - generic_data_source = "GenericDataSource" + succeeded = "Succeeded" + failed = "Failed" class HealthState(Enum): @@ -344,9 +320,168 @@ class ScheduleRunType(Enum): weekly = "Weekly" -class ProtectionStatus(Enum): +class AzureFileShareType(Enum): invalid = "Invalid" - not_protected = "NotProtected" - protecting = "Protecting" - protected = "Protected" + xsmb = "XSMB" + xsync = "XSync" + + +class RecoveryType(Enum): + + invalid = "Invalid" + original_location = "OriginalLocation" + alternate_location = "AlternateLocation" + restore_disks = "RestoreDisks" + + +class CopyOptions(Enum): + + invalid = "Invalid" + create_copy = "CreateCopy" + skip = "Skip" + overwrite = "Overwrite" + fail_on_conflict = "FailOnConflict" + + +class RestoreRequestType(Enum): + + invalid = "Invalid" + full_share_restore = "FullShareRestore" + item_level_restore = "ItemLevelRestore" + + +class InquiryStatus(Enum): + + invalid = "Invalid" + success = "Success" + failed = "Failed" + + +class SQLDataDirectoryType(Enum): + + invalid = "Invalid" + data = "Data" + log = "Log" + + +class BackupType(Enum): + + invalid = "Invalid" + full = "Full" + differential = "Differential" + log = "Log" + copy_only_full = "CopyOnlyFull" + + +class RestorePointType(Enum): + + invalid = "Invalid" + full = "Full" + log = "Log" + differential = "Differential" + + +class OverwriteOptions(Enum): + + invalid = "Invalid" + fail_on_conflict = "FailOnConflict" + overwrite = "Overwrite" + + +class StorageType(Enum): + + invalid = "Invalid" + geo_redundant = "GeoRedundant" + locally_redundant = "LocallyRedundant" + + +class StorageTypeState(Enum): + + invalid = "Invalid" + locked = "Locked" + unlocked = "Unlocked" + + +class EnhancedSecurityState(Enum): + + invalid = "Invalid" + enabled = "Enabled" + disabled = "Disabled" + + +class ContainerType(Enum): + + invalid = "Invalid" + unknown = "Unknown" + iaas_vm_container = "IaasVMContainer" + iaas_vm_service_container = "IaasVMServiceContainer" + dpm_container = "DPMContainer" + azure_backup_server_container = "AzureBackupServerContainer" + mab_container = "MABContainer" + cluster = "Cluster" + azure_sql_container = "AzureSqlContainer" + windows = "Windows" + vcenter = "VCenter" + vm_app_container = "VMAppContainer" + sqlag_work_load_container = "SQLAGWorkLoadContainer" + storage_container = "StorageContainer" + generic_container = "GenericContainer" + + +class RestorePointQueryType(Enum): + + invalid = "Invalid" + full = "Full" + log = "Log" + differential = "Differential" + full_and_differential = "FullAndDifferential" + all = "All" + + +class WorkloadItemType(Enum): + + invalid = "Invalid" + sql_instance = "SQLInstance" + sql_data_base = "SQLDataBase" + + +class RecoveryPointTierType(Enum): + + invalid = "Invalid" + instant_rp = "InstantRP" + hardened_rp = "HardenedRP" + + +class RecoveryPointTierStatus(Enum): + + invalid = "Invalid" + valid = "Valid" + disabled = "Disabled" + deleted = "Deleted" + + +class BackupItemType(Enum): + + invalid = "Invalid" + vm = "VM" + file_folder = "FileFolder" + azure_sql_db = "AzureSqlDb" + sqldb = "SQLDB" + exchange = "Exchange" + sharepoint = "Sharepoint" + vmware_vm = "VMwareVM" + system_state = "SystemState" + client = "Client" + generic_data_source = "GenericDataSource" + sql_data_base = "SQLDataBase" + azure_file_share = "AzureFileShare" + + +class OperationStatusValues(Enum): + + invalid = "Invalid" + in_progress = "InProgress" + succeeded = "Succeeded" + failed = "Failed" + canceled = "Canceled" diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource.py index 43478f3ea1b1..47264767d3ae 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource.py @@ -28,7 +28,7 @@ class Resource(Model): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str """ @@ -49,6 +49,7 @@ class Resource(Model): } def __init__(self, location=None, tags=None, e_tag=None): + super(Resource, self).__init__() self.id = None self.name = None self.type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource_list.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource_list.py index cdc500e1398e..eaee05d7e8c8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource_list.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/resource_list.py @@ -25,4 +25,5 @@ class ResourceList(Model): } def __init__(self, next_link=None): + super(ResourceList, self).__init__() self.next_link = next_link diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_file_specs.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_file_specs.py new file mode 100644 index 000000000000..dc9d1e3b3387 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_file_specs.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class RestoreFileSpecs(Model): + """Restore file specs like file path, type and target folder path info. + + :param path: Source File/Folder path + :type path: str + :param file_spec_type: Indicates what the Path variable stands for + :type file_spec_type: str + :param target_folder_path: Destination folder path in target FileShare + :type target_folder_path: str + """ + + _attribute_map = { + 'path': {'key': 'path', 'type': 'str'}, + 'file_spec_type': {'key': 'fileSpecType', 'type': 'str'}, + 'target_folder_path': {'key': 'targetFolderPath', 'type': 'str'}, + } + + def __init__(self, path=None, file_spec_type=None, target_folder_path=None): + super(RestoreFileSpecs, self).__init__() + self.path = path + self.file_spec_type = file_spec_type + self.target_folder_path = target_folder_path diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py index e662315f9bdf..1ec1a9efe272 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py @@ -16,7 +16,11 @@ class RestoreRequest(Model): """Base class for restore request. Workload-specific restore requests are derived from this class. - :param object_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileShareRestoreRequest, AzureWorkloadRestoreRequest, + IaasVMRestoreRequest + + :param object_type: Constant filled by server. :type object_type: str """ @@ -29,8 +33,9 @@ class RestoreRequest(Model): } _subtype_map = { - 'object_type': {'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} + 'object_type': {'AzureFileShareRestoreRequest': 'AzureFileShareRestoreRequest', 'AzureWorkloadRestoreRequest': 'AzureWorkloadRestoreRequest', 'IaasVMRestoreRequest': 'IaasVMRestoreRequest'} } def __init__(self): + super(RestoreRequest, self).__init__() self.object_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_resource.py index 91bd09fc9f45..14ea4ae8eb6c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request_resource.py @@ -29,12 +29,11 @@ class RestoreRequestResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: RestoreRequestResource properties - :type properties: :class:`RestoreRequest - ` + :type properties: ~azure.mgmt.recoveryservicesbackup.models.RestoreRequest """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_duration.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_duration.py index a8d6b6cc43e9..d077f2adbd7e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_duration.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_duration.py @@ -22,8 +22,8 @@ class RetentionDuration(Model): :type count: int :param duration_type: Retention duration type of retention policy. Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years' - :type duration_type: str or :class:`RetentionDurationType - ` + :type duration_type: str or + ~azure.mgmt.recoveryservicesbackup.models.RetentionDurationType """ _attribute_map = { @@ -32,5 +32,6 @@ class RetentionDuration(Model): } def __init__(self, count=None, duration_type=None): + super(RetentionDuration, self).__init__() self.count = count self.duration_type = duration_type diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_policy.py index f200b036b2cf..a1de3829171e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/retention_policy.py @@ -15,7 +15,10 @@ class RetentionPolicy(Model): """Base class for retention policy. - :param retention_policy_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: LongTermRetentionPolicy, SimpleRetentionPolicy + + :param retention_policy_type: Constant filled by server. :type retention_policy_type: str """ @@ -32,4 +35,5 @@ class RetentionPolicy(Model): } def __init__(self): + super(RetentionPolicy, self).__init__() self.retention_policy_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/schedule_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/schedule_policy.py index 1c478921c642..10fa23f1319d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/schedule_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/schedule_policy.py @@ -15,7 +15,11 @@ class SchedulePolicy(Model): """Base class for backup schedule. - :param schedule_policy_type: Polymorphic Discriminator + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: LogSchedulePolicy, LongTermSchedulePolicy, + SimpleSchedulePolicy + + :param schedule_policy_type: Constant filled by server. :type schedule_policy_type: str """ @@ -28,8 +32,9 @@ class SchedulePolicy(Model): } _subtype_map = { - 'schedule_policy_type': {'LongTermSchedulePolicy': 'LongTermSchedulePolicy', 'SimpleSchedulePolicy': 'SimpleSchedulePolicy'} + 'schedule_policy_type': {'LogSchedulePolicy': 'LogSchedulePolicy', 'LongTermSchedulePolicy': 'LongTermSchedulePolicy', 'SimpleSchedulePolicy': 'SimpleSchedulePolicy'} } def __init__(self): + super(SchedulePolicy, self).__init__() self.schedule_policy_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/settings.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/settings.py new file mode 100644 index 000000000000..0ef9d1aa8e40 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/settings.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Settings(Model): + """Common settings field for backup management. + + :param time_zone: TimeZone optional input as string. For example: TimeZone + = "Pacific Standard Time". + :type time_zone: str + :param issqlcompression: SQL compression flag + :type issqlcompression: bool + """ + + _attribute_map = { + 'time_zone': {'key': 'timeZone', 'type': 'str'}, + 'issqlcompression': {'key': 'issqlcompression', 'type': 'bool'}, + } + + def __init__(self, time_zone=None, issqlcompression=None): + super(Settings, self).__init__() + self.time_zone = time_zone + self.issqlcompression = issqlcompression diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_retention_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_retention_policy.py index 7f26a5b6f93e..ea7d0332fa0f 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_retention_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_retention_policy.py @@ -15,11 +15,11 @@ class SimpleRetentionPolicy(RetentionPolicy): """Simple policy retention. - :param retention_policy_type: Polymorphic Discriminator + :param retention_policy_type: Constant filled by server. :type retention_policy_type: str :param retention_duration: Retention duration of the protection policy. - :type retention_duration: :class:`RetentionDuration - ` + :type retention_duration: + ~azure.mgmt.recoveryservicesbackup.models.RetentionDuration """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_schedule_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_schedule_policy.py index 965a5e64e6a7..dd98e193ff0d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_schedule_policy.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/simple_schedule_policy.py @@ -15,19 +15,19 @@ class SimpleSchedulePolicy(SchedulePolicy): """Simple policy schedule. - :param schedule_policy_type: Polymorphic Discriminator + :param schedule_policy_type: Constant filled by server. :type schedule_policy_type: str :param schedule_run_frequency: Frequency of the schedule operation of this policy. Possible values include: 'Invalid', 'Daily', 'Weekly' - :type schedule_run_frequency: str or :class:`ScheduleRunType - ` + :type schedule_run_frequency: str or + ~azure.mgmt.recoveryservicesbackup.models.ScheduleRunType :param schedule_run_days: List of days of week this schedule has to be run. - :type schedule_run_days: list of str or :class:`DayOfWeek - ` + :type schedule_run_days: list[str or + ~azure.mgmt.recoveryservicesbackup.models.DayOfWeek] :param schedule_run_times: List of times of day this schedule has to be run. - :type schedule_run_times: list of datetime + :type schedule_run_times: list[datetime] :param schedule_weekly_frequency: At every number weeks this schedule has to be run. :type schedule_weekly_frequency: int diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py new file mode 100644 index 000000000000..4d63c54ef8d0 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SQLDataDirectory(Model): + """SQLDataDirectory info. + + :param type: Type of data directory mapping. Possible values include: + 'Invalid', 'Data', 'Log' + :type type: str or + ~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryType + :param path: File path + :type path: str + :param logical_name: Logical name of the file + :type logical_name: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + 'logical_name': {'key': 'logicalName', 'type': 'str'}, + } + + def __init__(self, type=None, path=None, logical_name=None): + super(SQLDataDirectory, self).__init__() + self.type = type + self.path = path + self.logical_name = logical_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory_mapping.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory_mapping.py new file mode 100644 index 000000000000..986de0da3185 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory_mapping.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SQLDataDirectoryMapping(Model): + """Encapsulates information regarding data directory. + + :param mapping_type: Type of data directory mapping. Possible values + include: 'Invalid', 'Data', 'Log' + :type mapping_type: str or + ~azure.mgmt.recoveryservicesbackup.models.SQLDataDirectoryType + :param source_logical_name: Restore source logical name path + :type source_logical_name: str + :param source_path: Restore source path + :type source_path: str + :param target_path: Target path + :type target_path: str + """ + + _attribute_map = { + 'mapping_type': {'key': 'mappingType', 'type': 'str'}, + 'source_logical_name': {'key': 'sourceLogicalName', 'type': 'str'}, + 'source_path': {'key': 'sourcePath', 'type': 'str'}, + 'target_path': {'key': 'targetPath', 'type': 'str'}, + } + + def __init__(self, mapping_type=None, source_logical_name=None, source_path=None, target_path=None): + super(SQLDataDirectoryMapping, self).__init__() + self.mapping_type = mapping_type + self.source_logical_name = source_logical_name + self.source_path = source_path + self.target_path = target_path diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sub_protection_policy.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sub_protection_policy.py new file mode 100644 index 000000000000..8cf2874e2e23 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sub_protection_policy.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SubProtectionPolicy(Model): + """Sub-protection policy which includes schedule and retention. + + :param policy_type: Type of backup policy type + :type policy_type: str + :param schedule_policy: Backup schedule specified as part of backup + policy. + :type schedule_policy: + ~azure.mgmt.recoveryservicesbackup.models.SchedulePolicy + :param retention_policy: Retention policy with the details on backup copy + retention ranges. + :type retention_policy: + ~azure.mgmt.recoveryservicesbackup.models.RetentionPolicy + """ + + _attribute_map = { + 'policy_type': {'key': 'policyType', 'type': 'str'}, + 'schedule_policy': {'key': 'schedulePolicy', 'type': 'SchedulePolicy'}, + 'retention_policy': {'key': 'retentionPolicy', 'type': 'RetentionPolicy'}, + } + + def __init__(self, policy_type=None, schedule_policy=None, retention_policy=None): + super(SubProtectionPolicy, self).__init__() + self.policy_type = policy_type + self.schedule_policy = schedule_policy + self.retention_policy = retention_policy diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_afs_restore_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_afs_restore_info.py new file mode 100644 index 000000000000..60dceab5a799 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_afs_restore_info.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TargetAFSRestoreInfo(Model): + """Target Azure File Share Info. + + :param name: File share name + :type name: str + :param target_resource_id: Target file share resource ARM ID + :type target_resource_id: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__(self, name=None, target_resource_id=None): + super(TargetAFSRestoreInfo, self).__init__() + self.name = name + self.target_resource_id = target_resource_id diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_restore_info.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_restore_info.py new file mode 100644 index 000000000000..54fc35b26309 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/target_restore_info.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TargetRestoreInfo(Model): + """Details about target workload during restore operation. + + :param overwrite_option: Can Overwrite if Target DataBase already exists. + Possible values include: 'Invalid', 'FailOnConflict', 'Overwrite' + :type overwrite_option: str or + ~azure.mgmt.recoveryservicesbackup.models.OverwriteOptions + :param container_id: Resource Id name of the container in which Target + DataBase resides + :type container_id: str + :param database_name: Database name SQL InstanceName/DataBaseName + :type database_name: str + """ + + _attribute_map = { + 'overwrite_option': {'key': 'overwriteOption', 'type': 'str'}, + 'container_id': {'key': 'containerId', 'type': 'str'}, + 'database_name': {'key': 'databaseName', 'type': 'str'}, + } + + def __init__(self, overwrite_option=None, container_id=None, database_name=None): + super(TargetRestoreInfo, self).__init__() + self.overwrite_option = overwrite_option + self.container_id = container_id + self.database_name = database_name diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/token_information.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/token_information.py index 8c8c0d6349ab..96e2f885a239 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/token_information.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/token_information.py @@ -30,6 +30,7 @@ class TokenInformation(Model): } def __init__(self, token=None, expiry_time_in_utc_ticks=None, security_pin=None): + super(TokenInformation, self).__init__() self.token = token self.expiry_time_in_utc_ticks = expiry_time_in_utc_ticks self.security_pin = security_pin diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_format.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_format.py index c2142f048f6b..6bbe9363ce7d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_format.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_format.py @@ -16,11 +16,11 @@ class WeeklyRetentionFormat(Model): """Weekly retention format. :param days_of_the_week: List of days of the week. - :type days_of_the_week: list of str or :class:`DayOfWeek - ` + :type days_of_the_week: list[str or + ~azure.mgmt.recoveryservicesbackup.models.DayOfWeek] :param weeks_of_the_month: List of weeks of month. - :type weeks_of_the_month: list of str or :class:`WeekOfMonth - ` + :type weeks_of_the_month: list[str or + ~azure.mgmt.recoveryservicesbackup.models.WeekOfMonth] """ _attribute_map = { @@ -29,5 +29,6 @@ class WeeklyRetentionFormat(Model): } def __init__(self, days_of_the_week=None, weeks_of_the_month=None): + super(WeeklyRetentionFormat, self).__init__() self.days_of_the_week = days_of_the_week self.weeks_of_the_month = weeks_of_the_month diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_schedule.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_schedule.py index d255e1d365a4..a28fcbe1a3ed 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_schedule.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/weekly_retention_schedule.py @@ -16,13 +16,13 @@ class WeeklyRetentionSchedule(Model): """Weekly retention schedule. :param days_of_the_week: List of days of week for weekly retention policy. - :type days_of_the_week: list of str or :class:`DayOfWeek - ` + :type days_of_the_week: list[str or + ~azure.mgmt.recoveryservicesbackup.models.DayOfWeek] :param retention_times: Retention times of retention policy. - :type retention_times: list of datetime + :type retention_times: list[datetime] :param retention_duration: Retention duration of retention Policy. - :type retention_duration: :class:`RetentionDuration - ` + :type retention_duration: + ~azure.mgmt.recoveryservicesbackup.models.RetentionDuration """ _attribute_map = { @@ -32,6 +32,7 @@ class WeeklyRetentionSchedule(Model): } def __init__(self, days_of_the_week=None, retention_times=None, retention_duration=None): + super(WeeklyRetentionSchedule, self).__init__() self.days_of_the_week = days_of_the_week self.retention_times = retention_times self.retention_duration = retention_duration diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_inquiry_details.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_inquiry_details.py new file mode 100644 index 000000000000..401e28aec94b --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_inquiry_details.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class WorkloadInquiryDetails(Model): + """Details of an inquired protectable item. + + :param type: Type of the Workload such as SQL, Oracle etc. + :type type: str + :param item_count: Contains the protectable item Count inside this + Container. + :type item_count: long + :param inquiry_validation: Inquiry validation such as permissions and + other backup validations. + :type inquiry_validation: + ~azure.mgmt.recoveryservicesbackup.models.InquiryValidation + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'item_count': {'key': 'itemCount', 'type': 'long'}, + 'inquiry_validation': {'key': 'inquiryValidation', 'type': 'InquiryValidation'}, + } + + def __init__(self, type=None, item_count=None, inquiry_validation=None): + super(WorkloadInquiryDetails, self).__init__() + self.type = type + self.item_count = item_count + self.inquiry_validation = inquiry_validation diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item.py new file mode 100644 index 000000000000..e62b0dd1a3e4 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class WorkloadItem(Model): + """Base class for backup item. Workload-specific backup items are derived from + this class. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureVmWorkloadItem + + :param backup_management_type: Type of backup managemenent to backup an + item. + :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str + :param friendly_name: Friendly name of the backup item. + :type friendly_name: str + :param protection_state: State of the back up item. Possible values + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param workload_item_type: Constant filled by server. + :type workload_item_type: str + """ + + _validation = { + 'workload_item_type': {'required': True}, + } + + _attribute_map = { + 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, + 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, + 'protection_state': {'key': 'protectionState', 'type': 'str'}, + 'workload_item_type': {'key': 'workloadItemType', 'type': 'str'}, + } + + _subtype_map = { + 'workload_item_type': {'AzureVmWorkloadItem': 'AzureVmWorkloadItem'} + } + + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None): + super(WorkloadItem, self).__init__() + self.backup_management_type = backup_management_type + self.workload_type = workload_type + self.friendly_name = friendly_name + self.protection_state = protection_state + self.workload_item_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource.py new file mode 100644 index 000000000000..cbf2f9d38db5 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class WorkloadItemResource(Resource): + """Base class for backup item. Workload-specific backup items are derived from + this class. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id represents the complete path to the resource. + :vartype id: str + :ivar name: Resource name associated with the resource. + :vartype name: str + :ivar type: Resource type represents the complete path of the form + Namespace/ResourceType/ResourceType/... + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param e_tag: Optional ETag. + :type e_tag: str + :param properties: WorkloadItemResource properties + :type properties: ~azure.mgmt.recoveryservicesbackup.models.WorkloadItem + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'WorkloadItem'}, + } + + def __init__(self, location=None, tags=None, e_tag=None, properties=None): + super(WorkloadItemResource, self).__init__(location=location, tags=tags, e_tag=e_tag) + self.properties = properties diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource_paged.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource_paged.py new file mode 100644 index 000000000000..65ead95f1d13 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_item_resource_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class WorkloadItemResourcePaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkloadItemResource ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkloadItemResource]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkloadItemResourcePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item.py index e7c85c7a89a2..54f3e9756531 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item.py @@ -16,16 +16,23 @@ class WorkloadProtectableItem(Model): """Base class for backup item. Workload-specific backup items are derived from this class. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureFileShareProtectableItem, + AzureVmWorkloadProtectableItem, IaaSVMProtectableItem + :param backup_management_type: Type of backup managemenent to backup an item. :type backup_management_type: str + :param workload_type: Type of workload for the backup management + :type workload_type: str :param friendly_name: Friendly name of the backup item. :type friendly_name: str :param protection_state: State of the back up item. Possible values - include: 'Invalid', 'NotProtected', 'Protecting', 'Protected' - :type protection_state: str or :class:`ProtectionStatus - ` - :param protectable_item_type: Polymorphic Discriminator + include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + 'ProtectionFailed' + :type protection_state: str or + ~azure.mgmt.recoveryservicesbackup.models.ProtectionStatus + :param protectable_item_type: Constant filled by server. :type protectable_item_type: str """ @@ -35,17 +42,20 @@ class WorkloadProtectableItem(Model): _attribute_map = { 'backup_management_type': {'key': 'backupManagementType', 'type': 'str'}, + 'workload_type': {'key': 'workloadType', 'type': 'str'}, 'friendly_name': {'key': 'friendlyName', 'type': 'str'}, 'protection_state': {'key': 'protectionState', 'type': 'str'}, 'protectable_item_type': {'key': 'protectableItemType', 'type': 'str'}, } _subtype_map = { - 'protectable_item_type': {'IaaSVMProtectableItem': 'IaaSVMProtectableItem'} + 'protectable_item_type': {'AzureFileShare': 'AzureFileShareProtectableItem', 'AzureVmWorkloadProtectableItem': 'AzureVmWorkloadProtectableItem', 'IaaSVMProtectableItem': 'IaaSVMProtectableItem'} } - def __init__(self, backup_management_type=None, friendly_name=None, protection_state=None): + def __init__(self, backup_management_type=None, workload_type=None, friendly_name=None, protection_state=None): + super(WorkloadProtectableItem, self).__init__() self.backup_management_type = backup_management_type + self.workload_type = workload_type self.friendly_name = friendly_name self.protection_state = protection_state self.protectable_item_type = None diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item_resource.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item_resource.py index 3f2b25637389..e387785ea126 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item_resource.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/workload_protectable_item_resource.py @@ -29,12 +29,12 @@ class WorkloadProtectableItemResource(Resource): :param location: Resource location. :type location: str :param tags: Resource tags. - :type tags: dict + :type tags: dict[str, str] :param e_tag: Optional ETag. :type e_tag: str :param properties: WorkloadProtectableItemResource properties - :type properties: :class:`WorkloadProtectableItem - ` + :type properties: + ~azure.mgmt.recoveryservicesbackup.models.WorkloadProtectableItem """ _validation = { diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/yearly_retention_schedule.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/yearly_retention_schedule.py index f2bcff19392f..ade339752067 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/yearly_retention_schedule.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/yearly_retention_schedule.py @@ -19,24 +19,23 @@ class YearlyRetentionSchedule(Model): yearly retention policy. Possible values include: 'Invalid', 'Daily', 'Weekly' :type retention_schedule_format_type: str or - :class:`RetentionScheduleFormat - ` + ~azure.mgmt.recoveryservicesbackup.models.RetentionScheduleFormat :param months_of_year: List of months of year of yearly retention policy. - :type months_of_year: list of str or :class:`MonthOfYear - ` + :type months_of_year: list[str or + ~azure.mgmt.recoveryservicesbackup.models.MonthOfYear] :param retention_schedule_daily: Daily retention format for yearly retention policy. - :type retention_schedule_daily: :class:`DailyRetentionFormat - ` + :type retention_schedule_daily: + ~azure.mgmt.recoveryservicesbackup.models.DailyRetentionFormat :param retention_schedule_weekly: Weekly retention format for yearly retention policy. - :type retention_schedule_weekly: :class:`WeeklyRetentionFormat - ` + :type retention_schedule_weekly: + ~azure.mgmt.recoveryservicesbackup.models.WeeklyRetentionFormat :param retention_times: Retention times of retention policy. - :type retention_times: list of datetime + :type retention_times: list[datetime] :param retention_duration: Retention duration of retention Policy. - :type retention_duration: :class:`RetentionDuration - ` + :type retention_duration: + ~azure.mgmt.recoveryservicesbackup.models.RetentionDuration """ _attribute_map = { @@ -49,6 +48,7 @@ class YearlyRetentionSchedule(Model): } def __init__(self, retention_schedule_format_type=None, months_of_year=None, retention_schedule_daily=None, retention_schedule_weekly=None, retention_times=None, retention_duration=None): + super(YearlyRetentionSchedule, self).__init__() self.retention_schedule_format_type = retention_schedule_format_type self.months_of_year = months_of_year self.retention_schedule_daily = retention_schedule_daily diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/__init__.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/__init__.py index 85001be77416..f7fa267b884d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/__init__.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/__init__.py @@ -9,12 +9,22 @@ # regenerated. # -------------------------------------------------------------------------- +from .protection_intent_operations import ProtectionIntentOperations +from .backup_status_operations import BackupStatusOperations +from .feature_support_operations import FeatureSupportOperations from .backup_jobs_operations import BackupJobsOperations from .job_details_operations import JobDetailsOperations +from .export_jobs_operation_results_operations import ExportJobsOperationResultsOperations +from .jobs_operations import JobsOperations +from .backup_policies_operations import BackupPoliciesOperations +from .backup_protected_items_operations import BackupProtectedItemsOperations +from .backup_usage_summaries_operations import BackupUsageSummariesOperations from .backup_resource_vault_configs_operations import BackupResourceVaultConfigsOperations from .backup_engines_operations import BackupEnginesOperations from .protection_container_refresh_operation_results_operations import ProtectionContainerRefreshOperationResultsOperations +from .protectable_containers_operations import ProtectableContainersOperations from .protection_containers_operations import ProtectionContainersOperations +from .backup_workload_items_operations import BackupWorkloadItemsOperations from .protection_container_operation_results_operations import ProtectionContainerOperationResultsOperations from .protected_items_operations import ProtectedItemsOperations from .backups_operations import BackupsOperations @@ -25,29 +35,34 @@ from .restores_operations import RestoresOperations from .job_cancellations_operations import JobCancellationsOperations from .job_operation_results_operations import JobOperationResultsOperations -from .export_jobs_operation_results_operations import ExportJobsOperationResultsOperations -from .jobs_operations import JobsOperations from .backup_operation_results_operations import BackupOperationResultsOperations from .backup_operation_statuses_operations import BackupOperationStatusesOperations -from .backup_policies_operations import BackupPoliciesOperations from .protection_policies_operations import ProtectionPoliciesOperations from .protection_policy_operation_results_operations import ProtectionPolicyOperationResultsOperations from .protection_policy_operation_statuses_operations import ProtectionPolicyOperationStatusesOperations from .backup_protectable_items_operations import BackupProtectableItemsOperations -from .backup_protected_items_operations import BackupProtectedItemsOperations from .backup_protection_containers_operations import BackupProtectionContainersOperations from .security_pi_ns_operations import SecurityPINsOperations from .backup_resource_storage_configs_operations import BackupResourceStorageConfigsOperations -from .backup_usage_summaries_operations import BackupUsageSummariesOperations from .operations import Operations __all__ = [ + 'ProtectionIntentOperations', + 'BackupStatusOperations', + 'FeatureSupportOperations', 'BackupJobsOperations', 'JobDetailsOperations', + 'ExportJobsOperationResultsOperations', + 'JobsOperations', + 'BackupPoliciesOperations', + 'BackupProtectedItemsOperations', + 'BackupUsageSummariesOperations', 'BackupResourceVaultConfigsOperations', 'BackupEnginesOperations', 'ProtectionContainerRefreshOperationResultsOperations', + 'ProtectableContainersOperations', 'ProtectionContainersOperations', + 'BackupWorkloadItemsOperations', 'ProtectionContainerOperationResultsOperations', 'ProtectedItemsOperations', 'BackupsOperations', @@ -58,19 +73,14 @@ 'RestoresOperations', 'JobCancellationsOperations', 'JobOperationResultsOperations', - 'ExportJobsOperationResultsOperations', - 'JobsOperations', 'BackupOperationResultsOperations', 'BackupOperationStatusesOperations', - 'BackupPoliciesOperations', 'ProtectionPoliciesOperations', 'ProtectionPolicyOperationResultsOperations', 'ProtectionPolicyOperationStatusesOperations', 'BackupProtectableItemsOperations', - 'BackupProtectedItemsOperations', 'BackupProtectionContainersOperations', 'SecurityPINsOperations', 'BackupResourceStorageConfigsOperations', - 'BackupUsageSummariesOperations', 'Operations', ] diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_engines_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_engines_operations.py index 0c4b0d7a24b9..d1abe831c625 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_engines_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_engines_operations.py @@ -26,6 +26,8 @@ class BackupEnginesOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -54,10 +56,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`BackupEngineBaseResource - ` - :rtype: :class:`BackupEngineBaseResourcePaged - ` + :return: An iterator like instance of BackupEngineBaseResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineBaseResourcePaged[~azure.mgmt.recoveryservicesbackup.models.BackupEngineBaseResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -97,7 +98,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -136,13 +137,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`BackupEngineBaseResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`BackupEngineBaseResource - ` - or :class:`ClientRawResponse` + :return: BackupEngineBaseResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupEngineBaseResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -175,7 +173,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_jobs_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_jobs_operations.py index 4e210638f118..718f77043f09 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_jobs_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_jobs_operations.py @@ -26,6 +26,8 @@ class BackupJobsOperations(object): :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -53,10 +55,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`JobResource - ` - :rtype: :class:`JobResourcePaged - ` + :return: An iterator like instance of JobResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.JobResourcePaged[~azure.mgmt.recoveryservicesbackup.models.JobResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -96,7 +97,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_results_operations.py index cd2acf2d1f18..6df8acd3d67d 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_results_operations.py @@ -26,6 +26,8 @@ class BackupOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -56,11 +58,8 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -89,7 +88,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_statuses_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_statuses_operations.py index 84b722f29058..8222baf8a709 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_statuses_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_operation_statuses_operations.py @@ -26,6 +26,8 @@ class BackupOperationStatusesOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,13 +57,9 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`OperationStatus - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`OperationStatus - ` or - :class:`ClientRawResponse` + :return: OperationStatus or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.OperationStatus or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -90,7 +88,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_policies_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_policies_operations.py index 24f7e7a1f7d6..dbe37f7167f6 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_policies_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_policies_operations.py @@ -23,15 +23,17 @@ class BackupPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. - :ivar api_version: Client Api Version. Constant value: "2016-12-01". + :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2016-12-01" + self.api_version = "2017-07-01" self.config = config @@ -52,10 +54,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`ProtectionPolicyResource - ` - :rtype: :class:`ProtectionPolicyResourcePaged - ` + :return: An iterator like instance of ProtectionPolicyResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResourcePaged[~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -93,7 +94,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protectable_items_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protectable_items_operations.py index 9779a51bccc5..eeddd6a14631 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protectable_items_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protectable_items_operations.py @@ -26,6 +26,8 @@ class BackupProtectableItemsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,11 +57,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of - :class:`WorkloadProtectableItemResource - ` - :rtype: :class:`WorkloadProtectableItemResourcePaged - ` + :return: An iterator like instance of WorkloadProtectableItemResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.WorkloadProtectableItemResourcePaged[~azure.mgmt.recoveryservicesbackup.models.WorkloadProtectableItemResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -99,7 +99,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protected_items_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protected_items_operations.py index 795ea6e78e38..953333953515 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protected_items_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protected_items_operations.py @@ -23,15 +23,17 @@ class BackupProtectedItemsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. - :ivar api_version: Client Api Version. Constant value: "2016-12-01". + :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2016-12-01" + self.api_version = "2017-07-01" self.config = config @@ -54,10 +56,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`ProtectedItemResource - ` - :rtype: :class:`ProtectedItemResourcePaged - ` + :return: An iterator like instance of ProtectedItemResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemResourcePaged[~azure.mgmt.recoveryservicesbackup.models.ProtectedItemResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -97,7 +98,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protection_containers_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protection_containers_operations.py index 908304cbe2f1..36338fb612f8 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protection_containers_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_protection_containers_operations.py @@ -26,6 +26,8 @@ class BackupProtectionContainersOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -51,11 +53,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of - :class:`ProtectionContainerResource - ` - :rtype: :class:`ProtectionContainerResourcePaged - ` + :return: An iterator like instance of ProtectionContainerResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResourcePaged[~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -93,7 +93,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py index b4e252698b2a..8c1680ccc368 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_storage_configs_operations.py @@ -26,6 +26,8 @@ class BackupResourceStorageConfigsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -49,13 +51,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`BackupResourceConfigResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`BackupResourceConfigResource - ` - or :class:`ClientRawResponse` + :return: BackupResourceConfigResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceConfigResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -83,7 +82,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -102,7 +101,7 @@ def get( return deserialized def update( - self, vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config): + self, vault_name, resource_group_name, parameters, custom_headers=None, raw=False, **operation_config): """Updates vault storage model type. :param vault_name: The name of the recovery services vault. @@ -110,16 +109,16 @@ def update( :param resource_group_name: The name of the resource group where the recovery services vault is present. :type resource_group_name: str + :param parameters: Vault storage config request + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceConfigResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -145,9 +144,13 @@ def update( if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + # Construct body + body_content = self._serialize.body(parameters, 'BackupResourceConfigResource') + # Construct and send request request = self._client.patch(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_vault_configs_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_vault_configs_operations.py index c6268b88622b..377baccd3288 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_vault_configs_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_resource_vault_configs_operations.py @@ -26,6 +26,8 @@ class BackupResourceVaultConfigsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -49,13 +51,11 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`BackupResourceVaultConfigResource - ` - or :class:`ClientRawResponse` if + :return: BackupResourceVaultConfigResource or ClientRawResponse if raw=true - :rtype: :class:`BackupResourceVaultConfigResource - ` - or :class:`ClientRawResponse` + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceVaultConfigResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -83,7 +83,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -111,20 +111,18 @@ def update( recovery services vault is present. :type resource_group_name: str :param parameters: resource config request - :type parameters: :class:`BackupResourceVaultConfigResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceVaultConfigResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`BackupResourceVaultConfigResource - ` - or :class:`ClientRawResponse` if + :return: BackupResourceVaultConfigResource or ClientRawResponse if raw=true - :rtype: :class:`BackupResourceVaultConfigResource - ` - or :class:`ClientRawResponse` + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupResourceVaultConfigResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -156,7 +154,7 @@ def update( # Construct and send request request = self._client.patch(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_status_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_status_operations.py new file mode 100644 index 000000000000..fb4242dc357e --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_status_operations.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class BackupStatusOperations(object): + """BackupStatusOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client Api Version. Constant value: "2017-07-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-07-01" + + self.config = config + + def get( + self, azure_region, parameters, custom_headers=None, raw=False, **operation_config): + """Get the container backup status. + + :param azure_region: Azure region to hit Api + :type azure_region: str + :param parameters: Container Backup Status Request + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.BackupStatusRequest + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BackupStatusResponse or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.BackupStatusResponse + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus' + path_format_arguments = { + 'azureRegion': self._serialize.url("azure_region", azure_region, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'BackupStatusRequest') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BackupStatusResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_usage_summaries_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_usage_summaries_operations.py index 75e05fe1eafe..63691d7dfefd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_usage_summaries_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_usage_summaries_operations.py @@ -23,15 +23,17 @@ class BackupUsageSummariesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. - :ivar api_version: Client Api Version. Constant value: "2016-12-01". + :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2016-12-01" + self.api_version = "2017-07-01" self.config = config @@ -53,10 +55,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`BackupManagementUsage - ` - :rtype: :class:`BackupManagementUsagePaged - ` + :return: An iterator like instance of BackupManagementUsage + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.BackupManagementUsagePaged[~azure.mgmt.recoveryservicesbackup.models.BackupManagementUsage] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -96,7 +97,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_workload_items_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_workload_items_operations.py new file mode 100644 index 000000000000..3f14aed2f843 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backup_workload_items_operations.py @@ -0,0 +1,124 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class BackupWorkloadItemsOperations(object): + """BackupWorkloadItemsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client Api Version. Constant value: "2016-12-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2016-12-01" + + self.config = config + + def list( + self, vault_name, resource_group_name, fabric_name, container_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config): + """Provides a pageable list of workload item of a specific container + according to the query filter and the pagination parameters. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Fabric name associated with the container. + :type fabric_name: str + :param container_name: Name of the container. + :type container_name: str + :param filter: OData filter options. + :type filter: str + :param skip_token: skipToken Filter. + :type skip_token: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of WorkloadItemResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.WorkloadItemResourcePaged[~azure.mgmt.recoveryservicesbackup.models.WorkloadItemResource] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/items' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if skip_token is not None: + query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.WorkloadItemResourcePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.WorkloadItemResourcePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backups_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backups_operations.py index 9831450591f0..568e2ee07f13 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backups_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/backups_operations.py @@ -26,6 +26,8 @@ class BackupsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -54,18 +56,15 @@ def trigger( triggered. :type protected_item_name: str :param parameters: resource backup request - :type parameters: :class:`BackupRequestResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.BackupRequestResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -100,7 +99,7 @@ def trigger( # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/export_jobs_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/export_jobs_operation_results_operations.py index 1df9463a014a..300f9879ffb7 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/export_jobs_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/export_jobs_operation_results_operations.py @@ -23,15 +23,17 @@ class ExportJobsOperationResultsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. - :ivar api_version: Client Api Version. Constant value: "2016-12-01". + :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2016-12-01" + self.api_version = "2017-07-01" self.config = config @@ -54,13 +56,11 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`OperationResultInfoBaseResource - ` - or :class:`ClientRawResponse` if + :return: OperationResultInfoBaseResource or ClientRawResponse if raw=true - :rtype: :class:`OperationResultInfoBaseResource - ` - or :class:`ClientRawResponse` + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.OperationResultInfoBaseResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -89,7 +89,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -100,6 +100,8 @@ def get( if response.status_code == 200: deserialized = self._deserialize('OperationResultInfoBaseResource', response) + if response.status_code == 202: + deserialized = self._deserialize('OperationResultInfoBaseResource', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/feature_support_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/feature_support_operations.py new file mode 100644 index 000000000000..803b9e2e81ae --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/feature_support_operations.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class FeatureSupportOperations(object): + """FeatureSupportOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client Api Version. Constant value: "2017-07-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-07-01" + + self.config = config + + def validate( + self, azure_region, parameters, custom_headers=None, raw=False, **operation_config): + """It will validate if given feature with resource properties is supported + in service. + + :param azure_region: Azure region to hit Api + :type azure_region: str + :param parameters: Feature support request object + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.FeatureSupportRequest + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: AzureVMResourceFeatureSupportResponse or ClientRawResponse if + raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.AzureVMResourceFeatureSupportResponse + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures' + path_format_arguments = { + 'azureRegion': self._serialize.url("azure_region", azure_region, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'FeatureSupportRequest') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('AzureVMResourceFeatureSupportResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/item_level_recovery_connections_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/item_level_recovery_connections_operations.py index 3d705b6b76eb..5deae63d292e 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/item_level_recovery_connections_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/item_level_recovery_connections_operations.py @@ -26,6 +26,8 @@ class ItemLevelRecoveryConnectionsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -60,18 +62,15 @@ def provision( data. iSCSI connection will be provisioned for this backed up data. :type recovery_point_id: str :param parameters: resource ILR request - :type parameters: :class:`ILRRequestResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.ILRRequestResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -107,7 +106,7 @@ def provision( # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) @@ -145,11 +144,8 @@ def revoke( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -181,7 +177,7 @@ def revoke( # Construct and send request request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_cancellations_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_cancellations_operations.py index 9f40475cd5c4..8b987e29343c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_cancellations_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_cancellations_operations.py @@ -26,6 +26,8 @@ class JobCancellationsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -52,11 +54,8 @@ def trigger( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -85,7 +84,7 @@ def trigger( # Construct and send request request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_details_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_details_operations.py index 55ca9c37f2e1..6a17befcb154 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_details_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_details_operations.py @@ -26,6 +26,8 @@ class JobDetailsOperations(object): :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -51,13 +53,9 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`JobResource - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`JobResource - ` or - :class:`ClientRawResponse` + :return: JobResource or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.JobResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -86,7 +84,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_operation_results_operations.py index 46a912da1344..cdce48d98664 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/job_operation_results_operations.py @@ -26,6 +26,8 @@ class JobOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,11 +57,8 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -89,7 +88,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/jobs_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/jobs_operations.py index 87df2e696607..7ad9830563f4 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/jobs_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/jobs_operations.py @@ -23,15 +23,17 @@ class JobsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. - :ivar api_version: Client Api Version. Constant value: "2016-12-01". + :ivar api_version: Client Api Version. Constant value: "2017-07-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2016-12-01" + self.api_version = "2017-07-01" self.config = config @@ -52,11 +54,8 @@ def export( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -86,7 +85,7 @@ def export( # Construct and send request request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/operations.py index d8fd6cf9eb87..067f58592bcd 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/operations.py @@ -26,6 +26,8 @@ class Operations(object): :ivar api_version: Client Api Version. Constant value: "2016-08-10". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -44,11 +46,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of - :class:`ClientDiscoveryValueForSingleApi - ` - :rtype: :class:`ClientDiscoveryValueForSingleApiPaged - ` + :return: An iterator like instance of ClientDiscoveryValueForSingleApi + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryValueForSingleApiPaged[~azure.mgmt.recoveryservicesbackup.models.ClientDiscoveryValueForSingleApi] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -78,7 +78,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py new file mode 100644 index 000000000000..1ddcb71bb1f5 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protectable_containers_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class ProtectableContainersOperations(object): + """ProtectableContainersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client Api Version. Constant value: "2016-12-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2016-12-01" + + self.config = config + + def list( + self, vault_name, resource_group_name, fabric_name, filter=None, custom_headers=None, raw=False, **operation_config): + """Lists the containers registered to Recovery Services Vault. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Fabric name associated with the container. + :type fabric_name: str + :param filter: OData filter options. + :type filter: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of ProtectableContainerResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectableContainerResourcePaged[~azure.mgmt.recoveryservicesbackup.models.ProtectableContainerResource] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectableContainers' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ProtectableContainerResourcePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ProtectableContainerResourcePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_results_operations.py index 6fa733ad2977..2625add5e756 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_results_operations.py @@ -26,6 +26,8 @@ class ProtectedItemOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -59,13 +61,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectedItemResource - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectedItemResource - ` or - :class:`ClientRawResponse` + :return: ProtectedItemResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -97,7 +96,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_statuses_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_statuses_operations.py index 1a2e57aa2492..4d1eeeefe722 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_statuses_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_item_operation_statuses_operations.py @@ -26,6 +26,8 @@ class ProtectedItemOperationStatusesOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -63,13 +65,9 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`OperationStatus - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`OperationStatus - ` or - :class:`ClientRawResponse` + :return: OperationStatus or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.OperationStatus or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -101,7 +99,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_items_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_items_operations.py index 3d7ce846724c..7381f1c12f3c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_items_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protected_items_operations.py @@ -26,6 +26,8 @@ class ProtectedItemsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -61,13 +63,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectedItemResource - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectedItemResource - ` or - :class:`ClientRawResponse` + :return: ProtectedItemResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -100,7 +99,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -136,18 +135,15 @@ def create_or_update( :param protected_item_name: Item name to be backed up. :type protected_item_name: str :param parameters: resource backed up item - :type parameters: :class:`ProtectedItemResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.ProtectedItemResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -182,7 +178,7 @@ def create_or_update( # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) @@ -216,11 +212,8 @@ def delete( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -251,7 +244,7 @@ def delete( # Construct and send request request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_operation_results_operations.py index dc1d310649cd..bf8727443d60 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_operation_results_operations.py @@ -26,6 +26,8 @@ class ProtectionContainerOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -57,13 +59,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectionContainerResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectionContainerResource - ` - or :class:`ClientRawResponse` + :return: ProtectionContainerResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -94,7 +93,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_refresh_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_refresh_operation_results_operations.py index a6a4628e2387..196039c6bdb1 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_refresh_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_container_refresh_operation_results_operations.py @@ -26,6 +26,8 @@ class ProtectionContainerRefreshOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,11 +57,8 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -89,7 +88,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_containers_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_containers_operations.py index fb54377347d6..9da47a8a5473 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_containers_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_containers_operations.py @@ -26,6 +26,8 @@ class ProtectionContainersOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,13 +57,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectionContainerResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectionContainerResource - ` - or :class:`ClientRawResponse` + :return: ProtectionContainerResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResource + or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -91,7 +90,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -109,8 +108,215 @@ def get( return deserialized + def register( + self, vault_name, resource_group_name, fabric_name, container_name, parameters, custom_headers=None, raw=False, **operation_config): + """Registers the container with Recovery Services vault. + This is an asynchronous operation. To track the operation status, use + location header to call get latest status of the operation. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Fabric name associated with the container. + :type fabric_name: str + :param container_name: Name of the container to be registered. + :type container_name: str + :param parameters: Request body for operation + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResource + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ProtectionContainerResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionContainerResource + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ProtectionContainerResource') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ProtectionContainerResource', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def unregister( + self, vault_name, resource_group_name, fabric_name, container_name, custom_headers=None, raw=False, **operation_config): + """Unregisters the given container from your Recovery Services Vault. + This is an asynchronous operation. To determine whether the backend + service has finished processing the request, call Get Container + Operation Result API. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Name of the fabric where the container belongs. + :type fabric_name: str + :param container_name: Name of the container which needs to be + unregistered from the Recovery Services Vault. + :type container_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def inquire( + self, vault_name, resource_group_name, fabric_name, container_name, custom_headers=None, raw=False, **operation_config): + """Inquires all the protectable item in the given container that can be + protected. + + Inquires all the protectable items that are protectable under the given + container. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Fabric Name associated with the container. + :type fabric_name: str + :param container_name: Name of the container in which inquiry needs to + be triggered. + :type container_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/inquire' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + def refresh( - self, vault_name, resource_group_name, fabric_name, custom_headers=None, raw=False, **operation_config): + self, vault_name, resource_group_name, fabric_name, filter=None, custom_headers=None, raw=False, **operation_config): """Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API. @@ -122,16 +328,15 @@ def refresh( :type resource_group_name: str :param fabric_name: Fabric name associated the container. :type fabric_name: str + :param filter: OData filter options. + :type filter: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -147,6 +352,8 @@ def refresh( # Construct parameters query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') # Construct headers header_parameters = {} @@ -160,7 +367,7 @@ def refresh( # Construct and send request request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_intent_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_intent_operations.py new file mode 100644 index 000000000000..4d5e95e5db42 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_intent_operations.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class ProtectionIntentOperations(object): + """ProtectionIntentOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client Api Version. Constant value: "2017-07-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-07-01" + + self.config = config + + def validate( + self, azure_region, parameters, custom_headers=None, raw=False, **operation_config): + """It will validate followings + 1. Vault capacity + 2. VM is already protected + 3. Any VM related configuration passed in properties. + + :param azure_region: Azure region to hit Api + :type azure_region: str + :param parameters: Enable backup validation request on Virtual Machine + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.PreValidateEnableBackupRequest + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: PreValidateEnableBackupResponse or ClientRawResponse if + raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.PreValidateEnableBackupResponse + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection' + path_format_arguments = { + 'azureRegion': self._serialize.url("azure_region", azure_region, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'PreValidateEnableBackupRequest') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PreValidateEnableBackupResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, vault_name, resource_group_name, fabric_name, intent_object_name, parameters, custom_headers=None, raw=False, **operation_config): + """Create Intent for Enabling backup of an item. This is a synchronous + operation. + + :param vault_name: The name of the recovery services vault. + :type vault_name: str + :param resource_group_name: The name of the resource group where the + recovery services vault is present. + :type resource_group_name: str + :param fabric_name: Fabric name associated with the backup item. + :type fabric_name: str + :param intent_object_name: Intent object name. + :type intent_object_name: str + :param parameters: resource backed up item + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionIntentResource + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ProtectionIntentResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionIntentResource or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}' + path_format_arguments = { + 'vaultName': self._serialize.url("vault_name", vault_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'fabricName': self._serialize.url("fabric_name", fabric_name, 'str'), + 'intentObjectName': self._serialize.url("intent_object_name", intent_object_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ProtectionIntentResource') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ProtectionIntentResource', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policies_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policies_operations.py index dc61b90e00a7..86f545fe2408 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policies_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policies_operations.py @@ -26,6 +26,8 @@ class ProtectionPoliciesOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -53,13 +55,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` + :return: ProtectionPolicyResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -88,7 +87,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -120,20 +119,17 @@ def create_or_update( :param policy_name: Backup policy to be created. :type policy_name: str :param parameters: resource backup policy - :type parameters: :class:`ProtectionPolicyResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` + :return: ProtectionPolicyResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -166,7 +162,7 @@ def create_or_update( # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -202,11 +198,8 @@ def delete( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -235,7 +228,7 @@ def delete( # Construct and send request request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 204]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_results_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_results_operations.py index fe1bb58370f7..e7a7e7b38f0a 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_results_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_results_operations.py @@ -26,6 +26,8 @@ class ProtectionPolicyOperationResultsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -55,13 +57,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` if - raw=true - :rtype: :class:`ProtectionPolicyResource - ` - or :class:`ClientRawResponse` + :return: ProtectionPolicyResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.ProtectionPolicyResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -91,7 +90,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_statuses_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_statuses_operations.py index 2fd99d246fe7..5d0e3ef4d29c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_statuses_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/protection_policy_operation_statuses_operations.py @@ -26,6 +26,8 @@ class ProtectionPolicyOperationStatusesOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -59,13 +61,9 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`OperationStatus - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`OperationStatus - ` or - :class:`ClientRawResponse` + :return: OperationStatus or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.OperationStatus or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -95,7 +93,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/recovery_points_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/recovery_points_operations.py index 749264fc4c59..cf0bfd25874b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/recovery_points_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/recovery_points_operations.py @@ -26,6 +26,8 @@ class RecoveryPointsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -59,10 +61,9 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`RecoveryPointResource - ` - :rtype: :class:`RecoveryPointResourcePaged - ` + :return: An iterator like instance of RecoveryPointResource + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.RecoveryPointResourcePaged[~azure.mgmt.recoveryservicesbackup.models.RecoveryPointResource] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -103,7 +104,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -148,13 +149,10 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`RecoveryPointResource - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`RecoveryPointResource - ` or - :class:`ClientRawResponse` + :return: RecoveryPointResource or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.recoveryservicesbackup.models.RecoveryPointResource or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -186,7 +184,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/restores_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/restores_operations.py index f18eaca82514..682ea1c4273b 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/restores_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/restores_operations.py @@ -26,6 +26,8 @@ class RestoresOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -57,18 +59,15 @@ def trigger( backed up data to be restored. :type recovery_point_id: str :param parameters: resource restore request - :type parameters: :class:`RestoreRequestResource - ` + :type parameters: + ~azure.mgmt.recoveryservicesbackup.models.RestoreRequestResource :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: None or - :class:`ClientRawResponse` if - raw=true - :rtype: None or - :class:`ClientRawResponse` + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -104,7 +103,7 @@ def trigger( # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [202]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/security_pi_ns_operations.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/security_pi_ns_operations.py index a619ae5c3e0d..dae21da7359c 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/security_pi_ns_operations.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/operations/security_pi_ns_operations.py @@ -26,6 +26,8 @@ class SecurityPINsOperations(object): :ivar api_version: Client Api Version. Constant value: "2016-12-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client @@ -49,13 +51,9 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`TokenInformation - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`TokenInformation - ` or - :class:`ClientRawResponse` + :return: TokenInformation or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.recoveryservicesbackup.models.TokenInformation or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL @@ -83,7 +81,7 @@ def get( # Construct and send request request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/recovery_services_backup_client.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/recovery_services_backup_client.py index 1aaabce4718f..579c91a588c3 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/recovery_services_backup_client.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/recovery_services_backup_client.py @@ -13,12 +13,22 @@ from msrest import Serializer, Deserializer from msrestazure import AzureConfiguration from .version import VERSION +from .operations.protection_intent_operations import ProtectionIntentOperations +from .operations.backup_status_operations import BackupStatusOperations +from .operations.feature_support_operations import FeatureSupportOperations from .operations.backup_jobs_operations import BackupJobsOperations from .operations.job_details_operations import JobDetailsOperations +from .operations.export_jobs_operation_results_operations import ExportJobsOperationResultsOperations +from .operations.jobs_operations import JobsOperations +from .operations.backup_policies_operations import BackupPoliciesOperations +from .operations.backup_protected_items_operations import BackupProtectedItemsOperations +from .operations.backup_usage_summaries_operations import BackupUsageSummariesOperations from .operations.backup_resource_vault_configs_operations import BackupResourceVaultConfigsOperations from .operations.backup_engines_operations import BackupEnginesOperations from .operations.protection_container_refresh_operation_results_operations import ProtectionContainerRefreshOperationResultsOperations +from .operations.protectable_containers_operations import ProtectableContainersOperations from .operations.protection_containers_operations import ProtectionContainersOperations +from .operations.backup_workload_items_operations import BackupWorkloadItemsOperations from .operations.protection_container_operation_results_operations import ProtectionContainerOperationResultsOperations from .operations.protected_items_operations import ProtectedItemsOperations from .operations.backups_operations import BackupsOperations @@ -29,20 +39,15 @@ from .operations.restores_operations import RestoresOperations from .operations.job_cancellations_operations import JobCancellationsOperations from .operations.job_operation_results_operations import JobOperationResultsOperations -from .operations.export_jobs_operation_results_operations import ExportJobsOperationResultsOperations -from .operations.jobs_operations import JobsOperations from .operations.backup_operation_results_operations import BackupOperationResultsOperations from .operations.backup_operation_statuses_operations import BackupOperationStatusesOperations -from .operations.backup_policies_operations import BackupPoliciesOperations from .operations.protection_policies_operations import ProtectionPoliciesOperations from .operations.protection_policy_operation_results_operations import ProtectionPolicyOperationResultsOperations from .operations.protection_policy_operation_statuses_operations import ProtectionPolicyOperationStatusesOperations from .operations.backup_protectable_items_operations import BackupProtectableItemsOperations -from .operations.backup_protected_items_operations import BackupProtectedItemsOperations from .operations.backup_protection_containers_operations import BackupProtectionContainersOperations from .operations.security_pi_ns_operations import SecurityPINsOperations from .operations.backup_resource_storage_configs_operations import BackupResourceStorageConfigsOperations -from .operations.backup_usage_summaries_operations import BackupUsageSummariesOperations from .operations.operations import Operations from . import models @@ -67,14 +72,12 @@ def __init__( raise ValueError("Parameter 'credentials' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - if not isinstance(subscription_id, str): - raise TypeError("Parameter 'subscription_id' must be str.") if not base_url: base_url = 'https://management.azure.com' super(RecoveryServicesBackupClientConfiguration, self).__init__(base_url) - self.add_user_agent('recoveryservicesbackupclient/{}'.format(VERSION)) + self.add_user_agent('azure-mgmt-recoveryservicesbackup/{}'.format(VERSION)) self.add_user_agent('Azure-SDK-For-Python') self.credentials = credentials @@ -87,18 +90,38 @@ class RecoveryServicesBackupClient(object): :ivar config: Configuration for client. :vartype config: RecoveryServicesBackupClientConfiguration + :ivar protection_intent: ProtectionIntent operations + :vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations + :ivar backup_status: BackupStatus operations + :vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations + :ivar feature_support: FeatureSupport operations + :vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations :ivar backup_jobs: BackupJobs operations :vartype backup_jobs: azure.mgmt.recoveryservicesbackup.operations.BackupJobsOperations :ivar job_details: JobDetails operations :vartype job_details: azure.mgmt.recoveryservicesbackup.operations.JobDetailsOperations + :ivar export_jobs_operation_results: ExportJobsOperationResults operations + :vartype export_jobs_operation_results: azure.mgmt.recoveryservicesbackup.operations.ExportJobsOperationResultsOperations + :ivar jobs: Jobs operations + :vartype jobs: azure.mgmt.recoveryservicesbackup.operations.JobsOperations + :ivar backup_policies: BackupPolicies operations + :vartype backup_policies: azure.mgmt.recoveryservicesbackup.operations.BackupPoliciesOperations + :ivar backup_protected_items: BackupProtectedItems operations + :vartype backup_protected_items: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsOperations + :ivar backup_usage_summaries: BackupUsageSummaries operations + :vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations :ivar backup_resource_vault_configs: BackupResourceVaultConfigs operations :vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceVaultConfigsOperations :ivar backup_engines: BackupEngines operations :vartype backup_engines: azure.mgmt.recoveryservicesbackup.operations.BackupEnginesOperations :ivar protection_container_refresh_operation_results: ProtectionContainerRefreshOperationResults operations :vartype protection_container_refresh_operation_results: azure.mgmt.recoveryservicesbackup.operations.ProtectionContainerRefreshOperationResultsOperations + :ivar protectable_containers: ProtectableContainers operations + :vartype protectable_containers: azure.mgmt.recoveryservicesbackup.operations.ProtectableContainersOperations :ivar protection_containers: ProtectionContainers operations :vartype protection_containers: azure.mgmt.recoveryservicesbackup.operations.ProtectionContainersOperations + :ivar backup_workload_items: BackupWorkloadItems operations + :vartype backup_workload_items: azure.mgmt.recoveryservicesbackup.operations.BackupWorkloadItemsOperations :ivar protection_container_operation_results: ProtectionContainerOperationResults operations :vartype protection_container_operation_results: azure.mgmt.recoveryservicesbackup.operations.ProtectionContainerOperationResultsOperations :ivar protected_items: ProtectedItems operations @@ -119,16 +142,10 @@ class RecoveryServicesBackupClient(object): :vartype job_cancellations: azure.mgmt.recoveryservicesbackup.operations.JobCancellationsOperations :ivar job_operation_results: JobOperationResults operations :vartype job_operation_results: azure.mgmt.recoveryservicesbackup.operations.JobOperationResultsOperations - :ivar export_jobs_operation_results: ExportJobsOperationResults operations - :vartype export_jobs_operation_results: azure.mgmt.recoveryservicesbackup.operations.ExportJobsOperationResultsOperations - :ivar jobs: Jobs operations - :vartype jobs: azure.mgmt.recoveryservicesbackup.operations.JobsOperations :ivar backup_operation_results: BackupOperationResults operations :vartype backup_operation_results: azure.mgmt.recoveryservicesbackup.operations.BackupOperationResultsOperations :ivar backup_operation_statuses: BackupOperationStatuses operations :vartype backup_operation_statuses: azure.mgmt.recoveryservicesbackup.operations.BackupOperationStatusesOperations - :ivar backup_policies: BackupPolicies operations - :vartype backup_policies: azure.mgmt.recoveryservicesbackup.operations.BackupPoliciesOperations :ivar protection_policies: ProtectionPolicies operations :vartype protection_policies: azure.mgmt.recoveryservicesbackup.operations.ProtectionPoliciesOperations :ivar protection_policy_operation_results: ProtectionPolicyOperationResults operations @@ -137,16 +154,12 @@ class RecoveryServicesBackupClient(object): :vartype protection_policy_operation_statuses: azure.mgmt.recoveryservicesbackup.operations.ProtectionPolicyOperationStatusesOperations :ivar backup_protectable_items: BackupProtectableItems operations :vartype backup_protectable_items: azure.mgmt.recoveryservicesbackup.operations.BackupProtectableItemsOperations - :ivar backup_protected_items: BackupProtectedItems operations - :vartype backup_protected_items: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsOperations :ivar backup_protection_containers: BackupProtectionContainers operations :vartype backup_protection_containers: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionContainersOperations :ivar security_pi_ns: SecurityPINs operations :vartype security_pi_ns: azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations :ivar backup_resource_storage_configs: BackupResourceStorageConfigs operations :vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations - :ivar backup_usage_summaries: BackupUsageSummaries operations - :vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations :ivar operations: Operations operations :vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations @@ -168,18 +181,38 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) + self.protection_intent = ProtectionIntentOperations( + self._client, self.config, self._serialize, self._deserialize) + self.backup_status = BackupStatusOperations( + self._client, self.config, self._serialize, self._deserialize) + self.feature_support = FeatureSupportOperations( + self._client, self.config, self._serialize, self._deserialize) self.backup_jobs = BackupJobsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_details = JobDetailsOperations( self._client, self.config, self._serialize, self._deserialize) + self.export_jobs_operation_results = ExportJobsOperationResultsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.backup_policies = BackupPoliciesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.backup_protected_items = BackupProtectedItemsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.backup_usage_summaries = BackupUsageSummariesOperations( + self._client, self.config, self._serialize, self._deserialize) self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_engines = BackupEnginesOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_container_refresh_operation_results = ProtectionContainerRefreshOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) + self.protectable_containers = ProtectableContainersOperations( + self._client, self.config, self._serialize, self._deserialize) self.protection_containers = ProtectionContainersOperations( self._client, self.config, self._serialize, self._deserialize) + self.backup_workload_items = BackupWorkloadItemsOperations( + self._client, self.config, self._serialize, self._deserialize) self.protection_container_operation_results = ProtectionContainerOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.protected_items = ProtectedItemsOperations( @@ -200,16 +233,10 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.job_operation_results = JobOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) - self.export_jobs_operation_results = ExportJobsOperationResultsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.jobs = JobsOperations( - self._client, self.config, self._serialize, self._deserialize) self.backup_operation_results = BackupOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_operation_statuses = BackupOperationStatusesOperations( self._client, self.config, self._serialize, self._deserialize) - self.backup_policies = BackupPoliciesOperations( - self._client, self.config, self._serialize, self._deserialize) self.protection_policies = ProtectionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_policy_operation_results = ProtectionPolicyOperationResultsOperations( @@ -218,15 +245,11 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.backup_protectable_items = BackupProtectableItemsOperations( self._client, self.config, self._serialize, self._deserialize) - self.backup_protected_items = BackupProtectedItemsOperations( - self._client, self.config, self._serialize, self._deserialize) self.backup_protection_containers = BackupProtectionContainersOperations( self._client, self.config, self._serialize, self._deserialize) self.security_pi_ns = SecurityPINsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations( self._client, self.config, self._serialize, self._deserialize) - self.backup_usage_summaries = BackupUsageSummariesOperations( - self._client, self.config, self._serialize, self._deserialize) self.operations = Operations( self._client, self.config, self._serialize, self._deserialize) diff --git a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/version.py b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/version.py index d6acfb896eb4..9bd1dfac7ecb 100644 --- a/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/version.py +++ b/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/version.py @@ -9,4 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.1" +VERSION = "0.2.0" + diff --git a/azure-mgmt-recoveryservicesbackup/tests/__init__.py b/azure-mgmt-recoveryservicesbackup/tests/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml b/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml new file mode 100644 index 000000000000..20f149918785 --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml @@ -0,0 +1,2820 @@ +interactions: +- request: + body: '{"location": "southeastasia"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 resourcemanagementclient/1.2.2 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/PythonSdkRg?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg","name":"PythonSdkRg","location":"southeastasia","properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['182'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 25 Jan 2018 07:57:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: '{"location": "southeastasia", "properties": {}, "sku": {"name": "Standard"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['76'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 recoveryservicesclient/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault?api-version=2016-06-01 + response: + body: {string: '{"location":"southeastasia","name":"PySdkVault","etag":"W/\"datetime''2018-01-25T07%3A57%3A09.6358199Z''\"","properties":{"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}'} + headers: + cache-control: [no-cache] + content-length: ['363'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupPolicies/DefaultPolicy?api-version=2016-12-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupPolicies/DefaultPolicy","name":"DefaultPolicy","type":"Microsoft.RecoveryServices/vaults/backupPolicies","properties":{"backupManagementType":"AzureIaasVM","schedulePolicy":{"schedulePolicyType":"SimpleSchedulePolicy","scheduleRunFrequency":"Daily","scheduleRunTimes":["2018-01-25T17:30:00Z"],"scheduleWeeklyFrequency":0},"retentionPolicy":{"retentionPolicyType":"LongTermRetentionPolicy","dailySchedule":{"retentionTimes":["2018-01-25T17:30:00Z"],"retentionDuration":{"count":30,"durationType":"Days"}}},"protectedItemsCount":0}}'} + headers: + cache-control: [no-cache] + content-length: ['677'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/refreshContainers?api-version=2016-12-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:57:11 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:57:11 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:57:18 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:57:23 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/operationResults/000577fc-ede8-4351-be5a-3abe674d737d?api-version=2016-12-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Thu, 25 Jan 2018 07:57:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupProtectableItems?api-version=2016-12-01&$filter=backupManagementType%20eq%20%27AzureIaasVM%27 + response: + body: {string: '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;dhrathobackup-onebox-dontdelete;dhrathoobtest/protectableItems/vm;iaasvmcontainerv2;dhrathobackup-onebox-dontdelete;dhrathoobtest","name":"iaasvmcontainerv2;dhrathobackup-onebox-dontdelete;dhrathoobtest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dhrathobackup-onebox-dontdelete/providers/Microsoft.Compute/virtualMachines/dhrathoOBTest","virtualMachineVersion":"Compute","resourceGroup":"dhrathobackup-onebox-dontdelete","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"dhrathoOBTest","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;panbhatestrg;panbhatest/protectableItems/vm;iaasvmcontainerv2;panbhatestrg;panbhatest","name":"iaasvmcontainerv2;panbhatestrg;panbhatest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/panbhatestRG/providers/Microsoft.Compute/virtualMachines/panbhatest","virtualMachineVersion":"Compute","resourceGroup":"panbhatestRG","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"panbhatest","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectableItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","name":"iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","virtualMachineVersion":"Compute","resourceGroup":"pythonsdktestrg","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"pythonsdktest","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;zakinkhtestmdvmrg;zkmginstantrp1/protectableItems/vm;iaasvmcontainerv2;zakinkhtestmdvmrg;zkmginstantrp1","name":"iaasvmcontainerv2;zakinkhtestmdvmrg;zkmginstantrp1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zakinkhtestmdvmrg/providers/Microsoft.Compute/virtualMachines/zkmginstantrp1","virtualMachineVersion":"Compute","resourceGroup":"zakinkhtestmdvmrg","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"zkmginstantrp1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;zakinkhtestmdvmrg;zkumginstantrp2/protectableItems/vm;iaasvmcontainerv2;zakinkhtestmdvmrg;zkumginstantrp2","name":"iaasvmcontainerv2;zakinkhtestmdvmrg;zkumginstantrp2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zakinkhtestmdvmrg/providers/Microsoft.Compute/virtualMachines/zkumginstantrp2","virtualMachineVersion":"Compute","resourceGroup":"zakinkhtestmdvmrg","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"zkumginstantrp2","protectionState":"NotProtected"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['4456'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"properties": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest", + "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupPolicies/DefaultPolicy", + "protectedItemType": "Microsoft.Compute/virtualMachines"}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['416'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:57:33 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:33 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:40 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:46 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:57:57 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:03 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","name":"VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"pythonsdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","protectionStatus":"Healthy","protectionState":"IRPending","healthStatus":"Passed","lastBackupStatus":"","lastBackupTime":"2001-01-01T00:00:00Z","protectedItemDataId":"35184606364224","extendedInfo":{"recoveryPointCount":0,"policyInconsistent":false},"protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","policyId":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupPolicies/DefaultPolicy","policyName":"DefaultPolicy"}}'} + headers: + cache-control: [no-cache] + content-length: ['1471'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9?api-version=2016-12-01 + response: + body: {string: '{"id":"5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9","name":"5d60ac33-2e7f-4a36-b9b6-d0676a0f9dd9","status":"Succeeded","startTime":"2018-01-25T07:57:33.2690587Z","endTime":"2018-01-25T07:57:33.2690587Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"e6296d05-711b-4cb6-ae78-95df725a681e"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupProtectedItems?api-version=2017-07-01 + response: + body: {string: '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","name":"VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"pythonsdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","protectionStatus":"Healthy","protectionState":"IRPending","healthStatus":"Passed","lastBackupStatus":"","lastBackupTime":"2001-01-01T00:00:00Z","protectedItemDataId":"35184606364224","protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","policyId":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupPolicies/DefaultPolicy","policyName":"DefaultPolicy"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1416'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"objectType": "IaasVMBackupRequest", "recoveryPointExpiryTimeInUTC": + "2018-01-27T07:58:12.143094Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['116'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/backup?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 07:58:12 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:13 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01'] + cache-control: [no-cache] + content-type: [application/json; charset=utf-8] + date: ['Thu, 25 Jan 2018 07:58:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/c25477e6-4178-4270-a731-b7159c181490?api-version=2016-12-01 + response: + body: {string: '{"id":"c25477e6-4178-4270-a731-b7159c181490","name":"c25477e6-4178-4270-a731-b7159c181490","status":"Succeeded","startTime":"2018-01-25T07:58:12.1334584Z","endTime":"2018-01-25T07:58:12.1334584Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"79bbdae8-c447-46cc-a87d-dbe84cc2a256"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs?api-version=2017-07-01 + response: + body: {string: '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9.0934805S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/e6296d05-711b-4cb6-ae78-95df725a681e","name":"e6296d05-711b-4cb6-ae78-95df725a681e","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT31.6096997S","virtualMachineVersion":"Compute","entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"ConfigureBackup","status":"Completed","startTime":"2018-01-25T07:57:33.2690587Z","endTime":"2018-01-25T07:58:04.8787584Z","activityId":"658320ae-01a5-11e8-88ac-480fcf586696"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1289'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8.4952213S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['838'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:58:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT1M9.4009655S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 07:59:23 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT2M11.0923005S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:00:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT3M12.2623123S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:01:26 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT4M13.7232977S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:02:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT5M15.9889111S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:03:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT6M17.4750651S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:04:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT7M19.6703793S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:05:33 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8M20.7131742S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:06:35 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9M22.4450659S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:07:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT10M23.8428859S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:08:38 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT11M25.0928788S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:09:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT12M26.363052S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:10:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT13M28.5759413S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:11:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT14M29.834948S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['840'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:12:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT15M30.6082043S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"pythonsdktest"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2018-01-25T07:58:12.1334584Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['841'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:13:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT15M55.9003835S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take + Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data + to vault","duration":"PT0S","status":"Completed"}],"propertyBag":{"VM Name":"pythonsdktest","Backup + Size":"2360 MB"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"Completed","startTime":"2018-01-25T07:58:12.1334584Z","endTime":"2018-01-25T08:14:08.0338419Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['904'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/recoveryPoints?api-version=2016-12-01 + response: + body: {string: '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/recoveryPoints/5646224126691","name":"5646224126691","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints","properties":{"objectType":"IaasVMRecoveryPoint","recoveryPointType":"FileSystemConsistent","recoveryPointTime":"2018-01-25T07:58:30.0733641Z","recoveryPointAdditionalInfo":"","sourceVMStorageType":"PremiumVMOnPartialPremiumStorage","isSourceVMEncrypted":false,"isInstantIlrSessionActive":false,"recoveryPointTierDetails":[{"type":1,"status":1},{"type":2,"status":1}],"isManagedVirtualMachine":true,"virtualMachineSize":"Standard_B1s","originalStorageAccountOption":false}}]}'} + headers: + cache-control: [no-cache] + content-length: ['958'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"properties": {"objectType": "IaasVMRestoreRequest", "recoveryPointId": + "5646224126691", "recoveryType": "RestoreDisks", "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest", + "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Storage/storageAccounts/pythonsdktest", + "region": "southeastasia", "createNewCloudService": false}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['509'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/recoveryPoints/5646224126691/restore?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:14:48 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:49 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01'] + cache-control: [no-cache] + content-type: [application/json; charset=utf-8] + date: ['Thu, 25 Jan 2018 08:14:55 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/c7db757f-89cf-4b50-a950-30235a9d8247?api-version=2016-12-01 + response: + body: {string: '{"id":"c7db757f-89cf-4b50-a950-30235a9d8247","name":"c7db757f-89cf-4b50-a950-30235a9d8247","status":"Succeeded","startTime":"2018-01-25T08:14:48.0920756Z","endTime":"2018-01-25T08:14:48.0920756Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:55 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs?api-version=2017-07-01 + response: + body: {string: '{"error":{"code":"RestApiInternalError","message":"The REST API + call encountered an internal error.\r\nWait for a few minutes and then try + the operation again. If the issue persists, please contact Microsoft support.","target":null,"details":null,"innerError":null}}'} + headers: + cache-control: [no-cache] + connection: [close] + content-length: ['266'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-failure-cause: [service] + status: {code: 500, message: Internal Server Error} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs?api-version=2017-07-01 + response: + body: {string: '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9.3052383S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/79bbdae8-c447-46cc-a87d-dbe84cc2a256","name":"79bbdae8-c447-46cc-a87d-dbe84cc2a256","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT15M55.9003835S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"Completed","startTime":"2018-01-25T07:58:12.1334584Z","endTime":"2018-01-25T08:14:08.0338419Z","activityId":"7d7dd7a4-01a5-11e8-8b48-480fcf586696"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/e6296d05-711b-4cb6-ae78-95df725a681e","name":"e6296d05-711b-4cb6-ae78-95df725a681e","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT31.6096997S","virtualMachineVersion":"Compute","entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"ConfigureBackup","status":"Completed","startTime":"2018-01-25T07:57:33.2690587Z","endTime":"2018-01-25T07:58:04.8787584Z","activityId":"658320ae-01a5-11e8-88ac-480fcf586696"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1957'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:57 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8.3198511S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['815'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:14:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT1M10.0215788S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:16:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT2M11.1024282S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:17:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT3M12.5375559S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:18:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT4M14.7107446S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:19:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT5M16.2094883S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:20:05 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT6M17.5731337S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:21:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT7M18.825637S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['817'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:22:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8M23.4922743S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:23:13 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9M24.7764596S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2018-01-25T08:14:48.0920756Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['818'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:24:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2?api-version=2017-07-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupJobs/4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","name":"4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT10M5.2436181S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job + Type":"Recover disks","Target Storage Account Name":"pythonsdktest","Recovery + point time ":"1/25/2018 7:58:30 AM","Config Blob Name":"config4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2.json","Config + Blob Container Name":"vhd9197884e1cdb4f8c9f0e7570dccd8da8","Config Blob Uri":"https://pythonsdktest.blob.core.windows.net/vhd9197884e1cdb4f8c9f0e7570dccd8da8/config4f93cbdc-c9f0-49de-b8e3-981bd2fe4aa2.json"}},"entityFriendlyName":"pythonsdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"Completed","startTime":"2018-01-25T08:14:48.0920756Z","endTime":"2018-01-25T08:24:53.3356937Z","activityId":"cebf5e18-01a7-11e8-9d06-480fcf586696"}}'} + headers: + cache-control: [no-cache] + content-length: ['1117'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"properties": {"objectType": "IaasVMILRRegistrationRequest", "recoveryPointId": + "5646224126691", "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest", + "initiatorName": "Hello World", "renewExistingRegistration": true}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['329'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/recoveryPoints/5646224126691/provisionInstantItemRecovery?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:25:17 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:18 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:23 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:30 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:35 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01'] + cache-control: [no-cache] + content-type: [application/json; charset=utf-8] + date: ['Thu, 25 Jan 2018 08:25:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/4b19732c-df26-4a70-b54b-2c2985aef8cb?api-version=2016-12-01 + response: + body: {string: '{"id":"4b19732c-df26-4a70-b54b-2c2985aef8cb","name":"4b19732c-df26-4a70-b54b-2c2985aef8cb","status":"Succeeded","startTime":"2018-01-25T08:25:16.824081Z","endTime":"2018-01-25T08:25:16.824081Z","properties":{"objectType":"OperationStatusProvisionILRExtendedInfo","recoveryTarget":{"clientScripts":[{"scriptContent":"IyEvYmluL2Jhc2gKaWYgWyAkRVVJRCAhPSAwIF07IHRoZW4KICAgICBzdWRvIGJhc2ggIiQwIgogICAgIGV4aXQgJD8KZmkKZWNobyAiIgplY2hvICJNaWNyb3NvZnQgQXp1cmUgVk0gQmFja3VwIC0gRmlsZSBSZWNvdmVyeSIKZWNobyAiX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXyIKY2FzZSBgdW5hbWVgIGluCkxpbnV4KQppZiBbIC1mIC9ldGMvb3JhY2xlLXJlbGVhc2UgXSAmJiBbIC1mIC9ldGMvcmVkaGF0LXJlbGVhc2UgXSA7IHRoZW4KICAgIGlmIGdyZXAgLXEgJ09yYWNsZSBMaW51eCBTZXJ2ZXIgcmVsZWFzZSA2LionIC9ldGMvb3JhY2xlLXJlbGVhc2U7IHRoZW4KICAgICAgICBPUz0iT3JhY2xlOzY7IgogICAgZWxpZiBncmVwIC1xICdPcmFjbGUgTGludXggU2VydmVyIHJlbGVhc2UgNy4qJyAvZXRjL29yYWNsZS1yZWxlYXNlOyB0aGVuCiAgICAgICAgT1M9Ik9yYWNsZTs3OyIKICAgIGZpCmVsaWYgWyAtZiAvZXRjL3JlZGhhdC1yZWxlYXNlIF07IHRoZW4KICAgIGlmIGdyZXAgLXEgJ1JlZCBIYXQgRW50ZXJwcmlzZSBMaW51eCBTZXJ2ZXIgcmVsZWFzZSA2LionIC9ldGMvcmVkaGF0LXJlbGVhc2UgOyB0aGVuCiAgICAgICAgT1M9IlJIRUw7NjsiCiAgICBlbGlmIGdyZXAgLXEgJ0NlbnRPUyBMaW51eCByZWxlYXNlIDYuKicgL2V0Yy9yZWRoYXQtcmVsZWFzZSB8fCBcCiAgICAgICAgZ3JlcCAtcSAnQ2VudE9TIHJlbGVhc2UgNi4qJyAvZXRjL3JlZGhhdC1yZWxlYXNlOyB0aGVuCiAgICAgICAgT1M9IkNlbnRPUzs2OyIKICAgIGVsaWYgZ3JlcCAtcSAnUmVkIEhhdCBFbnRlcnByaXNlIExpbnV4IFNlcnZlciByZWxlYXNlIDcuKiAoTWFpcG8pJyAvZXRjL3JlZGhhdC1yZWxlYXNlIDsgdGhlbgogICAgICAgIE9TPSJSSEVMOzc7IgogICAgZWxpZiBncmVwIC1xICdDZW50T1MgTGludXggcmVsZWFzZSA3LiogKENvcmUpJyAvZXRjL3JlZGhhdC1yZWxlYXNlIDsgdGhlbgogICAgICAgIE9TPSJDZW50T1M7NzsiCiAgICBmaQplbGlmIFsgLWYgL2V0Yy9sc2ItcmVsZWFzZSBdIDsgdGhlbgogICAgaWYgZ3JlcCAtcSAnVWJ1bnR1IDEyLionIC9ldGMvbHNiLXJlbGVhc2UgOyB0aGVuCiAgICAgICAgT1M9IlVidW50dTsxMjsiCiAgICBlbGlmIGdyZXAgLXEgJ0RJU1RSSUJfUkVMRUFTRT0xNC4qJyAvZXRjL2xzYi1yZWxlYXNlIDsgdGhlbgogICAgICAgIE9TPSJVYnVudHU7MTQ7IgogICAgZWxpZiBncmVwIC1xICdESVNUUklCX1JFTEVBU0U9MTYuKicgL2V0Yy9sc2ItcmVsZWFzZSA7IHRoZW4KICAgICAgICAgICAgT1M9IlVidW50dTsxNjsiCiAgICBmaQplbGlmIFsgLWYgL2V0Yy9kZWJpYW5fdmVyc2lvbiBdOyB0aGVuCiAgICBpZiBncmVwIC1xICc3LionIC9ldGMvZGViaWFuX3ZlcnNpb247IHRoZW4KICAgICAgICBPUz0iRGViaWFuOzc7IgogICAgZWxpZiBncmVwIC1xICc4LionIC9ldGMvZGViaWFuX3ZlcnNpb247IHRoZW4KICAgICAgICBPUz0iRGViaWFuOzg7IgogICAgZmkKZWxpZiBbIC1mIC9ldGMvU3VTRS1yZWxlYXNlIF07IHRoZW4KICAgIGlmIGdyZXAgLXEgJ1NVU0UgTGludXggRW50ZXJwcmlzZSBTZXJ2ZXIgMTIqJyAvZXRjL1N1U0UtcmVsZWFzZTsgdGhlbgogICAgICAgIE9TPSJTTEVTOzEyOyIKICAgIGVsaWYgZ3JlcCAtcSAnb3BlblNVU0UgNDIuKicgL2V0Yy9TdVNFLXJlbGVhc2U7IHRoZW4KICAgICAgICBPUz0iT3BlblNVU0U7NDI7IgogICAgZmkKZmkKOzsKZXNhYwppZiBbIC16ICIkT1MiIF07IHRoZW4KICAgIGVjaG8gIlRoaXMgc2NyaXB0IGNhbiBiZSBydW4gb24gYSBtYWNoaW5lIHdpdGggYmVsb3cgb3BlcmF0aW9uIHN5c3RlbXMuIgogICAgZWNobyAiVWJ1bnR1IDEyLjA0IGFuZCBhYm92ZSIKICAgIGVjaG8gIkNlbnRPUyA2LjUgYW5kIGFib3ZlIgogICAgZWNobyAiUkhFTCA2LjcgYW5kIGFib3ZlIgogICAgZWNobyAiRGViaWFuIDcgYW5kIGFib3ZlIgogICAgZWNobyAiT3JhY2xlIExpbnV4IDYuNCBhbmQgYWJvdmUiCiAgICBlY2hvICJTTEVTIDEyIGFuZCBhYm92ZSIKICAgIGVjaG8gIk9wZW5TVVNFIDQyLjIgYW5kIGFib3ZlIgogICAgZXhpdApmaQppZiB3aGljaCBweXRob24gPiAvZGV2L251bGwgMj4mMTsKdGhlbgogICAgaGFzcHl0aG9uPSR0cnVlCmVsc2UgCiAgICBlY2hvICJUaGUgc2NyaXB0IHJlcXVpcmVzICdQeXRob24nIHRvIHJ1bi4gUGxlYXNlIGluc3RhbGwgJ1B5dGhvbiAoMi42LjYpJyBhbmQgdGhlbiBydW4gdGhpcyBzY3JpcHQgYWdhaW4uIgogICAgZXhpdApmaQpoYXNsc2h3PTAKaGFzaXNjc2lhZG09MAppZiB3aGljaCBpc2NzaWFkbSA+IC9kZXYvbnVsbCAyPiYxOwp0aGVuCiAgICBoYXNpc2NzaWFkbT0xCmVsc2UKICAgIGhhc2lzY3NpYWRtPTAKZmkgCmlmIHdoaWNoIGxzaHcgPiAvZGV2L251bGwgMj4mMTsKdGhlbgogICAgaGFzbHNodz0xCmVsc2UKICAgIGhhc2xzaHc9MApmaSAKTWluUG9ydD01MzY1Ck1heFBvcnQ9NTM5NgpWTU5hbWU9ImlhYXN2bWNvbnRhaW5lcnYyO3B5dGhvbnNka3Rlc3RyZztweXRob25zZGt0ZXN0IgpNYWNoaW5lTmFtZT0icHl0aG9uc2RrdGVzdCIKVGFyZ2V0UG9ydGFsQWRkcmVzcz0iY2FuMDEtcmVjMi5zZWEuYmFja3VwLndpbmRvd3NhenVyZS5jb20iClRhcmdldFBvcnRhbFBvcnROdW1iZXI9MzI2MApUYXJnZXROb2RlQWRkcmVzcz0iaXFuLjIwMTYtMDEubWljcm9zb2Z0LmF6dXJlLmJhY2t1cDo0Mjk2MDkwNDIyNDk0MzQxNzE4LTg4ODA0LTM1MTg0NjA2MzY0MjI0LTU2NDYyMjQxMjY2OTEuNjM2NTI0NjU1MzAzMDU1MDQzIgpUYXJnZXRVc2VyTmFtZT0iNDI5NjA5MDQyMjQ5NDM0MTcxOC0zYzNhMjQ5Yi1mYzIyLTQzYmUtOWJlMy0zMWRhNGU1OTBiODAiClRhcmdldFBhc3N3b3JkPSIxZTRjYmM5MzU2MzE0MWQiCkluaXRpYXRvckNoYXBQYXNzd29yZD0iMjliNmY1NTIzODZkNDIiClNjcmlwdElkPSIyNWE0NGQ0NC0wMGZhLTQ2NTItOWMzOC01YzZlMmE5ZDA2M2MiCnNjcmlwdGRpcmVjdG9yeT0iJChjZCAiJChkaXJuYW1lICIkMCIpIjsgcHdkKSIKbmV3Z3VpZD0kKHB5dGhvbiAtYyAnaW1wb3J0IHRpbWU7IHByaW50IHN0cih0aW1lLnN0cmZ0aW1lKCIlWSVtJWQlSCVNJVMiKSknKQpsb2dmb2xkZXI9IiR7c2NyaXB0ZGlyZWN0b3J5fS8ke01hY2hpbmVOYW1lfS0ke25ld2d1aWR9IgpzY3JpcHRmb2xkZXI9IiR7bG9nZm9sZGVyfS9TY3JpcHRzIgpta2RpciAiJHtsb2dmb2xkZXJ9IgpzZXRmYWNsIC0tc2V0PSJ1c2VyOjpyd3gsZ3JvdXA6OnJ3eCxvdGhlcjo6LS0tIiAiJHtsb2dmb2xkZXJ9IgpzZXRmYWNsIC0tZGVmYXVsdCAtLXNldD0idXNlcjo6cnd4LGdyb3VwOjpyd3gsb3RoZXI6Oi0tLSIgIiR7bG9nZm9sZGVyfSIKbWtkaXIgIiR7c2NyaXB0Zm9sZGVyfSIKbG9nZmlsZW5hbWU9IiR7c2NyaXB0Zm9sZGVyfS9NaWNyb3NvZnRBenVyZUJhY2t1cElMUkxvZ0ZpbGUubG9nIgplY2hvICJTZXR0aW5nIEFDTCB0byBMb2cgRm9sZGVyIiA+ICRsb2dmaWxlbmFtZQpNQUJJTFJDb25maWdGb2xkZXI9Ii9ldGMvTWljcm9zb2Z0QXp1cmVCYWNrdXBJTFIiCmVjaG8gIlNldHRpbmcgQUNMIHN1Y2NlZWRlZCIgID4+ICRsb2dmaWxlbmFtZQppZiBbICEgLWQgIiR7TUFCSUxSQ29uZmlnRm9sZGVyfSIgXQp0aGVuCiAgICBta2RpciAiJHtNQUJJTFJDb25maWdGb2xkZXJ9IiAmPj4gJGxvZ2ZpbGVuYW1lCmZpCmlmIHdoaWNoIHdnZXQgPiAvZGV2L251bGwgMj4mMTsKdGhlbgogIGVjaG8gInVzaW5nIHdnZXQgZm9yIGRvd25sb2FkaW5nIHNjcmlwdHMiID4+ICRsb2dmaWxlbmFtZQogIHdnZXQgLW8gIiR7c2NyaXB0Zm9sZGVyfS9kb3dubG9hZHB5dGhvbnNjcmlwdDEubG9nIiAtTyAiJHtzY3JpcHRmb2xkZXJ9L0lMUlB5dGhvblNjcmlwdC5weSIgImh0dHBzOi8vZG93bmxvYWQubWljcm9zb2Z0LmNvbS9kb3dubG9hZC9GLzgvRS9GOEUyODg3Mi0zREM3LTRBMEQtQUM3RS0yNThERjc3NzBGNzAvSUxSUHl0aG9uU2NyaXB0R0EucHkiIC0tc2VjdXJlLXByb3RvY29sPVRMU3YxIC10IDMKICB3Z2V0IC1vICIke3NjcmlwdGZvbGRlcn0vZG93bmxvYWRweXRob25zY3JpcHQyLmxvZyIgLU8gIiR7c2NyaXB0Zm9sZGVyfS9TZWN1cmVUQ1BUdW5uZWwucHkiICJodHRwczovL2Rvd25sb2FkLm1pY3Jvc29mdC5jb20vZG93bmxvYWQvRi84L0UvRjhFMjg4NzItM0RDNy00QTBELUFDN0UtMjU4REY3NzcwRjcwL1NlY3VyZVRDUFR1bm5lbFRlc3RHQS5weSIgLS1zZWN1cmUtcHJvdG9jb2w9VExTdjEgLXQgMwplbHNlCmVjaG8gInVzaW5nIGN1cmwgZm9yIGRvd25sb2FkaW5nIHNjcmlwdHMiID4+ICRsb2dmaWxlbmFtZQogIGN1cmwgLS1zdGRlcnIgIiR7c2NyaXB0Zm9sZGVyfS9kb3dubG9hZHB5dGhvbnNjcmlwdDEubG9nIiAtLXVybCAiaHR0cHM6Ly9kb3dubG9hZC5taWNyb3NvZnQuY29tL2Rvd25sb2FkL0YvOC9FL0Y4RTI4ODcyLTNEQzctNEEwRC1BQzdFLTI1OERGNzc3MEY3MC9JTFJQeXRob25TY3JpcHRHQS5weSIgLS10bHN2MS4yIC0tcmV0cnkgMyA+ICIke3NjcmlwdGZvbGRlcn0vSUxSUHl0aG9uU2NyaXB0LnB5IgogIGN1cmwgLS1zdGRlcnIgIiR7c2NyaXB0Zm9sZGVyfS9kb3dubG9hZHB5dGhvbnNjcmlwdDIubG9nIiAtLXVybCAiaHR0cHM6Ly9kb3dubG9hZC5taWNyb3NvZnQuY29tL2Rvd25sb2FkL0YvOC9FL0Y4RTI4ODcyLTNEQzctNEEwRC1BQzdFLTI1OERGNzc3MEY3MC9TZWN1cmVUQ1BUdW5uZWxUZXN0R0EucHkiIC0tdGxzdjEuMiAtLXJldHJ5IDMgPiAiJHtzY3JpcHRmb2xkZXJ9L1NlY3VyZVRDUFR1bm5lbC5weSIKZmkgCiMgY3AgIi9ob21lL0lMUlB5dGhvblNjcmlwdC5weSIgIiR7c2NyaXB0Zm9sZGVyfS9JTFJQeXRob25TY3JpcHQucHkiCiMgY3AgIi9ob21lL1NlY3VyZVRDUFR1bm5lbC5weSIgIiR7c2NyaXB0Zm9sZGVyfS9TZWN1cmVUQ1BUdW5uZWwucHkiCmlmIFtbICghIC1mICIke3NjcmlwdGZvbGRlcn0vSUxSUHl0aG9uU2NyaXB0LnB5IikgfHwgKCEgLWYgIiR7c2NyaXB0Zm9sZGVyfS9TZWN1cmVUQ1BUdW5uZWwucHkiKSBdXSAKdGhlbgogIGVjaG8gIlVuYWJsZSB0byBhY2Nlc3MgdGhlIHJlY292ZXJ5IHBvaW50LiBQbGVhc2UgbWFrZSBzdXJlIHRoYXQgeW91IGhhdmUgZW5hYmxlZCBhY2Nlc3MgdG8gQXp1cmUgcHVibGljIElQIGFkZHJlc3NlcyBvbiB0aGUgb3V0Ym91bmQgcG9ydCAzMjYwIGFuZCAnaHR0cHM6Ly9kb3dubG9hZC5taWNyb3NvZnQuY29tLyciCiAgZXhpdApmaQpweXRob24gIiR7c2NyaXB0Zm9sZGVyfS9JTFJQeXRob25TY3JpcHQucHkiICIke09TfSIgJGhhc2lzY3NpYWRtICRoYXNsc2h3ICIke2xvZ2ZvbGRlcn0iICRTY3JpcHRJZCAkTWluUG9ydCAkTWF4UG9ydCAkVGFyZ2V0UG9ydGFsQWRkcmVzcyAkVGFyZ2V0UG9ydGFsUG9ydE51bWJlciAkVGFyZ2V0Tm9kZUFkZHJlc3MgJFRhcmdldFVzZXJOYW1lICRUYXJnZXRQYXNzd29yZCAkVk1OYW1lICRNYWNoaW5lTmFtZSAkSW5pdGlhdG9yQ2hhcFBhc3N3b3JkICIkMSI=","scriptExtension":".sh","osType":"Linux","scriptNameSuffix":"pythonsdktest_can01sea_4296090422494341718_524655303055_3c3a249bfc2243be9be331da4e590b801e4cbc93563141d29b6f552386d42"}]}}}'} + headers: + cache-control: [no-cache] + content-length: ['7778'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/recoveryPoints/5646224126691/revokeInstantItemRecovery?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:25:43 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:44 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: '{"error":{"code":"RestApiInternalError","message":"The REST API + call encountered an internal error.\r\nWait for a few minutes and then try + the operation again. If the issue persists, please contact Microsoft support.","target":null,"details":null,"innerError":null}}'} + headers: + cache-control: [no-cache] + connection: [close] + content-length: ['266'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-failure-cause: [service] + status: {code: 500, message: Internal Server Error} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01'] + cache-control: [no-cache] + content-type: [application/json; charset=utf-8] + date: ['Thu, 25 Jan 2018 08:25:57 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: '{"error":{"code":"RestApiInternalError","message":"The REST API + call encountered an internal error.\r\nWait for a few minutes and then try + the operation again. If the issue persists, please contact Microsoft support.","target":null,"details":null,"innerError":null}}'} + headers: + cache-control: [no-cache] + connection: [close] + content-length: ['266'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-failure-cause: [service] + status: {code: 500, message: Internal Server Error} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/ac8ccddb-4671-481b-989d-27ab16db87cf?api-version=2016-12-01 + response: + body: {string: '{"id":"ac8ccddb-4671-481b-989d-27ab16db87cf","name":"ac8ccddb-4671-481b-989d-27ab16db87cf","status":"Succeeded","startTime":"2018-01-25T08:25:43.6026708Z","endTime":"2018-01-25T08:25:43.6026708Z"}'} + headers: + cache-control: [no-cache] + content-length: ['196'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:25:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"properties": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest", + "protectedItemType": "Microsoft.Compute/virtualMachines", "protectionState": + "ProtectionStopped"}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['278'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:26:00 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:01 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:07 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01 + response: + body: {string: '{}'} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationsStatus/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['2'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:13 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/vm;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationResults/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01 + response: + body: {string: '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest/protectedItems/VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","name":"VM;iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"pythonsdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","protectionStatus":"Healthy","protectionState":"ProtectionStopped","healthStatus":"Passed","healthDetails":[{"code":400239,"title":"IaasVmHealthGreenDefault","message":"Backup + pre-check status of this virtual machine is OK.","recommendations":[]}],"lastBackupStatus":"Completed","lastBackupTime":"2018-01-25T07:58:12.1334584Z","protectedItemDataId":"35184606364224","extendedInfo":{"oldestRecoveryPoint":"2018-01-25T07:58:30.0733641Z","recoveryPointCount":1,"policyInconsistent":false},"protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;pythonsdktestrg;pythonsdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pythonsdktestrg/providers/Microsoft.Compute/virtualMachines/pythonsdktest","policyId":"","policyName":"","lastRecoveryPoint":"2018-01-25T07:58:30.0733641Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['1582'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/operationsStatus/b813d7f5-0e13-4a97-ae10-f18af5fb45c5?api-version=2016-12-01 + response: + body: {string: '{"id":"b813d7f5-0e13-4a97-ae10-f18af5fb45c5","name":"b813d7f5-0e13-4a97-ae10-f18af5fb45c5","status":"Succeeded","startTime":"2018-01-25T08:26:00.1448007Z","endTime":"2018-01-25T08:26:00.1448007Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"213e9de7-8601-4102-9692-7b014d2c5733"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bpythonsdktestrg%3Bpythonsdktest?api-version=2016-12-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:26:21 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperationResults/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:22 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:33 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:26:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:14 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:32 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:27:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:28:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"InProgress","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"0001-01-01T00:00:00"}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:28:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"Succeeded","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"2018-01-25T08:26:21.8520407Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"0d963e4a-46c1-41ac-acbe-d8166b607603"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:28:13 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault/backupOperations/23e3da6f-78d5-424b-8131-84d644ffec3c?api-version=2016-12-01 + response: + body: {string: '{"id":"23e3da6f-78d5-424b-8131-84d644ffec3c","name":"23e3da6f-78d5-424b-8131-84d644ffec3c","status":"Succeeded","startTime":"2018-01-25T08:26:21.8520407Z","endTime":"2018-01-25T08:26:21.8520407Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"0d963e4a-46c1-41ac-acbe-d8166b607603"}}'} + headers: + cache-control: [no-cache] + content-length: ['304'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:28:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 recoveryservicesclient/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSdkRg/providers/Microsoft.RecoveryServices/vaults/PySdkVault?api-version=2016-06-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:28:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 resourcemanagementclient/1.2.2 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/PythonSdkRg?api-version=2017-05-10 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 25 Jan 2018 08:28:21 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QWVRIT05TREtSRy1TT1VUSEVBU1RBU0lBIiwiam9iTG9jYXRpb24iOiJzb3V0aGVhc3Rhc2lhIn0?api-version=2017-05-10'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml b/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml new file mode 100644 index 000000000000..f22d2c43173e --- /dev/null +++ b/azure-mgmt-recoveryservicesbackup/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml @@ -0,0 +1,312 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25 + msrest_azure/0.4.20 azure-mgmt-recoveryservicesbackup/0.2.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/providers/Microsoft.RecoveryServices/operations?api-version=2016-08-10 + response: + body: {string: '{"value":[{"name":"Microsoft.RecoveryServices/Vaults/usages/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vault + Usage","operation":"Recovery Services Vault usage details.","description":"Returns + usage details for a Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Usages Summaries","operation":"Recovery Services Protected Items and Protected + Servers usage summaries details.","description":"Returns summaries for Protected + Items and Protected Servers for a Recovery Services ."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupstorageconfig/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vault + Storage Config","operation":"Get Resource Storage Config","description":"Returns + Storage Configuration for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupstorageconfig/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vault + Storage Config","operation":"Write Resource Storage Config","description":"Updates + Storage Configuration for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupconfig/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vault + Config","operation":"Get Resource Config","description":"Returns Configuration + for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupconfig/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vault + Config","operation":"Update Resource Config","description":"Updates Configuration + for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/tokenInfo/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Token + Info","operation":"Get Vault Token Info","description":"Returns token information + for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/action","display":{"provider":"Microsoft.RecoveryServices","resource":"SecurityPINInfo","operation":"Get + Security PIN Info","description":"Returns Security PIN Information for Recovery + Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Management Metadata","operation":"Get Backup Management Metadata","description":"Returns + Backup Management Metadata for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupOperationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Operation Results","operation":"Get Backup Operation Result","description":"Returns + Backup Operation Result for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupOperations/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Operation Status","operation":"Get Backup Operation Status","description":"Returns + Backup Operation Status for Recovery Services Vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupJobs/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Jobs","operation":"Get Jobs","description":"Returns all Job Objects"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Jobs","operation":"Cancel Jobs","description":"Cancel the Job"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupJobsExport/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Export + Backup Jobs","operation":"Export Jobs","description":"Export Jobs"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Jobs Operation Results","operation":"Get Job Operation Result","description":"Returns + the Result of Job Operation."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Export + Backup Jobs Operation Results","operation":"Get Export Job Operation Result","description":"Returns + the Result of Export Job Operation."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Recovery + Points","operation":"Get Recovery Points","description":"Get Recovery Points + for Protected Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Recovery + Points","operation":"Restore Recovery Points","description":"Restore Recovery + Points for Protected Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Recovery + Points","operation":"Provision Instant Item Recovery for Protected Item","description":"Provision + Instant Item Recovery for Protected Item"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Recovery + Points","operation":"Revoke Instant Item Recovery for Protected Item","description":"Revoke + Instant Item Recovery for Protected Item"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupPolicies/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Policies","operation":"Get Protection Policy","description":"Returns all Protection + Policies"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupPolicies/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Policies","operation":"Create Protection Policy","description":"Creates Protection + Policy"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupPolicies/delete","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Policies","operation":"Delete Protection Policy","description":"Delete a Protection + Policy"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Policy Operation Results","operation":"Get Policy Operation Results","description":"Get + Results of Policy Operation."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupPolicies/operations/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Policy Operation Status","operation":"Get Policy Operation Status","description":"Get + Status of Policy Operation."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Items","operation":"Get Protected Item Details","description":"Returns object + details of the Protected Item"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Items","operation":"Get All Protected Items","description":"Returns the list + of all Protected Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Items","operation":"Create Backup Protected Item","description":"Create a + backup Protected Item"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/delete","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Items","operation":"Delete Protected Items","description":"Deletes Protected + Item"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Item Operation Results","operation":"Get Protected Items Operation Results","description":"Gets + Result of Operation Performed on Protected Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Item Operation Status","operation":"Get Protected Items operation status","description":"Returns + the status of Operation performed on Protected Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Protected + Items","operation":"Backup Protected Item","description":"Performs Backup + for Protected Item."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Protectable Items","operation":"Get Protectable Items","description":"Returns + list of all Protectable Items."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Refresh + Containers","operation":"Refresh container","description":"Refreshes the container + list"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Refresh + Containers Operation Results","operation":"Get Operation Results","description":"Returns + status of the operation"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Protection Containers","operation":"Get Containers In Subscription","description":"Returns + all containers belonging to the subscription"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protection + Containers","operation":"Get Registered Container","description":"Returns + all registered containers"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Protection + Containers","operation":"Create Registered Container","description":"Creates + a registered container"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protection + Containers Operation Results","operation":"Get Container Operation Results","description":"Gets + result of Operation performed on Protection Container."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupEngines/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Engines","operation":"List of backup management servers.","description":"Returns + all the backup management servers registered with vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Protection + Intent","operation":"Create backup Protection Intent","description":"Create + a backup Protection Intent"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectableContainers/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Protectable + Containers","operation":"Get all protectable containers","description":"Get + all protectable containers"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/{fabricName}/protectionContainers/{containerName}/items/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Workload + Items","operation":"Get all items in a container","description":"Get all items + in a container"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/inquire/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Protection + Containers Inquire","operation":"Do inquiry for workloads within a container","description":"Do + inquiry for workloads within a container"},"origin":"user"},{"name":"Microsoft.RecoveryServices/locations/backupStatus/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Backup + Status","operation":"Check Backup Status for Vault","description":"Check Backup + Status for Recovery Services Vaults"},"origin":"user"},{"name":"Microsoft.RecoveryServices/locations/backupPreValidateProtection/action","display":{"provider":"Microsoft.RecoveryServices","resource":"PreValidate + Protection","operation":"Pre Validate Enable Protection","description":""},"origin":"user"},{"name":"Microsoft.RecoveryServices/locations/backupValidateFeatures/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Validate + Features","operation":"Validate Features","description":"Validate Features"},"origin":"user"},{"name":"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read","display":{"provider":"Microsoft + Recovery Services","resource":"Alerts Settings","operation":"Read Alerts Settings","description":"Read + Any Alerts Settings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationAlertSettings/write","display":{"provider":"Microsoft + Recovery Services","resource":"Alerts Settings","operation":"Create or Update + Alerts Settings","description":"Create or Update Any Alerts Settings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationEvents/read","display":{"provider":"Microsoft + Recovery Services","resource":"Events","operation":"Read Events","description":"Read + Any Events"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read","display":{"provider":"Microsoft + Recovery Services","resource":"Networks","operation":"Read Networks","description":"Read + Any Networks"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read","display":{"provider":"Microsoft + Recovery Services","resource":"Network Mappings","operation":"Read Network + Mappings","description":"Read Any Network Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/write","display":{"provider":"Microsoft + Recovery Services","resource":"Network Mappings","operation":"Create or Update + Network Mappings","description":"Create or Update Any Network Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Network Mappings","operation":"Delete Network + Mappings","description":"Delete Any Network Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read","display":{"provider":"Microsoft + Recovery Services","resource":"Protectable Items","operation":"Read Protectable + Items","description":"Read Any Protectable Items"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Container Mappings","operation":"Read + Protection Container Mappings","description":"Read Any Protection Container + Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/write","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Container Mappings","operation":"Create + or Update Protection Container Mappings","description":"Create or Update Any + Protection Container Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/remove/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Container Mappings","operation":"Remove + Protection Container Mapping","description":"Remove Protection Container Mapping"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Container Mappings","operation":"Delete + Protection Container Mappings","description":"Delete Any Protection Container + Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read","display":{"provider":"Microsoft + Recovery Services","resource":"Replication Recovery Points","operation":"Read + Replication Recovery Points","description":"Read Any Replication Recovery + Points"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Read Protected + Items","description":"Read Any Protected Items"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/write","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Create or Update + Protected Items","description":"Create or Update Any Protected Items"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Delete Protected + Items","description":"Delete Any Protected Items"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/remove/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Remove Protected + Item","description":"Remove Protected Item"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Planned Failover","description":"Planned + Failover"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Failover","description":"Failover"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Test Failover","description":"Test + Failover"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Test Failover + Cleanup","description":"Test Failover Cleanup"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Failover Commit","description":"Failover + Commit"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"ReProtect Protected + Item","description":"ReProtect Protected Item"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Update Mobility + Service","description":"Update Mobility Service"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Repair replication","description":"Repair + replication"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protected Items","operation":"Apply Recovery + Point","description":"Apply Recovery Point"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationJobs/read","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Read Jobs","description":"Read + Any Jobs"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationJobs/cancel/action","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Cancel Job","description":"Cancel + Job"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationJobs/restart/action","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Restart job","description":"Restart + job"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationJobs/resume/action","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Resume Job","description":"Resume + Job"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Containers","operation":"Read Protection + Containers","description":"Read Any Protection Containers"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/discoverProtectableItem/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Containers","operation":"Discover + Protectable Item","description":"Discover Protectable Item"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/write","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Containers","operation":"Create + or Update Protection Containers","description":"Create or Update Any Protection + Containers"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/remove/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Containers","operation":"Remove + Protection Container","description":"Remove Protection Container"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/switchprotection/action","display":{"provider":"Microsoft + Recovery Services","resource":"Protection Containers","operation":"Switch + Protection Container","description":"Switch Protection Container"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationPolicies/read","display":{"provider":"Microsoft + Recovery Services","resource":"Policies","operation":"Read Policies","description":"Read + Any Policies"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationPolicies/write","display":{"provider":"Microsoft + Recovery Services","resource":"Policies","operation":"Create or Update Policies","description":"Create + or Update Any Policies"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationPolicies/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Policies","operation":"Delete Policies","description":"Delete + Any Policies"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Read Recovery + Plans","description":"Read Any Recovery Plans"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/write","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Create or Update + Recovery Plans","description":"Create or Update Any Recovery Plans"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Delete Recovery + Plans","description":"Delete Any Recovery Plans"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Planned Failover + Recovery Plan","description":"Planned Failover Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Failover Recovery + Plan","description":"Failover Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Test Failover + Recovery Plan","description":"Test Failover Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Test Failover + Cleanup Recovery Plan","description":"Test Failover Cleanup Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"Failover Commit + Recovery Plan","description":"Failover Commit Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Plans","operation":"ReProtect Recovery + Plan","description":"ReProtect Recovery Plan"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Services Providers","operation":"Read + Recovery Services Providers","description":"Read Any Recovery Services Providers"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/write","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Services Providers","operation":"Create + or Update Recovery Services Providers","description":"Create or Update Any + Recovery Services Providers"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/remove/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Services Providers","operation":"Remove + Recovery Services Provider","description":"Remove Recovery Services Provider"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Services Providers","operation":"Delete + Recovery Services Providers","description":"Delete Any Recovery Services Providers"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action","display":{"provider":"Microsoft + Recovery Services","resource":"Recovery Services Providers","operation":"Refresh + Provider","description":"Refresh Provider"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/read","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Read Fabrics","description":"Read + Any Fabrics"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/write","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Create or Update Fabrics","description":"Create + or Update Any Fabrics"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/remove/action","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Remove Fabric","description":"Remove + Fabric"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Checks Consistency of + the Fabric","description":"Checks Consistency of the Fabric"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Delete Fabrics","description":"Delete + Any Fabrics"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Renew Certificate for + Fabric","description":"Renew Certificate for Fabric"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/deployProcessServerImage/action","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Deploy Process Server + Image","description":"Deploy Process Server Image"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action","display":{"provider":"Microsoft + Recovery Services","resource":"Fabrics","operation":"Reassociate Gateway","description":"Reassociate + Gateway"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read","display":{"provider":"Microsoft + Recovery Services","resource":"Storage Classifications","operation":"Read + Storage Classifications","description":"Read Any Storage Classifications"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read","display":{"provider":"Microsoft + Recovery Services","resource":"Storage Classification Mappings","operation":"Read + Storage Classification Mappings","description":"Read Any Storage Classification + Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/write","display":{"provider":"Microsoft + Recovery Services","resource":"Storage Classification Mappings","operation":"Create + or Update Storage Classification Mappings","description":"Create or Update + Any Storage Classification Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Storage Classification Mappings","operation":"Delete + Storage Classification Mappings","description":"Delete Any Storage Classification + Mappings"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/usages/read","display":{"provider":"Microsoft + Recovery Services","resource":"Vault Usages","operation":"Read Vault Usages","description":"Read + Any Vault Usages"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Read Jobs","description":"Read + Any Jobs"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/write","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Create or Update Jobs","description":"Create + or Update Any Jobs"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/delete","display":{"provider":"Microsoft + Recovery Services","resource":"Jobs","operation":"Delete Jobs","description":"Delete + Any Jobs"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/Vaults/vaultTokens/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Vault + Token","description":"The Vault Token operation can be used to get Vault Token + for vault level backend operations."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Register + Service Container","description":"The Register Service Container operation + can be used to register a container with Recovery Service."},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Operation Results","description":"The Get Operation Results operation can + be used get the operation status and result for the asynchronously submitted + operation"},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Containers","description":"The Get Containers operation can be used get the + containers registered for a resource."},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/delete","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Unregister + Service Container","description":"The UnRegister Container operation can be + used to unregister a container."},"origin":"user,system"},{"name":"Microsoft.RecoveryServices/Vaults/certificates/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Update + Resource Certificate","description":"The Update Resource Certificate operation + updates the resource/vault credential certificate."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + alerts","description":"Gets the alerts for the Recovery services vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/monitoringAlerts/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Resolve + alert","description":"Resolves the alert."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + configuration","description":"Gets the Recovery services vault notification + configuration."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Configure + e-mail notification","description":"Configures e-mail notifications to Recovery + services vault."},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/logDefinitions/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Azure + Backup Logs","description":"Azure Backup Logs"},"origin":"system","properties":{"serviceSpecification":{"logSpecifications":[{"name":"AzureBackupReport","displayName":"Azure + Backup Reporting Data","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryJobs","displayName":"Azure + Site Recovery Jobs","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryEvents","displayName":"Azure + Site Recovery Events","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryReplicatedItems","displayName":"Azure + Site Recovery Replicated Items","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryReplicationStats","displayName":"Azure + Site Recovery Replication Stats","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryRecoveryPoints","displayName":"Azure + Site Recovery Recovery Points","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryReplicationDataUploadRate","displayName":"Azure + Site Recovery Replication Data Upload Rate","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryProtectedDiskDataChurn","displayName":"Azure + Site Recovery Protected Disk Data Churn","blobDuration":"PT1H"}]}}},{"name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/metricDefinitions/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Azure + Backup Metrics","description":"Azure Backup Metrics"},"origin":"system"},{"name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/diagnosticSettings/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Azure + Backup Diagnostics","description":"Azure Backup Diagnostics"},"origin":"system"},{"name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/diagnosticSettings/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Azure + Backup Diagnostics","description":"Azure Backup Diagnostics"},"origin":"system"},{"name":"Microsoft.RecoveryServices/Vaults/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Create + Vault","description":"Create Vault operation creates an Azure resource of + type ''vault''"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Vault","description":"The Get Vault operation gets an object representing + the Azure resource of type ''vault''"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/delete","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Delete + Vault","description":"The Delete Vault operation deletes the specified Azure + resource of type ''vault''"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/extendedInformation/read","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Extended Info","description":"The Get Extended Info operation gets an object''s + Extended Info representing the Azure resource of type ?vault?"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/extendedInformation/write","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Extended Info","description":"The Get Extended Info operation gets an object''s + Extended Info representing the Azure resource of type ?vault?"},"origin":"user"},{"name":"Microsoft.RecoveryServices/Vaults/extendedInformation/delete","display":{"provider":"Microsoft.RecoveryServices","resource":"Vaults","operation":"Get + Extended Info","description":"The Get Extended Info operation gets an object''s + Extended Info representing the Azure resource of type ?vault?"},"origin":"user"},{"name":"Microsoft.RecoveryServices/locations/allocatedStamp/read","display":{"provider":"Microsoft.RecoveryServices","resource":"locations/allocatedStamp","operation":"Get + Allocated Stamp","description":"GetAllocatedStamp is internal operation used + by service"},"origin":"user"},{"name":"Microsoft.RecoveryServices/locations/allocateStamp/action","display":{"provider":"Microsoft.RecoveryServices","resource":"locations/allocateStamp","operation":"Allocated + Stamp Action","description":"AllocateStamp is internal operation used by service"},"origin":"user"},{"name":"Microsoft.RecoveryServices/register/action","display":{"provider":"Microsoft.RecoveryServices","resource":"Microsoft.RecoveryServices","operation":"Register + Resource Provider","description":"Registers subscription for given Resource + Provider"},"origin":"user"},{"name":"Microsoft.RecoveryServices/operations/read","display":{"provider":"Microsoft.RecoveryServices","resource":"operations","operation":"List + of Operations","description":"Operation returns the list of Operations for + a Resource Provider"},"origin":"user,system"}]}'} + headers: + cache-control: [no-cache] + content-length: ['41246'] + content-type: [application/json] + date: ['Thu, 25 Jan 2018 08:28:29 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/8.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt/tests/recoveryservicesbackup_testcase.py b/azure-mgmt-recoveryservicesbackup/tests/recoveryservicesbackup_testcase.py similarity index 98% rename from azure-mgmt/tests/recoveryservicesbackup_testcase.py rename to azure-mgmt-recoveryservicesbackup/tests/recoveryservicesbackup_testcase.py index 5bf5d25561b6..c7003db95377 100644 --- a/azure-mgmt/tests/recoveryservicesbackup_testcase.py +++ b/azure-mgmt-recoveryservicesbackup/tests/recoveryservicesbackup_testcase.py @@ -29,11 +29,11 @@ class MgmtRecoveryServicesBackupTestDefinition(object): - vm_friendly_name = "swaggersdktest" - vm_rg_name = "swaggersdktestrg" + vm_friendly_name = "pythonsdktest" + vm_rg_name = "pythonsdktestrg" vm_type = "Compute" - restore_storage_acc_name = "swaggersdktest" - restore_storage_acc_rg_name = "swaggersdktestrg" + restore_storage_acc_name = "pythonsdktest" + restore_storage_acc_rg_name = "pythonsdktestrg" fabric_name = "Azure" location = "southeastasia" @@ -274,7 +274,7 @@ def revoke_item_level_recovery(self, container_name, protected_item_name, recove ) self._validate_operation_response(response) - job_response = self._get_operation_response( + self._get_operation_response( response, lambda operation_id: self.backup_client.protected_item_operation_results.get( self.vault_name, self.resource_group, self.test_definition.fabric_name, container_name, protected_item_name, operation_id, raw=True, @@ -347,7 +347,6 @@ def _validate_operation_response(self, raw_response): self.context.assertIsNotNone(raw_response) self.context.assertEqual(raw_response.response.status_code, 202) self.context.assertTrue("Location" in raw_response.response.headers or "Azure-AsyncOperation" in raw_response.response.headers) - self.context.assertTrue("Retry-After" in raw_response.response.headers) def _get_operation_status(self, raw_response, get_operation_status_func): operation_id_path = urlparse(raw_response.response.headers["Azure-AsyncOperation"]).path diff --git a/azure-mgmt/tests/test_mgmt_recoveryservices_backup.py b/azure-mgmt-recoveryservicesbackup/tests/test_mgmt_recoveryservices_backup.py similarity index 88% rename from azure-mgmt/tests/test_mgmt_recoveryservices_backup.py rename to azure-mgmt-recoveryservicesbackup/tests/test_mgmt_recoveryservices_backup.py index 987d635ce8ad..2d01503c3f5a 100644 --- a/azure-mgmt/tests/test_mgmt_recoveryservices_backup.py +++ b/azure-mgmt-recoveryservicesbackup/tests/test_mgmt_recoveryservices_backup.py @@ -7,9 +7,11 @@ # -------------------------------------------------------------------------- from contextlib import contextmanager +import time + import azure.mgmt.recoveryservicesbackup -from testutils.common_recordingtestcase import record -from tests.mgmt_testcase import AzureMgmtTestCase +from azure.mgmt.resource import ResourceManagementClient +from devtools_testutils import AzureMgmtTestCase from tests.recoveryservicesbackup_testcase import MgmtRecoveryServicesBackupTestDefinition, MgmtRecoveryServicesBackupTestHelper @@ -25,14 +27,20 @@ def setUp(self): azure.mgmt.recoveryservicesbackup.RecoveryServicesBackupClient ) + self.rm_client = self.create_mgmt_client(ResourceManagementClient) + # Using pre-existing vault until vault client is available - self.resource_group_name = "PythonSDKBackupTestRg" + self.resource_group_name = "PythonSdkRg" self.group_name = self.resource_group_name - self.vault_name = "PySDKBackupTestRsVault" + self.vault_name = "PySdkVault" self.test_definition = MgmtRecoveryServicesBackupTestDefinition(self.settings.SUBSCRIPTION_ID, self.vault_name, self.resource_group_name) self.test_helper = MgmtRecoveryServicesBackupTestHelper(self) self.region = "southeastasia" + def sleep(self, timeout): + if self.is_live: + time.sleep(timeout) + @contextmanager def vault(self): self.test_helper.create_vault() @@ -41,11 +49,13 @@ def vault(self): @contextmanager def resource_group(self): - self.create_resource_group() + resource_group = self.rm_client.resource_groups.create_or_update( + self.resource_group_name, + {'location': self.region} + ) yield - self.delete_resource_group(wait_timeout=None) + self.rm_client.resource_groups.delete(resource_group.name) - @record def test_iaasvm_e2e(self): with self.resource_group(), self.vault(): self.test_helper.enable_protection(self.test_definition.container_name, self.test_definition.vm_name, "DefaultPolicy") @@ -96,8 +106,6 @@ def test_iaasvm_e2e(self): # Disable Protection self.test_helper.delete_protection(self.test_definition.container_name, self.test_definition.vm_name) - - @record def test_operations_api(self): operations = self.test_helper.list_operations() self.assertIsNotNone(operations) diff --git a/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml b/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml deleted file mode 100644 index 0d9ecbedb10d..000000000000 --- a/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_iaasvm_e2e.yaml +++ /dev/null @@ -1,3918 +0,0 @@ -interactions: -- request: - body: !!python/unicode '{"location": "southeastasia"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['29'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 resourcemanagementclient/1.2.2 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [846fd5b0-b49c-11e7-88ba-f45c89acd723] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/PythonSDKBackupTestRg?api-version=2017-05-10 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg","name":"PythonSDKBackupTestRg","location":"southeastasia","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['202'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 19 Oct 2017 07:09:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [65bdbf32-c45f-4f73-be64-669846465867] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [65bdbf32-c45f-4f73-be64-669846465867] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071000Z:65bdbf32-c45f-4f73-be64-669846465867'] - status: {code: 201, message: Created} -- request: - body: !!python/unicode '{"sku": {"name": "Standard"}, "properties": {}, "location": - "southeastasia"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['76'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesclient/0.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [85c74061-b49c-11e7-b60f-f45c89acd723] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault?api-version=2016-06-01 - response: - body: {string: !!python/unicode '{"location":"southeastasia","name":"PySDKBackupTestRsVault","etag":"W/\"datetime''2017-10-19T07%3A10%3A08.7066813Z''\"","properties":{"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['397'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [85c74061-b49c-11e7-b60f-f45c89acd723] - x-ms-correlation-request-id: [a5cb4b76-a44b-4c9d-a4c2-543d253e6a0c] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [a5cb4b76-a44b-4c9d-a4c2-543d253e6a0c] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071008Z:a5cb4b76-a44b-4c9d-a4c2-543d253e6a0c'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8ac848ca-b49c-11e7-a580-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/DefaultPolicy?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/DefaultPolicy","name":"DefaultPolicy","type":"Microsoft.RecoveryServices/vaults/backupPolicies","properties":{"backupManagementType":"AzureIaasVM","schedulePolicy":{"schedulePolicyType":"SimpleSchedulePolicy","scheduleRunFrequency":"Daily","scheduleRunTimes":["2017-10-19T17:00:00Z"],"scheduleWeeklyFrequency":0},"retentionPolicy":{"retentionPolicyType":"LongTermRetentionPolicy","dailySchedule":{"retentionTimes":["2017-10-19T17:00:00Z"],"retentionDuration":{"count":30,"durationType":"Days"}}},"protectedItemsCount":0}}'} - headers: - cache-control: [no-cache] - content-length: ['699'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [8ac848ca-b49c-11e7-a580-f45c89acd723, 8ac848ca-b49c-11e7-a580-f45c89acd723] - x-ms-correlation-request-id: [1c136983-e2d1-473b-9bc8-e20f25ed8177] - x-ms-ratelimit-remaining-subscription-reads: ['14929'] - x-ms-request-id: [1c136983-e2d1-473b-9bc8-e20f25ed8177] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071010Z:1c136983-e2d1-473b-9bc8-e20f25ed8177'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8b88abb0-b49c-11e7-8bef-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/refreshContainers?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:11 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [8b88abb0-b49c-11e7-8bef-f45c89acd723, 8b88abb0-b49c-11e7-8bef-f45c89acd723] - x-ms-correlation-request-id: [f0e04ff2-da4c-4b62-a52b-a76f30bc1d13] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [f0e04ff2-da4c-4b62-a52b-a76f30bc1d13] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071012Z:f0e04ff2-da4c-4b62-a52b-a76f30bc1d13'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8cbcde00-b49c-11e7-a28f-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:14 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [8cbcde00-b49c-11e7-a28f-f45c89acd723, 8cbcde00-b49c-11e7-a28f-f45c89acd723] - x-ms-correlation-request-id: [bc04bafd-f9e0-4eec-ac52-c8aa085ea0ce] - x-ms-ratelimit-remaining-subscription-reads: ['14920'] - x-ms-request-id: [bc04bafd-f9e0-4eec-ac52-c8aa085ea0ce] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071014Z:bc04bafd-f9e0-4eec-ac52-c8aa085ea0ce'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [90f33f85-b49c-11e7-9b95-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:21 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [90f33f85-b49c-11e7-9b95-f45c89acd723, 90f33f85-b49c-11e7-9b95-f45c89acd723] - x-ms-correlation-request-id: [d5c39197-0843-4955-98b3-735874dd8d6c] - x-ms-ratelimit-remaining-subscription-reads: ['14919'] - x-ms-request-id: [d5c39197-0843-4955-98b3-735874dd8d6c] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071021Z:d5c39197-0843-4955-98b3-735874dd8d6c'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [95551b87-b49c-11e7-91f0-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:27 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [95551b87-b49c-11e7-91f0-f45c89acd723, 95551b87-b49c-11e7-91f0-f45c89acd723] - x-ms-correlation-request-id: [faa83afc-8020-4525-85f8-8a8b8daffba3] - x-ms-ratelimit-remaining-subscription-reads: ['14820'] - x-ms-request-id: [faa83afc-8020-4525-85f8-8a8b8daffba3] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071028Z:faa83afc-8020-4525-85f8-8a8b8daffba3'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [993d9338-b49c-11e7-b334-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:33 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [993d9338-b49c-11e7-b334-f45c89acd723, 993d9338-b49c-11e7-b334-f45c89acd723] - x-ms-correlation-request-id: [f605bce0-e39f-48cc-bec6-9e551c6ec3e2] - x-ms-ratelimit-remaining-subscription-reads: ['14836'] - x-ms-request-id: [f605bce0-e39f-48cc-bec6-9e551c6ec3e2] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071034Z:f605bce0-e39f-48cc-bec6-9e551c6ec3e2'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9d076aca-b49c-11e7-8d86-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/operationResults/487945d4-3d51-402e-9e29-ba6bfb6e7324?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - date: ['Thu, 19 Oct 2017 07:10:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [9d076aca-b49c-11e7-8d86-f45c89acd723, 9d076aca-b49c-11e7-8d86-f45c89acd723] - x-ms-correlation-request-id: [08c24c75-1ecd-43f7-9598-8a098c2be25d] - x-ms-ratelimit-remaining-subscription-reads: ['14834'] - x-ms-request-id: [08c24c75-1ecd-43f7-9598-8a098c2be25d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071041Z:08c24c75-1ecd-43f7-9598-8a098c2be25d'] - x-powered-by: [ASP.NET] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9df3b3c5-b49c-11e7-b482-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupProtectableItems?api-version=2016-12-01&$filter=backupManagementType%20eq%20%27AzureIaasVM%27 - response: - body: {string: !!python/unicode '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;alriaasvm3574bc15d8fb1aa44594b9b6f3bfe2f32221;alriaasvm3574/protectableItems/vm;iaasvmcontainer;alriaasvm3574bc15d8fb1aa44594b9b6f3bfe2f32221;alriaasvm3574","name":"iaasvmcontainer;alriaasvm3574bc15d8fb1aa44594b9b6f3bfe2f32221;alriaasvm3574","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ALRIaaSVM3574bc15d8fb1aa44594b9b6f3bfe2f32221/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM3574","virtualMachineVersion":"ClassicCompute","resourceGroup":"ALRIaaSVM3574bc15d8fb1aa44594b9b6f3bfe2f32221","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM3574","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;bvtd2complexvms;complexlinvm3/protectableItems/vm;iaasvmcontainer;bvtd2complexvms;complexlinvm3","name":"iaasvmcontainer;bvtd2complexvms;complexlinvm3","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtd2complexvms/providers/Microsoft.ClassicCompute/virtualMachines/complexLinVM3","virtualMachineVersion":"ClassicCompute","resourceGroup":"bvtd2complexvms","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"complexLinVM3","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;bvtd2complexvms;complexwinvm3/protectableItems/vm;iaasvmcontainer;bvtd2complexvms;complexwinvm3","name":"iaasvmcontainer;bvtd2complexvms;complexwinvm3","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtd2complexvms/providers/Microsoft.ClassicCompute/virtualMachines/complexWinVM3","virtualMachineVersion":"ClassicCompute","resourceGroup":"bvtd2complexvms","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"complexWinVM3","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;bvtdcomplexvms;complexlinvm2/protectableItems/vm;iaasvmcontainer;bvtdcomplexvms;complexlinvm2","name":"iaasvmcontainer;bvtdcomplexvms;complexlinvm2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtdcomplexvms/providers/Microsoft.ClassicCompute/virtualMachines/complexLinVM2","virtualMachineVersion":"ClassicCompute","resourceGroup":"bvtdcomplexvms","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"complexLinVM2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;bvtdcomplexvms;complexwinvm2/protectableItems/vm;iaasvmcontainer;bvtdcomplexvms;complexwinvm2","name":"iaasvmcontainer;bvtdcomplexvms;complexwinvm2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtdcomplexvms/providers/Microsoft.ClassicCompute/virtualMachines/complexWinVM2","virtualMachineVersion":"ClassicCompute","resourceGroup":"bvtdcomplexvms","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"complexWinVM2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbser04;cbxbvt15gbvm04/protectableItems/vm;iaasvmcontainer;cbxbvt15gbser04;cbxbvt15gbvm04","name":"iaasvmcontainer;cbxbvt15gbser04;cbxbvt15gbvm04","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbser04/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm04","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbser04","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm04","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbser06;cbxbvt15gbvm06/protectableItems/vm;iaasvmcontainer;cbxbvt15gbser06;cbxbvt15gbvm06","name":"iaasvmcontainer;cbxbvt15gbser06;cbxbvt15gbvm06","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbser06/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm06","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbser06","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm06","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm07;cbxbvt15gbvm07/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm07;cbxbvt15gbvm07","name":"iaasvmcontainer;cbxbvt15gbvm07;cbxbvt15gbvm07","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm07/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm07","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm07","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm07","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm1815/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm1815","name":"iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm1815","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM1815","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM1815","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm7038/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm7038","name":"iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm7038","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM7038","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM7038","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8140/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8140","name":"iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8140","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM8140","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM8140","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8235/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8235","name":"iaasvmcontainer;cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c;alriaasvm8235","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM8235","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm07cfc7055df51a4a2ea55bd780ab90ec5c","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM8235","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm403;cbxbvt15gbvm403/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm403;cbxbvt15gbvm403","name":"iaasvmcontainer;cbxbvt15gbvm403;cbxbvt15gbvm403","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm403/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm403","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm403","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm403","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm404;cbxbvt15gbvm404/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm404;cbxbvt15gbvm404","name":"iaasvmcontainer;cbxbvt15gbvm404;cbxbvt15gbvm404","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm404/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm404","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm404","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm404","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm411;cbxbvt15gbvm411/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm411;cbxbvt15gbvm411","name":"iaasvmcontainer;cbxbvt15gbvm411;cbxbvt15gbvm411","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm411/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm411","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm411","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm411","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvt15gbvm421;cbxbvt15gbvm421/protectableItems/vm;iaasvmcontainer;cbxbvt15gbvm421;cbxbvt15gbvm421","name":"iaasvmcontainer;cbxbvt15gbvm421;cbxbvt15gbvm421","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvt15gbvm421/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvt15gbvm421","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvt15gbvm421","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvt15gbvm421","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtd2prmvm01;cbxbvtd2prmvm01/protectableItems/vm;iaasvmcontainer;cbxbvtd2prmvm01;cbxbvtd2prmvm01","name":"iaasvmcontainer;cbxbvtd2prmvm01;cbxbvtd2prmvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtd2prmvm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtd2prmvm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtd2prmvm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtd2prmvm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtlhvm01;cbxbvtlhvm01/protectableItems/vm;iaasvmcontainer;cbxbvtlhvm01;cbxbvtlhvm01","name":"iaasvmcontainer;cbxbvtlhvm01;cbxbvtlhvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtlhvm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtlhvm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtlhvm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtlhvm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtlhvm02;cbxbvtlhvm02/protectableItems/vm;iaasvmcontainer;cbxbvtlhvm02;cbxbvtlhvm02","name":"iaasvmcontainer;cbxbvtlhvm02;cbxbvtlhvm02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtlhvm02/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtlhvm02","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtlhvm02","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtlhvm02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtlhvm03;cbxbvtlhvm03/protectableItems/vm;iaasvmcontainer;cbxbvtlhvm03;cbxbvtlhvm03","name":"iaasvmcontainer;cbxbvtlhvm03;cbxbvtlhvm03","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtlhvm03/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtlhvm03","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtlhvm03","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtlhvm03","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtlnxvm01;cbxbvtlnxvm01/protectableItems/vm;iaasvmcontainer;cbxbvtlnxvm01;cbxbvtlnxvm01","name":"iaasvmcontainer;cbxbvtlnxvm01;cbxbvtlnxvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtlnxvm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtlnxvm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtlnxvm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtlnxvm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtprmvm01;cbxbvtprmvm01/protectableItems/vm;iaasvmcontainer;cbxbvtprmvm01;cbxbvtprmvm01","name":"iaasvmcontainer;cbxbvtprmvm01;cbxbvtprmvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtprmvm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtprmvm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtprmvm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtprmvm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtprseavm01;cbxbvtprseavm01/protectableItems/vm;iaasvmcontainer;cbxbvtprseavm01;cbxbvtprseavm01","name":"iaasvmcontainer;cbxbvtprseavm01;cbxbvtprseavm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtprseavm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtprseavm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtprseavm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtprseavm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm01/protectableItems/vm;iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm01","name":"iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtseavm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtseavm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtseavm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm101/protectableItems/vm;iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm101","name":"iaasvmcontainer;cbxbvtseavm01;cbxbvtseavm101","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxbvtseavm101","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxbvtseavm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxbvtseavm101","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxlh16dvm01;cbxlh16dvm01/protectableItems/vm;iaasvmcontainer;cbxlh16dvm01;cbxlh16dvm01","name":"iaasvmcontainer;cbxlh16dvm01;cbxlh16dvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxlh16dvm01/providers/Microsoft.ClassicCompute/virtualMachines/cbxlh16dvm01","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxlh16dvm01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxlh16dvm01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm129906;cbxtcvm129906/protectableItems/vm;iaasvmcontainer;cbxtcvm129906;cbxtcvm129906","name":"iaasvmcontainer;cbxtcvm129906;cbxtcvm129906","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm129906/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm129906","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm129906","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm129906","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm168003;cbxtcvm168003/protectableItems/vm;iaasvmcontainer;cbxtcvm168003;cbxtcvm168003","name":"iaasvmcontainer;cbxtcvm168003;cbxtcvm168003","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm168003/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm168003","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm168003","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm168003","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm18082;cbxtcvm18082/protectableItems/vm;iaasvmcontainer;cbxtcvm18082;cbxtcvm18082","name":"iaasvmcontainer;cbxtcvm18082;cbxtcvm18082","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm18082/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm18082","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm18082","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm18082","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm185784;cbxtcvm185784/protectableItems/vm;iaasvmcontainer;cbxtcvm185784;cbxtcvm185784","name":"iaasvmcontainer;cbxtcvm185784;cbxtcvm185784","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm185784/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm185784","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm185784","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm185784","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm201023;cbxtcvm201023/protectableItems/vm;iaasvmcontainer;cbxtcvm201023;cbxtcvm201023","name":"iaasvmcontainer;cbxtcvm201023;cbxtcvm201023","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm201023/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm201023","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm201023","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm201023","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm234559;cbxtcvm234559/protectableItems/vm;iaasvmcontainer;cbxtcvm234559;cbxtcvm234559","name":"iaasvmcontainer;cbxtcvm234559;cbxtcvm234559","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm234559/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm234559","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm234559","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm234559","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm240446;cbxtcvm240446/protectableItems/vm;iaasvmcontainer;cbxtcvm240446;cbxtcvm240446","name":"iaasvmcontainer;cbxtcvm240446;cbxtcvm240446","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm240446/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm240446","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm240446","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm240446","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm254836;cbxtcvm254836/protectableItems/vm;iaasvmcontainer;cbxtcvm254836;cbxtcvm254836","name":"iaasvmcontainer;cbxtcvm254836;cbxtcvm254836","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm254836/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm254836","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm254836","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm254836","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm399333;cbxtcvm399333/protectableItems/vm;iaasvmcontainer;cbxtcvm399333;cbxtcvm399333","name":"iaasvmcontainer;cbxtcvm399333;cbxtcvm399333","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm399333/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm399333","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm399333","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm399333","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm406938;cbxtcvm406938/protectableItems/vm;iaasvmcontainer;cbxtcvm406938;cbxtcvm406938","name":"iaasvmcontainer;cbxtcvm406938;cbxtcvm406938","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm406938/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm406938","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm406938","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm406938","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm436290;cbxtcvm436290/protectableItems/vm;iaasvmcontainer;cbxtcvm436290;cbxtcvm436290","name":"iaasvmcontainer;cbxtcvm436290;cbxtcvm436290","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm436290/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm436290","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm436290","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm436290","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm455901;cbxtcvm455901/protectableItems/vm;iaasvmcontainer;cbxtcvm455901;cbxtcvm455901","name":"iaasvmcontainer;cbxtcvm455901;cbxtcvm455901","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm455901/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm455901","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm455901","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm455901","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm487486;cbxtcvm487486/protectableItems/vm;iaasvmcontainer;cbxtcvm487486;cbxtcvm487486","name":"iaasvmcontainer;cbxtcvm487486;cbxtcvm487486","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm487486/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm487486","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm487486","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm487486","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm52766;cbxtcvm52766/protectableItems/vm;iaasvmcontainer;cbxtcvm52766;cbxtcvm52766","name":"iaasvmcontainer;cbxtcvm52766;cbxtcvm52766","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm52766/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm52766","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm52766","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm52766","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm589505;cbxtcvm589505/protectableItems/vm;iaasvmcontainer;cbxtcvm589505;cbxtcvm589505","name":"iaasvmcontainer;cbxtcvm589505;cbxtcvm589505","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm589505/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm589505","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm589505","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm589505","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm620547;cbxtcvm620547/protectableItems/vm;iaasvmcontainer;cbxtcvm620547;cbxtcvm620547","name":"iaasvmcontainer;cbxtcvm620547;cbxtcvm620547","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm620547/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm620547","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm620547","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm620547","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm687879;cbxtcvm687879/protectableItems/vm;iaasvmcontainer;cbxtcvm687879;cbxtcvm687879","name":"iaasvmcontainer;cbxtcvm687879;cbxtcvm687879","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm687879/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm687879","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm687879","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm687879","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm717297;cbxtcvm717297/protectableItems/vm;iaasvmcontainer;cbxtcvm717297;cbxtcvm717297","name":"iaasvmcontainer;cbxtcvm717297;cbxtcvm717297","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm717297/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm717297","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm717297","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm717297","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm75418;cbxtcvm75418/protectableItems/vm;iaasvmcontainer;cbxtcvm75418;cbxtcvm75418","name":"iaasvmcontainer;cbxtcvm75418;cbxtcvm75418","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm75418/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm75418","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm75418","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm75418","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm805991;cbxtcvm805991/protectableItems/vm;iaasvmcontainer;cbxtcvm805991;cbxtcvm805991","name":"iaasvmcontainer;cbxtcvm805991;cbxtcvm805991","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm805991/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm805991","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm805991","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm805991","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm827996;cbxtcvm827996/protectableItems/vm;iaasvmcontainer;cbxtcvm827996;cbxtcvm827996","name":"iaasvmcontainer;cbxtcvm827996;cbxtcvm827996","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm827996/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm827996","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm827996","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm827996","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm902174;cbxtcvm902174/protectableItems/vm;iaasvmcontainer;cbxtcvm902174;cbxtcvm902174","name":"iaasvmcontainer;cbxtcvm902174;cbxtcvm902174","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm902174/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm902174","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm902174","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm902174","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm925353;cbxtcvm925353/protectableItems/vm;iaasvmcontainer;cbxtcvm925353;cbxtcvm925353","name":"iaasvmcontainer;cbxtcvm925353;cbxtcvm925353","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm925353/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm925353","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm925353","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm925353","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm968375;cbxtcvm968375/protectableItems/vm;iaasvmcontainer;cbxtcvm968375;cbxtcvm968375","name":"iaasvmcontainer;cbxtcvm968375;cbxtcvm968375","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm968375/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm968375","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm968375","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm968375","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxtcvm982284;cbxtcvm982284/protectableItems/vm;iaasvmcontainer;cbxtcvm982284;cbxtcvm982284","name":"iaasvmcontainer;cbxtcvm982284;cbxtcvm982284","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxtcvm982284/providers/Microsoft.ClassicCompute/virtualMachines/cbxtcvm982284","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxtcvm982284","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxtcvm982284","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweekly013;cbxweekly013/protectableItems/vm;iaasvmcontainer;cbxweekly013;cbxweekly013","name":"iaasvmcontainer;cbxweekly013;cbxweekly013","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweekly013/providers/Microsoft.ClassicCompute/virtualMachines/cbxweekly013","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweekly013","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweekly013","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklybwfvm2;cbxweeklybwfvm2/protectableItems/vm;iaasvmcontainer;cbxweeklybwfvm2;cbxweeklybwfvm2","name":"iaasvmcontainer;cbxweeklybwfvm2;cbxweeklybwfvm2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklybwfvm2/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklybwfvm2","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklybwfvm2","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklybwfvm2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklybwfvmser1;cbxweeklybwfvm1/protectableItems/vm;iaasvmcontainer;cbxweeklybwfvmser1;cbxweeklybwfvm1","name":"iaasvmcontainer;cbxweeklybwfvmser1;cbxweeklybwfvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklybwfvmser1/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklybwfvm1","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklybwfvmser1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklybwfvm1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser01;cbxweekly012/protectableItems/vm;iaasvmcontainer;cbxweeklyser01;cbxweekly012","name":"iaasvmcontainer;cbxweeklyser01;cbxweekly012","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser01/providers/Microsoft.ClassicCompute/virtualMachines/cbxweekly012","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweekly012","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser02;cbxweeklyvm02/protectableItems/vm;iaasvmcontainer;cbxweeklyser02;cbxweeklyvm02","name":"iaasvmcontainer;cbxweeklyser02;cbxweeklyvm02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser02/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm02","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser02","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser03;cbxweeklyvm031/protectableItems/vm;iaasvmcontainer;cbxweeklyser03;cbxweeklyvm031","name":"iaasvmcontainer;cbxweeklyser03;cbxweeklyvm031","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser03/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm031","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser03","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm031","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser04;cbxweeklyvm04/protectableItems/vm;iaasvmcontainer;cbxweeklyser04;cbxweeklyvm04","name":"iaasvmcontainer;cbxweeklyser04;cbxweeklyvm04","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser04/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm04","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser04","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm04","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser051;cbxweeklyvm051/protectableItems/vm;iaasvmcontainer;cbxweeklyser051;cbxweeklyvm051","name":"iaasvmcontainer;cbxweeklyser051;cbxweeklyvm051","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser051/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm051","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser051","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm051","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser06;cbxweeklyvm06/protectableItems/vm;iaasvmcontainer;cbxweeklyser06;cbxweeklyvm06","name":"iaasvmcontainer;cbxweeklyser06;cbxweeklyvm06","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser06/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm06","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser06","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm06","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser07;cbxweeklyvm07/protectableItems/vm;iaasvmcontainer;cbxweeklyser07;cbxweeklyvm07","name":"iaasvmcontainer;cbxweeklyser07;cbxweeklyvm07","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser07/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm07","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser07","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm07","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser08;cbxweeklyvm08/protectableItems/vm;iaasvmcontainer;cbxweeklyser08;cbxweeklyvm08","name":"iaasvmcontainer;cbxweeklyser08;cbxweeklyvm08","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser08/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm08","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser08","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm08","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser09;cbxweeklyvm09/protectableItems/vm;iaasvmcontainer;cbxweeklyser09;cbxweeklyvm09","name":"iaasvmcontainer;cbxweeklyser09;cbxweeklyvm09","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser09/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm09","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser09","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm09","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyser101;cbxweeklyvm101/protectableItems/vm;iaasvmcontainer;cbxweeklyser101;cbxweeklyvm101","name":"iaasvmcontainer;cbxweeklyser101;cbxweeklyvm101","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyser101/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm101","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyser101","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm101","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyvm11;cbxweeklyvm11/protectableItems/vm;iaasvmcontainer;cbxweeklyvm11;cbxweeklyvm11","name":"iaasvmcontainer;cbxweeklyvm11;cbxweeklyvm11","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyvm11/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm11","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyvm11","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm11","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;cbxweeklyvm12;cbxweeklyvm12/protectableItems/vm;iaasvmcontainer;cbxweeklyvm12;cbxweeklyvm12","name":"iaasvmcontainer;cbxweeklyvm12;cbxweeklyvm12","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxweeklyvm12/providers/Microsoft.ClassicCompute/virtualMachines/cbxweeklyvm12","virtualMachineVersion":"ClassicCompute","resourceGroup":"cbxweeklyvm12","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"cbxweeklyvm12","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seal4;isbvtbvtd2seal4/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seal4;isbvtbvtd2seal4","name":"iaasvmcontainer;isbvtbvtd2seal4;isbvtbvtd2seal4","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/isbvtbvtd2seal4/providers/Microsoft.ClassicCompute/virtualMachines/isbvtbvtd2seal4","virtualMachineVersion":"ClassicCompute","resourceGroup":"isbvtbvtd2seal4","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"isbvtbvtd2seal4","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seal5;isbvtbvtd2seal5/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seal5;isbvtbvtd2seal5","name":"iaasvmcontainer;isbvtbvtd2seal5;isbvtbvtd2seal5","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/isbvtbvtd2seal5/providers/Microsoft.ClassicCompute/virtualMachines/isbvtbvtd2seal5","virtualMachineVersion":"ClassicCompute","resourceGroup":"isbvtbvtd2seal5","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"isbvtbvtd2seal5","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seal5cde16237cd76472f8a8d1a9bdf0a2469;alriaasvm3695/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seal5cde16237cd76472f8a8d1a9bdf0a2469;alriaasvm3695","name":"iaasvmcontainer;isbvtbvtd2seal5cde16237cd76472f8a8d1a9bdf0a2469;alriaasvm3695","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/isbvtbvtd2seal5cde16237cd76472f8a8d1a9bdf0a2469/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM3695","virtualMachineVersion":"ClassicCompute","resourceGroup":"isbvtbvtd2seal5cde16237cd76472f8a8d1a9bdf0a2469","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM3695","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw1;isbvtbvtd2seaw1/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw1;isbvtbvtd2seaw1","name":"iaasvmcontainer;isbvtbvtd2seaw1;isbvtbvtd2seaw1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW1/providers/Microsoft.ClassicCompute/virtualMachines/ISBVTBVTD2SEAW1","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ISBVTBVTD2SEAW1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw2;isbvtbvtd2seaw2/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw2;isbvtbvtd2seaw2","name":"iaasvmcontainer;isbvtbvtd2seaw2;isbvtbvtd2seaw2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW2/providers/Microsoft.ClassicCompute/virtualMachines/ISBVTBVTD2SEAW2","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW2","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ISBVTBVTD2SEAW2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm3/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm3","name":"iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm3","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW3/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM3","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW3","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM3","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm5826/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm5826","name":"iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm5826","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW3/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM5826","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW3","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM5826","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm7438/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm7438","name":"iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm7438","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW3/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM7438","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW3","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM7438","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm8734/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm8734","name":"iaasvmcontainer;isbvtbvtd2seaw3;alriaasvm8734","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW3/providers/Microsoft.ClassicCompute/virtualMachines/ALRIaaSVM8734","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW3","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ALRIaaSVM8734","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtbvtd2seaw3;isbvtbvtd2seaw3/protectableItems/vm;iaasvmcontainer;isbvtbvtd2seaw3;isbvtbvtd2seaw3","name":"iaasvmcontainer;isbvtbvtd2seaw3;isbvtbvtd2seaw3","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISBVTBVTD2SEAW3/providers/Microsoft.ClassicCompute/virtualMachines/ISBVTBVTD2SEAW3","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISBVTBVTD2SEAW3","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ISBVTBVTD2SEAW3","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;isbvtseav1vm;isbvtseav1vm/protectableItems/vm;iaasvmcontainer;isbvtseav1vm;isbvtseav1vm","name":"iaasvmcontainer;isbvtseav1vm;isbvtseav1vm","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/isbvtseav1vm/providers/Microsoft.ClassicCompute/virtualMachines/isbvtseav1vm","virtualMachineVersion":"ClassicCompute","resourceGroup":"isbvtseav1vm","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"isbvtseav1vm","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;iscmbvtseawvm1;iscmbvtseawvm1/protectableItems/vm;iaasvmcontainer;iscmbvtseawvm1;iscmbvtseawvm1","name":"iaasvmcontainer;iscmbvtseawvm1;iscmbvtseawvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ISCMBVTSEAWVM1/providers/Microsoft.ClassicCompute/virtualMachines/ISCMBVTSEAWVM1","virtualMachineVersion":"ClassicCompute","resourceGroup":"ISCMBVTSEAWVM1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"ISCMBVTSEAWVM1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;registertest1;registertest1/protectableItems/vm;iaasvmcontainer;registertest1;registertest1","name":"iaasvmcontainer;registertest1;registertest1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RegisterTest1/providers/Microsoft.ClassicCompute/virtualMachines/RegisterTest1","virtualMachineVersion":"ClassicCompute","resourceGroup":"RegisterTest1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"RegisterTest1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;registertest;registertest/protectableItems/vm;iaasvmcontainer;registertest;registertest","name":"iaasvmcontainer;registertest;registertest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RegisterTest/providers/Microsoft.ClassicCompute/virtualMachines/RegisterTest","virtualMachineVersion":"ClassicCompute","resourceGroup":"RegisterTest","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.ClassicCompute/virtualMachines","friendlyName":"RegisterTest","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtcloudlinkvm1;bvtcloudlinkvm1/protectableItems/vm;iaasvmcontainerv2;bvtcloudlinkvm1;bvtcloudlinkvm1","name":"iaasvmcontainerv2;bvtcloudlinkvm1;bvtcloudlinkvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtcloudlinkvm1/providers/Microsoft.Compute/virtualMachines/bvtcloudlinkvm1","virtualMachineVersion":"Compute","resourceGroup":"bvtcloudlinkvm1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtcloudlinkvm1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtseaencryvm08;bvtseaencryvm08/protectableItems/vm;iaasvmcontainerv2;bvtseaencryvm08;bvtseaencryvm08","name":"iaasvmcontainerv2;bvtseaencryvm08;bvtseaencryvm08","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtseaencryvm08/providers/Microsoft.Compute/virtualMachines/bvtseaencryvm08","virtualMachineVersion":"Compute","resourceGroup":"bvtseaencryvm08","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtseaencryvm08","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtseaencryvm08;bvtseaencvm05/protectableItems/vm;iaasvmcontainerv2;bvtseaencryvm08;bvtseaencvm05","name":"iaasvmcontainerv2;bvtseaencryvm08;bvtseaencvm05","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtseaencryvm08/providers/Microsoft.Compute/virtualMachines/bvtseaencvm05","virtualMachineVersion":"Compute","resourceGroup":"bvtseaencryvm08","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtseaencvm05","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtsealinenc1;bvtsealinenc1/protectableItems/vm;iaasvmcontainerv2;bvtsealinenc1;bvtsealinenc1","name":"iaasvmcontainerv2;bvtsealinenc1;bvtsealinenc1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtsealinenc1/providers/Microsoft.Compute/virtualMachines/bvtsealinenc1","virtualMachineVersion":"Compute","resourceGroup":"bvtsealinenc1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtsealinenc1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtsealinencvm1;bvtsealinencvm1/protectableItems/vm;iaasvmcontainerv2;bvtsealinencvm1;bvtsealinencvm1","name":"iaasvmcontainerv2;bvtsealinencvm1;bvtsealinencvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtsealinencvm1/providers/Microsoft.Compute/virtualMachines/bvtsealinencvm1","virtualMachineVersion":"Compute","resourceGroup":"bvtsealinencvm1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtsealinencvm1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtsealinencvm2;bvtsealinencvm2/protectableItems/vm;iaasvmcontainerv2;bvtsealinencvm2;bvtsealinencvm2","name":"iaasvmcontainerv2;bvtsealinencvm2;bvtsealinencvm2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtsealinencvm2/providers/Microsoft.Compute/virtualMachines/bvtsealinencvm2","virtualMachineVersion":"Compute","resourceGroup":"bvtsealinencvm2","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtsealinencvm2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvttestv2winvm;bvttestv2winvm/protectableItems/vm;iaasvmcontainerv2;bvttestv2winvm;bvttestv2winvm","name":"iaasvmcontainerv2;bvttestv2winvm;bvttestv2winvm","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvttestv2winvm/providers/Microsoft.Compute/virtualMachines/bvttestv2winvm","virtualMachineVersion":"Compute","resourceGroup":"bvttestv2winvm","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvttestv2winvm","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtwinencbek1;bvtwinencbek1/protectableItems/vm;iaasvmcontainerv2;bvtwinencbek1;bvtwinencbek1","name":"iaasvmcontainerv2;bvtwinencbek1;bvtwinencbek1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtWinEncBek1/providers/Microsoft.Compute/virtualMachines/bvtWinEncBek1","virtualMachineVersion":"Compute","resourceGroup":"bvtWinEncBek1","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtWinEncBek1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;bvtwinencbek2;bvtwinencbek2/protectableItems/vm;iaasvmcontainerv2;bvtwinencbek2;bvtwinencbek2","name":"iaasvmcontainerv2;bvtwinencbek2;bvtwinencbek2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bvtWinEncBek2/providers/Microsoft.Compute/virtualMachines/bvtWinEncBek2","virtualMachineVersion":"Compute","resourceGroup":"bvtWinEncBek2","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"bvtWinEncBek2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;cbxbvtseavm04;cbxbvtseavm04/protectableItems/vm;iaasvmcontainerv2;cbxbvtseavm04;cbxbvtseavm04","name":"iaasvmcontainerv2;cbxbvtseavm04;cbxbvtseavm04","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm04/providers/Microsoft.Compute/virtualMachines/cbxbvtseavm04","virtualMachineVersion":"Compute","resourceGroup":"cbxbvtseavm04","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"cbxbvtseavm04","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;cbxbvtseavm05;cbxbvtsea-rest1/protectableItems/vm;iaasvmcontainerv2;cbxbvtseavm05;cbxbvtsea-rest1","name":"iaasvmcontainerv2;cbxbvtseavm05;cbxbvtsea-rest1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm05/providers/Microsoft.Compute/virtualMachines/cbxbvtsea-rest1","virtualMachineVersion":"Compute","resourceGroup":"cbxbvtseavm05","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"cbxbvtsea-rest1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;cbxbvtseavm05;cbxbvtseavm05/protectableItems/vm;iaasvmcontainerv2;cbxbvtseavm05;cbxbvtseavm05","name":"iaasvmcontainerv2;cbxbvtseavm05;cbxbvtseavm05","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm05/providers/Microsoft.Compute/virtualMachines/cbxbvtseavm05","virtualMachineVersion":"Compute","resourceGroup":"cbxbvtseavm05","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"cbxbvtseavm05","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;cbxbvtseavm08;cbxbvtseavm08/protectableItems/vm;iaasvmcontainerv2;cbxbvtseavm08;cbxbvtseavm08","name":"iaasvmcontainerv2;cbxbvtseavm08;cbxbvtseavm08","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cbxbvtseavm08/providers/Microsoft.Compute/virtualMachines/cbxbvtseavm08","virtualMachineVersion":"Compute","resourceGroup":"cbxbvtseavm08","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"cbxbvtseavm08","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtd2vmenc01;psbvtd2vmenc01/protectableItems/vm;iaasvmcontainerv2;psbvtd2vmenc01;psbvtd2vmenc01","name":"iaasvmcontainerv2;psbvtd2vmenc01;psbvtd2vmenc01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtd2vmenc01/providers/Microsoft.Compute/virtualMachines/psbvtd2vmenc01","virtualMachineVersion":"Compute","resourceGroup":"psbvtd2vmenc01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtd2vmenc01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtdvmenc01;psbvtdvmenc01/protectableItems/vm;iaasvmcontainerv2;psbvtdvmenc01;psbvtdvmenc01","name":"iaasvmcontainerv2;psbvtdvmenc01;psbvtdvmenc01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtdvmenc01/providers/Microsoft.Compute/virtualMachines/psbvtdvmenc01","virtualMachineVersion":"Compute","resourceGroup":"psbvtdvmenc01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtdvmenc01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtdvmenc41;psbvtdvmenc41/protectableItems/vm;iaasvmcontainerv2;psbvtdvmenc41;psbvtdvmenc41","name":"iaasvmcontainerv2;psbvtdvmenc41;psbvtdvmenc41","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtdvmenc41/providers/Microsoft.Compute/virtualMachines/psbvtdvmenc41","virtualMachineVersion":"Compute","resourceGroup":"psbvtdvmenc41","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtdvmenc41","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtdvmenc42;psbvtdvmenc42/protectableItems/vm;iaasvmcontainerv2;psbvtdvmenc42;psbvtdvmenc42","name":"iaasvmcontainerv2;psbvtdvmenc42;psbvtdvmenc42","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtdvmenc42/providers/Microsoft.Compute/virtualMachines/psbvtdvmenc42","virtualMachineVersion":"Compute","resourceGroup":"psbvtdvmenc42","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtdvmenc42","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtdvmenc43;psbvtdvmenc43/protectableItems/vm;iaasvmcontainerv2;psbvtdvmenc43;psbvtdvmenc43","name":"iaasvmcontainerv2;psbvtdvmenc43;psbvtdvmenc43","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtdvmenc43/providers/Microsoft.Compute/virtualMachines/psbvtdvmenc43","virtualMachineVersion":"Compute","resourceGroup":"psbvtdvmenc43","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtdvmenc43","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtdvmenc44;psbvtdvmenc44/protectableItems/vm;iaasvmcontainerv2;psbvtdvmenc44;psbvtdvmenc44","name":"iaasvmcontainerv2;psbvtdvmenc44;psbvtdvmenc44","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtdvmenc44/providers/Microsoft.Compute/virtualMachines/psbvtdvmenc44","virtualMachineVersion":"Compute","resourceGroup":"psbvtdvmenc44","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtdvmenc44","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;psbvtintdenc01;psbvtintdenc01/protectableItems/vm;iaasvmcontainerv2;psbvtintdenc01;psbvtintdenc01","name":"iaasvmcontainerv2;psbvtintdenc01;psbvtintdenc01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/psbvtintdenc01/providers/Microsoft.Compute/virtualMachines/psbvtintdenc01","virtualMachineVersion":"Compute","resourceGroup":"psbvtintdenc01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"psbvtintdenc01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;registertest;registerv2vmtst/protectableItems/vm;iaasvmcontainerv2;registertest;registerv2vmtst","name":"iaasvmcontainerv2;registertest;registerv2vmtst","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RegisterTest/providers/Microsoft.Compute/virtualMachines/RegisterV2VMTst","virtualMachineVersion":"Compute","resourceGroup":"RegisterTest","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"RegisterV2VMTst","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggerbvtd2rg;swaggerbvtd2vm/protectableItems/vm;iaasvmcontainerv2;swaggerbvtd2rg;swaggerbvtd2vm","name":"iaasvmcontainerv2;swaggerbvtd2rg;swaggerbvtd2vm","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerBVTD2RG/providers/Microsoft.Compute/virtualMachines/SwaggerBVTD2VM","virtualMachineVersion":"Compute","resourceGroup":"SwaggerBVTD2RG","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"SwaggerBVTD2VM","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectableItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","name":"iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","virtualMachineVersion":"Compute","resourceGroup":"swaggersdktestrg","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"swaggersdktest","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskbekwinvm/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskbekwinvm","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskbekwinvm","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskBekWinVm","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskBekWinVm","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskencwinvm1/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskencwinvm1","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskencwinvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskEncWinVm1","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskEncWinVm1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskpremwinvm/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskpremwinvm","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskpremwinvm","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskPremWinVm","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskPremWinVm","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskubuntuvm1/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskubuntuvm1","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskubuntuvm1","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskUbuntuVm1","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskUbuntuVm1","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinshut01/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinshut01","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinshut01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskWinShut01","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskWinShut01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinvm01/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinvm01","name":"iaasvmcontainerv2;v2bvtd2sea01;mgdiskwinvm01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/MgDiskWinVM01","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskWinVM01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea01;v2bvtd2sea01/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea01;v2bvtd2sea01","name":"iaasvmcontainerv2;v2bvtd2sea01;v2bvtd2sea01","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea01/providers/Microsoft.Compute/virtualMachines/v2bvtd2sea01","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"v2bvtd2sea01","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtd2sea02;v2bvtd2sea02/protectableItems/vm;iaasvmcontainerv2;v2bvtd2sea02;v2bvtd2sea02","name":"iaasvmcontainerv2;v2bvtd2sea02;v2bvtd2sea02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtd2sea02/providers/Microsoft.Compute/virtualMachines/v2bvtd2sea02","virtualMachineVersion":"Compute","resourceGroup":"v2bvtd2sea02","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"v2bvtd2sea02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtdsea01;mgdiskencrvm02/protectableItems/vm;iaasvmcontainerv2;v2bvtdsea01;mgdiskencrvm02","name":"iaasvmcontainerv2;v2bvtdsea01;mgdiskencrvm02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtdsea01/providers/Microsoft.Compute/virtualMachines/MgDiskEncrVm02","virtualMachineVersion":"Compute","resourceGroup":"v2bvtdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskEncrVm02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtdsea01;mgdiskpremvm02/protectableItems/vm;iaasvmcontainerv2;v2bvtdsea01;mgdiskpremvm02","name":"iaasvmcontainerv2;v2bvtdsea01;mgdiskpremvm02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtdsea01/providers/Microsoft.Compute/virtualMachines/MgDiskPremVm02","virtualMachineVersion":"Compute","resourceGroup":"v2bvtdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskPremVm02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtdsea01;mgdiskubuntuvm2/protectableItems/vm;iaasvmcontainerv2;v2bvtdsea01;mgdiskubuntuvm2","name":"iaasvmcontainerv2;v2bvtdsea01;mgdiskubuntuvm2","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtdsea01/providers/Microsoft.Compute/virtualMachines/MgDiskUbuntuVm2","virtualMachineVersion":"Compute","resourceGroup":"v2bvtdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskUbuntuVm2","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtdsea01;mgdiskwinshut02/protectableItems/vm;iaasvmcontainerv2;v2bvtdsea01;mgdiskwinshut02","name":"iaasvmcontainerv2;v2bvtdsea01;mgdiskwinshut02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtdsea01/providers/Microsoft.Compute/virtualMachines/MgDiskWinShut02","virtualMachineVersion":"Compute","resourceGroup":"v2bvtdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskWinShut02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2bvtdsea01;mgdiskwinvm03/protectableItems/vm;iaasvmcontainerv2;v2bvtdsea01;mgdiskwinvm03","name":"iaasvmcontainerv2;v2bvtdsea01;mgdiskwinvm03","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2bvtdsea01/providers/Microsoft.Compute/virtualMachines/MgDiskWinVM03","virtualMachineVersion":"Compute","resourceGroup":"v2bvtdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"MgDiskWinVM03","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2intdsea01;v2intdsea02/protectableItems/vm;iaasvmcontainerv2;v2intdsea01;v2intdsea02","name":"iaasvmcontainerv2;v2intdsea01;v2intdsea02","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2intdsea01/providers/Microsoft.Compute/virtualMachines/v2intdsea02","virtualMachineVersion":"Compute","resourceGroup":"v2intdsea01","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"v2intdsea02","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;v2intdsealin06;v2intdsealin06/protectableItems/vm;iaasvmcontainerv2;v2intdsealin06;v2intdsealin06","name":"iaasvmcontainerv2;v2intdsealin06;v2intdsealin06","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/v2intdseaLin06/providers/Microsoft.Compute/virtualMachines/v2intdseaLin06","virtualMachineVersion":"Compute","resourceGroup":"v2intdseaLin06","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"v2intdseaLin06","protectionState":"NotProtected"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;zakinkhmdrg;v2linmanag/protectableItems/vm;iaasvmcontainerv2;zakinkhmdrg;v2linmanag","name":"iaasvmcontainerv2;zakinkhmdrg;v2linmanag","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems","properties":{"virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zakinkhmdrg/providers/Microsoft.Compute/virtualMachines/v2linmanag","virtualMachineVersion":"Compute","resourceGroup":"zakinkhmdrg","backupManagementType":"AzureIaasVM","protectableItemType":"Microsoft.Compute/virtualMachines","friendlyName":"v2linmanag","protectionState":"NotProtected"}}]}'} - headers: - cache-control: [no-cache] - content-length: ['107857'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [9df3b3c5-b49c-11e7-b482-f45c89acd723, 9df3b3c5-b49c-11e7-b482-f45c89acd723] - x-ms-correlation-request-id: [81bc1b77-832b-4049-8f4b-c8877d65cdb7] - x-ms-ratelimit-remaining-subscription-reads: ['14893'] - x-ms-request-id: [81bc1b77-832b-4049-8f4b-c8877d65cdb7] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071043Z:81bc1b77-832b-4049-8f4b-c8877d65cdb7'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"properties": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest", - "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/DefaultPolicy", - "protectedItemType": "Microsoft.Compute/virtualMachines"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['440'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9f519954-b49c-11e7-80c1-f45c89acd723] - method: PUT - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:10:45 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [9f519954-b49c-11e7-80c1-f45c89acd723, 9f519954-b49c-11e7-80c1-f45c89acd723] - x-ms-correlation-request-id: [7c6f7acc-2162-4183-bd30-59a53aff0299] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [7c6f7acc-2162-4183-bd30-59a53aff0299] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071045Z:7c6f7acc-2162-4183-bd30-59a53aff0299'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a0854405-b49c-11e7-8472-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:46 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [a0854405-b49c-11e7-8472-f45c89acd723, a0854405-b49c-11e7-8472-f45c89acd723] - x-ms-correlation-request-id: [54e0cdec-3f77-4a9a-93b6-58d00a3bf9e4] - x-ms-ratelimit-remaining-subscription-reads: ['14908'] - x-ms-request-id: [54e0cdec-3f77-4a9a-93b6-58d00a3bf9e4] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071046Z:54e0cdec-3f77-4a9a-93b6-58d00a3bf9e4'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a41cba2b-b49c-11e7-9e7e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:52 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [a41cba2b-b49c-11e7-9e7e-f45c89acd723, a41cba2b-b49c-11e7-9e7e-f45c89acd723] - x-ms-correlation-request-id: [20f17a48-757d-418d-ba63-bd7a0cbe4499] - x-ms-ratelimit-remaining-subscription-reads: ['14867'] - x-ms-request-id: [20f17a48-757d-418d-ba63-bd7a0cbe4499] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071053Z:20f17a48-757d-418d-ba63-bd7a0cbe4499'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a8077347-b49c-11e7-8769-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:10:59 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [a8077347-b49c-11e7-8769-f45c89acd723, a8077347-b49c-11e7-8769-f45c89acd723] - x-ms-correlation-request-id: [0dee4b0a-912e-45ef-bf59-642502134e6c] - x-ms-ratelimit-remaining-subscription-reads: ['14918'] - x-ms-request-id: [0dee4b0a-912e-45ef-bf59-642502134e6c] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071100Z:0dee4b0a-912e-45ef-bf59-642502134e6c'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ac142a8a-b49c-11e7-8262-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:06 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [ac142a8a-b49c-11e7-8262-f45c89acd723, ac142a8a-b49c-11e7-8262-f45c89acd723] - x-ms-correlation-request-id: [4594cfa8-0256-4144-91b0-64738a5e8124] - x-ms-ratelimit-remaining-subscription-reads: ['14819'] - x-ms-request-id: [4594cfa8-0256-4144-91b0-64738a5e8124] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071106Z:4594cfa8-0256-4144-91b0-64738a5e8124'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b02faa02-b49c-11e7-84c2-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:12 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b02faa02-b49c-11e7-84c2-f45c89acd723, b02faa02-b49c-11e7-84c2-f45c89acd723] - x-ms-correlation-request-id: [603f734e-25d3-4145-b86a-7c43b148b592] - x-ms-ratelimit-remaining-subscription-reads: ['14832'] - x-ms-request-id: [603f734e-25d3-4145-b86a-7c43b148b592] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071112Z:603f734e-25d3-4145-b86a-7c43b148b592'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b3db23c2-b49c-11e7-9753-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","name":"VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"swaggersdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","protectionStatus":"Healthy","protectionState":"IRPending","healthStatus":"Passed","lastBackupStatus":"","lastBackupTime":"2001-01-01T00:00:00Z","protectedItemDataId":"123145452104371","extendedInfo":{"recoveryPointCount":0,"policyInconsistent":false},"protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","policyId":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/DefaultPolicy","policyName":"DefaultPolicy"}}'} - headers: - cache-control: [no-cache] - content-length: ['1529'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [b3db23c2-b49c-11e7-9753-f45c89acd723, b3db23c2-b49c-11e7-9753-f45c89acd723] - x-ms-correlation-request-id: [b35c04f0-9ba4-4fb9-b26c-2a887e171e82] - x-ms-ratelimit-remaining-subscription-reads: ['14891'] - x-ms-request-id: [b35c04f0-9ba4-4fb9-b26c-2a887e171e82] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071119Z:b35c04f0-9ba4-4fb9-b26c-2a887e171e82'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b47d4b6e-b49c-11e7-9a42-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/d5791ad1-50c6-42ea-b711-6ecfc7506535?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"d5791ad1-50c6-42ea-b711-6ecfc7506535","name":"d5791ad1-50c6-42ea-b711-6ecfc7506535","status":"Succeeded","startTime":"2017-10-19T07:10:46.2872763Z","endTime":"2017-10-19T07:10:46.2872763Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"181d4fc3-bf92-4fe5-b857-e1e21fce4284"}}'} - headers: - cache-control: [no-cache] - content-length: ['304'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [b47d4b6e-b49c-11e7-9a42-f45c89acd723, b47d4b6e-b49c-11e7-9a42-f45c89acd723] - x-ms-correlation-request-id: [9e91e801-0a4c-4bce-bd99-f8c40b26d493] - x-ms-ratelimit-remaining-subscription-reads: ['14928'] - x-ms-request-id: [9e91e801-0a4c-4bce-bd99-f8c40b26d493] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071120Z:9e91e801-0a4c-4bce-bd99-f8c40b26d493'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b5252323-b49c-11e7-9c14-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupProtectedItems?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","name":"VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"swaggersdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","protectionStatus":"Healthy","protectionState":"IRPending","healthStatus":"Passed","lastBackupStatus":"","lastBackupTime":"2001-01-01T00:00:00Z","protectedItemDataId":"123145452104371","protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","policyId":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/DefaultPolicy","policyName":"DefaultPolicy"}}]}'} - headers: - cache-control: [no-cache] - content-length: ['1474'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [b5252323-b49c-11e7-9c14-f45c89acd723, b5252323-b49c-11e7-9c14-f45c89acd723] - x-ms-correlation-request-id: [8a9e2a26-56a4-4de5-9104-03d00f7a3694] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [8a9e2a26-56a4-4de5-9104-03d00f7a3694] - x-ms-routing-request-id: ['WESTINDIA:20171019T071122Z:8a9e2a26-56a4-4de5-9104-03d00f7a3694'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"properties": {"recoveryPointExpiryTimeInUTC": "2017-10-21T07:11:22.576864Z", - "objectType": "IaasVMBackupRequest"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['116'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b6609c6b-b49c-11e7-a804-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/backup?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:11:23 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b6609c6b-b49c-11e7-a804-f45c89acd723, b6609c6b-b49c-11e7-a804-f45c89acd723] - x-ms-correlation-request-id: [d9f757e4-ace3-4f97-ab53-37cea7ceef3e] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [d9f757e4-ace3-4f97-ab53-37cea7ceef3e] - x-ms-routing-request-id: ['WESTINDIA:20171019T071124Z:d9f757e4-ace3-4f97-ab53-37cea7ceef3e'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b796c5ca-b49c-11e7-93d7-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:24 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b796c5ca-b49c-11e7-93d7-f45c89acd723, b796c5ca-b49c-11e7-93d7-f45c89acd723] - x-ms-correlation-request-id: [3c7ce7f8-f98e-44a9-8e15-1b94b2006ce6] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [3c7ce7f8-f98e-44a9-8e15-1b94b2006ce6] - x-ms-routing-request-id: ['WESTINDIA:20171019T071125Z:3c7ce7f8-f98e-44a9-8e15-1b94b2006ce6'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bb602d99-b49c-11e7-9fea-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01'] - cache-control: [no-cache] - content-type: [application/json; charset=utf-8] - date: ['Thu, 19 Oct 2017 07:11:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [bb602d99-b49c-11e7-9fea-f45c89acd723, bb602d99-b49c-11e7-9fea-f45c89acd723] - x-ms-correlation-request-id: [d5c63735-4864-4720-8b77-eafab51f7d55] - x-ms-ratelimit-remaining-subscription-reads: ['14862'] - x-ms-request-id: [d5c63735-4864-4720-8b77-eafab51f7d55] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071132Z:d5c63735-4864-4720-8b77-eafab51f7d55'] - x-powered-by: [ASP.NET] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bc584d5e-b49c-11e7-b351-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/58e7eec8-68c2-4398-89b8-7f5d92eb05ce?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"58e7eec8-68c2-4398-89b8-7f5d92eb05ce","name":"58e7eec8-68c2-4398-89b8-7f5d92eb05ce","status":"Succeeded","startTime":"2017-10-19T07:11:24.5461657Z","endTime":"2017-10-19T07:11:24.5461657Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"a8619ff4-b0ad-44b7-adc4-f24fde707a65"}}'} - headers: - cache-control: [no-cache] - content-length: ['304'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [bc584d5e-b49c-11e7-b351-f45c89acd723, bc584d5e-b49c-11e7-b351-f45c89acd723] - x-ms-correlation-request-id: [e84b409d-73f8-4d22-a8e7-7fce7f2e9878] - x-ms-ratelimit-remaining-subscription-reads: ['14924'] - x-ms-request-id: [e84b409d-73f8-4d22-a8e7-7fce7f2e9878] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071133Z:e84b409d-73f8-4d22-a8e7-7fce7f2e9878'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bd180b11-b49c-11e7-83f8-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9.9291843S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/181d4fc3-bf92-4fe5-b857-e1e21fce4284","name":"181d4fc3-bf92-4fe5-b857-e1e21fce4284","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT30.7891378S","virtualMachineVersion":"Compute","entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"ConfigureBackup","status":"Completed","startTime":"2017-10-19T07:10:46.2872763Z","endTime":"2017-10-19T07:11:17.0764141Z","activityId":"9f519954-b49c-11e7-80c1-f45c89acd723"}}]}'} - headers: - cache-control: [no-cache] - content-length: ['1335'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [bd180b11-b49c-11e7-83f8-f45c89acd723, bd180b11-b49c-11e7-83f8-f45c89acd723] - x-ms-correlation-request-id: [06b555ea-811a-4b62-89ff-3e31d771daf9] - x-ms-ratelimit-remaining-subscription-reads: ['14916'] - x-ms-request-id: [06b555ea-811a-4b62-89ff-3e31d771daf9] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071134Z:06b555ea-811a-4b62-89ff-3e31d771daf9'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bdae363a-b49c-11e7-acb9-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9.9209966S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['862'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:11:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [bdae363a-b49c-11e7-acb9-f45c89acd723, bdae363a-b49c-11e7-acb9-f45c89acd723] - x-ms-correlation-request-id: [a2899b4e-e2f9-48c7-94c6-f76b439d3044] - x-ms-ratelimit-remaining-subscription-reads: ['14817'] - x-ms-request-id: [a2899b4e-e2f9-48c7-94c6-f76b439d3044] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071136Z:a2899b4e-e2f9-48c7-94c6-f76b439d3044'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e26d8930-b49c-11e7-a0d9-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT1M13.0642545S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:12:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [e26d8930-b49c-11e7-a0d9-f45c89acd723, e26d8930-b49c-11e7-a0d9-f45c89acd723] - x-ms-correlation-request-id: [b1516e40-f627-4a67-9894-b59c2187d457] - x-ms-ratelimit-remaining-subscription-reads: ['14914'] - x-ms-request-id: [b1516e40-f627-4a67-9894-b59c2187d457] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071239Z:b1516e40-f627-4a67-9894-b59c2187d457'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [07f2750a-b49d-11e7-8154-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT2M15.5666581S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:13:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [07f2750a-b49d-11e7-8154-f45c89acd723, 07f2750a-b49d-11e7-8154-f45c89acd723] - x-ms-correlation-request-id: [bf069d5a-3bf0-465b-97cf-fcf5b35b7c15] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [bf069d5a-3bf0-465b-97cf-fcf5b35b7c15] - x-ms-routing-request-id: ['WESTINDIA:20171019T071341Z:bf069d5a-3bf0-465b-97cf-fcf5b35b7c15'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [2d402757-b49d-11e7-ae19-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT3M18.0844193S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:14:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [2d402757-b49d-11e7-ae19-f45c89acd723, 2d402757-b49d-11e7-ae19-f45c89acd723] - x-ms-correlation-request-id: [06e0cda4-ab2e-46c4-8951-25bbf2da9d5b] - x-ms-ratelimit-remaining-subscription-reads: ['14814'] - x-ms-request-id: [06e0cda4-ab2e-46c4-8951-25bbf2da9d5b] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071444Z:06e0cda4-ab2e-46c4-8951-25bbf2da9d5b'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [5271fd30-b49d-11e7-8953-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT4M20.0561188S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"InProgress"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"NotStarted"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:15:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [5271fd30-b49d-11e7-8953-f45c89acd723, 5271fd30-b49d-11e7-8953-f45c89acd723] - x-ms-correlation-request-id: [99e4a475-eecf-4471-a0b7-a24e756e3e74] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [99e4a475-eecf-4471-a0b7-a24e756e3e74] - x-ms-routing-request-id: ['WESTINDIA:20171019T071546Z:99e4a475-eecf-4471-a0b7-a24e756e3e74'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7770f1ae-b49d-11e7-8897-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT5M22.3941968S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:16:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [7770f1ae-b49d-11e7-8897-f45c89acd723, 7770f1ae-b49d-11e7-8897-f45c89acd723] - x-ms-correlation-request-id: [3a3cfefc-25c7-4cb4-8935-6006f7fc3bad] - x-ms-ratelimit-remaining-subscription-reads: ['14923'] - x-ms-request-id: [3a3cfefc-25c7-4cb4-8935-6006f7fc3bad] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071648Z:3a3cfefc-25c7-4cb4-8935-6006f7fc3bad'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9c8e9c0c-b49d-11e7-93fb-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT6M24.6082379S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:17:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [9c8e9c0c-b49d-11e7-93fb-f45c89acd723, 9c8e9c0c-b49d-11e7-93fb-f45c89acd723] - x-ms-correlation-request-id: [aa7d0bea-96e5-4d63-b842-4daae0be0cb8] - x-ms-ratelimit-remaining-subscription-reads: ['14856'] - x-ms-request-id: [aa7d0bea-96e5-4d63-b842-4daae0be0cb8] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071750Z:aa7d0bea-96e5-4d63-b842-4daae0be0cb8'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [c1955b9e-b49d-11e7-abb5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT7M26.8574995S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:18:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [c1955b9e-b49d-11e7-abb5-f45c89acd723, c1955b9e-b49d-11e7-abb5-f45c89acd723] - x-ms-correlation-request-id: [081947f9-c55c-4edc-88db-0bbee3453b6f] - x-ms-ratelimit-remaining-subscription-reads: ['14819'] - x-ms-request-id: [081947f9-c55c-4edc-88db-0bbee3453b6f] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071852Z:081947f9-c55c-4edc-88db-0bbee3453b6f'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e6be4566-b49d-11e7-9afc-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8M28.4965348S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:19:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [e6be4566-b49d-11e7-9afc-f45c89acd723, e6be4566-b49d-11e7-9afc-f45c89acd723] - x-ms-correlation-request-id: [79c32f21-43ea-4b0e-9018-061522c85162] - x-ms-ratelimit-remaining-subscription-reads: ['14854'] - x-ms-request-id: [79c32f21-43ea-4b0e-9018-061522c85162] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T071954Z:79c32f21-43ea-4b0e-9018-061522c85162'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [0b7ca0a8-b49e-11e7-9a8c-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9M33.5651054S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:20:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [0b7ca0a8-b49e-11e7-9a8c-f45c89acd723, 0b7ca0a8-b49e-11e7-9a8c-f45c89acd723] - x-ms-correlation-request-id: [0ae517b3-6f4f-4979-bf22-e3aa310eb754] - x-ms-ratelimit-remaining-subscription-reads: ['14831'] - x-ms-request-id: [0ae517b3-6f4f-4979-bf22-e3aa310eb754] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T072059Z:0ae517b3-6f4f-4979-bf22-e3aa310eb754'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [32400221-b49e-11e7-bd61-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT10M35.7015357S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:22:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [32400221-b49e-11e7-bd61-f45c89acd723, 32400221-b49e-11e7-bd61-f45c89acd723] - x-ms-correlation-request-id: [38634e5c-d004-44f9-ac21-168eebef9595] - x-ms-ratelimit-remaining-subscription-reads: ['14917'] - x-ms-request-id: [38634e5c-d004-44f9-ac21-168eebef9595] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T072201Z:38634e5c-d004-44f9-ac21-168eebef9595'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [578d4935-b49e-11e7-a860-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT11M38.4598852S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:23:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [578d4935-b49e-11e7-a860-f45c89acd723, 578d4935-b49e-11e7-a860-f45c89acd723] - x-ms-correlation-request-id: [24130583-ee4b-4647-aa73-2fa335e798fa] - x-ms-ratelimit-remaining-subscription-reads: ['14973'] - x-ms-request-id: [24130583-ee4b-4647-aa73-2fa335e798fa] - x-ms-routing-request-id: ['WESTINDIA:20171019T072304Z:24130583-ee4b-4647-aa73-2fa335e798fa'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7cb9984a-b49e-11e7-a1ba-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT12M40.5388223S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:24:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [7cb9984a-b49e-11e7-a1ba-f45c89acd723, 7cb9984a-b49e-11e7-a1ba-f45c89acd723] - x-ms-correlation-request-id: [81829fa5-e21a-4307-a7b9-f201eda4b46d] - x-ms-ratelimit-remaining-subscription-reads: ['14768'] - x-ms-request-id: [81829fa5-e21a-4307-a7b9-f201eda4b46d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T072406Z:81829fa5-e21a-4307-a7b9-f201eda4b46d'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a1b10387-b49e-11e7-9d51-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT13M42.8987636S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:25:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a1b10387-b49e-11e7-9d51-f45c89acd723, a1b10387-b49e-11e7-9d51-f45c89acd723] - x-ms-correlation-request-id: [39f100c7-ce49-49a6-8bbb-b0ba52bc027d] - x-ms-ratelimit-remaining-subscription-reads: ['14932'] - x-ms-request-id: [39f100c7-ce49-49a6-8bbb-b0ba52bc027d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T072509Z:39f100c7-ce49-49a6-8bbb-b0ba52bc027d'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [c6da5f4a-b49e-11e7-a016-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT14M44.7880999S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:26:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [c6da5f4a-b49e-11e7-a016-f45c89acd723, c6da5f4a-b49e-11e7-a016-f45c89acd723] - x-ms-correlation-request-id: [9cca6188-bbaf-4606-b167-b6ced8977984] - x-ms-ratelimit-remaining-subscription-reads: ['14983'] - x-ms-request-id: [9cca6188-bbaf-4606-b167-b6ced8977984] - x-ms-routing-request-id: ['WESTINDIA:20171019T072610Z:9cca6188-bbaf-4606-b167-b6ced8977984'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ebdcf09e-b49e-11e7-9e36-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT15M50.4739462S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:27:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [ebdcf09e-b49e-11e7-9e36-f45c89acd723, ebdcf09e-b49e-11e7-9e36-f45c89acd723] - x-ms-correlation-request-id: [aeef1f70-700f-4f0a-bd1d-0a0ce4b2b9e5] - x-ms-ratelimit-remaining-subscription-reads: ['14983'] - x-ms-request-id: [aeef1f70-700f-4f0a-bd1d-0a0ce4b2b9e5] - x-ms-routing-request-id: ['WESTINDIA:20171019T072716Z:aeef1f70-700f-4f0a-bd1d-0a0ce4b2b9e5'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [12ec202e-b49f-11e7-8eea-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT16M52.3458779S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:28:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [12ec202e-b49f-11e7-8eea-f45c89acd723, 12ec202e-b49f-11e7-8eea-f45c89acd723] - x-ms-correlation-request-id: [2a51e836-dbed-4bd4-ac70-3e3b6264efe1] - x-ms-ratelimit-remaining-subscription-reads: ['14927'] - x-ms-request-id: [2a51e836-dbed-4bd4-ac70-3e3b6264efe1] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T072818Z:2a51e836-dbed-4bd4-ac70-3e3b6264efe1'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [37c74efa-b49f-11e7-8122-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT17M54.6973602S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:29:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [37c74efa-b49f-11e7-8122-f45c89acd723, 37c74efa-b49f-11e7-8122-f45c89acd723] - x-ms-correlation-request-id: [bab4837e-9c06-489c-83ca-252600a13ab1] - x-ms-ratelimit-remaining-subscription-reads: ['14982'] - x-ms-request-id: [bab4837e-9c06-489c-83ca-252600a13ab1] - x-ms-routing-request-id: ['WESTINDIA:20171019T072920Z:bab4837e-9c06-489c-83ca-252600a13ab1'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [5cf4bc63-b49f-11e7-bce5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT18M56.303883S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:30:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [5cf4bc63-b49f-11e7-bce5-f45c89acd723, 5cf4bc63-b49f-11e7-bce5-f45c89acd723] - x-ms-correlation-request-id: [2681a743-62a4-49aa-9230-48b8a85a0191] - x-ms-ratelimit-remaining-subscription-reads: ['14972'] - x-ms-request-id: [2681a743-62a4-49aa-9230-48b8a85a0191] - x-ms-routing-request-id: ['WESTINDIA:20171019T073022Z:2681a743-62a4-49aa-9230-48b8a85a0191'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [81ace4ab-b49f-11e7-b9f5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT19M58.0183341S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:31:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [81ace4ab-b49f-11e7-b9f5-f45c89acd723, 81ace4ab-b49f-11e7-b9f5-f45c89acd723] - x-ms-correlation-request-id: [87610091-3dbc-4d3f-9f63-4aec76ff49ae] - x-ms-ratelimit-remaining-subscription-reads: ['14983'] - x-ms-request-id: [87610091-3dbc-4d3f-9f63-4aec76ff49ae] - x-ms-routing-request-id: ['WESTINDIA:20171019T073124Z:87610091-3dbc-4d3f-9f63-4aec76ff49ae'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a6740cee-b49f-11e7-9f9e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT21M0.244122S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['863'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:32:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a6740cee-b49f-11e7-9f9e-f45c89acd723, a6740cee-b49f-11e7-9f9e-f45c89acd723] - x-ms-correlation-request-id: [3b85a61a-5b1c-4191-aa66-5e21ad357c75] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [3b85a61a-5b1c-4191-aa66-5e21ad357c75] - x-ms-routing-request-id: ['WESTINDIA:20171019T073226Z:3b85a61a-5b1c-4191-aa66-5e21ad357c75'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [cbaafa35-b49f-11e7-ade1-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT22M2.5401447S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:33:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [cbaafa35-b49f-11e7-ade1-f45c89acd723, cbaafa35-b49f-11e7-ade1-f45c89acd723] - x-ms-correlation-request-id: [49b6c485-c4ee-4134-aa33-e5f14a43298e] - x-ms-ratelimit-remaining-subscription-reads: ['14980'] - x-ms-request-id: [49b6c485-c4ee-4134-aa33-e5f14a43298e] - x-ms-routing-request-id: ['WESTINDIA:20171019T073328Z:49b6c485-c4ee-4134-aa33-e5f14a43298e'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [f0a82ef0-b49f-11e7-81b5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT23M4.6438228S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:34:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [f0a82ef0-b49f-11e7-81b5-f45c89acd723, f0a82ef0-b49f-11e7-81b5-f45c89acd723] - x-ms-correlation-request-id: [ed877712-23f3-4f51-86be-3b35c62aa2a5] - x-ms-ratelimit-remaining-subscription-reads: ['14739'] - x-ms-request-id: [ed877712-23f3-4f51-86be-3b35c62aa2a5] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073430Z:ed877712-23f3-4f51-86be-3b35c62aa2a5'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [15c366b5-b4a0-11e7-9bb7-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT24M7.0283073S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:35:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [15c366b5-b4a0-11e7-9bb7-f45c89acd723, 15c366b5-b4a0-11e7-9bb7-f45c89acd723] - x-ms-correlation-request-id: [b534b3f4-353e-48f3-be9b-2491f47deee6] - x-ms-ratelimit-remaining-subscription-reads: ['14741'] - x-ms-request-id: [b534b3f4-353e-48f3-be9b-2491f47deee6] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073533Z:b534b3f4-353e-48f3-be9b-2491f47deee6'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [3aeecb02-b4a0-11e7-9b50-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT25M10.3424201S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:36:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [3aeecb02-b4a0-11e7-9b50-f45c89acd723, 3aeecb02-b4a0-11e7-9b50-f45c89acd723] - x-ms-correlation-request-id: [4746193d-85dd-49f8-84b5-9fb31eeaaccb] - x-ms-ratelimit-remaining-subscription-reads: ['14901'] - x-ms-request-id: [4746193d-85dd-49f8-84b5-9fb31eeaaccb] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073636Z:4746193d-85dd-49f8-84b5-9fb31eeaaccb'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [60b6d44c-b4a0-11e7-bc02-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT26M12.9282571S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:37:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [60b6d44c-b4a0-11e7-bc02-f45c89acd723, 60b6d44c-b4a0-11e7-bc02-f45c89acd723] - x-ms-correlation-request-id: [bf0e291a-d8f0-4c3b-ac8e-18549fdbd8f4] - x-ms-ratelimit-remaining-subscription-reads: ['14739'] - x-ms-request-id: [bf0e291a-d8f0-4c3b-ac8e-18549fdbd8f4] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073739Z:bf0e291a-d8f0-4c3b-ac8e-18549fdbd8f4'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [85e6bb11-b4a0-11e7-93dc-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT27M14.9111199S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:38:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [85e6bb11-b4a0-11e7-93dc-f45c89acd723, 85e6bb11-b4a0-11e7-93dc-f45c89acd723] - x-ms-correlation-request-id: [a25e1bb8-b626-4df3-9c4c-1e15d01b76ee] - x-ms-ratelimit-remaining-subscription-reads: ['14865'] - x-ms-request-id: [a25e1bb8-b626-4df3-9c4c-1e15d01b76ee] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073841Z:a25e1bb8-b626-4df3-9c4c-1e15d01b76ee'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [aad28e61-b4a0-11e7-8a67-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT28M20.1784312S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:39:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [aad28e61-b4a0-11e7-8a67-f45c89acd723, aad28e61-b4a0-11e7-8a67-f45c89acd723] - x-ms-correlation-request-id: [5902f48b-8dae-4d58-974c-95a7eda9fdde] - x-ms-ratelimit-remaining-subscription-reads: ['14906'] - x-ms-request-id: [5902f48b-8dae-4d58-974c-95a7eda9fdde] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T073946Z:5902f48b-8dae-4d58-974c-95a7eda9fdde'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [d1b45e11-b4a0-11e7-9762-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT29M21.8585537S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:40:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [d1b45e11-b4a0-11e7-9762-f45c89acd723, d1b45e11-b4a0-11e7-9762-f45c89acd723] - x-ms-correlation-request-id: [b2e354b6-7c1d-4342-bea4-09f574af912d] - x-ms-ratelimit-remaining-subscription-reads: ['14876'] - x-ms-request-id: [b2e354b6-7c1d-4342-bea4-09f574af912d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074048Z:b2e354b6-7c1d-4342-bea4-09f574af912d'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [f6864d05-b4a0-11e7-84d2-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT30M26.7104243S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:41:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [f6864d05-b4a0-11e7-84d2-f45c89acd723, f6864d05-b4a0-11e7-84d2-f45c89acd723] - x-ms-correlation-request-id: [1799a601-c840-46a0-93ac-a589c9589377] - x-ms-ratelimit-remaining-subscription-reads: ['14735'] - x-ms-request-id: [1799a601-c840-46a0-93ac-a589c9589377] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074152Z:1799a601-c840-46a0-93ac-a589c9589377'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [1d4dfe47-b4a1-11e7-ab11-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT31M29.003868S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['864'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:42:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [1d4dfe47-b4a1-11e7-ab11-f45c89acd723, 1d4dfe47-b4a1-11e7-ab11-f45c89acd723] - x-ms-correlation-request-id: [0948ba1a-6ab5-43c3-866a-2aa0cd3c6643] - x-ms-ratelimit-remaining-subscription-reads: ['14900'] - x-ms-request-id: [0948ba1a-6ab5-43c3-866a-2aa0cd3c6643] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074255Z:0948ba1a-6ab5-43c3-866a-2aa0cd3c6643'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [424a0f3d-b4a1-11e7-9c6b-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT32M31.5939887S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:43:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [424a0f3d-b4a1-11e7-9c6b-f45c89acd723, 424a0f3d-b4a1-11e7-9c6b-f45c89acd723] - x-ms-correlation-request-id: [1252253e-3322-4bf5-b853-97fc28206f5c] - x-ms-ratelimit-remaining-subscription-reads: ['14730'] - x-ms-request-id: [1252253e-3322-4bf5-b853-97fc28206f5c] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074357Z:1252253e-3322-4bf5-b853-97fc28206f5c'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [67c2ed0a-b4a1-11e7-a1b3-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT33M34.7137377S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:45:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [67c2ed0a-b4a1-11e7-a1b3-f45c89acd723, 67c2ed0a-b4a1-11e7-a1b3-f45c89acd723] - x-ms-correlation-request-id: [b7ab2c3e-3aae-4075-b923-1884478e3c0d] - x-ms-ratelimit-remaining-subscription-reads: ['14728'] - x-ms-request-id: [b7ab2c3e-3aae-4075-b923-1884478e3c0d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074500Z:b7ab2c3e-3aae-4075-b923-1884478e3c0d'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8d389038-b4a1-11e7-9d00-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT34M37.5588656S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"InProgress"}],"propertyBag":{"VM Name":"swaggersdktest"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"InProgress","startTime":"2017-10-19T07:11:24.5461657Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['865'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:46:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [8d389038-b4a1-11e7-9d00-f45c89acd723, 8d389038-b4a1-11e7-9d00-f45c89acd723] - x-ms-correlation-request-id: [f0e008f1-9abb-4d06-9263-e5b7037f585c] - x-ms-ratelimit-remaining-subscription-reads: ['14986'] - x-ms-request-id: [f0e008f1-9abb-4d06-9263-e5b7037f585c] - x-ms-routing-request-id: ['WESTINDIA:20171019T074604Z:f0e008f1-9abb-4d06-9263-e5b7037f585c'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b33e8aba-b4a1-11e7-b6b4-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT35M22.4973538S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[{"taskId":"Take - Snapshot","duration":"PT0S","status":"Completed"},{"taskId":"Transfer data - to vault","duration":"PT0S","status":"Completed"}],"propertyBag":{"VM Name":"swaggersdktest","Backup - Size":"13142 MB"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"Completed","startTime":"2017-10-19T07:11:24.5461657Z","endTime":"2017-10-19T07:46:47.0435195Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['929'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [b33e8aba-b4a1-11e7-b6b4-f45c89acd723, b33e8aba-b4a1-11e7-b6b4-f45c89acd723] - x-ms-correlation-request-id: [0e8e47de-faf0-4d25-85e3-1e1dcd966776] - x-ms-ratelimit-remaining-subscription-reads: ['14985'] - x-ms-request-id: [0e8e47de-faf0-4d25-85e3-1e1dcd966776] - x-ms-routing-request-id: ['WESTINDIA:20171019T074706Z:0e8e47de-faf0-4d25-85e3-1e1dcd966776'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b4360859-b4a1-11e7-8c9b-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/recoveryPoints?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/recoveryPoints/47685087659105","name":"47685087659105","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints","properties":{"objectType":"IaasVMRecoveryPoint","recoveryPointType":"AppConsistent","recoveryPointTime":"2017-10-19T07:11:28.0746866Z","recoveryPointAdditionalInfo":"","sourceVMStorageType":"PremiumVMOnPartialPremiumStorage","isSourceVMEncrypted":false,"isInstantILRSessionActive":false,"recoveryPointTierDetails":[{"type":2,"status":1}],"isManagedVirtualMachine":true,"virtualMachineSize":"Standard_B1s","originalStorageAccountOption":false}}]}'} - headers: - cache-control: [no-cache] - content-length: ['957'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [b4360859-b4a1-11e7-8c9b-f45c89acd723, b4360859-b4a1-11e7-8c9b-f45c89acd723] - x-ms-correlation-request-id: [82a0ad93-d710-4486-ba40-7f7759289590] - x-ms-ratelimit-remaining-subscription-reads: ['14978'] - x-ms-request-id: [82a0ad93-d710-4486-ba40-7f7759289590] - x-ms-routing-request-id: ['WESTINDIA:20171019T074707Z:82a0ad93-d710-4486-ba40-7f7759289590'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"properties": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest", - "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Storage/storageAccounts/swaggersdktest", - "recoveryType": "RestoreDisks", "recoveryPointId": "47685087659105", "region": - "southeastasia", "createNewCloudService": false, "objectType": "IaasVMRestoreRequest"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['514'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b5358594-b4a1-11e7-ba2f-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/recoveryPoints/47685087659105/restore?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:47:09 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b5358594-b4a1-11e7-ba2f-f45c89acd723, b5358594-b4a1-11e7-ba2f-f45c89acd723] - x-ms-correlation-request-id: [9cc26df6-de78-4b99-a226-d55f41d81a42] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [9cc26df6-de78-4b99-a226-d55f41d81a42] - x-ms-routing-request-id: ['WESTINDIA:20171019T074709Z:9cc26df6-de78-4b99-a226-d55f41d81a42'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b60c30e6-b4a1-11e7-be4e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:10 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b60c30e6-b4a1-11e7-be4e-f45c89acd723, b60c30e6-b4a1-11e7-be4e-f45c89acd723] - x-ms-correlation-request-id: [aa624056-36f1-4252-9ec9-13d5a2022b46] - x-ms-ratelimit-remaining-subscription-reads: ['14964'] - x-ms-request-id: [aa624056-36f1-4252-9ec9-13d5a2022b46] - x-ms-routing-request-id: ['WESTINDIA:20171019T074710Z:aa624056-36f1-4252-9ec9-13d5a2022b46'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [b9d95259-b4a1-11e7-891d-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01'] - cache-control: [no-cache] - content-type: [application/json; charset=utf-8] - date: ['Thu, 19 Oct 2017 07:47:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [b9d95259-b4a1-11e7-891d-f45c89acd723, b9d95259-b4a1-11e7-891d-f45c89acd723] - x-ms-correlation-request-id: [5a635780-fbc9-484e-ae26-98c61f76ce76] - x-ms-ratelimit-remaining-subscription-reads: ['14891'] - x-ms-request-id: [5a635780-fbc9-484e-ae26-98c61f76ce76] - x-ms-routing-request-id: ['WESTINDIA:20171019T074717Z:5a635780-fbc9-484e-ae26-98c61f76ce76'] - x-powered-by: [ASP.NET] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [baa0e4a8-b4a1-11e7-bbf3-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"error":{"code":"RestApiInternalError","message":"The - REST API call encountered an internal error.\r\nWait for a few minutes and - then try the operation again. If the issue persists, please contact Microsoft - support.","target":null,"details":null,"innerError":null}}'} - headers: - cache-control: [no-cache] - connection: [close] - content-length: ['266'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [baa0e4a8-b4a1-11e7-bbf3-f45c89acd723] - x-ms-correlation-request-id: [2b070037-0659-4a53-b6ae-e1bbf4c36219] - x-ms-failure-cause: [service] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [2b070037-0659-4a53-b6ae-e1bbf4c36219] - x-ms-routing-request-id: ['WESTINDIA:20171019T074717Z:2b070037-0659-4a53-b6ae-e1bbf4c36219'] - status: {code: 500, message: Internal Server Error} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [baa0e4a8-b4a1-11e7-bbf3-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/e6bae2c4-9969-4045-9857-c3d46ccb552f?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"e6bae2c4-9969-4045-9857-c3d46ccb552f","name":"e6bae2c4-9969-4045-9857-c3d46ccb552f","status":"Succeeded","startTime":"2017-10-19T07:47:09.5371398Z","endTime":"2017-10-19T07:47:09.5371398Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"4309e3ce-f897-4db2-a3a6-0c9d800adac1"}}'} - headers: - cache-control: [no-cache] - content-length: ['304'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [baa0e4a8-b4a1-11e7-bbf3-f45c89acd723, baa0e4a8-b4a1-11e7-bbf3-f45c89acd723] - x-ms-correlation-request-id: [4ed9dd45-b6bb-4a7a-a6b5-e15b1cdea0c7] - x-ms-ratelimit-remaining-subscription-reads: ['14988'] - x-ms-request-id: [4ed9dd45-b6bb-4a7a-a6b5-e15b1cdea0c7] - x-ms-routing-request-id: ['WESTINDIA:20171019T074719Z:4ed9dd45-b6bb-4a7a-a6b5-e15b1cdea0c7'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bc07a60f-b4a1-11e7-95a5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"value":[{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9.4773448S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/a8619ff4-b0ad-44b7-adc4-f24fde707a65","name":"a8619ff4-b0ad-44b7-adc4-f24fde707a65","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT35M22.4973538S","actionsInfo":[1],"virtualMachineVersion":"Compute","entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Backup","status":"Completed","startTime":"2017-10-19T07:11:24.5461657Z","endTime":"2017-10-19T07:46:47.0435195Z","activityId":"b6609c6b-b49c-11e7-a804-f45c89acd723"}},{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/181d4fc3-bf92-4fe5-b857-e1e21fce4284","name":"181d4fc3-bf92-4fe5-b857-e1e21fce4284","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT30.7891378S","virtualMachineVersion":"Compute","entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"ConfigureBackup","status":"Completed","startTime":"2017-10-19T07:10:46.2872763Z","endTime":"2017-10-19T07:11:17.0764141Z","activityId":"9f519954-b49c-11e7-80c1-f45c89acd723"}}]}'} - headers: - cache-control: [no-cache] - content-length: ['2026'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [bc07a60f-b4a1-11e7-95a5-f45c89acd723, bc07a60f-b4a1-11e7-95a5-f45c89acd723] - x-ms-correlation-request-id: [5beb364f-c53f-43f9-88ae-a16979f255b8] - x-ms-ratelimit-remaining-subscription-reads: ['14976'] - x-ms-request-id: [5beb364f-c53f-43f9-88ae-a16979f255b8] - x-ms-routing-request-id: ['WESTINDIA:20171019T074720Z:5beb364f-c53f-43f9-88ae-a16979f255b8'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [bd21ec99-b4a1-11e7-a906-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT11.9355965S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['841'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:47:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [bd21ec99-b4a1-11e7-a906-f45c89acd723, bd21ec99-b4a1-11e7-a906-f45c89acd723] - x-ms-correlation-request-id: [f3d3004e-2b1c-490a-b1c8-461a329d4295] - x-ms-ratelimit-remaining-subscription-reads: ['14983'] - x-ms-request-id: [f3d3004e-2b1c-490a-b1c8-461a329d4295] - x-ms-routing-request-id: ['WESTINDIA:20171019T074723Z:f3d3004e-2b1c-490a-b1c8-461a329d4295'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e23cf2fd-b4a1-11e7-aeb5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT1M14.1310855S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:48:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [e23cf2fd-b4a1-11e7-aeb5-f45c89acd723, e23cf2fd-b4a1-11e7-aeb5-f45c89acd723] - x-ms-correlation-request-id: [9895e054-feb0-41d0-b9a1-1b005c822775] - x-ms-ratelimit-remaining-subscription-reads: ['14859'] - x-ms-request-id: [9895e054-feb0-41d0-b9a1-1b005c822775] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T074825Z:9895e054-feb0-41d0-b9a1-1b005c822775'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [07216528-b4a2-11e7-a12e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT2M16.3518989S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:49:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [07216528-b4a2-11e7-a12e-f45c89acd723, 07216528-b4a2-11e7-a12e-f45c89acd723] - x-ms-correlation-request-id: [a2acc418-9893-49e3-99a5-37258fb20a84] - x-ms-ratelimit-remaining-subscription-reads: ['14959'] - x-ms-request-id: [a2acc418-9893-49e3-99a5-37258fb20a84] - x-ms-routing-request-id: ['WESTINDIA:20171019T074927Z:a2acc418-9893-49e3-99a5-37258fb20a84'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [2c558bcf-b4a2-11e7-8d34-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT3M20.0890511S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:50:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [2c558bcf-b4a2-11e7-8d34-f45c89acd723, 2c558bcf-b4a2-11e7-8d34-f45c89acd723] - x-ms-correlation-request-id: [8d53bdea-b738-466b-befd-b9749085db81] - x-ms-ratelimit-remaining-subscription-reads: ['14975'] - x-ms-request-id: [8d53bdea-b738-466b-befd-b9749085db81] - x-ms-routing-request-id: ['WESTINDIA:20171019T075031Z:8d53bdea-b738-466b-befd-b9749085db81'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [5332a15c-b4a2-11e7-884a-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT4M28.0088327S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:51:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [5332a15c-b4a2-11e7-884a-f45c89acd723, 5332a15c-b4a2-11e7-884a-f45c89acd723] - x-ms-correlation-request-id: [e4ef1d11-da6f-48ef-8888-308d37e75273] - x-ms-ratelimit-remaining-subscription-reads: ['14764'] - x-ms-request-id: [e4ef1d11-da6f-48ef-8888-308d37e75273] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075139Z:e4ef1d11-da6f-48ef-8888-308d37e75273'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ad3f42e-b4a2-11e7-bf19-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT5M30.9417484S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:52:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [7ad3f42e-b4a2-11e7-bf19-f45c89acd723, 7ad3f42e-b4a2-11e7-bf19-f45c89acd723] - x-ms-correlation-request-id: [5216662c-182a-4699-ac26-026529aafcfb] - x-ms-ratelimit-remaining-subscription-reads: ['14987'] - x-ms-request-id: [5216662c-182a-4699-ac26-026529aafcfb] - x-ms-routing-request-id: ['WESTINDIA:20171019T075242Z:5216662c-182a-4699-ac26-026529aafcfb'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a04c7f94-b4a2-11e7-bc79-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT6M33.5657569S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:53:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a04c7f94-b4a2-11e7-bc79-f45c89acd723, a04c7f94-b4a2-11e7-bc79-f45c89acd723] - x-ms-correlation-request-id: [16292275-f315-4124-8fb0-a89e8eb06388] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [16292275-f315-4124-8fb0-a89e8eb06388] - x-ms-routing-request-id: ['WESTINDIA:20171019T075344Z:16292275-f315-4124-8fb0-a89e8eb06388'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [c58117de-b4a2-11e7-96ec-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT7M36.0343787S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:54:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [c58117de-b4a2-11e7-96ec-f45c89acd723, c58117de-b4a2-11e7-96ec-f45c89acd723] - x-ms-correlation-request-id: [cbc28c51-a92d-4e82-b618-eea3be8f9a92] - x-ms-ratelimit-remaining-subscription-reads: ['14971'] - x-ms-request-id: [cbc28c51-a92d-4e82-b618-eea3be8f9a92] - x-ms-routing-request-id: ['WESTINDIA:20171019T075447Z:cbc28c51-a92d-4e82-b618-eea3be8f9a92'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [eae1fc51-b4a2-11e7-a216-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT8M38.9217333S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:55:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [eae1fc51-b4a2-11e7-a216-f45c89acd723, eae1fc51-b4a2-11e7-a216-f45c89acd723] - x-ms-correlation-request-id: [b1242d86-cee9-41fc-8d87-212e6e2e8ca2] - x-ms-ratelimit-remaining-subscription-reads: ['14898'] - x-ms-request-id: [b1242d86-cee9-41fc-8d87-212e6e2e8ca2] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075550Z:b1242d86-cee9-41fc-8d87-212e6e2e8ca2'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [105b91f8-b4a3-11e7-be63-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT9M41.5688277S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM"},"dynamicErrorMessage":""},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"InProgress","startTime":"2017-10-19T07:47:11.0940995Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['843'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:56:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [105b91f8-b4a3-11e7-be63-f45c89acd723, 105b91f8-b4a3-11e7-be63-f45c89acd723] - x-ms-correlation-request-id: [9ba7cba3-3367-44dd-86db-303bb1f81388] - x-ms-ratelimit-remaining-subscription-reads: ['14977'] - x-ms-request-id: [9ba7cba3-3367-44dd-86db-303bb1f81388] - x-ms-routing-request-id: ['WESTINDIA:20171019T075652Z:9ba7cba3-3367-44dd-86db-303bb1f81388'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [3599bd45-b4a3-11e7-ae56-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1?api-version=2017-07-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupJobs/4309e3ce-f897-4db2-a3a6-0c9d800adac1","name":"4309e3ce-f897-4db2-a3a6-0c9d800adac1","type":"Microsoft.RecoveryServices/vaults/backupJobs","properties":{"jobType":"AzureIaaSVMJob","duration":"PT10M6.8493299S","actionsInfo":[1],"virtualMachineVersion":"Compute","extendedInfo":{"tasksList":[],"propertyBag":{"Job - Type":"Recover disks","Target Storage Account Name":"swaggersdktest","Recovery - point time ":"10/19/2017 7:11:28 AM","Config Blob Name":"config4309e3ce-f897-4db2-a3a6-0c9d800adac1.json","Config - Blob Container Name":"vhd9512f40e4bbe4e3d808f2f8f5dd8113f","Config Blob Uri":"https://swaggersdktest.blob.core.windows.net/vhd9512f40e4bbe4e3d808f2f8f5dd8113f/config4309e3ce-f897-4db2-a3a6-0c9d800adac1.json"}},"entityFriendlyName":"swaggersdktest","backupManagementType":"AzureIaasVM","operation":"Restore","status":"Completed","startTime":"2017-10-19T07:47:11.0940995Z","endTime":"2017-10-19T07:57:17.9434294Z","activityId":"b5358594-b4a1-11e7-ba2f-f45c89acd723"}}'} - headers: - cache-control: [no-cache] - content-length: ['1143'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:57:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0, Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [3599bd45-b4a3-11e7-ae56-f45c89acd723, 3599bd45-b4a3-11e7-ae56-f45c89acd723] - x-ms-correlation-request-id: [faf95198-536f-47bc-86ac-5fa8f719286c] - x-ms-ratelimit-remaining-subscription-reads: ['14970'] - x-ms-request-id: [faf95198-536f-47bc-86ac-5fa8f719286c] - x-ms-routing-request-id: ['WESTINDIA:20171019T075754Z:faf95198-536f-47bc-86ac-5fa8f719286c'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"properties": {"recoveryPointId": "47685087659105", "initiatorName": - "Hello World", "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest", - "renewExistingRegistration": true, "objectType": "IaasVMILRRegistrationRequest"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['332'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [3686ca9e-b4a3-11e7-9062-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/recoveryPoints/47685087659105/provisionInstantItemRecovery?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:57:54 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [3686ca9e-b4a3-11e7-9062-f45c89acd723, 3686ca9e-b4a3-11e7-9062-f45c89acd723] - x-ms-correlation-request-id: [a6f061aa-fb2b-4c54-bbe4-8f0d91f6f64f] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [a6f061aa-fb2b-4c54-bbe4-8f0d91f6f64f] - x-ms-routing-request-id: ['WESTINDIA:20171019T075755Z:a6f061aa-fb2b-4c54-bbe4-8f0d91f6f64f'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [37711c35-b4a3-11e7-934b-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:57:56 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [37711c35-b4a3-11e7-934b-f45c89acd723, 37711c35-b4a3-11e7-934b-f45c89acd723] - x-ms-correlation-request-id: [391fb820-f979-40bb-b677-72c9d1a3d2b2] - x-ms-ratelimit-remaining-subscription-reads: ['14890'] - x-ms-request-id: [391fb820-f979-40bb-b677-72c9d1a3d2b2] - x-ms-routing-request-id: ['WESTINDIA:20171019T075757Z:391fb820-f979-40bb-b677-72c9d1a3d2b2'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [3b69f251-b4a3-11e7-9722-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:02 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [3b69f251-b4a3-11e7-9722-f45c89acd723, 3b69f251-b4a3-11e7-9722-f45c89acd723] - x-ms-correlation-request-id: [faa78e1e-e7b5-415b-b07f-76dbacd03d05] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [faa78e1e-e7b5-415b-b07f-76dbacd03d05] - x-ms-routing-request-id: ['WESTINDIA:20171019T075803Z:faa78e1e-e7b5-415b-b07f-76dbacd03d05'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [3f0df54a-b4a3-11e7-a712-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01'] - cache-control: [no-cache] - content-type: [application/json; charset=utf-8] - date: ['Thu, 19 Oct 2017 07:58:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [3f0df54a-b4a3-11e7-a712-f45c89acd723, 3f0df54a-b4a3-11e7-a712-f45c89acd723] - x-ms-correlation-request-id: [0cdd3af8-7509-45c8-af61-b9062dbf6ca6] - x-ms-ratelimit-remaining-subscription-reads: ['14901'] - x-ms-request-id: [0cdd3af8-7509-45c8-af61-b9062dbf6ca6] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075829Z:0cdd3af8-7509-45c8-af61-b9062dbf6ca6'] - x-powered-by: [ASP.NET] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [4baf5b66-b4a3-11e7-9cfb-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/243cf5ea-45fd-4d05-a61a-a77db127648d?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"243cf5ea-45fd-4d05-a61a-a77db127648d","name":"243cf5ea-45fd-4d05-a61a-a77db127648d","status":"Succeeded","startTime":"2017-10-19T07:57:56.6159867Z","endTime":"2017-10-19T07:57:56.6159867Z","properties":{"objectType":"OperationStatusProvisionILRExtendedInfo","recoveryTarget":{"clientScripts":[{"scriptContent":"VXNlciAtIDExMTczNzEzOTMxNjA3Njk5NDItNWViYjE5MjktYmFjMS00MWU0LWI3MTgtNGUyNWQ4YTRlOWU1ICwgVGFyZ2V0IC0gT3duZXI9MTExNzM3MTM5MzE2MDc2OTk0MixOYW1lPTExMTczNzEzOTMxNjA3Njk5NDItMjk3OTQ3LTEyMzE0NTQ1MjEwNDM3MS00NzY4NTA4NzY1OTEwNSxFeHBpcnk9MTAvMTkvMjAxNyA3OjU3OjU2IFBNLCBTZXF1ZW5jZSA9IDYzNjQzOTk2Njg2NTE1NDc0Mg==","scriptExtension":".txt","osType":"Windows","scriptNameSuffix":"swaggersdktest_sea_1117371393160769942_439966865154_5ebb1929bac141e4b7184e25d8a4e9e5e3577df8078941e14eca610df9840"},{"scriptContent":"TkE=","scriptExtension":".exe","osType":"Windows","url":"https://download.microsoft.com/download/E/1/4/E145A033-2ED1-4001-9C86-22F1E73D53CD/IaaSVMILRExeForWindows.exe","scriptNameSuffix":"swaggersdktest_sea_1117371393160769942_439966865154_5ebb1929bac141e4b7184e25d8a4e9e5e3577df8078941e14eca610df9840"}]}}}'} - headers: - cache-control: [no-cache] - content-length: ['1125'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [4baf5b66-b4a3-11e7-9cfb-f45c89acd723, 4baf5b66-b4a3-11e7-9cfb-f45c89acd723] - x-ms-correlation-request-id: [bc9d3a97-4035-42bf-affe-6642f876457d] - x-ms-ratelimit-remaining-subscription-reads: ['14923'] - x-ms-request-id: [bc9d3a97-4035-42bf-affe-6642f876457d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075830Z:bc9d3a97-4035-42bf-affe-6642f876457d'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [4c4b5bf8-b4a3-11e7-8044-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/recoveryPoints/47685087659105/revokeInstantItemRecovery?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"error":{"code":"RestApiInternalError","message":"The - REST API call encountered an internal error.\r\nWait for a few minutes and - then try the operation again. If the issue persists, please contact Microsoft - support.","target":null,"details":null,"innerError":null}}'} - headers: - cache-control: [no-cache] - connection: [close] - content-length: ['266'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [4c4b5bf8-b4a3-11e7-8044-f45c89acd723] - x-ms-correlation-request-id: [462c1a50-e59a-4ce1-9824-db0307b0ed48] - x-ms-failure-cause: [service] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [462c1a50-e59a-4ce1-9824-db0307b0ed48] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075831Z:462c1a50-e59a-4ce1-9824-db0307b0ed48'] - status: {code: 500, message: Internal Server Error} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [4c4b5bf8-b4a3-11e7-8044-f45c89acd723] - method: POST - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/recoveryPoints/47685087659105/revokeInstantItemRecovery?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:58:33 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [4c4b5bf8-b4a3-11e7-8044-f45c89acd723, 4c4b5bf8-b4a3-11e7-8044-f45c89acd723] - x-ms-correlation-request-id: [6dc2141a-acee-4e54-a2c3-aa77c3fe47d8] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [6dc2141a-acee-4e54-a2c3-aa77c3fe47d8] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075833Z:6dc2141a-acee-4e54-a2c3-aa77c3fe47d8'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [4e03ccd1-b4a3-11e7-917c-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:34 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [4e03ccd1-b4a3-11e7-917c-f45c89acd723, 4e03ccd1-b4a3-11e7-917c-f45c89acd723] - x-ms-correlation-request-id: [5d9b7f4f-1330-49e4-a775-369f3a3826bb] - x-ms-ratelimit-remaining-subscription-reads: ['14905'] - x-ms-request-id: [5d9b7f4f-1330-49e4-a775-369f3a3826bb] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075834Z:5d9b7f4f-1330-49e4-a775-369f3a3826bb'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [51f82728-b4a3-11e7-b7ba-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:41 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [51f82728-b4a3-11e7-b7ba-f45c89acd723, 51f82728-b4a3-11e7-b7ba-f45c89acd723] - x-ms-correlation-request-id: [430c3502-f1de-45d1-b604-31fa6bbbae9d] - x-ms-ratelimit-remaining-subscription-reads: ['14851'] - x-ms-request-id: [430c3502-f1de-45d1-b604-31fa6bbbae9d] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075841Z:430c3502-f1de-45d1-b604-31fa6bbbae9d'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [561f4cd4-b4a3-11e7-85fb-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01'] - cache-control: [no-cache] - content-type: [application/json; charset=utf-8] - date: ['Thu, 19 Oct 2017 07:58:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [561f4cd4-b4a3-11e7-85fb-f45c89acd723, 561f4cd4-b4a3-11e7-85fb-f45c89acd723] - x-ms-correlation-request-id: [d5180983-5ff6-4ea9-a7a9-f26aab05d812] - x-ms-ratelimit-remaining-subscription-reads: ['14899'] - x-ms-request-id: [d5180983-5ff6-4ea9-a7a9-f26aab05d812] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075848Z:d5180983-5ff6-4ea9-a7a9-f26aab05d812'] - x-powered-by: [ASP.NET] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [56d962fd-b4a3-11e7-9d17-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/078b0d7b-9cb7-41f5-9525-11d4e54a1de3?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"078b0d7b-9cb7-41f5-9525-11d4e54a1de3","name":"078b0d7b-9cb7-41f5-9525-11d4e54a1de3","status":"Succeeded","startTime":"2017-10-19T07:58:34.3613949Z","endTime":"2017-10-19T07:58:34.3613949Z"}'} - headers: - cache-control: [no-cache] - content-length: ['196'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [56d962fd-b4a3-11e7-9d17-f45c89acd723, 56d962fd-b4a3-11e7-9d17-f45c89acd723] - x-ms-correlation-request-id: [0e4d44c0-2b56-45f5-b798-8e365817587a] - x-ms-ratelimit-remaining-subscription-reads: ['14921'] - x-ms-request-id: [0e4d44c0-2b56-45f5-b798-8e365817587a] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075849Z:0e4d44c0-2b56-45f5-b798-8e365817587a'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"properties": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest", - "protectionState": "ProtectionStopped", "protectedItemType": "Microsoft.Compute/virtualMachines"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['280'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [578b5cd4-b4a3-11e7-b158-f45c89acd723] - method: PUT - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:58:50 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [578b5cd4-b4a3-11e7-b158-f45c89acd723, 578b5cd4-b4a3-11e7-b158-f45c89acd723] - x-ms-correlation-request-id: [267345ea-e3c4-4ac2-a035-e4bb7ccede3e] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [267345ea-e3c4-4ac2-a035-e4bb7ccede3e] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075851Z:267345ea-e3c4-4ac2-a035-e4bb7ccede3e'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [58746a82-b4a3-11e7-907b-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:52 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [58746a82-b4a3-11e7-907b-f45c89acd723, 58746a82-b4a3-11e7-907b-f45c89acd723] - x-ms-correlation-request-id: [2b2a7a8d-1b97-4419-b256-5fdd6be04b1a] - x-ms-ratelimit-remaining-subscription-reads: ['14880'] - x-ms-request-id: [2b2a7a8d-1b97-4419-b256-5fdd6be04b1a] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075852Z:2b2a7a8d-1b97-4419-b256-5fdd6be04b1a'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [5c19888f-b4a3-11e7-925c-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{}'} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationsStatus/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['2'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:58:58 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/vm;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [5c19888f-b4a3-11e7-925c-f45c89acd723, 5c19888f-b4a3-11e7-925c-f45c89acd723] - x-ms-correlation-request-id: [849eb4b3-39a0-414d-8390-ad571e06c42c] - x-ms-ratelimit-remaining-subscription-reads: ['14958'] - x-ms-request-id: [849eb4b3-39a0-414d-8390-ad571e06c42c] - x-ms-routing-request-id: ['WESTINDIA:20171019T075858Z:849eb4b3-39a0-414d-8390-ad571e06c42c'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6001bae8-b4a3-11e7-aea9-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationResults/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest/protectedItems/VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","name":"VM;iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","type":"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems","properties":{"friendlyName":"swaggersdktest","virtualMachineId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","protectionStatus":"Healthy","protectionState":"ProtectionStopped","healthStatus":"Passed","healthDetails":[{"code":400239,"title":"IaasVmHealthGreenDefault","message":"Backup - pre-check status of this virtual machine is OK.","recommendations":[]}],"lastBackupStatus":"Completed","lastBackupTime":"2017-10-19T07:11:24.5461657Z","protectedItemDataId":"123145452104371","extendedInfo":{"oldestRecoveryPoint":"2017-10-19T07:11:28.0746866Z","recoveryPointCount":1,"policyInconsistent":false},"protectedItemType":"Microsoft.Compute/virtualMachines","backupManagementType":"AzureIaasVM","workloadType":"VM","containerName":"iaasvmcontainerv2;swaggersdktestrg;swaggersdktest","sourceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swaggersdktestrg/providers/Microsoft.Compute/virtualMachines/swaggersdktest","policyId":"","policyName":"","lastRecoveryPoint":"2017-10-19T07:11:28.0746866Z"}}'} - headers: - cache-control: [no-cache] - content-length: ['1618'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [6001bae8-b4a3-11e7-aea9-f45c89acd723, 6001bae8-b4a3-11e7-aea9-f45c89acd723] - x-ms-correlation-request-id: [42256ddd-480e-40da-9dc3-7fd9365ce662] - x-ms-ratelimit-remaining-subscription-reads: ['14974'] - x-ms-request-id: [42256ddd-480e-40da-9dc3-7fd9365ce662] - x-ms-routing-request-id: ['WESTINDIA:20171019T075904Z:42256ddd-480e-40da-9dc3-7fd9365ce662'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [60cacaf0-b4a3-11e7-b3dd-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/operationsStatus/27c11ffa-89b3-4707-a1fa-b213ed1b3e92?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"27c11ffa-89b3-4707-a1fa-b213ed1b3e92","name":"27c11ffa-89b3-4707-a1fa-b213ed1b3e92","status":"Succeeded","startTime":"2017-10-19T07:58:52.1997435Z","endTime":"2017-10-19T07:58:52.1997435Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"39fceb1a-28aa-4097-b6b2-705c7d7b9b9d"}}'} - headers: - cache-control: [no-cache] - content-length: ['304'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [60cacaf0-b4a3-11e7-b3dd-f45c89acd723, 60cacaf0-b4a3-11e7-b3dd-f45c89acd723] - x-ms-correlation-request-id: [4e821f72-716c-4e26-99ab-eaf29cd0195e] - x-ms-ratelimit-remaining-subscription-reads: ['14981'] - x-ms-request-id: [4e821f72-716c-4e26-99ab-eaf29cd0195e] - x-ms-routing-request-id: ['WESTINDIA:20171019T075906Z:4e821f72-716c-4e26-99ab-eaf29cd0195e'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6169aacf-b4a3-11e7-b624-f45c89acd723] - method: DELETE - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest/protectedItems/vm%3Biaasvmcontainerv2%3Bswaggersdktestrg%3Bswaggersdktest?api-version=2016-12-01 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 07:59:07 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [6169aacf-b4a3-11e7-b624-f45c89acd723, 6169aacf-b4a3-11e7-b624-f45c89acd723] - x-ms-correlation-request-id: [7ea66df0-1e4e-43cb-9bb7-b5f05d0c0f88] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [7ea66df0-1e4e-43cb-9bb7-b5f05d0c0f88] - x-ms-routing-request-id: ['WESTINDIA:20171019T075908Z:7ea66df0-1e4e-43cb-9bb7-b5f05d0c0f88'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [628027d1-b4a3-11e7-887b-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [628027d1-b4a3-11e7-887b-f45c89acd723, 628027d1-b4a3-11e7-887b-f45c89acd723] - x-ms-correlation-request-id: [b268c8c9-a2c7-42f1-a784-bf71c3b2c0ce] - x-ms-ratelimit-remaining-subscription-reads: ['14850'] - x-ms-request-id: [b268c8c9-a2c7-42f1-a784-bf71c3b2c0ce] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075909Z:b268c8c9-a2c7-42f1-a784-bf71c3b2c0ce'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [661a01ee-b4a3-11e7-8e0c-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [661a01ee-b4a3-11e7-8e0c-f45c89acd723, 661a01ee-b4a3-11e7-8e0c-f45c89acd723] - x-ms-correlation-request-id: [5d6f998c-204c-4e89-8222-fe6d44515cbb] - x-ms-ratelimit-remaining-subscription-reads: ['14920'] - x-ms-request-id: [5d6f998c-204c-4e89-8222-fe6d44515cbb] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075915Z:5d6f998c-204c-4e89-8222-fe6d44515cbb'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6a2164f5-b4a3-11e7-9be1-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [6a2164f5-b4a3-11e7-9be1-f45c89acd723, 6a2164f5-b4a3-11e7-9be1-f45c89acd723] - x-ms-correlation-request-id: [3076fa70-c72d-40da-b33a-a1ef0b897f1b] - x-ms-ratelimit-remaining-subscription-reads: ['14879'] - x-ms-request-id: [3076fa70-c72d-40da-b33a-a1ef0b897f1b] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075921Z:3076fa70-c72d-40da-b33a-a1ef0b897f1b'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6dbc9bf8-b4a3-11e7-834e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [6dbc9bf8-b4a3-11e7-834e-f45c89acd723, 6dbc9bf8-b4a3-11e7-834e-f45c89acd723] - x-ms-correlation-request-id: [81e054c6-d683-4f04-97e4-c2a8f701503c] - x-ms-ratelimit-remaining-subscription-reads: ['14877'] - x-ms-request-id: [81e054c6-d683-4f04-97e4-c2a8f701503c] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075928Z:81e054c6-d683-4f04-97e4-c2a8f701503c'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [71604e07-b4a3-11e7-8ff5-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [71604e07-b4a3-11e7-8ff5-f45c89acd723, 71604e07-b4a3-11e7-8ff5-f45c89acd723] - x-ms-correlation-request-id: [78dcecad-a3d0-44d9-863e-c79f54c44edc] - x-ms-ratelimit-remaining-subscription-reads: ['14900'] - x-ms-request-id: [78dcecad-a3d0-44d9-863e-c79f54c44edc] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075934Z:78dcecad-a3d0-44d9-863e-c79f54c44edc'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [751d9cb3-b4a3-11e7-8f15-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [751d9cb3-b4a3-11e7-8f15-f45c89acd723, 751d9cb3-b4a3-11e7-8f15-f45c89acd723] - x-ms-correlation-request-id: [5adc7716-b17a-4cec-8574-107036d6bc95] - x-ms-ratelimit-remaining-subscription-reads: ['14893'] - x-ms-request-id: [5adc7716-b17a-4cec-8574-107036d6bc95] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075940Z:5adc7716-b17a-4cec-8574-107036d6bc95'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [79248db5-b4a3-11e7-a960-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [79248db5-b4a3-11e7-a960-f45c89acd723, 79248db5-b4a3-11e7-a960-f45c89acd723] - x-ms-correlation-request-id: [d24fab46-bdee-45ff-b5f2-be7f3f51cf79] - x-ms-ratelimit-remaining-subscription-reads: ['14785'] - x-ms-request-id: [d24fab46-bdee-45ff-b5f2-be7f3f51cf79] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075947Z:d24fab46-bdee-45ff-b5f2-be7f3f51cf79'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7d2c5735-b4a3-11e7-92f1-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 07:59:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [7d2c5735-b4a3-11e7-92f1-f45c89acd723, 7d2c5735-b4a3-11e7-92f1-f45c89acd723] - x-ms-correlation-request-id: [4090d4f9-046a-4c18-93e5-d8d0b2aec6c3] - x-ms-ratelimit-remaining-subscription-reads: ['14849'] - x-ms-request-id: [4090d4f9-046a-4c18-93e5-d8d0b2aec6c3] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T075953Z:4090d4f9-046a-4c18-93e5-d8d0b2aec6c3'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [80b9d6a6-b4a3-11e7-a727-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [80b9d6a6-b4a3-11e7-a727-f45c89acd723, 80b9d6a6-b4a3-11e7-a727-f45c89acd723] - x-ms-correlation-request-id: [604ac5aa-7ea3-4de0-879e-d5fac9201494] - x-ms-ratelimit-remaining-subscription-reads: ['14984'] - x-ms-request-id: [604ac5aa-7ea3-4de0-879e-d5fac9201494] - x-ms-routing-request-id: ['WESTINDIA:20171019T080001Z:604ac5aa-7ea3-4de0-879e-d5fac9201494'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [851b05d1-b4a3-11e7-a3b1-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [851b05d1-b4a3-11e7-a3b1-f45c89acd723, 851b05d1-b4a3-11e7-a3b1-f45c89acd723] - x-ms-correlation-request-id: [b5d6445b-dbb0-4ce9-93c9-41263a0d2aeb] - x-ms-ratelimit-remaining-subscription-reads: ['14987'] - x-ms-request-id: [b5d6445b-dbb0-4ce9-93c9-41263a0d2aeb] - x-ms-routing-request-id: ['WESTINDIA:20171019T080007Z:b5d6445b-dbb0-4ce9-93c9-41263a0d2aeb'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [88c47826-b4a3-11e7-9d1e-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [88c47826-b4a3-11e7-9d1e-f45c89acd723, 88c47826-b4a3-11e7-9d1e-f45c89acd723] - x-ms-correlation-request-id: [54611a66-f2fe-4d8d-a2fc-d2d2a735159e] - x-ms-ratelimit-remaining-subscription-reads: ['14905'] - x-ms-request-id: [54611a66-f2fe-4d8d-a2fc-d2d2a735159e] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080013Z:54611a66-f2fe-4d8d-a2fc-d2d2a735159e'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8c6ed0e8-b4a3-11e7-bb2d-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [8c6ed0e8-b4a3-11e7-bb2d-f45c89acd723, 8c6ed0e8-b4a3-11e7-bb2d-f45c89acd723] - x-ms-correlation-request-id: [cae42ebe-4094-492e-8d0b-bf3196dc7c60] - x-ms-ratelimit-remaining-subscription-reads: ['14904'] - x-ms-request-id: [cae42ebe-4094-492e-8d0b-bf3196dc7c60] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080020Z:cae42ebe-4094-492e-8d0b-bf3196dc7c60'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [90d38f6e-b4a3-11e7-aa29-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [90d38f6e-b4a3-11e7-aa29-f45c89acd723, 90d38f6e-b4a3-11e7-aa29-f45c89acd723] - x-ms-correlation-request-id: [5f5b4a45-085d-4f7e-a54f-d7b9b80ddee2] - x-ms-ratelimit-remaining-subscription-reads: ['14930'] - x-ms-request-id: [5f5b4a45-085d-4f7e-a54f-d7b9b80ddee2] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080027Z:5f5b4a45-085d-4f7e-a54f-d7b9b80ddee2'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9478fb2e-b4a3-11e7-b8bd-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [9478fb2e-b4a3-11e7-b8bd-f45c89acd723, 9478fb2e-b4a3-11e7-b8bd-f45c89acd723] - x-ms-correlation-request-id: [569668aa-372f-4f4c-bc07-0c362b5025d6] - x-ms-ratelimit-remaining-subscription-reads: ['14897'] - x-ms-request-id: [569668aa-372f-4f4c-bc07-0c362b5025d6] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080032Z:569668aa-372f-4f4c-bc07-0c362b5025d6'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [980d24ae-b4a3-11e7-bf68-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [980d24ae-b4a3-11e7-bf68-f45c89acd723, 980d24ae-b4a3-11e7-bf68-f45c89acd723] - x-ms-correlation-request-id: [50db8f22-9f12-4444-aad7-142e166decec] - x-ms-ratelimit-remaining-subscription-reads: ['14882'] - x-ms-request-id: [50db8f22-9f12-4444-aad7-142e166decec] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080039Z:50db8f22-9f12-4444-aad7-142e166decec'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9bd66c30-b4a3-11e7-a4de-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [9bd66c30-b4a3-11e7-a4de-f45c89acd723, 9bd66c30-b4a3-11e7-a4de-f45c89acd723] - x-ms-correlation-request-id: [d9267833-26a5-4276-bb8e-fb4aa823925b] - x-ms-ratelimit-remaining-subscription-reads: ['14902'] - x-ms-request-id: [d9267833-26a5-4276-bb8e-fb4aa823925b] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080045Z:d9267833-26a5-4276-bb8e-fb4aa823925b'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9f79554f-b4a3-11e7-a8f1-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [9f79554f-b4a3-11e7-a8f1-f45c89acd723, 9f79554f-b4a3-11e7-a8f1-f45c89acd723] - x-ms-correlation-request-id: [e6138e9f-a3fd-4c41-ba39-101bd346e493] - x-ms-ratelimit-remaining-subscription-reads: ['14904'] - x-ms-request-id: [e6138e9f-a3fd-4c41-ba39-101bd346e493] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080051Z:e6138e9f-a3fd-4c41-ba39-101bd346e493'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a303f445-b4a3-11e7-8617-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"InProgress","startTime":"2017-10-19T07:59:08.457975Z","endTime":"0001-01-01T00:00:00"}'} - headers: - cache-control: [no-cache] - content-length: ['187'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:00:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a303f445-b4a3-11e7-8617-f45c89acd723, a303f445-b4a3-11e7-8617-f45c89acd723] - x-ms-correlation-request-id: [13cef0c9-ce7f-4e5e-adfc-e3494f1ba36a] - x-ms-ratelimit-remaining-subscription-reads: ['14819'] - x-ms-request-id: [13cef0c9-ce7f-4e5e-adfc-e3494f1ba36a] - x-ms-routing-request-id: ['SOUTHINDIA:20171019T080057Z:13cef0c9-ce7f-4e5e-adfc-e3494f1ba36a'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a6eb328f-b4a3-11e7-b7ba-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"Succeeded","startTime":"2017-10-19T07:59:08.457975Z","endTime":"2017-10-19T07:59:08.457975Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"51d2b8f5-e63e-4286-9f5d-3054cfe5a51e"}}'} - headers: - cache-control: [no-cache] - content-length: ['302'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:01:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a6eb328f-b4a3-11e7-b7ba-f45c89acd723, a6eb328f-b4a3-11e7-b7ba-f45c89acd723] - x-ms-correlation-request-id: [45cc5cbb-bd81-4f91-9871-d4957f95bd2a] - x-ms-ratelimit-remaining-subscription-reads: ['14986'] - x-ms-request-id: [45cc5cbb-bd81-4f91-9871-d4957f95bd2a] - x-ms-routing-request-id: ['WESTINDIA:20171019T080105Z:45cc5cbb-bd81-4f91-9871-d4957f95bd2a'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesbackupclient/0.1.1 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a89368e1-b4a3-11e7-88c9-f45c89acd723] - method: GET - uri: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/ba526e03-bec8-461a-8744-70d51aa4ed35?api-version=2016-12-01 - response: - body: {string: !!python/unicode '{"id":"ba526e03-bec8-461a-8744-70d51aa4ed35","name":"ba526e03-bec8-461a-8744-70d51aa4ed35","status":"Succeeded","startTime":"2017-10-19T07:59:08.457975Z","endTime":"2017-10-19T07:59:08.457975Z","properties":{"objectType":"OperationStatusJobExtendedInfo","jobId":"51d2b8f5-e63e-4286-9f5d-3054cfe5a51e"}}'} - headers: - cache-control: [no-cache] - content-length: ['302'] - content-type: [application/json] - date: ['Thu, 19 Oct 2017 08:01:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/8.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-client-request-id: [a89368e1-b4a3-11e7-88c9-f45c89acd723, a89368e1-b4a3-11e7-88c9-f45c89acd723] - x-ms-correlation-request-id: [39f010cd-8ea0-42cf-8032-c208e7fffa8f] - x-ms-ratelimit-remaining-subscription-reads: ['14983'] - x-ms-request-id: [39f010cd-8ea0-42cf-8032-c208e7fffa8f] - x-ms-routing-request-id: ['WESTINDIA:20171019T080106Z:39f010cd-8ea0-42cf-8032-c208e7fffa8f'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 recoveryservicesclient/0.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a94f07e6-b4a3-11e7-8eb5-f45c89acd723] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault?api-version=2016-06-01 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 08:01:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-client-request-id: [a94f07e6-b4a3-11e7-8eb5-f45c89acd723] - x-ms-correlation-request-id: [8c9e2bd2-5166-49b2-ad22-7e493c48e346] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [8c9e2bd2-5166-49b2-ad22-7e493c48e346] - x-ms-routing-request-id: ['WESTINDIA:20171019T080111Z:8c9e2bd2-5166-49b2-ad22-7e493c48e346'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.12 (Darwin-17.0.0-x86_64-i386-64bit) requests/2.18.4 - msrest/0.4.17 msrest_azure/0.4.15 resourcemanagementclient/1.2.2 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [abdae2b3-b4a3-11e7-bbb6-f45c89acd723] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/PythonSDKBackupTestRg?api-version=2017-05-10 - response: - body: {string: !!python/unicode ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 19 Oct 2017 08:01:11 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QWVRIT05TREtCQUNLVVBURVNUUkctU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10'] - pragma: [no-cache] - retry-after: ['0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [be1cd505-25b8-4d99-83dc-fd0aebf8519d] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [be1cd505-25b8-4d99-83dc-fd0aebf8519d] - x-ms-routing-request-id: ['WESTINDIA:20171019T080112Z:be1cd505-25b8-4d99-83dc-fd0aebf8519d'] - status: {code: 202, message: Accepted} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml b/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml deleted file mode 100644 index 24f0ddb4e9ae..000000000000 --- a/azure-mgmt/tests/recordings/test_mgmt_recoveryservices_backup.test_operations_api.yaml +++ /dev/null @@ -1,298 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 recoveryservicesbackupclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e7d326cc-7778-11e7-af33-480fcf586696] - method: GET - uri: https://management.azure.com/providers/Microsoft.RecoveryServices/operations?api-version=2016-08-10 - response: - body: {string: '{"Value":[{"Name":"Microsoft.RecoveryServices/Vaults/usages/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vault - Usage","Operation":"Recovery Services Vault usage details.","Description":"Returns - usage details for a Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Usages Summaries","Operation":"Recovery Services Protected Items and Protected - Servers usage summaries details.","Description":"Returns summaries for Protected - Items and Protected Servers for a Recovery Services ."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/storageConfig/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vault - Storage Config","Operation":"Get Resource Storage Config","Description":"Returns - Storage Configuration for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/storageConfig/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vault - Storage Config","Operation":"Write Resource Storage Config","Description":"Updates - Storage Configuration for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vault - Config","Operation":"Get Resource Config","Description":"Returns Configuration - for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vault - Config","Operation":"Update Resource Config","Description":"Updates Configuration - for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/tokenInfo/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Token - Info","Operation":"Get Vault Token Info","Description":"Returns token information - for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"SecurityPINInfo","Operation":"Get - Security PIN Info","Description":"Returns Security PIN Information for Recovery - Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Management Metadata","Operation":"Get Backup Management Metadata","Description":"Returns - Backup Management Metadata for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupOperationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Operation Results","Operation":"Get Backup Operation Result","Description":"Returns - Backup Operation Result for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupOperations/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Operation Status","Operation":"Get Backup Operation Status","Description":"Returns - Backup Operation Status for Recovery Services Vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupJobs/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Jobs","Operation":"Get Jobs","Description":"Returns all Job Objects"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Jobs","Operation":"Cancel Jobs","Description":"Cancel the Job"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupJobsExport/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Export - Backup Jobs","Operation":"Export Jobs","Description":"Export Jobs"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Jobs Operation Results","Operation":"Get Job Operation Result","Description":"Returns - the Result of Job Operation."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Export - Backup Jobs Operation Results","Operation":"Get Export Job Operation Result","Description":"Returns - the Result of Export Job Operation."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Recovery - Points","Operation":"Get Recovery Points","Description":"Get Recovery Points - for Protected Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Recovery - Points","Operation":"Restore Recovery Points","Description":"Restore Recovery - Points for Protected Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Recovery - Points","Operation":"Provision Instant Item Recovery for Protected Item","Description":"Provision - Instant Item Recovery for Protected Item"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Recovery - Points","Operation":"Revoke Instant Item Recovery for Protected Item","Description":"Revoke - Instant Item Recovery for Protected Item"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupPolicies/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Policies","Operation":"Get Protection Policy","Description":"Returns all Protection - Policies"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupPolicies/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Policies","Operation":"Create Protection Policy","Description":"Creates Protection - Policy"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupPolicies/delete","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Policies","Operation":"Delete Protection Policy","Description":"Delete a Protection - Policy"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Policy Operation Results","Operation":"Get Policy Operation Results","Description":"Get - Results of Policy Operation."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupPolicies/operationStatus/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Policy Operation Status","Operation":"Get Policy Operation Status","Description":"Get - Status of Policy Operation."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Items","Operation":"Get Protected Item Details","Description":"Returns object - details of the Protected Item"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Items","Operation":"Get All Protected Items","Description":"Returns the list - of all Protected Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Items","Operation":"Create Backup Protected Item","Description":"Create a - backup Protected Item"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/delete","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Items","Operation":"Delete Protected Items","Description":"Deletes Protected - Item"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Item Operation Results","Operation":"Get Protected Items Operation Results","Description":"Gets - Result of Operation Performed on Protected Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationStatus/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Item Operation Status","Operation":"Get Protected Items operation status","Description":"Returns - the status of Operation performed on Protected Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protected - Items","Operation":"Backup Protected Item","Description":"Performs Backup - for Protected Item."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Protectable Items","Operation":"Get Protectable Items","Description":"Returns - list of all Protectable Items."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/refreshContainers/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Refresh - Containers","Operation":"Refresh container","Description":"Refreshes the container - list"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Refresh - Containers Operation Results","Operation":"Get Operation Results","Description":"Returns - status of the operation"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Protection Containers","Operation":"Get Containers In Subscription","Description":"Returns - all containers belonging to the subscription"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protection - Containers","Operation":"Get Registered Container","Description":"Returns - all registered containers"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Protection - Containers Operation Results","Operation":"Get Container Operation Results","Description":"Gets - result of Operation performed on Protection Container."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupEngines","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Engines","Operation":"List of backup management servers.","Description":"Returns - all the backup management servers registered with vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/backupStatus","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Backup - Status","Operation":"Check Backup Status for Vault","Description":"Check Backup - Status for Recovery Services Vaults"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Alerts Settings","Operation":"Read Alerts Settings","Description":"Read - Any Alerts Settings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationAlertSettings/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Alerts Settings","Operation":"Create or Update - Alerts Settings","Description":"Create or Update Any Alerts Settings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationEvents/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Events","Operation":"Read Events","Description":"Read - Any Events"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Networks","Operation":"Read Networks","Description":"Read - Any Networks"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Network Mappings","Operation":"Read Network - Mappings","Description":"Read Any Network Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Network Mappings","Operation":"Create or Update - Network Mappings","Description":"Create or Update Any Network Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Network Mappings","Operation":"Delete Network - Mappings","Description":"Delete Any Network Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protectable Items","Operation":"Read Protectable - Items","Description":"Read Any Protectable Items"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Container Mappings","Operation":"Read - Protection Container Mappings","Description":"Read Any Protection Container - Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Container Mappings","Operation":"Create - or Update Protection Container Mappings","Description":"Create or Update Any - Protection Container Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/remove/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Container Mappings","Operation":"Remove - Protection Container Mapping","Description":"Remove Protection Container Mapping"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Container Mappings","Operation":"Delete - Protection Container Mappings","Description":"Delete Any Protection Container - Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Replication Recovery Points","Operation":"Read - Replication Recovery Points","Description":"Read Any Replication Recovery - Points"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Read Protected - Items","Description":"Read Any Protected Items"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Create or Update - Protected Items","Description":"Create or Update Any Protected Items"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Delete Protected - Items","Description":"Delete Any Protected Items"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/remove/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Remove Protected - Item","Description":"Remove Protected Item"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Planned Failover","Description":"Planned - Failover"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Failover","Description":"Failover"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Test Failover","Description":"Test - Failover"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Test Failover - Cleanup","Description":"Test Failover Cleanup"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Failover Commit","Description":"Failover - Commit"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"ReProtect Protected - Item","Description":"ReProtect Protected Item"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Update Mobility - Service","Description":"Update Mobility Service"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Repair replication","Description":"Repair - replication"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protected Items","Operation":"Apply Recovery - Point","Description":"Apply Recovery Point"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationJobs/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Read Jobs","Description":"Read - Any Jobs"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationJobs/cancel/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Cancel Job","Description":"Cancel - Job"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationJobs/restart/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Restart job","Description":"Restart - job"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationJobs/resume/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Resume Job","Description":"Resume - Job"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Containers","Operation":"Read Protection - Containers","Description":"Read Any Protection Containers"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/discoverProtectableItem/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Containers","Operation":"Discover - Protectable Item","Description":"Discover Protectable Item"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Containers","Operation":"Create - or Update Protection Containers","Description":"Create or Update Any Protection - Containers"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/remove/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Containers","Operation":"Remove - Protection Container","Description":"Remove Protection Container"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/switchprotection/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Protection Containers","Operation":"Switch - Protection Container","Description":"Switch Protection Container"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationPolicies/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Policies","Operation":"Read Policies","Description":"Read - Any Policies"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationPolicies/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Policies","Operation":"Create or Update Policies","Description":"Create - or Update Any Policies"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationPolicies/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Policies","Operation":"Delete Policies","Description":"Delete - Any Policies"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Read Recovery - Plans","Description":"Read Any Recovery Plans"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Create or Update - Recovery Plans","Description":"Create or Update Any Recovery Plans"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Delete Recovery - Plans","Description":"Delete Any Recovery Plans"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Planned Failover - Recovery Plan","Description":"Planned Failover Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Failover Recovery - Plan","Description":"Failover Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Test Failover - Recovery Plan","Description":"Test Failover Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Test Failover - Cleanup Recovery Plan","Description":"Test Failover Cleanup Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"Failover Commit - Recovery Plan","Description":"Failover Commit Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Plans","Operation":"ReProtect Recovery - Plan","Description":"ReProtect Recovery Plan"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Services Providers","Operation":"Read - Recovery Services Providers","Description":"Read Any Recovery Services Providers"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/remove/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Services Providers","Operation":"Remove - Recovery Services Provider","Description":"Remove Recovery Services Provider"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Services Providers","Operation":"Delete - Recovery Services Providers","Description":"Delete Any Recovery Services Providers"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Recovery Services Providers","Operation":"Refresh - Provider","Description":"Refresh Provider"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Read Fabrics","Description":"Read - Any Fabrics"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Create or Update Fabrics","Description":"Create - or Update Any Fabrics"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/remove/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Remove Fabric","Description":"Remove - Fabric"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Checks Consistency of - the Fabric","Description":"Checks Consistency of the Fabric"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Delete Fabrics","Description":"Delete - Any Fabrics"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Renew Certificate for - Fabric","Description":"Renew Certificate for Fabric"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/deployProcessServerImage/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Deploy Process Server - Image","Description":"Deploy Process Server Image"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Fabrics","Operation":"Reassociate Gateway","Description":"Reassociate - Gateway"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Storage Classifications","Operation":"Read - Storage Classifications","Description":"Read Any Storage Classifications"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Storage Classification Mappings","Operation":"Read - Storage Classification Mappings","Description":"Read Any Storage Classification - Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Storage Classification Mappings","Operation":"Create - or Update Storage Classification Mappings","Description":"Create or Update - Any Storage Classification Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Storage Classification Mappings","Operation":"Delete - Storage Classification Mappings","Description":"Delete Any Storage Classification - Mappings"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/usages/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Vault Usages","Operation":"Read Vault Usages","Description":"Read - Any Vault Usages"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Read Jobs","Description":"Read - Any Jobs"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/write","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Create or Update Jobs","Description":"Create - or Update Any Jobs"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/delete","Display":{"Provider":"Microsoft - Recovery Services","Resource":"Jobs","Operation":"Delete Jobs","Description":"Delete - Any Jobs"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/Vaults/vaultTokens/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Vault - Token","Description":"The Vault Token operation can be used to get Vault Token - for vault level backend operations."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Register - Service Container","Description":"The Register Service Container operation - can be used to register a container with Recovery Service."},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Operation Results","Description":"The Get Operation Results operation can - be used get the operation status and result for the asynchronously submitted - operation"},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Containers","Description":"The Get Containers operation can be used get the - containers registered for a resource."},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/Vaults/registeredIdentities/delete","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Unregister - Service Container","Description":"The UnRegister Container operation can be - used to unregister a container."},"Origin":"user,system"},{"Name":"Microsoft.RecoveryServices/Vaults/certificates/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Update - Resource Certificate","Description":"The Update Resource Certificate operation - updates the resource/vault credential certificate."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - alerts","Description":"Gets the alerts for the Recovery services vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/monitoringAlerts/{uniqueAlertId}/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - alert details","Description":"Gets the details of the alert."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/monitoringAlerts/{uniqueAlertId}/patch","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Resolve - alert","Description":"Resolves the alert."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - configuration","Description":"Gets the Recovery services vault notification - configuration."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/patch","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Configure - e-mail notification","Description":"Configures e-mail notifications to Recovery - services vault."},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/logDefinitions/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Azure - Backup Logs","Description":"Azure Backup Logs"},"Origin":"system","Properties":{"serviceSpecification":{"logSpecifications":[{"name":"AzureBackupReport","displayName":"Azure - Backup Reporting Data","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryJobs","displayName":"Azure - Site Recovery Jobs","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryEvents","displayName":"Azure - Site Recovery Events","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryReplicatedItems","displayName":"Azure - Site Recovery Replicated Items","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryReplicationStats","displayName":"Azure - Site Recovery Replication Stats","blobDuration":"PT1H"},{"name":"AzureSiteRecoveryRecoveryPoints","displayName":"Azure - Site Recovery Recovery Points","blobDuration":"PT1H"}]}}},{"Name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/metricDefinitions/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Azure - Backup Metrics","Description":"Azure Backup Metrics"},"Origin":"system"},{"Name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/diagnosticSettings/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Azure - Backup Diagnostics","Description":"Azure Backup Diagnostics"},"Origin":"system"},{"Name":"Microsoft.RecoveryServices/Vaults/providers/Microsoft.Insights/diagnosticSettings/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Azure - Backup Diagnostics","Description":"Azure Backup Diagnostics"},"Origin":"system"},{"Name":"Microsoft.RecoveryServices/Vaults/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Create - Vault","Description":"Create Vault operation creates an Azure resource of - type ''vault''"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Vault","Description":"The Get Vault operation gets an object representing - the Azure resource of type ''vault''"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/delete","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Delete - Vault","Description":"The Delete Vault operation deletes the specified Azure - resource of type ''vault''"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/extendedInformation/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Extended Info","Description":"The Get Extended Info operation gets an object''s - Extended Info representing the Azure resource of type ?vault?"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/extendedInformation/write","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Extended Info","Description":"The Get Extended Info operation gets an object''s - Extended Info representing the Azure resource of type ?vault?"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/Vaults/extendedInformation/delete","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"Vaults","Operation":"Get - Extended Info","Description":"The Get Extended Info operation gets an object''s - Extended Info representing the Azure resource of type ?vault?"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/locations/allocatedStamp/read","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"locations/allocatedStamp","Operation":"Get - Allocated Stamp","Description":"GetAllocatedStamp is internal operation used - by service"},"Origin":"user"},{"Name":"Microsoft.RecoveryServices/locations/allocateStamp/action","Display":{"Provider":"Microsoft.RecoveryServices","Resource":"locations/allocateStamp","Operation":"Allocated - Stamp Action","Description":"AllocateStamp is internal operation used by service"},"Origin":"user"}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Wed, 02 Aug 2017 11:51:23 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-IIS/8.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['38423'] - x-ms-client-request-id: [e7d326cc-7778-11e7-af33-480fcf586696] - x-ms-correlation-request-id: [219317ba-bc16-423a-ac29-34a70907f291] - x-ms-ratelimit-remaining-tenant-reads: ['14999'] - x-ms-request-id: [219317ba-bc16-423a-ac29-34a70907f291] - x-ms-routing-request-id: ['CENTRALINDIA:20170802T115124Z:219317ba-bc16-423a-ac29-34a70907f291'] - status: {code: 200, message: OK} -version: 1