azure_mgmt_hdinsight 0.17.7 → 0.17.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight.rb +0 -0
  4. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb +0 -0
  5. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +0 -0
  6. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +0 -0
  7. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/extension_operations.rb +0 -0
  8. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +1 -1
  9. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb +0 -0
  10. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application.rb +0 -0
  11. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb +0 -0
  12. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +0 -0
  13. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb +0 -0
  14. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb +0 -0
  15. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_state.rb +0 -0
  16. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb +0 -0
  17. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb +0 -0
  18. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb +0 -0
  19. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb +0 -0
  20. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb +0 -0
  21. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb +0 -0
  22. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb +0 -0
  23. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb +0 -0
  24. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb +0 -0
  25. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb +0 -0
  26. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster.rb +0 -0
  27. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_configurations.rb +0 -0
  28. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb +0 -0
  29. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +0 -0
  30. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb +0 -0
  31. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb +0 -0
  32. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +0 -0
  33. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb +0 -0
  34. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb +0 -0
  35. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb +0 -0
  36. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb +0 -0
  37. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb +0 -0
  38. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb +0 -0
  39. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb +0 -0
  40. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb +0 -0
  41. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb +0 -0
  42. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb +0 -0
  43. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb +0 -0
  44. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb +0 -0
  45. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/days_of_week.rb +0 -0
  46. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/directory_type.rb +0 -0
  47. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb +0 -0
  48. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb +0 -0
  49. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb +0 -0
  50. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb +0 -0
  51. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb +0 -0
  52. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb +0 -0
  53. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb +0 -0
  54. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb +0 -0
  55. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb +0 -0
  56. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hdinsight_cluster_provisioning_state.rb +0 -0
  57. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/json_web_key_encryption_algorithm.rb +0 -0
  58. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb +0 -0
  59. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb +0 -0
  60. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb +0 -0
  61. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb +0 -0
  62. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb +0 -0
  63. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb +0 -0
  64. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb +0 -0
  65. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb +0 -0
  66. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ostype.rb +0 -0
  67. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/proxy_resource.rb +0 -0
  68. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb +0 -0
  69. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb +0 -0
  70. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb +0 -0
  71. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb +0 -0
  72. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb +0 -0
  73. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource_identity_type.rb +0 -0
  74. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +0 -0
  75. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb +0 -0
  76. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb +0 -0
  77. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb +0 -0
  78. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb +0 -0
  79. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb +0 -0
  80. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb +0 -0
  81. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb +0 -0
  82. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb +0 -0
  83. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb +0 -0
  84. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb +0 -0
  85. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +0 -0
  86. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb +0 -0
  87. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tier.rb +0 -0
  88. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb +0 -0
  89. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/update_gateway_settings_parameters.rb +0 -0
  90. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb +0 -0
  91. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb +0 -0
  92. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb +0 -0
  93. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb +0 -0
  94. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb +0 -0
  95. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb +0 -0
  96. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb +0 -0
  97. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb +0 -0
  98. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/module_definition.rb +0 -0
  99. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/operations.rb +0 -0
  100. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +0 -0
  101. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +0 -0
  102. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight.rb +39 -36
  103. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/applications.rb +0 -0
  104. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +0 -0
  105. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +0 -0
  106. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb +0 -0
  107. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +5 -1
  108. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/locations.rb +0 -0
  109. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application.rb +0 -0
  110. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb +0 -0
  111. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +0 -0
  112. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb +0 -0
  113. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb +0 -0
  114. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_state.rb +0 -0
  115. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb +0 -0
  116. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb +0 -0
  117. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb +0 -0
  118. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb +0 -0
  119. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb +0 -0
  120. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb +0 -0
  121. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb +0 -0
  122. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb +0 -0
  123. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb +0 -0
  124. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb +0 -0
  125. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster.rb +0 -0
  126. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_configurations.rb +0 -0
  127. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb +0 -0
  128. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +0 -0
  129. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb +0 -0
  130. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb +0 -0
  131. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +0 -0
  132. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb +0 -0
  133. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb +0 -0
  134. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb +0 -0
  135. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb +0 -0
  136. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb +0 -0
  137. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb +0 -0
  138. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb +0 -0
  139. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb +0 -0
  140. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb +0 -0
  141. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb +0 -0
  142. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb +0 -0
  143. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb +0 -0
  144. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/days_of_week.rb +0 -0
  145. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/directory_type.rb +0 -0
  146. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb +0 -0
  147. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb +0 -0
  148. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb +0 -0
  149. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb +0 -0
  150. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb +0 -0
  151. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb +0 -0
  152. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb +0 -0
  153. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb +0 -0
  154. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb +0 -0
  155. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hdinsight_cluster_provisioning_state.rb +0 -0
  156. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/host_info.rb +46 -0
  157. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/host_info_list_result.rb +55 -0
  158. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/json_web_key_encryption_algorithm.rb +0 -0
  159. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb +0 -0
  160. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb +0 -0
  161. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb +0 -0
  162. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb +0 -0
  163. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb +0 -0
  164. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb +0 -0
  165. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb +0 -0
  166. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb +0 -0
  167. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ostype.rb +0 -0
  168. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/proxy_resource.rb +0 -0
  169. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb +0 -0
  170. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb +0 -0
  171. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb +0 -0
  172. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb +0 -0
  173. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb +0 -0
  174. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource_identity_type.rb +0 -0
  175. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +0 -0
  176. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb +0 -0
  177. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb +0 -0
  178. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb +0 -0
  179. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb +0 -0
  180. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb +0 -0
  181. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb +0 -0
  182. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb +0 -0
  183. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb +0 -0
  184. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb +0 -0
  185. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb +0 -0
  186. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +0 -0
  187. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb +0 -0
  188. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/tier.rb +0 -0
  189. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb +0 -0
  190. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/update_gateway_settings_parameters.rb +0 -0
  191. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb +0 -0
  192. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb +0 -0
  193. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb +0 -0
  194. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb +0 -0
  195. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb +0 -0
  196. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb +0 -0
  197. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb +0 -0
  198. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb +0 -0
  199. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/module_definition.rb +0 -0
  200. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/operations.rb +0 -0
  201. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +0 -0
  202. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +0 -0
  203. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/virtual_machines.rb +268 -0
  204. data/lib/azure_mgmt_hdinsight.rb +7 -7
  205. data/lib/module_definition.rb +8 -8
  206. data/lib/profiles/latest/hdinsight_latest_profile_client.rb +40 -40
  207. data/lib/profiles/latest/hdinsight_module_definition.rb +8 -8
  208. data/lib/profiles/latest/modules/hdinsight_profile_module.rb +437 -427
  209. data/lib/version.rb +1 -1
  210. metadata +9 -5
