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
@@ -39,8 +39,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
39
39
|
#
|
40
40
|
# @return [ProtectionPolicyResource] operation results.
|
41
41
|
#
|
42
|
-
def get(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
43
|
-
response = get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers).value!
|
42
|
+
def get(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
43
|
+
response = get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:custom_headers).value!
|
44
44
|
response.body unless response.nil?
|
45
45
|
end
|
46
46
|
|
@@ -58,8 +58,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
58
58
|
#
|
59
59
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
60
60
|
#
|
61
|
-
def get_with_http_info(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
62
|
-
get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers).value!
|
61
|
+
def get_with_http_info(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
62
|
+
get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:custom_headers).value!
|
63
63
|
end
|
64
64
|
|
65
65
|
#
|
@@ -76,7 +76,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
76
76
|
#
|
77
77
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
78
78
|
#
|
79
|
-
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
79
|
+
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
80
80
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
81
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
82
82
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -86,6 +86,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
86
86
|
|
87
87
|
|
88
88
|
request_headers = {}
|
89
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
89
90
|
|
90
91
|
# Set Headers
|
91
92
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -43,8 +43,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
43
43
|
#
|
44
44
|
# @return [OperationStatus] operation results.
|
45
45
|
#
|
46
|
-
def get(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
47
|
-
response = get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers).value!
|
46
|
+
def get(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
47
|
+
response = get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:custom_headers).value!
|
48
48
|
response.body unless response.nil?
|
49
49
|
end
|
50
50
|
|
@@ -66,8 +66,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
66
66
|
#
|
67
67
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
68
68
|
#
|
69
|
-
def get_with_http_info(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
70
|
-
get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers).value!
|
69
|
+
def get_with_http_info(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
70
|
+
get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:custom_headers).value!
|
71
71
|
end
|
72
72
|
|
73
73
|
#
|
@@ -88,7 +88,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
88
88
|
#
|
89
89
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
90
90
|
#
|
91
|
-
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers
|
91
|
+
def get_async(vault_name, resource_group_name, policy_name, operation_id, custom_headers:nil)
|
92
92
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
93
93
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
94
94
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -98,6 +98,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
98
98
|
|
99
99
|
|
100
100
|
request_headers = {}
|
101
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
101
102
|
|
102
103
|
# Set Headers
|
103
104
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -45,8 +45,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
45
45
|
#
|
46
46
|
# @return [RecoveryPointResource] operation results.
|
47
47
|
#
|
48
|
-
def get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers
|
49
|
-
response = get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers).value!
|
48
|
+
def get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
|
49
|
+
response = get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:custom_headers).value!
|
50
50
|
response.body unless response.nil?
|
51
51
|
end
|
52
52
|
|
@@ -70,8 +70,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
70
70
|
#
|
71
71
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
72
|
#
|
73
|
-
def get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers
|
74
|
-
get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers).value!
|
73
|
+
def get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
|
74
|
+
get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:custom_headers).value!
|
75
75
|
end
|
76
76
|
|
77
77
|
#
|
@@ -94,7 +94,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
94
94
|
#
|
95
95
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
96
96
|
#
|
97
|
-
def get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers
|
97
|
+
def get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
|
98
98
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
99
99
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
100
100
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -106,6 +106,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
106
106
|
|
107
107
|
|
108
108
|
request_headers = {}
|
109
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
109
110
|
|
110
111
|
# Set Headers
|
111
112
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -168,8 +169,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
168
169
|
#
|
169
170
|
# @return [Array<RecoveryPointResource>] operation results.
|
170
171
|
#
|
171
|
-
def list(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter
|
172
|
-
first_page = list_as_lazy(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter, custom_headers)
|
172
|
+
def list(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
|
173
|
+
first_page = list_as_lazy(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:filter, custom_headers:custom_headers)
|
173
174
|
first_page.get_all_items
|
174
175
|
end
|
175
176
|
|
@@ -191,8 +192,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
191
192
|
#
|
192
193
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
193
194
|
#
|
194
|
-
def list_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter
|
195
|
-
list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter, custom_headers).value!
|
195
|
+
def list_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
|
196
|
+
list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:filter, custom_headers:custom_headers).value!
|
196
197
|
end
|
197
198
|
|
198
199
|
#
|
@@ -213,7 +214,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
213
214
|
#
|
214
215
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
215
216
|
#
|
216
|
-
def list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter
|
217
|
+
def list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
|
217
218
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
218
219
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
219
220
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -224,6 +225,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
224
225
|
|
225
226
|
|
226
227
|
request_headers = {}
|
228
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
227
229
|
|
228
230
|
# Set Headers
|
229
231
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -278,8 +280,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
278
280
|
#
|
279
281
|
# @return [RecoveryPointResourceList] operation results.
|
280
282
|
#
|
281
|
-
def list_next(next_page_link, custom_headers
|
282
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
283
|
+
def list_next(next_page_link, custom_headers:nil)
|
284
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
283
285
|
response.body unless response.nil?
|
284
286
|
end
|
285
287
|
|
@@ -293,8 +295,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
293
295
|
#
|
294
296
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
295
297
|
#
|
296
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
297
|
-
list_next_async(next_page_link, custom_headers).value!
|
298
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
299
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
298
300
|
end
|
299
301
|
|
300
302
|
#
|
@@ -307,11 +309,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
307
309
|
#
|
308
310
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
309
311
|
#
|
310
|
-
def list_next_async(next_page_link, custom_headers
|
312
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
311
313
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
312
314
|
|
313
315
|
|
314
316
|
request_headers = {}
|
317
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
315
318
|
|
316
319
|
# Set Headers
|
317
320
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -374,12 +377,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
374
377
|
# @return [RecoveryPointResourceList] which provide lazy access to pages of the
|
375
378
|
# response.
|
376
379
|
#
|
377
|
-
def list_as_lazy(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter
|
378
|
-
response = list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter, custom_headers).value!
|
380
|
+
def list_as_lazy(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
|
381
|
+
response = list_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:filter, custom_headers:custom_headers).value!
|
379
382
|
unless response.nil?
|
380
383
|
page = response.body
|
381
384
|
page.next_method = Proc.new do |next_page_link|
|
382
|
-
list_next_async(next_page_link, custom_headers)
|
385
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
383
386
|
end
|
384
387
|
page
|
385
388
|
end
|
data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb
CHANGED
@@ -197,6 +197,9 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
197
197
|
fail ArgumentError, 'path is nil' if path.nil?
|
198
198
|
|
199
199
|
request_url = options[:base_url] || @base_url
|
200
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
201
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
202
|
+
end
|
200
203
|
|
201
204
|
request_headers = @request_headers
|
202
205
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -213,7 +216,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
213
216
|
#
|
214
217
|
def add_telemetry
|
215
218
|
sdk_information = 'azure_mgmt_recovery_services_backup'
|
216
|
-
sdk_information = "#{sdk_information}/0.
|
219
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
217
220
|
add_user_agent_information(sdk_information)
|
218
221
|
end
|
219
222
|
end
|
@@ -44,8 +44,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
44
44
|
# will be added to the HTTP request.
|
45
45
|
#
|
46
46
|
#
|
47
|
-
def trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers
|
48
|
-
response = trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers).value!
|
47
|
+
def trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers:nil)
|
48
|
+
response = trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers:custom_headers).value!
|
49
49
|
nil
|
50
50
|
end
|
51
51
|
|
@@ -69,8 +69,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
69
69
|
#
|
70
70
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
71
71
|
#
|
72
|
-
def trigger_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers
|
73
|
-
trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers).value!
|
72
|
+
def trigger_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers:nil)
|
73
|
+
trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers:custom_headers).value!
|
74
74
|
end
|
75
75
|
|
76
76
|
#
|
@@ -93,7 +93,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
93
93
|
#
|
94
94
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
95
95
|
#
|
96
|
-
def trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers
|
96
|
+
def trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_restore_request, custom_headers:nil)
|
97
97
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
98
98
|
fail ArgumentError, 'vault_name is nil' if vault_name.nil?
|
99
99
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -106,13 +106,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
|
|
106
106
|
|
107
107
|
|
108
108
|
request_headers = {}
|
109
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
109
110
|
|
110
111
|
# Set Headers
|
111
112
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
112
113
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
113
114
|
|
114
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
115
|
-
|
116
115
|
# Serialize Request
|
117
116
|
request_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::RestoreRequestResource.mapper()
|
118
117
|
request_content = @client.serialize(request_mapper, resource_restore_request)
|
data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb
CHANGED
@@ -15,13 +15,15 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
15
15
|
# @return [String] Name of the provider for display purposes
|
16
16
|
attr_accessor :provider
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] ResourceType for which this Operation can be
|
19
|
+
# performed.
|
19
20
|
attr_accessor :resource
|
20
21
|
|
21
|
-
# @return [String] Name
|
22
|
+
# @return [String] Operations Name itself.
|
22
23
|
attr_accessor :operation
|
23
24
|
|
24
|
-
# @return [String] Description of the operation
|
25
|
+
# @return [String] Description of the operation having details of what
|
26
|
+
# operation is about.
|
25
27
|
attr_accessor :description
|
26
28
|
|
27
29
|
|
@@ -41,7 +43,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
41
43
|
provider: {
|
42
44
|
client_side_validation: true,
|
43
45
|
required: false,
|
44
|
-
serialized_name: '
|
46
|
+
serialized_name: 'provider',
|
45
47
|
type: {
|
46
48
|
name: 'String'
|
47
49
|
}
|
@@ -49,7 +51,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
49
51
|
resource: {
|
50
52
|
client_side_validation: true,
|
51
53
|
required: false,
|
52
|
-
serialized_name: '
|
54
|
+
serialized_name: 'resource',
|
53
55
|
type: {
|
54
56
|
name: 'String'
|
55
57
|
}
|
@@ -57,7 +59,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
57
59
|
operation: {
|
58
60
|
client_side_validation: true,
|
59
61
|
required: false,
|
60
|
-
serialized_name: '
|
62
|
+
serialized_name: 'operation',
|
61
63
|
type: {
|
62
64
|
name: 'String'
|
63
65
|
}
|
@@ -65,7 +67,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
65
67
|
description: {
|
66
68
|
client_side_validation: true,
|
67
69
|
required: false,
|
68
|
-
serialized_name: '
|
70
|
+
serialized_name: 'description',
|
69
71
|
type: {
|
70
72
|
name: 'String'
|
71
73
|
}
|
@@ -12,13 +12,13 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] Name
|
15
|
+
# @return [String] Name for shoebox log specification.
|
16
16
|
attr_accessor :name
|
17
17
|
|
18
18
|
# @return [String] Localized display name
|
19
19
|
attr_accessor :display_name
|
20
20
|
|
21
|
-
# @return [String] blob duration
|
21
|
+
# @return [String] blob duration of shoebox log specification
|
22
22
|
attr_accessor :blob_duration
|
23
23
|
|
24
24
|
|
@@ -17,7 +17,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
17
17
|
# operationss.
|
18
18
|
attr_accessor :value
|
19
19
|
|
20
|
-
# @return [String]
|
20
|
+
# @return [String] Link to the next chunk of Response.
|
21
21
|
attr_accessor :next_link
|
22
22
|
|
23
23
|
# return [Proc] with next page method call.
|
@@ -68,7 +68,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
68
68
|
value: {
|
69
69
|
client_side_validation: true,
|
70
70
|
required: false,
|
71
|
-
serialized_name: '
|
71
|
+
serialized_name: 'value',
|
72
72
|
type: {
|
73
73
|
name: 'Sequence',
|
74
74
|
element: {
|
@@ -85,7 +85,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
85
85
|
next_link: {
|
86
86
|
client_side_validation: true,
|
87
87
|
required: false,
|
88
|
-
serialized_name: '
|
88
|
+
serialized_name: 'nextLink',
|
89
89
|
type: {
|
90
90
|
name: 'String'
|
91
91
|
}
|
@@ -12,7 +12,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] Name
|
15
|
+
# @return [String] Name of the Operation.
|
16
16
|
attr_accessor :name
|
17
17
|
|
18
18
|
# @return [ClientDiscoveryDisplay] Contains the localized display
|
@@ -23,7 +23,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
23
23
|
# display of the operation in the RBAC UX and the audit logs UX
|
24
24
|
attr_accessor :origin
|
25
25
|
|
26
|
-
# @return [ClientDiscoveryForProperties]
|
26
|
+
# @return [ClientDiscoveryForProperties] ShoeBox properties for the given
|
27
|
+
# operation.
|
27
28
|
attr_accessor :properties
|
28
29
|
|
29
30
|
|
@@ -43,7 +44,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
43
44
|
name: {
|
44
45
|
client_side_validation: true,
|
45
46
|
required: false,
|
46
|
-
serialized_name: '
|
47
|
+
serialized_name: 'name',
|
47
48
|
type: {
|
48
49
|
name: 'String'
|
49
50
|
}
|
@@ -51,7 +52,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
51
52
|
display: {
|
52
53
|
client_side_validation: true,
|
53
54
|
required: false,
|
54
|
-
serialized_name: '
|
55
|
+
serialized_name: 'display',
|
55
56
|
type: {
|
56
57
|
name: 'Composite',
|
57
58
|
class_name: 'ClientDiscoveryDisplay'
|
@@ -60,7 +61,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
60
61
|
origin: {
|
61
62
|
client_side_validation: true,
|
62
63
|
required: false,
|
63
|
-
serialized_name: '
|
64
|
+
serialized_name: 'origin',
|
64
65
|
type: {
|
65
66
|
name: 'String'
|
66
67
|
}
|
@@ -68,7 +69,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
68
69
|
properties: {
|
69
70
|
client_side_validation: true,
|
70
71
|
required: false,
|
71
|
-
serialized_name: '
|
72
|
+
serialized_name: 'properties',
|
72
73
|
type: {
|
73
74
|
name: 'Composite',
|
74
75
|
class_name: 'ClientDiscoveryForProperties'
|
@@ -29,8 +29,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
29
29
|
#
|
30
30
|
# @return [Array<ClientDiscoveryValueForSingleApi>] operation results.
|
31
31
|
#
|
32
|
-
def list(custom_headers
|
33
|
-
first_page = list_as_lazy(custom_headers)
|
32
|
+
def list(custom_headers:nil)
|
33
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
34
34
|
first_page.get_all_items
|
35
35
|
end
|
36
36
|
|
@@ -42,8 +42,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
42
42
|
#
|
43
43
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
44
|
#
|
45
|
-
def list_with_http_info(custom_headers
|
46
|
-
list_async(custom_headers).value!
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
47
47
|
end
|
48
48
|
|
49
49
|
#
|
@@ -54,11 +54,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
54
54
|
#
|
55
55
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
56
|
#
|
57
|
-
def list_async(custom_headers
|
57
|
+
def list_async(custom_headers:nil)
|
58
58
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
59
|
|
60
60
|
|
61
61
|
request_headers = {}
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
62
63
|
|
63
64
|
# Set Headers
|
64
65
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -112,8 +113,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
112
113
|
#
|
113
114
|
# @return [ClientDiscoveryResponse] operation results.
|
114
115
|
#
|
115
|
-
def list_next(next_page_link, custom_headers
|
116
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
116
|
+
def list_next(next_page_link, custom_headers:nil)
|
117
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
117
118
|
response.body unless response.nil?
|
118
119
|
end
|
119
120
|
|
@@ -127,8 +128,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
127
128
|
#
|
128
129
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
129
130
|
#
|
130
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
131
|
-
list_next_async(next_page_link, custom_headers).value!
|
131
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
132
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
132
133
|
end
|
133
134
|
|
134
135
|
#
|
@@ -141,11 +142,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
141
142
|
#
|
142
143
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
143
144
|
#
|
144
|
-
def list_next_async(next_page_link, custom_headers
|
145
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
145
146
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
146
147
|
|
147
148
|
|
148
149
|
request_headers = {}
|
150
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
149
151
|
|
150
152
|
# Set Headers
|
151
153
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -198,12 +200,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
|
|
198
200
|
# @return [ClientDiscoveryResponse] which provide lazy access to pages of the
|
199
201
|
# response.
|
200
202
|
#
|
201
|
-
def list_as_lazy(custom_headers
|
202
|
-
response = list_async(custom_headers).value!
|
203
|
+
def list_as_lazy(custom_headers:nil)
|
204
|
+
response = list_async(custom_headers:custom_headers).value!
|
203
205
|
unless response.nil?
|
204
206
|
page = response.body
|
205
207
|
page.next_method = Proc.new do |next_page_link|
|
206
|
-
list_next_async(next_page_link, custom_headers)
|
208
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
207
209
|
end
|
208
210
|
page
|
209
211
|
end
|