azure_mgmt_recovery_services_backup 0.15.2 → 0.16.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/backup_engines.rb +15 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb +21 -18
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +15 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +33 -28
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +9 -7
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +2 -2
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +3 -3
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +7 -6
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/operations.rb +15 -13
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup.rb +119 -68
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +21 -18
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protectable_items.rb +15 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +15 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +23 -10
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +12 -12
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_workload_items.rb +256 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +8 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +2 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_backup_request.rb +62 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb +118 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb +85 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_restore_request.rb +132 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +9 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_query_object.rb → azure_sqlagworkload_container_protection_container.rb} +38 -37
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb +126 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_protectable_container.rb +82 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_item.rb +138 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protectable_item.rb +165 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlavailability_group_protectable_item.rb +141 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protectable_item.rb +140 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_workload_item.rb +122 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_protectable_item.rb +140 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_workload_item.rb +143 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb +82 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protection_container.rb +107 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_backup_request.rb +86 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container.rb +119 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container_extended_info.rb +80 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb +74 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_restore_request.rb +94 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_recovery_point.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_restore_request.rb +137 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point.rb +83 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point_extended_info.rb +68 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrestore_request.rb +138 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +5 -4
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +12 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +12 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_type.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +2 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +16 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +27 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrefresh_containers_query_object.rb +49 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +25 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsworkload_item_query_object.rb +87 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_identity_info.rb +79 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/copy_options.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb +70 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +2 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +8 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container.rb +106 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container_extended_info.rb +78 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +3 -3
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_info.rb +81 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_status.rb → inquiry_status.rb} +3 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_validation.rb +58 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +36 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +2 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mabcontainer_health_details.rb +87 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/overwrite_options.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/point_in_time_range.rb +57 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/pre_backup_validation.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb +94 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource.rb +108 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource_list.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +17 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +10 -23
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +1 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_file_specs.rb +68 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_query_type.rb +20 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_type.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +1 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory.rb +69 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_mapping.rb +80 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_afsrestore_info.rb +57 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_restore_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_inquiry_details.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource.rb +109 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource_list.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +18 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +27 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protectable_containers.rb +240 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +18 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +344 -11
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +18 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +12 -21
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/security_pins.rb +6 -5
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup.rb +112 -9
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +15 -13
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +18 -16
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +18 -16
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb +124 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +8 -7
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +18 -7
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/feature_support.rb +127 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/jobs.rb +7 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +197 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +197 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +87 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +234 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_resource_protection_intent.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +144 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +72 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_error_info.rb +77 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job.rb +195 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_extended_info.rb +85 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_task_details.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_request.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_response.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_error_info.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job.rb +172 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_extended_info.rb +85 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_task_details.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_request.rb +72 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb +140 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +55 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +66 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +27 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +166 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +198 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/fabric_name.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/feature_support_request.rb +46 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +18 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job.rb +4 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +2 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +50 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +187 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +4 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +86 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +4 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +105 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +2 -2
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +2 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_request.rb +88 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_response.rb +105 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +139 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +26 -3
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +108 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent.rb +108 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent_resource.rb +108 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +63 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +14 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +109 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +47 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +63 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +114 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/support_status.rb +19 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/type.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/validation_status.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +75 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +87 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +2 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +125 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb +253 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +36 -1
- data/lib/profiles/latest/modules/recoveryservicesbackup_profile_module.rb +1039 -628
- data/lib/profiles/latest/recoveryservicesbackup_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/recoveryservicesbackup_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +182 -28
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +0 -22
@@ -32,8 +32,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
32
32
|
#
|
33
33
|
# @return [TokenInformation] operation results.
|
34
34
|
#
|
35
|
-
def get(vault_name, resource_group_name, custom_headers
|
36
|
-
response = get_async(vault_name, resource_group_name, custom_headers).value!
|
35
|
+
def get(vault_name, resource_group_name, custom_headers:nil)
|
36
|
+
response = get_async(vault_name, resource_group_name, custom_headers:custom_headers).value!
|
37
37
|
response.body unless response.nil?
|
38
38
|
end
|
39
39
|
|
@@ -48,8 +48,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
48
48
|
#
|
49
49
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
50
50
|
#
|
51
|
-
def get_with_http_info(vault_name, resource_group_name, custom_headers
|
52
|
-
get_async(vault_name, resource_group_name, custom_headers).value!
|
51
|
+
def get_with_http_info(vault_name, resource_group_name, custom_headers:nil)
|
52
|
+
get_async(vault_name, resource_group_name, custom_headers:custom_headers).value!
|
53
53
|
end
|
54
54
|
|
55
55
|
#
|
@@ -63,7 +63,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
63
63
|
#
|
64
64
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
65
|
#
|
66
|
-
def get_async(vault_name, resource_group_name, custom_headers
|
66
|
+
def get_async(vault_name, resource_group_name, custom_headers:nil)
|
67
67
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
68
68
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
69
69
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -71,6 +71,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
71
71
|
|
72
72
|
|
73
73
|
request_headers = {}
|
74
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
74
75
|
|
75
76
|
# Set Headers
|
76
77
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -20,34 +20,137 @@ require '2017-07-01/generated/azure_mgmt_recovery_services_backup/module_definit
|
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
22
|
module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
23
|
+
autoload :ProtectionIntentOperations, '2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb'
|
24
|
+
autoload :BackupStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb'
|
25
|
+
autoload :FeatureSupport, '2017-07-01/generated/azure_mgmt_recovery_services_backup/feature_support.rb'
|
23
26
|
autoload :BackupJobs, '2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb'
|
24
27
|
autoload :JobDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/job_details.rb'
|
28
|
+
autoload :ExportJobsOperationResults, '2017-07-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb'
|
29
|
+
autoload :Jobs, '2017-07-01/generated/azure_mgmt_recovery_services_backup/jobs.rb'
|
30
|
+
autoload :BackupPolicies, '2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_policies.rb'
|
31
|
+
autoload :BackupProtectedItems, '2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb'
|
32
|
+
autoload :BackupUsageSummaries, '2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb'
|
25
33
|
autoload :RecoveryServicesBackupClient, '2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb'
|
26
34
|
|
27
35
|
module Models
|
28
|
-
autoload :JobQueryObject, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
|
29
|
-
autoload :AzureIaaSVMErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
|
30
|
-
autoload :Job, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job.rb'
|
31
|
-
autoload :AzureIaaSVMJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
|
32
|
-
autoload :AzureIaaSVMJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
|
33
|
-
autoload :MabJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
|
34
36
|
autoload :DpmJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb'
|
37
|
+
autoload :DpmJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
|
38
|
+
autoload :ErrorDetail, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb'
|
39
|
+
autoload :SchedulePolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
|
40
|
+
autoload :MabJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
|
41
|
+
autoload :AzureWorkloadErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_error_info.rb'
|
35
42
|
autoload :Resource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb'
|
43
|
+
autoload :AzureWorkloadJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_task_details.rb'
|
44
|
+
autoload :AzureIaaSVMHealthDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb'
|
45
|
+
autoload :AzureWorkloadJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_extended_info.rb'
|
46
|
+
autoload :AzureIaaSVMJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
|
47
|
+
autoload :MabJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb'
|
48
|
+
autoload :AzureIaaSVMProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb'
|
49
|
+
autoload :NameInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/name_info.rb'
|
50
|
+
autoload :ProtectionIntent, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent.rb'
|
51
|
+
autoload :BackupManagementUsage, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb'
|
52
|
+
autoload :AzureSqlProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
|
53
|
+
autoload :BackupManagementUsageList, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb'
|
54
|
+
autoload :PreValidateEnableBackupResponse, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_response.rb'
|
55
|
+
autoload :BackupStatusRequest, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_request.rb'
|
56
|
+
autoload :AzureStorageJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_task_details.rb'
|
57
|
+
autoload :BackupStatusResponse, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb'
|
58
|
+
autoload :PreValidateEnableBackupRequest, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_request.rb'
|
59
|
+
autoload :BMSBackupSummariesQueryObject, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb'
|
60
|
+
autoload :AzureVMResourceFeatureSupportResponse, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_response.rb'
|
61
|
+
autoload :Day, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day.rb'
|
62
|
+
autoload :Settings, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb'
|
63
|
+
autoload :DailyRetentionFormat, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb'
|
64
|
+
autoload :OperationResultInfoBase, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
|
65
|
+
autoload :RetentionDuration, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb'
|
36
66
|
autoload :ResourceList, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
|
37
|
-
autoload :
|
38
|
-
autoload :
|
67
|
+
autoload :DailyRetentionSchedule, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
|
68
|
+
autoload :AzureIaaSVMJobTaskDetails, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
|
39
69
|
autoload :DpmErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
|
40
|
-
autoload :
|
70
|
+
autoload :ProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
|
71
|
+
autoload :AzureFileshareProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb'
|
72
|
+
autoload :ProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
|
73
|
+
autoload :MabFileFolderProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb'
|
74
|
+
autoload :AzureStorageJobExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_extended_info.rb'
|
75
|
+
autoload :MabErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
|
76
|
+
autoload :AzureVmWorkloadProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb'
|
77
|
+
autoload :DPMProtectedItemExtendedInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb'
|
78
|
+
autoload :RetentionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
|
79
|
+
autoload :YearlyRetentionSchedule, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
|
80
|
+
autoload :ProtectionPolicyQueryObject, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
|
81
|
+
autoload :MonthlyRetentionSchedule, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
|
82
|
+
autoload :AzureStorageErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_error_info.rb'
|
83
|
+
autoload :FeatureSupportRequest, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/feature_support_request.rb'
|
84
|
+
autoload :SubProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb'
|
85
|
+
autoload :WeeklyRetentionFormat, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
|
86
|
+
autoload :ProtectedItemQueryObject, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
|
87
|
+
autoload :WeeklyRetentionSchedule, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
|
88
|
+
autoload :AzureIaaSVMErrorInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
|
89
|
+
autoload :Job, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job.rb'
|
90
|
+
autoload :OperationWorkerResponse, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
|
91
|
+
autoload :JobQueryObject, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
|
92
|
+
autoload :AzureFileshareProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb'
|
93
|
+
autoload :AzureFileShareProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb'
|
94
|
+
autoload :AzureIaaSClassicComputeVMProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
|
95
|
+
autoload :AzureIaaSComputeVMProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
|
41
96
|
autoload :AzureIaaSVMJob, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb'
|
97
|
+
autoload :AzureIaaSVMProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb'
|
98
|
+
autoload :AzureIaaSVMProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb'
|
99
|
+
autoload :AzureResourceProtectionIntent, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_resource_protection_intent.rb'
|
100
|
+
autoload :AzureSqlProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
|
101
|
+
autoload :AzureSqlProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb'
|
102
|
+
autoload :AzureStorageJob, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job.rb'
|
103
|
+
autoload :AzureVMResourceFeatureSupportRequest, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_request.rb'
|
104
|
+
autoload :AzureVmWorkloadProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb'
|
105
|
+
autoload :AzureVmWorkloadSQLDatabaseProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb'
|
106
|
+
autoload :AzureWorkloadJob, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job.rb'
|
42
107
|
autoload :DpmJob, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb'
|
108
|
+
autoload :DPMProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb'
|
109
|
+
autoload :ExportJobsOperationResultInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb'
|
110
|
+
autoload :GenericProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb'
|
111
|
+
autoload :GenericProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb'
|
43
112
|
autoload :JobResource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
|
44
113
|
autoload :JobResourceList, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
|
114
|
+
autoload :LogSchedulePolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb'
|
115
|
+
autoload :LongTermRetentionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
|
116
|
+
autoload :LongTermSchedulePolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb'
|
117
|
+
autoload :MabFileFolderProtectedItem, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
|
45
118
|
autoload :MabJob, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb'
|
119
|
+
autoload :MabProtectionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb'
|
120
|
+
autoload :OperationResultInfo, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb'
|
121
|
+
autoload :OperationResultInfoBaseResource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
|
122
|
+
autoload :ProtectedItemResource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
|
123
|
+
autoload :ProtectedItemResourceList, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
|
124
|
+
autoload :ProtectionIntentResource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent_resource.rb'
|
125
|
+
autoload :ProtectionPolicyResource, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
|
126
|
+
autoload :ProtectionPolicyResourceList, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
|
127
|
+
autoload :SimpleRetentionPolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb'
|
128
|
+
autoload :SimpleSchedulePolicy, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
|
129
|
+
autoload :ProtectionState, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb'
|
130
|
+
autoload :HealthStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/health_status.rb'
|
46
131
|
autoload :JobSupportedAction, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb'
|
132
|
+
autoload :ProtectedItemState, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb'
|
133
|
+
autoload :SupportStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/support_status.rb'
|
134
|
+
autoload :LastBackupStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb'
|
135
|
+
autoload :ProtectedItemHealthStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb'
|
136
|
+
autoload :UsagesUnit, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb'
|
137
|
+
autoload :DataSourceType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
|
138
|
+
autoload :ProtectionStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
|
139
|
+
autoload :FabricName, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/fabric_name.rb'
|
140
|
+
autoload :Type, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/type.rb'
|
141
|
+
autoload :RetentionDurationType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
|
47
142
|
autoload :BackupManagementType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
|
48
143
|
autoload :JobStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
|
49
144
|
autoload :JobOperationType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
|
145
|
+
autoload :DayOfWeek, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb'
|
146
|
+
autoload :RetentionScheduleFormat, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb'
|
147
|
+
autoload :WeekOfMonth, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb'
|
148
|
+
autoload :MonthOfYear, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb'
|
50
149
|
autoload :MabServerType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb'
|
51
150
|
autoload :WorkloadType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
|
151
|
+
autoload :HttpStatusCode, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
|
152
|
+
autoload :ValidationStatus, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/validation_status.rb'
|
153
|
+
autoload :HealthState, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/health_state.rb'
|
154
|
+
autoload :ScheduleRunType, '2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
|
52
155
|
end
|
53
156
|
end
|
@@ -34,8 +34,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
34
34
|
#
|
35
35
|
# @return [Array<JobResource>] operation results.
|
36
36
|
#
|
37
|
-
def list(vault_name, resource_group_name, filter
|
38
|
-
first_page = list_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
|
37
|
+
def list(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
38
|
+
first_page = list_as_lazy(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers)
|
39
39
|
first_page.get_all_items
|
40
40
|
end
|
41
41
|
|
@@ -52,8 +52,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
52
52
|
#
|
53
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
54
|
#
|
55
|
-
def list_with_http_info(vault_name, resource_group_name, filter
|
56
|
-
list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
55
|
+
def list_with_http_info(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
56
|
+
list_async(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers).value!
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
@@ -69,7 +69,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
69
69
|
#
|
70
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
71
|
#
|
72
|
-
def list_async(vault_name, resource_group_name, filter
|
72
|
+
def list_async(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
73
73
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
74
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
75
75
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -77,6 +77,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
77
77
|
|
78
78
|
|
79
79
|
request_headers = {}
|
80
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
81
|
|
81
82
|
# Set Headers
|
82
83
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -131,8 +132,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
131
132
|
#
|
132
133
|
# @return [JobResourceList] operation results.
|
133
134
|
#
|
134
|
-
def list_next(next_page_link, custom_headers
|
135
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
135
|
+
def list_next(next_page_link, custom_headers:nil)
|
136
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
136
137
|
response.body unless response.nil?
|
137
138
|
end
|
138
139
|
|
@@ -146,8 +147,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
146
147
|
#
|
147
148
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
148
149
|
#
|
149
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
150
|
-
list_next_async(next_page_link, custom_headers).value!
|
150
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
151
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
151
152
|
end
|
152
153
|
|
153
154
|
#
|
@@ -160,11 +161,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
160
161
|
#
|
161
162
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
162
163
|
#
|
163
|
-
def list_next_async(next_page_link, custom_headers
|
164
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
164
165
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
165
166
|
|
166
167
|
|
167
168
|
request_headers = {}
|
169
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
168
170
|
|
169
171
|
# Set Headers
|
170
172
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -221,12 +223,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
|
221
223
|
#
|
222
224
|
# @return [JobResourceList] which provide lazy access to pages of the response.
|
223
225
|
#
|
224
|
-
def list_as_lazy(vault_name, resource_group_name, filter
|
225
|
-
response = list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
226
|
+
def list_as_lazy(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
227
|
+
response = list_async(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers).value!
|
226
228
|
unless response.nil?
|
227
229
|
page = response.body
|
228
230
|
page.next_method = Proc.new do |next_page_link|
|
229
|
-
list_next_async(next_page_link, custom_headers)
|
231
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
230
232
|
end
|
231
233
|
page
|
232
234
|
end
|
data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_policies.rb
RENAMED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::RecoveryServicesBackup::Mgmt::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
7
|
#
|
8
8
|
# BackupPolicies
|
9
9
|
#
|
@@ -34,8 +34,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
34
34
|
#
|
35
35
|
# @return [Array<ProtectionPolicyResource>] operation results.
|
36
36
|
#
|
37
|
-
def list(vault_name, resource_group_name, filter
|
38
|
-
first_page = list_as_lazy(vault_name, resource_group_name, filter, custom_headers)
|
37
|
+
def list(vault_name, resource_group_name, filter:nil, custom_headers:nil)
|
38
|
+
first_page = list_as_lazy(vault_name, resource_group_name, filter:filter, custom_headers:custom_headers)
|
39
39
|
first_page.get_all_items
|
40
40
|
end
|
41
41
|
|
@@ -52,8 +52,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
52
52
|
#
|
53
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
54
|
#
|
55
|
-
def list_with_http_info(vault_name, resource_group_name, filter
|
56
|
-
list_async(vault_name, resource_group_name, filter, custom_headers).value!
|
55
|
+
def list_with_http_info(vault_name, resource_group_name, filter:nil, custom_headers:nil)
|
56
|
+
list_async(vault_name, resource_group_name, filter:filter, custom_headers:custom_headers).value!
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
@@ -69,7 +69,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
69
69
|
#
|
70
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
71
|
#
|
72
|
-
def list_async(vault_name, resource_group_name, filter
|
72
|
+
def list_async(vault_name, resource_group_name, filter:nil, custom_headers:nil)
|
73
73
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
74
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
75
75
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -77,6 +77,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
77
77
|
|
78
78
|
|
79
79
|
request_headers = {}
|
80
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
81
|
|
81
82
|
# Set Headers
|
82
83
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -108,7 +109,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
108
109
|
if status_code == 200
|
109
110
|
begin
|
110
111
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
111
|
-
result_mapper = Azure::RecoveryServicesBackup::Mgmt::
|
112
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList.mapper()
|
112
113
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
113
114
|
rescue Exception => e
|
114
115
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -132,8 +133,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
132
133
|
#
|
133
134
|
# @return [ProtectionPolicyResourceList] operation results.
|
134
135
|
#
|
135
|
-
def list_next(next_page_link, custom_headers
|
136
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
136
|
+
def list_next(next_page_link, custom_headers:nil)
|
137
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
137
138
|
response.body unless response.nil?
|
138
139
|
end
|
139
140
|
|
@@ -148,8 +149,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
148
149
|
#
|
149
150
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
150
151
|
#
|
151
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
152
|
-
list_next_async(next_page_link, custom_headers).value!
|
152
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
153
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
153
154
|
end
|
154
155
|
|
155
156
|
#
|
@@ -163,11 +164,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
163
164
|
#
|
164
165
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
165
166
|
#
|
166
|
-
def list_next_async(next_page_link, custom_headers
|
167
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
167
168
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
168
169
|
|
169
170
|
|
170
171
|
request_headers = {}
|
172
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
171
173
|
|
172
174
|
# Set Headers
|
173
175
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -198,7 +200,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
198
200
|
if status_code == 200
|
199
201
|
begin
|
200
202
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
201
|
-
result_mapper = Azure::RecoveryServicesBackup::Mgmt::
|
203
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList.mapper()
|
202
204
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
203
205
|
rescue Exception => e
|
204
206
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -225,12 +227,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
225
227
|
# @return [ProtectionPolicyResourceList] which provide lazy access to pages of
|
226
228
|
# the response.
|
227
229
|
#
|
228
|
-
def list_as_lazy(vault_name, resource_group_name, filter
|
229
|
-
response = list_async(vault_name, resource_group_name, filter, custom_headers).value!
|
230
|
+
def list_as_lazy(vault_name, resource_group_name, filter:nil, custom_headers:nil)
|
231
|
+
response = list_async(vault_name, resource_group_name, filter:filter, custom_headers:custom_headers).value!
|
230
232
|
unless response.nil?
|
231
233
|
page = response.body
|
232
234
|
page.next_method = Proc.new do |next_page_link|
|
233
|
-
list_next_async(next_page_link, custom_headers)
|
235
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
234
236
|
end
|
235
237
|
page
|
236
238
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::RecoveryServicesBackup::Mgmt::
|
6
|
+
module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
7
|
#
|
8
8
|
# BackupProtectedItems
|
9
9
|
#
|
@@ -34,8 +34,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
34
34
|
#
|
35
35
|
# @return [Array<ProtectedItemResource>] operation results.
|
36
36
|
#
|
37
|
-
def list(vault_name, resource_group_name, filter
|
38
|
-
first_page = list_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
|
37
|
+
def list(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
38
|
+
first_page = list_as_lazy(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers)
|
39
39
|
first_page.get_all_items
|
40
40
|
end
|
41
41
|
|
@@ -52,8 +52,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
52
52
|
#
|
53
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
54
|
#
|
55
|
-
def list_with_http_info(vault_name, resource_group_name, filter
|
56
|
-
list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
55
|
+
def list_with_http_info(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
56
|
+
list_async(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers).value!
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
@@ -69,7 +69,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
69
69
|
#
|
70
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
71
|
#
|
72
|
-
def list_async(vault_name, resource_group_name, filter
|
72
|
+
def list_async(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
73
73
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
74
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
75
75
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -77,6 +77,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
77
77
|
|
78
78
|
|
79
79
|
request_headers = {}
|
80
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
81
|
|
81
82
|
# Set Headers
|
82
83
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -108,7 +109,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
108
109
|
if status_code == 200
|
109
110
|
begin
|
110
111
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
111
|
-
result_mapper = Azure::RecoveryServicesBackup::Mgmt::
|
112
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList.mapper()
|
112
113
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
113
114
|
rescue Exception => e
|
114
115
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -131,8 +132,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
131
132
|
#
|
132
133
|
# @return [ProtectedItemResourceList] operation results.
|
133
134
|
#
|
134
|
-
def list_next(next_page_link, custom_headers
|
135
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
135
|
+
def list_next(next_page_link, custom_headers:nil)
|
136
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
136
137
|
response.body unless response.nil?
|
137
138
|
end
|
138
139
|
|
@@ -146,8 +147,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
146
147
|
#
|
147
148
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
148
149
|
#
|
149
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
150
|
-
list_next_async(next_page_link, custom_headers).value!
|
150
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
151
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
151
152
|
end
|
152
153
|
|
153
154
|
#
|
@@ -160,11 +161,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
160
161
|
#
|
161
162
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
162
163
|
#
|
163
|
-
def list_next_async(next_page_link, custom_headers
|
164
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
164
165
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
165
166
|
|
166
167
|
|
167
168
|
request_headers = {}
|
169
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
168
170
|
|
169
171
|
# Set Headers
|
170
172
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -195,7 +197,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
195
197
|
if status_code == 200
|
196
198
|
begin
|
197
199
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
198
|
-
result_mapper = Azure::RecoveryServicesBackup::Mgmt::
|
200
|
+
result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList.mapper()
|
199
201
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
200
202
|
rescue Exception => e
|
201
203
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -222,12 +224,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
|
|
222
224
|
# @return [ProtectedItemResourceList] which provide lazy access to pages of the
|
223
225
|
# response.
|
224
226
|
#
|
225
|
-
def list_as_lazy(vault_name, resource_group_name, filter
|
226
|
-
response = list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
|
227
|
+
def list_as_lazy(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
|
228
|
+
response = list_async(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers).value!
|
227
229
|
unless response.nil?
|
228
230
|
page = response.body
|
229
231
|
page.next_method = Proc.new do |next_page_link|
|
230
|
-
list_next_async(next_page_link, custom_headers)
|
232
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
231
233
|
end
|
232
234
|
page
|
233
235
|
end
|