azure_mgmt_recovery_services_site_recovery 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/site_recovery_management_client.rb +7 -6
  3. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery.rb +392 -0
  4. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aapply_recovery_point_input.rb +50 -0
  5. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2acontainer_creation_input.rb +50 -0
  6. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2acontainer_mapping_input.rb +73 -0
  7. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aenable_protection_input.rb +169 -0
  8. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aevent_details.rb +116 -0
  9. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2afailover_provider_input.rb +75 -0
  10. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2apolicy_creation_input.rb +97 -0
  11. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2apolicy_details.rb +107 -0
  12. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aprotected_disk_details.rb +182 -0
  13. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aprotected_managed_disk_details.rb +206 -0
  14. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aprotection_container_mapping_details.rb +95 -0
  15. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2arecovery_point_details.rb +63 -0
  16. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2areplication_details.rb +431 -0
  17. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2areprotect_input.rb +126 -0
  18. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2arp_recovery_point_type.rb +18 -0
  19. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aswitch_protection_input.rb +158 -0
  20. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aupdate_container_mapping_input.rb +73 -0
  21. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2aupdate_replication_protected_item_input.rb +104 -0
  22. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2avm_disk_input_details.rb +68 -0
  23. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2avm_managed_disk_input_details.rb +92 -0
  24. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/a2avm_managed_disk_update_details.rb +68 -0
  25. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/add_vcenter_request.rb +48 -0
  26. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/add_vcenter_request_properties.rb +92 -0
  27. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/agent_auto_update_status.rb +16 -0
  28. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/agent_version_status.rb +19 -0
  29. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/alert.rb +82 -0
  30. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/alert_collection.rb +98 -0
  31. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/alert_properties.rb +77 -0
  32. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/alternate_location_recovery_option.rb +16 -0
  33. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_input.rb +48 -0
  34. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_input_properties.rb +61 -0
  35. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_provider_specific_input.rb +48 -0
  36. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/asr_job_details.rb +66 -0
  37. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/asrtask.rb +197 -0
  38. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/automation_runbook_task_details.rb +150 -0
  39. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_creation_input.rb +61 -0
  40. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_specific_details.rb +80 -0
  41. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb +62 -0
  42. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_network_mapping_settings.rb +72 -0
  43. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_update_network_mapping_input.rb +61 -0
  44. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_vm_synced_config_details.rb +94 -0
  45. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_vm_disk_details.rb +112 -0
  46. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/compute_size_error_details.rb +58 -0
  47. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/configuration_settings.rb +49 -0
  48. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/configure_alert_request.rb +48 -0
  49. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/configure_alert_request_properties.rb +77 -0
  50. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/consistency_check_task_details.rb +72 -0
  51. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_network_mapping_input.rb +48 -0
  52. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_network_mapping_input_properties.rb +72 -0
  53. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_policy_input.rb +47 -0
  54. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_policy_input_properties.rb +49 -0
  55. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_input.rb +48 -0
  56. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_input_properties.rb +58 -0
  57. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_mapping_input.rb +48 -0
  58. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_mapping_input_properties.rb +73 -0
  59. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_recovery_plan_input.rb +48 -0
  60. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/create_recovery_plan_input_properties.rb +89 -0
  61. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/current_scenario_details.rb +68 -0
  62. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/data_store.rb +90 -0
  63. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/data_sync_status.rb +16 -0
  64. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_input.rb +48 -0
  65. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_input_properties.rb +63 -0
  66. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_provider_specific_input.rb +46 -0
  67. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_reason.rb +16 -0
  68. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request.rb +48 -0
  69. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb +69 -0
  70. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disk_details.rb +79 -0
  71. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/disk_volume_details.rb +57 -0
  72. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/display.rb +105 -0
  73. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_input.rb +48 -0
  74. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_input_properties.rb +75 -0
  75. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_provider_specific_input.rb +50 -0
  76. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/encryption_details.rb +68 -0
  77. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event.rb +82 -0
  78. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event_collection.rb +98 -0
  79. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event_properties.rb +163 -0
  80. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event_provider_specific_details.rb +51 -0
  81. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event_query_parameter.rb +115 -0
  82. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/event_specific_details.rb +46 -0
  83. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/export_job_details.rb +88 -0
  84. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric.rb +82 -0
  85. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_collection.rb +98 -0
  86. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_creation_input.rb +47 -0
  87. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_creation_input_properties.rb +50 -0
  88. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_properties.rb +137 -0
  89. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_replication_group_task_details.rb +84 -0
  90. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_create_network_mapping_input.rb +48 -0
  91. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_creation_input.rb +47 -0
  92. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb +50 -0
  93. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_update_network_mapping_input.rb +48 -0
  94. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/failover_deployment_model.rb +17 -0
  95. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/failover_job_details.rb +87 -0
  96. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/failover_process_server_request.rb +48 -0
  97. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/failover_process_server_request_properties.rb +99 -0
  98. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/failover_replication_protected_item_details.rb +134 -0
  99. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/group_task_details.rb +69 -0
  100. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/health_error.rb +193 -0
  101. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/health_error_category.rb +21 -0
  102. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/health_error_summary.rb +129 -0
  103. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica2012event_details.rb +94 -0
  104. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica2012r2event_details.rb +94 -0
  105. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_apply_recovery_point_input.rb +84 -0
  106. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_enable_protection_input.rb +218 -0
  107. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_event_details.rb +83 -0
  108. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_failback_provider_input.rb +83 -0
  109. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_failover_provider_input.rb +96 -0
  110. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_policy_details.rb +120 -0
  111. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_policy_input.rb +117 -0
  112. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_replication_details.rb +340 -0
  113. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_reprotect_input.rb +117 -0
  114. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_rp_recovery_point_type.rb +17 -0
  115. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_update_replication_protected_item_input.rb +87 -0
  116. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_event_details.rb +94 -0
  117. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_policy_details.rb +163 -0
  118. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_replication_details.rb +146 -0
  119. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_policy_details.rb +174 -0
  120. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_policy_input.rb +174 -0
  121. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_replication_details.rb +146 -0
  122. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_policy_details.rb +163 -0
  123. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_policy_input.rb +163 -0
  124. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_replication_details.rb +146 -0
  125. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vsite_details.rb +50 -0
  126. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vvirtual_machine_details.rb +145 -0
  127. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/identity_information.rb +124 -0
  128. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/identity_provider_type.rb +15 -0
  129. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_agent_details.rb +81 -0
  130. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_agent_version_details.rb +82 -0
  131. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2apply_recovery_point_input.rb +61 -0
  132. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2enable_protection_input.rb +229 -0
  133. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2event_details.rb +128 -0
  134. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2failover_provider_input.rb +74 -0
  135. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2policy_details.rb +107 -0
  136. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2policy_input.rb +108 -0
  137. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2protected_disk_details.rb +201 -0
  138. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2recovery_point_details.rb +62 -0
  139. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2replication_details.rb +650 -0
  140. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2reprotect_input.rb +136 -0
  141. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2update_replication_protected_item_input.rb +87 -0
  142. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_base_policy_details.rb +96 -0
  143. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disable_protection_provider_specific_input.rb +63 -0
  144. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_details.rb +110 -0
  145. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_exclusion_input.rb +78 -0
  146. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_signature_exclusion_options.rb +48 -0
  147. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_enable_protection_input.rb +169 -0
  148. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_failover_provider_input.rb +78 -0
  149. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_policy_details.rb +96 -0
  150. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_policy_input.rb +97 -0
  151. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_protected_disk_details.rb +201 -0
  152. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_replication_details.rb +516 -0
  153. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_reprotect_input.rb +147 -0
  154. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_v2rp_recovery_point_type.rb +18 -0
  155. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_volume_exclusion_options.rb +62 -0
  156. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/inconsistent_vm_details.rb +97 -0
  157. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/initial_replication_details.rb +57 -0
  158. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/inline_workflow_task_details.rb +86 -0
  159. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/inner_health_error.rb +172 -0
  160. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/input_endpoint.rb +79 -0
  161. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job.rb +82 -0
  162. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_collection.rb +98 -0
  163. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_details.rb +71 -0
  164. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_entity.rb +102 -0
  165. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_error_details.rb +92 -0
  166. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_properties.rb +224 -0
  167. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_query_parameter.rb +90 -0
  168. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_status_event_details.rb +94 -0
  169. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/job_task_details.rb +63 -0
  170. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/license_type.rb +17 -0
  171. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network.rb +82 -0
  172. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network_collection.rb +98 -0
  173. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network_properties.rb +82 -0
  174. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/manual_action_task_details.rb +83 -0
  175. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/master_target_server.rb +272 -0
  176. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/mobility_service_update.rb +69 -0
  177. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/multi_vm_group_create_option.rb +16 -0
  178. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/multi_vm_sync_point_option.rb +16 -0
  179. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/multi_vm_sync_status.rb +16 -0
  180. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network.rb +82 -0
  181. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_collection.rb +98 -0
  182. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping.rb +88 -0
  183. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_collection.rb +102 -0
  184. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_fabric_specific_settings.rb +48 -0
  185. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_properties.rb +138 -0
  186. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/network_properties.rb +88 -0
  187. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/operations_discovery.rb +100 -0
  188. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/operations_discovery_collection.rb +98 -0
  189. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdetails.rb +101 -0
  190. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb +68 -0
  191. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/planned_failover_input.rb +48 -0
  192. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/planned_failover_input_properties.rb +60 -0
  193. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy.rb +82 -0
  194. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_collection.rb +98 -0
  195. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb +60 -0
  196. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb +55 -0
  197. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_input.rb +52 -0
  198. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/possible_operations_directions.rb +16 -0
  199. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/presence_status.rb +17 -0
  200. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/process_server.rb +364 -0
  201. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item.rb +82 -0
  202. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item_collection.rb +98 -0
  203. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item_properties.rb +133 -0
  204. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item_query_parameter.rb +46 -0
  205. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protected_items_query_parameter.rb +92 -0
  206. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container.rb +82 -0
  207. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_collection.rb +98 -0
  208. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_fabric_specific_details.rb +47 -0
  209. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping.rb +82 -0
  210. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_collection.rb +98 -0
  211. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_properties.rb +169 -0
  212. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_provider_specific_details.rb +47 -0
  213. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_properties.rb +114 -0
  214. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/provider_error.rb +90 -0
  215. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/provider_specific_failover_input.rb +50 -0
  216. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/provider_specific_recovery_point_details.rb +47 -0
  217. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/rcm_azure_migration_policy_details.rb +107 -0
  218. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan.rb +82 -0
  219. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_a2afailover_input.rb +88 -0
  220. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action.rb +100 -0
  221. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action_details.rb +48 -0
  222. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action_location.rb +16 -0
  223. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_automation_runbook_action_details.rb +85 -0
  224. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_collection.rb +98 -0
  225. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group.rb +107 -0
  226. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group_task_details.rb +100 -0
  227. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group_type.rb +17 -0
  228. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_hyper_vreplica_azure_failback_input.rb +75 -0
  229. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_hyper_vreplica_azure_failover_input.rb +97 -0
  230. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_azure_v2failover_input.rb +86 -0
  231. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_failover_input.rb +62 -0
  232. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_manual_action_details.rb +61 -0
  233. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_planned_failover_input.rb +48 -0
  234. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_planned_failover_input_properties.rb +71 -0
  235. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_properties.rb +226 -0
  236. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_protected_item.rb +57 -0
  237. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_provider_specific_failover_input.rb +51 -0
  238. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_script_action_details.rb +84 -0
  239. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_shutdown_group_task_details.rb +100 -0
  240. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_cleanup_input.rb +48 -0
  241. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_cleanup_input_properties.rb +47 -0
  242. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_input.rb +48 -0
  243. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_input_properties.rb +104 -0
  244. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_unplanned_failover_input.rb +48 -0
  245. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_unplanned_failover_input_properties.rb +84 -0
  246. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point.rb +82 -0
  247. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_collection.rb +98 -0
  248. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_properties.rb +73 -0
  249. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_sync_type.rb +16 -0
  250. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_type.rb +17 -0
  251. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider.rb +82 -0
  252. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider_collection.rb +98 -0
  253. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider_properties.rb +220 -0
  254. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/remove_protection_container_mapping_input.rb +48 -0
  255. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/remove_protection_container_mapping_input_properties.rb +49 -0
  256. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/renew_certificate_input.rb +48 -0
  257. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/renew_certificate_input_properties.rb +46 -0
  258. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_group_details.rb +50 -0
  259. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item.rb +82 -0
  260. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_collection.rb +99 -0
  261. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_operation.rb +27 -0
  262. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_properties.rb +360 -0
  263. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_container_unmapping_input.rb +47 -0
  264. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_container_creation_input.rb +47 -0
  265. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_container_mapping_input.rb +47 -0
  266. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb +52 -0
  267. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_update_container_mapping_input.rb +47 -0
  268. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/resource.rb +82 -0
  269. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/resource_health_summary.rb +68 -0
  270. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/resume_job_params.rb +47 -0
  271. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/resume_job_params_properties.rb +46 -0
  272. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/retention_volume.rb +79 -0
  273. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_input.rb +48 -0
  274. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_input_properties.rb +61 -0
  275. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_provider_specific_input.rb +49 -0
  276. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/role_assignment.rb +90 -0
  277. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/rp_in_mage_recovery_point_type.rb +17 -0
  278. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/run_as_account.rb +57 -0
  279. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/san_enable_protection_input.rb +50 -0
  280. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/script_action_task_details.rb +95 -0
  281. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/service_error.rb +90 -0
  282. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/set_multi_vm_sync_status.rb +16 -0
  283. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/severity.rb +18 -0
  284. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/source_site_operations.rb +16 -0
  285. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification.rb +83 -0
  286. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_collection.rb +98 -0
  287. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping.rb +83 -0
  288. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_collection.rb +99 -0
  289. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_input.rb +48 -0
  290. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_properties.rb +46 -0
  291. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_properties.rb +46 -0
  292. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/storage_mapping_input_properties.rb +46 -0
  293. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/subnet.rb +76 -0
  294. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input.rb +47 -0
  295. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input_properties.rb +61 -0
  296. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_job_details.rb +77 -0
  297. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_provider_specific_input.rb +46 -0
  298. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/target_compute_size.rb +80 -0
  299. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/target_compute_size_collection.rb +98 -0
  300. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/target_compute_size_properties.rb +138 -0
  301. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/task_type_details.rb +53 -0
  302. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_cleanup_input.rb +48 -0
  303. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_cleanup_input_properties.rb +46 -0
  304. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_input.rb +47 -0
  305. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_input_properties.rb +94 -0
  306. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_job_details.rb +143 -0
  307. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/unplanned_failover_input.rb +48 -0
  308. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/unplanned_failover_input_properties.rb +71 -0
  309. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_mobility_service_request.rb +48 -0
  310. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_mobility_service_request_properties.rb +46 -0
  311. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_network_mapping_input.rb +48 -0
  312. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_network_mapping_input_properties.rb +72 -0
  313. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_policy_input.rb +47 -0
  314. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_policy_input_properties.rb +49 -0
  315. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_protection_container_mapping_input.rb +48 -0
  316. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_protection_container_mapping_input_properties.rb +51 -0
  317. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_recovery_plan_input.rb +48 -0
  318. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_recovery_plan_input_properties.rb +55 -0
  319. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_input.rb +48 -0
  320. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_input_properties.rb +152 -0
  321. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_provider_input.rb +49 -0
  322. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_vcenter_request.rb +48 -0
  323. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/update_vcenter_request_properties.rb +92 -0
  324. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vault_health_details.rb +82 -0
  325. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vault_health_properties.rb +94 -0
  326. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter.rb +82 -0
  327. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter_collection.rb +98 -0
  328. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter_properties.rb +168 -0
  329. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/version_details.rb +70 -0
  330. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/virtual_machine_task_details.rb +84 -0
  331. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vm_nic_updates_task_details.rb +83 -0
  332. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_details.rb +50 -0
  333. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_create_network_mapping_input.rb +51 -0
  334. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_network_mapping_settings.rb +50 -0
  335. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_update_network_mapping_input.rb +51 -0
  336. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_create_network_mapping_input.rb +51 -0
  337. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_network_mapping_settings.rb +50 -0
  338. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_update_network_mapping_input.rb +51 -0
  339. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_virtual_machine_details.rb +145 -0
  340. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmnic_details.rb +167 -0
  341. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmnic_input_details.rb +79 -0
  342. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_cbt_policy_creation_input.rb +84 -0
  343. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_cbt_policy_details.rb +95 -0
  344. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_details.rb +434 -0
  345. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_v2fabric_creation_input.rb +72 -0
  346. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_v2fabric_specific_details.rb +94 -0
  347. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_virtual_machine_details.rb +182 -0
  348. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/module_definition.rb +9 -0
  349. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/operations.rb +232 -0
  350. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/recovery_points.rb +363 -0
  351. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_alert_settings.rb +444 -0
  352. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_events.rb +332 -0
  353. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_fabrics.rb +1303 -0
  354. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_jobs.rb +908 -0
  355. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_logical_networks.rb +338 -0
  356. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_network_mappings.rb +1016 -0
  357. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_networks.rb +546 -0
  358. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_policies.rb +754 -0
  359. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protectable_items.rb +351 -0
  360. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb +2755 -0
  361. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protection_container_mappings.rb +1174 -0
  362. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protection_containers.rb +1178 -0
  363. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_recovery_plans.rb +1639 -0
  364. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_recovery_services_providers.rb +975 -0
  365. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_storage_classification_mappings.rb +866 -0
  366. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_storage_classifications.rb +546 -0
  367. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_vault_health.rb +241 -0
  368. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replicationv_centers.rb +1003 -0
  369. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/site_recovery_management_client.rb +223 -0
  370. data/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/target_compute_sizes.rb +252 -0
  371. data/lib/azure_mgmt_recovery_services_site_recovery.rb +1 -0
  372. data/lib/profiles/latest/modules/recoveryservicessiterecovery_profile_module.rb +1071 -993
  373. data/lib/version.rb +1 -1
  374. metadata +373 -5