@@ -0,0 +1,46 @@
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::Hdinsight::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # The cluster host information.
10
+ #
11
+ class HostInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The host name
16
+ attr_accessor :name
17
+
18
+
19
+ #
20
+ # Mapper for HostInfo class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'HostInfo',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'HostInfo',
31
+ model_properties: {
32
+ name: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'name',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,55 @@
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::Hdinsight::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Result of the request to list cluster hosts
10
+ #
11
+ class HostInfoListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<HostInfo>] The list of cluster hosts.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for HostInfoListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'HostInfoListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'HostInfoListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'HostInfoElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'HostInfo'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,268 @@
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::Hdinsight::Mgmt::V2018_06_01_preview
7
+ #
8
+ # HDInsight Management Client
9
+ #
10
+ class VirtualMachines
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the VirtualMachines class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [HDInsightManagementClient] reference to the HDInsightManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Lists the HDInsight clusters hosts
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param cluster_name [String] The name of the cluster.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [HostInfoListResult] operation results.
33
+ #
34
+ def list_hosts(resource_group_name, cluster_name, custom_headers:nil)
35
+ response = list_hosts_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # Lists the HDInsight clusters hosts
41
+ #
42
+ # @param resource_group_name [String] The name of the resource group.
43
+ # @param cluster_name [String] The name of the cluster.
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def list_hosts_with_http_info(resource_group_name, cluster_name, custom_headers:nil)
50
+ list_hosts_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Lists the HDInsight clusters hosts
55
+ #
56
+ # @param resource_group_name [String] The name of the resource group.
57
+ # @param cluster_name [String] The name of the cluster.
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def list_hosts_async(resource_group_name, cluster_name, custom_headers:nil)
64
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
65
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
66
+ fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
67
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
68
+
69
+
70
+ request_headers = {}
71
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
72
+
73
+ # Set Headers
74
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
75
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
76
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts'
77
+
78
+ request_url = @base_url || @client.base_url
79
+
80
+ options = {
81
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
82
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'clusterName' => cluster_name},
83
+ query_params: {'api-version' => @client.api_version},
84
+ headers: request_headers.merge(custom_headers || {}),
85
+ base_url: request_url
86
+ }
87
+ promise = @client.make_request_async(:post, path_template, options)
88
+
89
+ promise = promise.then do |result|
90
+ http_response = result.response
91
+ status_code = http_response.status
92
+ response_content = http_response.body
93
+ unless status_code == 200
94
+ error_model = JSON.load(response_content)
95
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
96
+ end
97
+
98
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
99
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
100
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
101
+ # Deserialize Response
102
+ if status_code == 200
103
+ begin
104
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
105
+ result_mapper = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfoListResult.mapper()
106
+ result.body = @client.deserialize(result_mapper, parsed_response)
107
+ rescue Exception => e
108
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
109
+ end
110
+ end
111
+
112
+ result
113
+ end
114
+
115
+ promise.execute
116
+ end
117
+
118
+ #
119
+ # Restarts the specified HDInsight cluster hosts.
120
+ #
121
+ # @param resource_group_name [String] The name of the resource group.
122
+ # @param cluster_name [String] The name of the cluster.
123
+ # @param hosts [Array<String>] The list of hosts to restart
124
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
125
+ # will be added to the HTTP request.
126
+ #
127
+ def restart_hosts(resource_group_name, cluster_name, hosts, custom_headers:nil)
128
+ response = restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:custom_headers).value!
129
+ nil
130
+ end
131
+
132
+ #
133
+ # @param resource_group_name [String] The name of the resource group.
134
+ # @param cluster_name [String] The name of the cluster.
135
+ # @param hosts [Array<String>] The list of hosts to restart
136
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
137
+ # will be added to the HTTP request.
138
+ #
139
+ # @return [Concurrent::Promise] promise which provides async access to http
140
+ # response.
141
+ #
142
+ def restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:nil)
143
+ # Send request
144
+ promise = begin_restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:custom_headers)
145
+
146
+ promise = promise.then do |response|
147
+ # Defining deserialization method.
148
+ deserialize_method = lambda do |parsed_response|
149
+ end
150
+
151
+ # Waiting for response.
152
+ @client.get_long_running_operation_result(response, deserialize_method)
153
+ end
154
+
155
+ promise
156
+ end
157
+
158
+ #
159
+ # Restarts the specified HDInsight cluster hosts.
160
+ #
161
+ # @param resource_group_name [String] The name of the resource group.
162
+ # @param cluster_name [String] The name of the cluster.
163
+ # @param hosts [Array<String>] The list of hosts to restart
164
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
165
+ # will be added to the HTTP request.
166
+ #
167
+ #
168
+ def begin_restart_hosts(resource_group_name, cluster_name, hosts, custom_headers:nil)
169
+ response = begin_restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:custom_headers).value!
170
+ nil
171
+ end
172
+
173
+ #
174
+ # Restarts the specified HDInsight cluster hosts.
175
+ #
176
+ # @param resource_group_name [String] The name of the resource group.
177
+ # @param cluster_name [String] The name of the cluster.
178
+ # @param hosts [Array<String>] The list of hosts to restart
179
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
180
+ # will be added to the HTTP request.
181
+ #
182
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
183
+ #
184
+ def begin_restart_hosts_with_http_info(resource_group_name, cluster_name, hosts, custom_headers:nil)
185
+ begin_restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:custom_headers).value!
186
+ end
187
+
188
+ #
189
+ # Restarts the specified HDInsight cluster hosts.
190
+ #
191
+ # @param resource_group_name [String] The name of the resource group.
192
+ # @param cluster_name [String] The name of the cluster.
193
+ # @param hosts [Array<String>] The list of hosts to restart
194
+ # @param [Hash{String => String}] A hash of custom headers that will be added
195
+ # to the HTTP request.
196
+ #
197
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
198
+ #
199
+ def begin_restart_hosts_async(resource_group_name, cluster_name, hosts, custom_headers:nil)
200
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
201
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
202
+ fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
203
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
204
+ fail ArgumentError, 'hosts is nil' if hosts.nil?
205
+
206
+
207
+ request_headers = {}
208
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
209
+
210
+ # Set Headers
211
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
212
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
213
+
214
+ # Serialize Request
215
+ request_mapper = {
216
+ client_side_validation: true,
217
+ required: true,
218
+ serialized_name: 'hosts',
219
+ type: {
220
+ name: 'Sequence',
221
+ element: {
222
+ client_side_validation: true,
223
+ required: false,
224
+ serialized_name: 'StringElementType',
225
+ type: {
226
+ name: 'String'
227
+ }
228
+ }
229
+ }
230
+ }
231
+ request_content = @client.serialize(request_mapper, hosts)
232
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
233
+
234
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts'
235
+
236
+ request_url = @base_url || @client.base_url
237
+
238
+ options = {
239
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
240
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'clusterName' => cluster_name},
241
+ query_params: {'api-version' => @client.api_version},
242
+ body: request_content,
243
+ headers: request_headers.merge(custom_headers || {}),
244
+ base_url: request_url
245
+ }
246
+ promise = @client.make_request_async(:post, path_template, options)
247
+
248
+ promise = promise.then do |result|
249
+ http_response = result.response
250
+ status_code = http_response.status
251
+ response_content = http_response.body
252
+ unless status_code == 200 || status_code == 202
253
+ error_model = JSON.load(response_content)
254
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
255
+ end
256
+
257
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
258
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
259
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
260
+
261
+ result
262
+ end
263
+
264
+ promise.execute
265
+ end
266
+
267
+ end
268
+ end