azure_mgmt_recovery_services_backup 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup.rb +180 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +256 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +131 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +139 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb +152 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +127 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +279 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +119 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +127 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +120 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb +372 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +96 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +6 -5
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +5 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +140 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +111 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +81 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +141 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +5 -6
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +173 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +108 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +169 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +72 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +87 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +5 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +125 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +71 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +116 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +101 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +3 -6
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_request.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +101 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +69 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +51 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +72 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +71 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +71 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +66 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/data_source_type.rb +3 -6
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/day.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/day_of_week.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +96 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +202 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +91 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +74 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/http_status_code.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +122 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +86 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +64 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +96 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +128 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +206 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +100 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job.rb +125 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +2 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +107 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +100 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_status.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +71 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +67 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +8 -8
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +141 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +99 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +153 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +70 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +198 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +86 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +5 -5
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/month_of_year.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +103 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +80 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +118 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +58 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +65 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +87 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +111 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +85 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +100 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +114 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +101 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +95 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +62 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +51 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +101 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +95 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protection_state.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protection_status.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point.rb +5 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +101 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +95 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_type.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb +107 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/resource_list.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/restore_request.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +101 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +64 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_policy.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +112 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/week_of_month.rb +2 -2
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +85 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +84 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +101 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/workload_type.rb +3 -6
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +123 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/module_definition.rb +4 -3
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +279 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +145 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +157 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +612 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +138 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +123 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +541 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +569 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +134 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +146 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +389 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +222 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb +153 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/version.rb +3 -3
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup.rb +34 -0
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +2 -6
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +2 -6
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb +2 -6
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb +2 -6
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +2 -6
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +2 -6
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
- data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/operations.rb +7 -11
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +126 -0
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup.rb +192 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_engines.rb +10 -14
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_operation_results.rb +5 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_policies.rb +7 -11
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protectable_items.rb +7 -11
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protected_items.rb +7 -11
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +7 -11
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +8 -12
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +10 -14
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backups.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +8 -12
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/job_cancellations.rb +5 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/job_operation_results.rb +5 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/jobs.rb +5 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +106 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +77 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +84 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +68 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +91 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +25 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +46 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bekdetails.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/container_type.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +52 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +25 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/day.rb +54 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_container.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/encryption_details.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +89 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +45 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/health_state.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/health_status.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +61 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +45 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +52 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +22 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/job_query_object.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/kekdetails.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +96 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +48 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_container.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/name_info.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +65 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +46 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +47 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +58 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +83 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +19 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +91 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +47 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +18 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/resource.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +46 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/retention_duration.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +46 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +46 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +60 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/storage_type.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/storage_type_state.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/token_information.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/type.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/usages_unit.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +70 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +2 -6
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +91 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +2 -6
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_items.rb +11 -15
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +5 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_containers.rb +8 -12
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policies.rb +12 -16
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/recovery_points.rb +10 -14
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +8 -20
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/restores.rb +6 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/security_pins.rb +6 -10
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup.rb +53 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/backup_jobs.rb +7 -11
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/job_details.rb +6 -10
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +83 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +91 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +62 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +80 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +84 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/job.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +22 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +100 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/job_resource.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +91 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +61 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job.rb +2 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +79 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +84 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +25 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb +106 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +25 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +133 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
- data/lib/azure_mgmt_recovery_services_backup.rb +5 -1
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/recoveryservicesbackup_profile_module.rb +756 -0
- data/lib/profiles/latest/recoveryservicesbackup_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/recoveryservicesbackup_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +372 -198
- data/lib/generated/azure_mgmt_recovery_services_backup.rb +0 -223
data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_items.rb
RENAMED
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectedItems
|
13
9
|
#
|
14
10
|
class ProtectedItems
|
15
11
|
include MsRestAzure
|
@@ -92,7 +88,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
92
88
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
93
89
|
#
|
94
90
|
def get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter = nil, custom_headers = nil)
|
95
|
-
api_version
|
91
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
96
92
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
97
93
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
98
94
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -113,7 +109,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
113
109
|
options = {
|
114
110
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
115
111
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'protectedItemName' => protected_item_name},
|
116
|
-
query_params: {'api-version' => api_version,'$filter' => filter},
|
112
|
+
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
117
113
|
headers: request_headers.merge(custom_headers || {}),
|
118
114
|
base_url: request_url
|
119
115
|
}
|
@@ -133,7 +129,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
133
129
|
if status_code == 200
|
134
130
|
begin
|
135
131
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
136
|
-
result_mapper = Azure::
|
132
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectedItemResource.mapper()
|
137
133
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
138
134
|
rescue Exception => e
|
139
135
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -209,7 +205,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
209
205
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
210
206
|
#
|
211
207
|
def create_or_update_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers = nil)
|
212
|
-
api_version
|
208
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
213
209
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
214
210
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
215
211
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -228,7 +224,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
228
224
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
229
225
|
|
230
226
|
# Serialize Request
|
231
|
-
request_mapper = Azure::
|
227
|
+
request_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectedItemResource.mapper()
|
232
228
|
request_content = @client.serialize(request_mapper, parameters)
|
233
229
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
234
230
|
|
@@ -239,7 +235,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
239
235
|
options = {
|
240
236
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
241
237
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'protectedItemName' => protected_item_name},
|
242
|
-
query_params: {'api-version' => api_version},
|
238
|
+
query_params: {'api-version' => @client.api_version},
|
243
239
|
body: request_content,
|
244
240
|
headers: request_headers.merge(custom_headers || {}),
|
245
241
|
base_url: request_url
|
@@ -323,7 +319,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
323
319
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
324
320
|
#
|
325
321
|
def delete_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, custom_headers = nil)
|
326
|
-
api_version
|
322
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
327
323
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
328
324
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
329
325
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -344,7 +340,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
344
340
|
options = {
|
345
341
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
346
342
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'protectedItemName' => protected_item_name},
|
347
|
-
query_params: {'api-version' => api_version},
|
343
|
+
query_params: {'api-version' => @client.api_version},
|
348
344
|
headers: request_headers.merge(custom_headers || {}),
|
349
345
|
base_url: request_url
|
350
346
|
}
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionContainerOperationResults
|
13
9
|
#
|
14
10
|
class ProtectionContainerOperationResults
|
15
11
|
include MsRestAzure
|
@@ -83,7 +79,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
83
79
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
84
80
|
#
|
85
81
|
def get_async(vault_name, resource_group_name, fabric_name, container_name, operation_id, custom_headers = nil)
|
86
|
-
api_version
|
82
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
87
83
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
88
84
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
89
85
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -104,7 +100,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
104
100
|
options = {
|
105
101
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
106
102
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'operationId' => operation_id},
|
107
|
-
query_params: {'api-version' => api_version},
|
103
|
+
query_params: {'api-version' => @client.api_version},
|
108
104
|
headers: request_headers.merge(custom_headers || {}),
|
109
105
|
base_url: request_url
|
110
106
|
}
|
@@ -124,7 +120,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
124
120
|
if status_code == 200
|
125
121
|
begin
|
126
122
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
127
|
-
result_mapper = Azure::
|
123
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource.mapper()
|
128
124
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
129
125
|
rescue Exception => e
|
130
126
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionContainerRefreshOperationResults
|
13
9
|
#
|
14
10
|
class ProtectionContainerRefreshOperationResults
|
15
11
|
include MsRestAzure
|
@@ -79,7 +75,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
79
75
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
80
76
|
#
|
81
77
|
def get_async(vault_name, resource_group_name, fabric_name, operation_id, custom_headers = nil)
|
82
|
-
api_version
|
78
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
83
79
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
84
80
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
85
81
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -99,7 +95,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
99
95
|
options = {
|
100
96
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
101
97
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'operationId' => operation_id},
|
102
|
-
query_params: {'api-version' => api_version},
|
98
|
+
query_params: {'api-version' => @client.api_version},
|
103
99
|
headers: request_headers.merge(custom_headers || {}),
|
104
100
|
base_url: request_url
|
105
101
|
}
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionContainers
|
13
9
|
#
|
14
10
|
class ProtectionContainers
|
15
11
|
include MsRestAzure
|
@@ -80,7 +76,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
80
76
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
81
77
|
#
|
82
78
|
def get_async(vault_name, resource_group_name, fabric_name, container_name, custom_headers = nil)
|
83
|
-
api_version
|
79
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
84
80
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
85
81
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
86
82
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -100,7 +96,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
100
96
|
options = {
|
101
97
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
102
98
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name},
|
103
|
-
query_params: {'api-version' => api_version},
|
99
|
+
query_params: {'api-version' => @client.api_version},
|
104
100
|
headers: request_headers.merge(custom_headers || {}),
|
105
101
|
base_url: request_url
|
106
102
|
}
|
@@ -120,7 +116,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
120
116
|
if status_code == 200
|
121
117
|
begin
|
122
118
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
123
|
-
result_mapper = Azure::
|
119
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource.mapper()
|
124
120
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
125
121
|
rescue Exception => e
|
126
122
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -184,7 +180,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
184
180
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
185
181
|
#
|
186
182
|
def refresh_async(vault_name, resource_group_name, fabric_name, custom_headers = nil)
|
187
|
-
api_version
|
183
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
188
184
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
189
185
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
190
186
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -203,7 +199,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
203
199
|
options = {
|
204
200
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
205
201
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name},
|
206
|
-
query_params: {'api-version' => api_version},
|
202
|
+
query_params: {'api-version' => @client.api_version},
|
207
203
|
headers: request_headers.merge(custom_headers || {}),
|
208
204
|
base_url: request_url
|
209
205
|
}
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionPolicies
|
13
9
|
#
|
14
10
|
class ProtectionPolicies
|
15
11
|
include MsRestAzure
|
@@ -77,7 +73,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
77
73
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
78
74
|
#
|
79
75
|
def get_async(vault_name, resource_group_name, policy_name, custom_headers = nil)
|
80
|
-
api_version
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
77
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
82
78
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
83
79
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -96,7 +92,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
96
92
|
options = {
|
97
93
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
98
94
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'policyName' => policy_name},
|
99
|
-
query_params: {'api-version' => api_version},
|
95
|
+
query_params: {'api-version' => @client.api_version},
|
100
96
|
headers: request_headers.merge(custom_headers || {}),
|
101
97
|
base_url: request_url
|
102
98
|
}
|
@@ -116,7 +112,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
116
112
|
if status_code == 200
|
117
113
|
begin
|
118
114
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
119
|
-
result_mapper = Azure::
|
115
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionPolicyResource.mapper()
|
120
116
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
121
117
|
rescue Exception => e
|
122
118
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -181,7 +177,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
181
177
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
182
178
|
#
|
183
179
|
def create_or_update_async(vault_name, resource_group_name, policy_name, parameters, custom_headers = nil)
|
184
|
-
api_version
|
180
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
185
181
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
186
182
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
187
183
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -198,7 +194,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
198
194
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
199
195
|
|
200
196
|
# Serialize Request
|
201
|
-
request_mapper = Azure::
|
197
|
+
request_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionPolicyResource.mapper()
|
202
198
|
request_content = @client.serialize(request_mapper, parameters)
|
203
199
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
204
200
|
|
@@ -209,7 +205,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
209
205
|
options = {
|
210
206
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
211
207
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'policyName' => policy_name},
|
212
|
-
query_params: {'api-version' => api_version},
|
208
|
+
query_params: {'api-version' => @client.api_version},
|
213
209
|
body: request_content,
|
214
210
|
headers: request_headers.merge(custom_headers || {}),
|
215
211
|
base_url: request_url
|
@@ -230,7 +226,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
230
226
|
if status_code == 200
|
231
227
|
begin
|
232
228
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
233
|
-
result_mapper = Azure::
|
229
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionPolicyResource.mapper()
|
234
230
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
235
231
|
rescue Exception => e
|
236
232
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -294,7 +290,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
294
290
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
295
291
|
#
|
296
292
|
def delete_async(vault_name, resource_group_name, policy_name, custom_headers = nil)
|
297
|
-
api_version
|
293
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
298
294
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
299
295
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
300
296
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -313,7 +309,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
313
309
|
options = {
|
314
310
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
315
311
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'policyName' => policy_name},
|
316
|
-
query_params: {'api-version' => api_version},
|
312
|
+
query_params: {'api-version' => @client.api_version},
|
317
313
|
headers: request_headers.merge(custom_headers || {}),
|
318
314
|
base_url: request_url
|
319
315
|
}
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionPolicyOperationResults
|
13
9
|
#
|
14
10
|
class ProtectionPolicyOperationResults
|
15
11
|
include MsRestAzure
|
@@ -80,7 +76,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
80
76
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
81
77
|
#
|
82
78
|
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers = nil)
|
83
|
-
api_version
|
79
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
84
80
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
85
81
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
86
82
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -100,7 +96,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
100
96
|
options = {
|
101
97
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
102
98
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'policyName' => policy_name,'operationId' => operation_id},
|
103
|
-
query_params: {'api-version' => api_version},
|
99
|
+
query_params: {'api-version' => @client.api_version},
|
104
100
|
headers: request_headers.merge(custom_headers || {}),
|
105
101
|
base_url: request_url
|
106
102
|
}
|
@@ -120,7 +116,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
120
116
|
if status_code == 200
|
121
117
|
begin
|
122
118
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
123
|
-
result_mapper = Azure::
|
119
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionPolicyResource.mapper()
|
124
120
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
125
121
|
rescue Exception => e
|
126
122
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# ProtectionPolicyOperationStatuses
|
13
9
|
#
|
14
10
|
class ProtectionPolicyOperationStatuses
|
15
11
|
include MsRestAzure
|
@@ -92,7 +88,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
92
88
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
93
89
|
#
|
94
90
|
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers = nil)
|
95
|
-
api_version
|
91
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
96
92
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
97
93
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
98
94
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -112,7 +108,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
112
108
|
options = {
|
113
109
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
114
110
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'policyName' => policy_name,'operationId' => operation_id},
|
115
|
-
query_params: {'api-version' => api_version},
|
111
|
+
query_params: {'api-version' => @client.api_version},
|
116
112
|
headers: request_headers.merge(custom_headers || {}),
|
117
113
|
base_url: request_url
|
118
114
|
}
|
@@ -132,7 +128,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
132
128
|
if status_code == 200
|
133
129
|
begin
|
134
130
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
135
|
-
result_mapper = Azure::
|
131
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus.mapper()
|
136
132
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
137
133
|
rescue Exception => e
|
138
134
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/recovery_points.rb
RENAMED
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
# license information.
|
5
|
-
#
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 2.2.22.0
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
8
4
|
# regenerated.
|
9
5
|
|
10
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
11
7
|
#
|
12
|
-
#
|
8
|
+
# RecoveryPoints
|
13
9
|
#
|
14
10
|
class RecoveryPoints
|
15
11
|
include MsRestAzure
|
@@ -86,7 +82,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
86
82
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
87
83
|
#
|
88
84
|
def list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter = nil, custom_headers = nil)
|
89
|
-
api_version
|
85
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
90
86
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
91
87
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
92
88
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -107,7 +103,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
107
103
|
options = {
|
108
104
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
109
105
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'protectedItemName' => protected_item_name},
|
110
|
-
query_params: {'api-version' => api_version,'$filter' => filter},
|
106
|
+
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
111
107
|
headers: request_headers.merge(custom_headers || {}),
|
112
108
|
base_url: request_url
|
113
109
|
}
|
@@ -127,7 +123,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
127
123
|
if status_code == 200
|
128
124
|
begin
|
129
125
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
130
|
-
result_mapper = Azure::
|
126
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList.mapper()
|
131
127
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
132
128
|
rescue Exception => e
|
133
129
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -207,7 +203,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
207
203
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
208
204
|
#
|
209
205
|
def get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers = nil)
|
210
|
-
api_version
|
206
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
211
207
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
212
208
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
213
209
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -229,7 +225,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
229
225
|
options = {
|
230
226
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
231
227
|
path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'containerName' => container_name,'protectedItemName' => protected_item_name,'recoveryPointId' => recovery_point_id},
|
232
|
-
query_params: {'api-version' => api_version},
|
228
|
+
query_params: {'api-version' => @client.api_version},
|
233
229
|
headers: request_headers.merge(custom_headers || {}),
|
234
230
|
base_url: request_url
|
235
231
|
}
|
@@ -249,7 +245,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
249
245
|
if status_code == 200
|
250
246
|
begin
|
251
247
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
252
|
-
result_mapper = Azure::
|
248
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource.mapper()
|
253
249
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
254
250
|
rescue Exception => e
|
255
251
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -336,7 +332,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
336
332
|
if status_code == 200
|
337
333
|
begin
|
338
334
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
339
|
-
result_mapper = Azure::
|
335
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList.mapper()
|
340
336
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
341
337
|
rescue Exception => e
|
342
338
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|