@@ -0,0 +1,866 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
7
+ #
8
+ # ReplicationStorageClassificationMappings
9
+ #
10
+ class ReplicationStorageClassificationMappings
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ReplicationStorageClassificationMappings class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [SiteRecoveryManagementClient] reference to the SiteRecoveryManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the list of storage classification mappings objects under a storage.
26
+ #
27
+ # Lists the storage classification mappings for the fabric.
28
+ #
29
+ # @param fabric_name [String] Fabric name.
30
+ # @param storage_classification_name [String] Storage classfication name.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [Array<StorageClassificationMapping>] operation results.
35
+ #
36
+ def list_by_replication_storage_classifications(fabric_name, storage_classification_name, custom_headers:nil)
37
+ first_page = list_by_replication_storage_classifications_as_lazy(fabric_name, storage_classification_name, custom_headers:custom_headers)
38
+ first_page.get_all_items
39
+ end
40
+
41
+ #
42
+ # Gets the list of storage classification mappings objects under a storage.
43
+ #
44
+ # Lists the storage classification mappings for the fabric.
45
+ #
46
+ # @param fabric_name [String] Fabric name.
47
+ # @param storage_classification_name [String] Storage classfication name.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def list_by_replication_storage_classifications_with_http_info(fabric_name, storage_classification_name, custom_headers:nil)
54
+ list_by_replication_storage_classifications_async(fabric_name, storage_classification_name, custom_headers:custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # Gets the list of storage classification mappings objects under a storage.
59
+ #
60
+ # Lists the storage classification mappings for the fabric.
61
+ #
62
+ # @param fabric_name [String] Fabric name.
63
+ # @param storage_classification_name [String] Storage classfication name.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def list_by_replication_storage_classifications_async(fabric_name, storage_classification_name, custom_headers:nil)
70
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
71
+ fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
72
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
73
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
+ fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
75
+ fail ArgumentError, 'storage_classification_name is nil' if storage_classification_name.nil?
76
+
77
+
78
+ request_headers = {}
79
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
80
+
81
+ # Set Headers
82
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
83
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
84
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings'
85
+
86
+ request_url = @base_url || @client.base_url
87
+
88
+ options = {
89
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
90
+ path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'storageClassificationName' => storage_classification_name},
91
+ query_params: {'api-version' => @client.api_version},
92
+ headers: request_headers.merge(custom_headers || {}),
93
+ base_url: request_url
94
+ }
95
+ promise = @client.make_request_async(:get, path_template, options)
96
+
97
+ promise = promise.then do |result|
98
+ http_response = result.response
99
+ status_code = http_response.status
100
+ response_content = http_response.body
101
+ unless status_code == 200
102
+ error_model = JSON.load(response_content)
103
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
104
+ end
105
+
106
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
107
+ # Deserialize Response
108
+ if status_code == 200
109
+ begin
110
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
111
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection.mapper()
112
+ result.body = @client.deserialize(result_mapper, parsed_response)
113
+ rescue Exception => e
114
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
115
+ end
116
+ end
117
+
118
+ result
119
+ end
120
+
121
+ promise.execute
122
+ end
123
+
124
+ #
125
+ # Gets the details of a storage classification mapping.
126
+ #
127
+ # Gets the details of the specified storage classification mapping.
128
+ #
129
+ # @param fabric_name [String] Fabric name.
130
+ # @param storage_classification_name [String] Storage classification name.
131
+ # @param storage_classification_mapping_name [String] Storage classification
132
+ # mapping name.
133
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
134
+ # will be added to the HTTP request.
135
+ #
136
+ # @return [StorageClassificationMapping] operation results.
137
+ #
138
+ def get(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
139
+ response = get_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
140
+ response.body unless response.nil?
141
+ end
142
+
143
+ #
144
+ # Gets the details of a storage classification mapping.
145
+ #
146
+ # Gets the details of the specified storage classification mapping.
147
+ #
148
+ # @param fabric_name [String] Fabric name.
149
+ # @param storage_classification_name [String] Storage classification name.
150
+ # @param storage_classification_mapping_name [String] Storage classification
151
+ # mapping name.
152
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
153
+ # will be added to the HTTP request.
154
+ #
155
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
156
+ #
157
+ def get_with_http_info(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
158
+ get_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
159
+ end
160
+
161
+ #
162
+ # Gets the details of a storage classification mapping.
163
+ #
164
+ # Gets the details of the specified storage classification mapping.
165
+ #
166
+ # @param fabric_name [String] Fabric name.
167
+ # @param storage_classification_name [String] Storage classification name.
168
+ # @param storage_classification_mapping_name [String] Storage classification
169
+ # mapping name.
170
+ # @param [Hash{String => String}] A hash of custom headers that will be added
171
+ # to the HTTP request.
172
+ #
173
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
174
+ #
175
+ def get_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
176
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
177
+ fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
178
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
179
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
180
+ fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
181
+ fail ArgumentError, 'storage_classification_name is nil' if storage_classification_name.nil?
182
+ fail ArgumentError, 'storage_classification_mapping_name is nil' if storage_classification_mapping_name.nil?
183
+
184
+
185
+ request_headers = {}
186
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
187
+
188
+ # Set Headers
189
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
190
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
191
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}'
192
+
193
+ request_url = @base_url || @client.base_url
194
+
195
+ options = {
196
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
197
+ path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'storageClassificationName' => storage_classification_name,'storageClassificationMappingName' => storage_classification_mapping_name},
198
+ query_params: {'api-version' => @client.api_version},
199
+ headers: request_headers.merge(custom_headers || {}),
200
+ base_url: request_url
201
+ }
202
+ promise = @client.make_request_async(:get, path_template, options)
203
+
204
+ promise = promise.then do |result|
205
+ http_response = result.response
206
+ status_code = http_response.status
207
+ response_content = http_response.body
208
+ unless status_code == 200
209
+ error_model = JSON.load(response_content)
210
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
211
+ end
212
+
213
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
214
+ # Deserialize Response
215
+ if status_code == 200
216
+ begin
217
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
218
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping.mapper()
219
+ result.body = @client.deserialize(result_mapper, parsed_response)
220
+ rescue Exception => e
221
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
222
+ end
223
+ end
224
+
225
+ result
226
+ end
227
+
228
+ promise.execute
229
+ end
230
+
231
+ #
232
+ # Create storage classification mapping.
233
+ #
234
+ # The operation to create a storage classification mapping.
235
+ #
236
+ # @param fabric_name [String] Fabric name.
237
+ # @param storage_classification_name [String] Storage classification name.
238
+ # @param storage_classification_mapping_name [String] Storage classification
239
+ # mapping name.
240
+ # @param pairing_input [StorageClassificationMappingInput] Pairing input.
241
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
242
+ # will be added to the HTTP request.
243
+ #
244
+ # @return [StorageClassificationMapping] operation results.
245
+ #
246
+ def create(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:nil)
247
+ response = create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:custom_headers).value!
248
+ response.body unless response.nil?
249
+ end
250
+
251
+ #
252
+ # @param fabric_name [String] Fabric name.
253
+ # @param storage_classification_name [String] Storage classification name.
254
+ # @param storage_classification_mapping_name [String] Storage classification
255
+ # mapping name.
256
+ # @param pairing_input [StorageClassificationMappingInput] Pairing input.
257
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
258
+ # will be added to the HTTP request.
259
+ #
260
+ # @return [Concurrent::Promise] promise which provides async access to http
261
+ # response.
262
+ #
263
+ def create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:nil)
264
+ # Send request
265
+ promise = begin_create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:custom_headers)
266
+
267
+ promise = promise.then do |response|
268
+ # Defining deserialization method.
269
+ deserialize_method = lambda do |parsed_response|
270
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping.mapper()
271
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
272
+ end
273
+
274
+ # Waiting for response.
275
+ @client.get_long_running_operation_result(response, deserialize_method)
276
+ end
277
+
278
+ promise
279
+ end
280
+
281
+ #
282
+ # Delete a storage classification mapping.
283
+ #
284
+ # The operation to delete a storage classification mapping.
285
+ #
286
+ # @param fabric_name [String] Fabric name.
287
+ # @param storage_classification_name [String] Storage classification name.
288
+ # @param storage_classification_mapping_name [String] Storage classification
289
+ # mapping name.
290
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
291
+ # will be added to the HTTP request.
292
+ #
293
+ def delete(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
294
+ response = delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
295
+ nil
296
+ end
297
+
298
+ #
299
+ # @param fabric_name [String] Fabric name.
300
+ # @param storage_classification_name [String] Storage classification name.
301
+ # @param storage_classification_mapping_name [String] Storage classification
302
+ # mapping name.
303
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
304
+ # will be added to the HTTP request.
305
+ #
306
+ # @return [Concurrent::Promise] promise which provides async access to http
307
+ # response.
308
+ #
309
+ def delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
310
+ # Send request
311
+ promise = begin_delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers)
312
+
313
+ promise = promise.then do |response|
314
+ # Defining deserialization method.
315
+ deserialize_method = lambda do |parsed_response|
316
+ end
317
+
318
+ # Waiting for response.
319
+ @client.get_long_running_operation_result(response, deserialize_method)
320
+ end
321
+
322
+ promise
323
+ end
324
+
325
+ #
326
+ # Gets the list of storage classification mappings objects under a vault.
327
+ #
328
+ # Lists the storage classification mappings in the vault.
329
+ #
330
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
331
+ # will be added to the HTTP request.
332
+ #
333
+ # @return [Array<StorageClassificationMapping>] operation results.
334
+ #
335
+ def list(custom_headers:nil)
336
+ first_page = list_as_lazy(custom_headers:custom_headers)
337
+ first_page.get_all_items
338
+ end
339
+
340
+ #
341
+ # Gets the list of storage classification mappings objects under a vault.
342
+ #
343
+ # Lists the storage classification mappings in the vault.
344
+ #
345
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
346
+ # will be added to the HTTP request.
347
+ #
348
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
349
+ #
350
+ def list_with_http_info(custom_headers:nil)
351
+ list_async(custom_headers:custom_headers).value!
352
+ end
353
+
354
+ #
355
+ # Gets the list of storage classification mappings objects under a vault.
356
+ #
357
+ # Lists the storage classification mappings in the vault.
358
+ #
359
+ # @param [Hash{String => String}] A hash of custom headers that will be added
360
+ # to the HTTP request.
361
+ #
362
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
363
+ #
364
+ def list_async(custom_headers:nil)
365
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
366
+ fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
367
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
368
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
369
+
370
+
371
+ request_headers = {}
372
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
373
+
374
+ # Set Headers
375
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
376
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
377
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings'
378
+
379
+ request_url = @base_url || @client.base_url
380
+
381
+ options = {
382
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
383
+ path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id},
384
+ query_params: {'api-version' => @client.api_version},
385
+ headers: request_headers.merge(custom_headers || {}),
386
+ base_url: request_url
387
+ }
388
+ promise = @client.make_request_async(:get, path_template, options)
389
+
390
+ promise = promise.then do |result|
391
+ http_response = result.response
392
+ status_code = http_response.status
393
+ response_content = http_response.body
394
+ unless status_code == 200
395
+ error_model = JSON.load(response_content)
396
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
397
+ end
398
+
399
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
400
+ # Deserialize Response
401
+ if status_code == 200
402
+ begin
403
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
404
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection.mapper()
405
+ result.body = @client.deserialize(result_mapper, parsed_response)
406
+ rescue Exception => e
407
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
408
+ end
409
+ end
410
+
411
+ result
412
+ end
413
+
414
+ promise.execute
415
+ end
416
+
417
+ #
418
+ # Create storage classification mapping.
419
+ #
420
+ # The operation to create a storage classification mapping.
421
+ #
422
+ # @param fabric_name [String] Fabric name.
423
+ # @param storage_classification_name [String] Storage classification name.
424
+ # @param storage_classification_mapping_name [String] Storage classification
425
+ # mapping name.
426
+ # @param pairing_input [StorageClassificationMappingInput] Pairing input.
427
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
428
+ # will be added to the HTTP request.
429
+ #
430
+ # @return [StorageClassificationMapping] operation results.
431
+ #
432
+ def begin_create(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:nil)
433
+ response = begin_create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:custom_headers).value!
434
+ response.body unless response.nil?
435
+ end
436
+
437
+ #
438
+ # Create storage classification mapping.
439
+ #
440
+ # The operation to create a storage classification mapping.
441
+ #
442
+ # @param fabric_name [String] Fabric name.
443
+ # @param storage_classification_name [String] Storage classification name.
444
+ # @param storage_classification_mapping_name [String] Storage classification
445
+ # mapping name.
446
+ # @param pairing_input [StorageClassificationMappingInput] Pairing input.
447
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
448
+ # will be added to the HTTP request.
449
+ #
450
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
451
+ #
452
+ def begin_create_with_http_info(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:nil)
453
+ begin_create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:custom_headers).value!
454
+ end
455
+
456
+ #
457
+ # Create storage classification mapping.
458
+ #
459
+ # The operation to create a storage classification mapping.
460
+ #
461
+ # @param fabric_name [String] Fabric name.
462
+ # @param storage_classification_name [String] Storage classification name.
463
+ # @param storage_classification_mapping_name [String] Storage classification
464
+ # mapping name.
465
+ # @param pairing_input [StorageClassificationMappingInput] Pairing input.
466
+ # @param [Hash{String => String}] A hash of custom headers that will be added
467
+ # to the HTTP request.
468
+ #
469
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
470
+ #
471
+ def begin_create_async(fabric_name, storage_classification_name, storage_classification_mapping_name, pairing_input, custom_headers:nil)
472
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
473
+ fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
474
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
475
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
476
+ fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
477
+ fail ArgumentError, 'storage_classification_name is nil' if storage_classification_name.nil?
478
+ fail ArgumentError, 'storage_classification_mapping_name is nil' if storage_classification_mapping_name.nil?
479
+ fail ArgumentError, 'pairing_input is nil' if pairing_input.nil?
480
+
481
+
482
+ request_headers = {}
483
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
484
+
485
+ # Set Headers
486
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
487
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
488
+
489
+ # Serialize Request
490
+ request_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingInput.mapper()
491
+ request_content = @client.serialize(request_mapper, pairing_input)
492
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
493
+
494
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}'
495
+
496
+ request_url = @base_url || @client.base_url
497
+
498
+ options = {
499
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
500
+ path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'storageClassificationName' => storage_classification_name,'storageClassificationMappingName' => storage_classification_mapping_name},
501
+ query_params: {'api-version' => @client.api_version},
502
+ body: request_content,
503
+ headers: request_headers.merge(custom_headers || {}),
504
+ base_url: request_url
505
+ }
506
+ promise = @client.make_request_async(:put, path_template, options)
507
+
508
+ promise = promise.then do |result|
509
+ http_response = result.response
510
+ status_code = http_response.status
511
+ response_content = http_response.body
512
+ unless status_code == 200 || status_code == 202
513
+ error_model = JSON.load(response_content)
514
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
515
+ end
516
+
517
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
518
+ # Deserialize Response
519
+ if status_code == 200
520
+ begin
521
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
522
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping.mapper()
523
+ result.body = @client.deserialize(result_mapper, parsed_response)
524
+ rescue Exception => e
525
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
526
+ end
527
+ end
528
+
529
+ result
530
+ end
531
+
532
+ promise.execute
533
+ end
534
+
535
+ #
536
+ # Delete a storage classification mapping.
537
+ #
538
+ # The operation to delete a storage classification mapping.
539
+ #
540
+ # @param fabric_name [String] Fabric name.
541
+ # @param storage_classification_name [String] Storage classification name.
542
+ # @param storage_classification_mapping_name [String] Storage classification
543
+ # mapping name.
544
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
545
+ # will be added to the HTTP request.
546
+ #
547
+ #
548
+ def begin_delete(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
549
+ response = begin_delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
550
+ nil
551
+ end
552
+
553
+ #
554
+ # Delete a storage classification mapping.
555
+ #
556
+ # The operation to delete a storage classification mapping.
557
+ #
558
+ # @param fabric_name [String] Fabric name.
559
+ # @param storage_classification_name [String] Storage classification name.
560
+ # @param storage_classification_mapping_name [String] Storage classification
561
+ # mapping name.
562
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
563
+ # will be added to the HTTP request.
564
+ #
565
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
566
+ #
567
+ def begin_delete_with_http_info(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
568
+ begin_delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
569
+ end
570
+
571
+ #
572
+ # Delete a storage classification mapping.
573
+ #
574
+ # The operation to delete a storage classification mapping.
575
+ #
576
+ # @param fabric_name [String] Fabric name.
577
+ # @param storage_classification_name [String] Storage classification name.
578
+ # @param storage_classification_mapping_name [String] Storage classification
579
+ # mapping name.
580
+ # @param [Hash{String => String}] A hash of custom headers that will be added
581
+ # to the HTTP request.
582
+ #
583
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
584
+ #
585
+ def begin_delete_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
586
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
587
+ fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
588
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
589
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
590
+ fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
591
+ fail ArgumentError, 'storage_classification_name is nil' if storage_classification_name.nil?
592
+ fail ArgumentError, 'storage_classification_mapping_name is nil' if storage_classification_mapping_name.nil?
593
+
594
+
595
+ request_headers = {}
596
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
597
+
598
+ # Set Headers
599
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
600
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
601
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}'
602
+
603
+ request_url = @base_url || @client.base_url
604
+
605
+ options = {
606
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
607
+ path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'storageClassificationName' => storage_classification_name,'storageClassificationMappingName' => storage_classification_mapping_name},
608
+ query_params: {'api-version' => @client.api_version},
609
+ headers: request_headers.merge(custom_headers || {}),
610
+ base_url: request_url
611
+ }
612
+ promise = @client.make_request_async(:delete, path_template, options)
613
+
614
+ promise = promise.then do |result|
615
+ http_response = result.response
616
+ status_code = http_response.status
617
+ response_content = http_response.body
618
+ unless status_code == 202 || status_code == 204
619
+ error_model = JSON.load(response_content)
620
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
621
+ end
622
+
623
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
624
+
625
+ result
626
+ end
627
+
628
+ promise.execute
629
+ end
630
+
631
+ #
632
+ # Gets the list of storage classification mappings objects under a storage.
633
+ #
634
+ # Lists the storage classification mappings for the fabric.
635
+ #
636
+ # @param next_page_link [String] The NextLink from the previous successful call
637
+ # to List operation.
638
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
639
+ # will be added to the HTTP request.
640
+ #
641
+ # @return [StorageClassificationMappingCollection] operation results.
642
+ #
643
+ def list_by_replication_storage_classifications_next(next_page_link, custom_headers:nil)
644
+ response = list_by_replication_storage_classifications_next_async(next_page_link, custom_headers:custom_headers).value!
645
+ response.body unless response.nil?
646
+ end
647
+
648
+ #
649
+ # Gets the list of storage classification mappings objects under a storage.
650
+ #
651
+ # Lists the storage classification mappings for the fabric.
652
+ #
653
+ # @param next_page_link [String] The NextLink from the previous successful call
654
+ # to List operation.
655
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
656
+ # will be added to the HTTP request.
657
+ #
658
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
659
+ #
660
+ def list_by_replication_storage_classifications_next_with_http_info(next_page_link, custom_headers:nil)
661
+ list_by_replication_storage_classifications_next_async(next_page_link, custom_headers:custom_headers).value!
662
+ end
663
+
664
+ #
665
+ # Gets the list of storage classification mappings objects under a storage.
666
+ #
667
+ # Lists the storage classification mappings for the fabric.
668
+ #
669
+ # @param next_page_link [String] The NextLink from the previous successful call
670
+ # to List operation.
671
+ # @param [Hash{String => String}] A hash of custom headers that will be added
672
+ # to the HTTP request.
673
+ #
674
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
675
+ #
676
+ def list_by_replication_storage_classifications_next_async(next_page_link, custom_headers:nil)
677
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
678
+
679
+
680
+ request_headers = {}
681
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
682
+
683
+ # Set Headers
684
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
685
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
686
+ path_template = '{nextLink}'
687
+
688
+ request_url = @base_url || @client.base_url
689
+
690
+ options = {
691
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
692
+ skip_encoding_path_params: {'nextLink' => next_page_link},
693
+ headers: request_headers.merge(custom_headers || {}),
694
+ base_url: request_url
695
+ }
696
+ promise = @client.make_request_async(:get, path_template, options)
697
+
698
+ promise = promise.then do |result|
699
+ http_response = result.response
700
+ status_code = http_response.status
701
+ response_content = http_response.body
702
+ unless status_code == 200
703
+ error_model = JSON.load(response_content)
704
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
705
+ end
706
+
707
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
708
+ # Deserialize Response
709
+ if status_code == 200
710
+ begin
711
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
712
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection.mapper()
713
+ result.body = @client.deserialize(result_mapper, parsed_response)
714
+ rescue Exception => e
715
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
716
+ end
717
+ end
718
+
719
+ result
720
+ end
721
+
722
+ promise.execute
723
+ end
724
+
725
+ #
726
+ # Gets the list of storage classification mappings objects under a vault.
727
+ #
728
+ # Lists the storage classification mappings in the vault.
729
+ #
730
+ # @param next_page_link [String] The NextLink from the previous successful call
731
+ # to List operation.
732
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
733
+ # will be added to the HTTP request.
734
+ #
735
+ # @return [StorageClassificationMappingCollection] operation results.
736
+ #
737
+ def list_next(next_page_link, custom_headers:nil)
738
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
739
+ response.body unless response.nil?
740
+ end
741
+
742
+ #
743
+ # Gets the list of storage classification mappings objects under a vault.
744
+ #
745
+ # Lists the storage classification mappings in the vault.
746
+ #
747
+ # @param next_page_link [String] The NextLink from the previous successful call
748
+ # to List operation.
749
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
750
+ # will be added to the HTTP request.
751
+ #
752
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
753
+ #
754
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
755
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
756
+ end
757
+
758
+ #
759
+ # Gets the list of storage classification mappings objects under a vault.
760
+ #
761
+ # Lists the storage classification mappings in the vault.
762
+ #
763
+ # @param next_page_link [String] The NextLink from the previous successful call
764
+ # to List operation.
765
+ # @param [Hash{String => String}] A hash of custom headers that will be added
766
+ # to the HTTP request.
767
+ #
768
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
769
+ #
770
+ def list_next_async(next_page_link, custom_headers:nil)
771
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
772
+
773
+
774
+ request_headers = {}
775
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
776
+
777
+ # Set Headers
778
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
779
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
780
+ path_template = '{nextLink}'
781
+
782
+ request_url = @base_url || @client.base_url
783
+
784
+ options = {
785
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
786
+ skip_encoding_path_params: {'nextLink' => next_page_link},
787
+ headers: request_headers.merge(custom_headers || {}),
788
+ base_url: request_url
789
+ }
790
+ promise = @client.make_request_async(:get, path_template, options)
791
+
792
+ promise = promise.then do |result|
793
+ http_response = result.response
794
+ status_code = http_response.status
795
+ response_content = http_response.body
796
+ unless status_code == 200
797
+ error_model = JSON.load(response_content)
798
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
799
+ end
800
+
801
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
802
+ # Deserialize Response
803
+ if status_code == 200
804
+ begin
805
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
806
+ result_mapper = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection.mapper()
807
+ result.body = @client.deserialize(result_mapper, parsed_response)
808
+ rescue Exception => e
809
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
810
+ end
811
+ end
812
+
813
+ result
814
+ end
815
+
816
+ promise.execute
817
+ end
818
+
819
+ #
820
+ # Gets the list of storage classification mappings objects under a storage.
821
+ #
822
+ # Lists the storage classification mappings for the fabric.
823
+ #
824
+ # @param fabric_name [String] Fabric name.
825
+ # @param storage_classification_name [String] Storage classfication name.
826
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
827
+ # will be added to the HTTP request.
828
+ #
829
+ # @return [StorageClassificationMappingCollection] which provide lazy access to
830
+ # pages of the response.
831
+ #
832
+ def list_by_replication_storage_classifications_as_lazy(fabric_name, storage_classification_name, custom_headers:nil)
833
+ response = list_by_replication_storage_classifications_async(fabric_name, storage_classification_name, custom_headers:custom_headers).value!
834
+ unless response.nil?
835
+ page = response.body
836
+ page.next_method = Proc.new do |next_page_link|
837
+ list_by_replication_storage_classifications_next_async(next_page_link, custom_headers:custom_headers)
838
+ end
839
+ page
840
+ end
841
+ end
842
+
843
+ #
844
+ # Gets the list of storage classification mappings objects under a vault.
845
+ #
846
+ # Lists the storage classification mappings in the vault.
847
+ #
848
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
849
+ # will be added to the HTTP request.
850
+ #
851
+ # @return [StorageClassificationMappingCollection] which provide lazy access to
852
+ # pages of the response.
853
+ #
854
+ def list_as_lazy(custom_headers:nil)
855
+ response = list_async(custom_headers:custom_headers).value!
856
+ unless response.nil?
857
+ page = response.body
858
+ page.next_method = Proc.new do |next_page_link|
859
+ list_next_async(next_page_link, custom_headers:custom_headers)
860
+ end
861
+ page
862
+ end
863
+ end
864
+
865
+ end
866
+ end