azure_mgmt_compute 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/lib/2015-06-15/generated/azure_mgmt_compute.rb +131 -0
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +495 -0
  5. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
  6. data/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
  7. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  8. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error.rb +1 -1
  9. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error_base.rb +1 -1
  10. data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
  11. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/availability_set_list_result.rb +1 -1
  12. data/lib/{generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb → 2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb} +11 -12
  13. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +1 -1
  14. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/caching_types.rb +1 -1
  15. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/component_names.rb +1 -1
  16. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
  17. data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
  18. data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
  19. data/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
  20. data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  21. data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
  22. data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
  23. data/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +58 -0
  24. data/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
  25. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/inner_error.rb +1 -1
  26. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_status.rb +1 -1
  27. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_types.rb +1 -1
  28. data/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
  29. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/key_vault_secret_reference.rb +1 -1
  30. data/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
  31. data/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb +84 -0
  32. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/network_interface_reference.rb +1 -1
  33. data/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
  34. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operating_system_types.rb +1 -1
  35. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operation_status_response.rb +1 -1
  36. data/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
  37. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/osdisk_image.rb +1 -1
  38. data/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
  39. data/lib/2015-06-15/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  40. data/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb +74 -0
  41. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/protocol_types.rb +1 -1
  42. data/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
  43. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/resource.rb +1 -1
  44. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/setting_names.rb +1 -1
  45. data/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb +64 -0
  46. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/ssh_configuration.rb +1 -1
  47. data/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
  48. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/status_level_types.rb +1 -1
  49. data/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
  50. data/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb +44 -0
  51. data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
  52. data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
  53. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage.rb +1 -1
  54. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage_name.rb +1 -1
  55. data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
  56. data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
  57. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
  58. data/lib/{generated/azure_mgmt_compute/models/container_service.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb} +93 -69
  59. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +1 -1
  60. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +1 -1
  61. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
  62. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
  63. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
  64. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_extension_image.rb +1 -1
  65. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
  66. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
  67. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
  68. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
  69. data/lib/{generated/azure_mgmt_compute/models/container_service_list_result.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb} +13 -13
  70. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +134 -0
  71. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
  72. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
  73. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
  74. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
  75. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +98 -0
  76. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +85 -0
  77. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +86 -0
  78. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
  79. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
  80. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
  81. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
  82. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
  83. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
  84. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
  85. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
  86. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
  87. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +247 -0
  88. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
  89. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
  90. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +1 -1
  91. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
  92. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +85 -0
  93. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
  94. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size.rb +1 -1
  95. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +1 -1
  96. data/lib/{generated/azure_mgmt_compute/models/container_service_vmsize_types.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb} +13 -8
  97. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
  98. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/win_rmconfiguration.rb +1 -1
  99. data/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
  100. data/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
  101. data/lib/2015-06-15/generated/azure_mgmt_compute/module_definition.rb +9 -0
  102. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/usage_operations.rb +5 -5
  103. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/version.rb +2 -2
  104. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
  105. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_extensions.rb +14 -14
  106. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_images.rb +12 -12
  107. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
  108. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
  109. data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_sizes.rb +4 -4
  110. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
  111. data/lib/2016-03-30/generated/azure_mgmt_compute.rb +134 -0
  112. data/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +495 -0
  113. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
  114. data/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
  115. data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
  116. data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
  117. data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
  118. data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
  119. data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
  120. data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
  121. data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
  122. data/lib/2016-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  123. data/lib/2016-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  124. data/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
  125. data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
  126. data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
  127. data/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
  128. data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  129. data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
  130. data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
  131. data/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
  132. data/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
  133. data/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
  134. data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
  135. data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  136. data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
  137. data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
  138. data/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
  139. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/list_usages_result.rb +1 -1
  140. data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
  141. data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
  142. data/lib/2016-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  143. data/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
  144. data/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
  145. data/lib/{generated/azure_mgmt_compute/models/container_service_custom_profile.rb → 2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb} +13 -11
  146. data/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
  147. data/lib/2016-03-30/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  148. data/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb +74 -0
  149. data/lib/2016-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  150. data/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
  151. data/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
  152. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/resource_identity_type.rb +1 -1
  153. data/lib/2016-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  154. data/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb +64 -0
  155. data/lib/{generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb → 2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb} +11 -11
  156. data/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
  157. data/lib/2016-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  158. data/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
  159. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/sub_resource.rb +1 -1
  160. data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
  161. data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
  162. data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
  163. data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
  164. data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
  165. data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
  166. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
  167. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
  168. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
  169. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
  170. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
  171. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
  172. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
  173. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
  174. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
  175. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_identity.rb +1 -1
  176. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
  177. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
  178. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
  179. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_list_result.rb +1 -1
  180. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +147 -0
  181. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
  182. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
  183. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +1 -1
  184. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
  185. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
  186. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
  187. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
  188. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
  189. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +1 -1
  190. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
  191. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
  192. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
  193. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
  194. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
  195. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
  196. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  197. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
  198. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
  199. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
  200. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
  201. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
  202. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
  203. data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +1 -1
  204. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
  205. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
  206. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
  207. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
  208. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
  209. data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
  210. data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
  211. data/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
  212. data/lib/2016-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
  213. data/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
  214. data/lib/{generated/azure_mgmt_compute/module_definition.rb → 2016-03-30/generated/azure_mgmt_compute/version.rb} +3 -3
  215. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
  216. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
  217. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
  218. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
  219. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
  220. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
  221. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
  222. data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +165 -0
  223. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +495 -0
  224. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +175 -0
  225. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +1272 -0
  226. data/lib/{generated/azure_mgmt_compute/container_services.rb → 2016-04-30-preview/generated/azure_mgmt_compute/images.rb} +235 -347
  227. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_level.rb +16 -0
  228. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb +45 -0
  229. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
  230. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
  231. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb +93 -0
  232. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
  233. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +158 -0
  234. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
  235. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
  236. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
  237. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  238. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  239. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
  240. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb +94 -0
  241. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +125 -0
  242. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
  243. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
  244. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb +174 -0
  245. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
  246. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  247. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
  248. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
  249. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb +95 -0
  250. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb +109 -0
  251. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb +72 -0
  252. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb +56 -0
  253. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
  254. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb +113 -0
  255. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb +99 -0
  256. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +57 -0
  257. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb +95 -0
  258. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb +113 -0
  259. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb +83 -0
  260. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb +63 -0
  261. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
  262. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
  263. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  264. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +57 -0
  265. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +56 -0
  266. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
  267. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
  268. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
  269. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
  270. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +53 -0
  271. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
  272. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
  273. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  274. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  275. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
  276. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +138 -0
  277. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
  278. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
  279. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  280. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb +74 -0
  281. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  282. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
  283. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb +94 -0
  284. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
  285. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb +51 -0
  286. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  287. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb +64 -0
  288. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb +174 -0
  289. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb +95 -0
  290. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb +109 -0
  291. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +45 -0
  292. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
  293. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
  294. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  295. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_account_types.rb +16 -0
  296. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
  297. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
  298. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +46 -0
  299. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
  300. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
  301. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb +78 -0
  302. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
  303. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
  304. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
  305. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
  306. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
  307. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
  308. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
  309. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
  310. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
  311. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
  312. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
  313. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
  314. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
  315. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
  316. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
  317. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
  318. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
  319. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +170 -0
  320. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +101 -0
  321. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +125 -0
  322. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
  323. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
  324. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
  325. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
  326. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
  327. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
  328. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
  329. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
  330. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +47 -0
  331. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
  332. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
  333. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +123 -0
  334. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
  335. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
  336. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
  337. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  338. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +74 -0
  339. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
  340. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
  341. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
  342. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
  343. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +153 -0
  344. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
  345. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
  346. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
  347. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
  348. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
  349. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
  350. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
  351. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
  352. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
  353. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/module_definition.rb +9 -0
  354. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +1272 -0
  355. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb +234 -0
  356. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb +8 -0
  357. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
  358. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
  359. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
  360. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1432 -0
  361. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2323 -0
  362. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
  363. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +1976 -0
  364. data/lib/2017-03-30/generated/azure_mgmt_compute.rb +210 -0
  365. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/availability_sets.rb +18 -18
  366. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/compute_management_client.rb +7 -7
  367. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/disks.rb +38 -38
  368. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/images.rb +23 -23
  369. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_level.rb +1 -1
  370. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_uri.rb +1 -1
  371. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/additional_unattend_content.rb +1 -1
  372. data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
  373. data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
  374. data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
  375. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/availability_set.rb +1 -1
  376. data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
  377. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/boot_diagnostics.rb +1 -1
  378. data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
  379. data/lib/2017-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  380. data/lib/2017-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  381. data/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
  382. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/creation_data.rb +1 -1
  383. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk.rb +1 -1
  384. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk_image.rb +1 -1
  385. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/diagnostics_profile.rb +1 -1
  386. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk.rb +1 -1
  387. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option.rb +1 -1
  388. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
  389. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_encryption_settings.rb +1 -1
  390. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_instance_view.rb +1 -1
  391. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_list.rb +1 -1
  392. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_sku.rb +1 -1
  393. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_update.rb +1 -1
  394. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/encryption_settings.rb +1 -1
  395. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/grant_access_data.rb +1 -1
  396. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/hardware_profile.rb +1 -1
  397. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image.rb +1 -1
  398. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_data_disk.rb +1 -1
  399. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  400. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_list_result.rb +1 -1
  401. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_osdisk.rb +1 -1
  402. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_reference.rb +1 -1
  403. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_storage_profile.rb +1 -1
  404. data/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
  405. data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
  406. data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  407. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ipversion.rb +1 -1
  408. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_key_reference.rb +1 -1
  409. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +1 -1
  410. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
  411. data/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
  412. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/linux_configuration.rb +1 -1
  413. data/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
  414. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +1 -1
  415. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_redeploy_status.rb +1 -1
  416. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -1
  417. data/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
  418. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/network_profile.rb +1 -1
  419. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/operating_system_state_types.rb +1 -1
  420. data/lib/2017-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  421. data/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
  422. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osdisk.rb +1 -1
  423. data/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
  424. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osprofile.rb +1 -1
  425. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/pass_names.rb +1 -1
  426. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/plan.rb +1 -1
  427. data/lib/2017-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  428. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/purchase_plan.rb +1 -1
  429. data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
  430. data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
  431. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku.rb +1 -1
  432. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
  433. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity.rb +1 -1
  434. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +1 -1
  435. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_costs.rb +1 -1
  436. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions.rb +1 -1
  437. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +1 -1
  438. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +1 -1
  439. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_skus_result.rb +1 -1
  440. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_update.rb +1 -1
  441. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +1 -1
  442. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_policy.rb +1 -1
  443. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +1 -1
  444. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +1 -1
  445. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +1 -1
  446. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +1 -1
  447. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document.rb +1 -1
  448. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document_base.rb +1 -1
  449. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input.rb +1 -1
  450. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input_parameter.rb +1 -1
  451. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_list_result.rb +1 -1
  452. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_parameter_definition.rb +1 -1
  453. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_result.rb +1 -1
  454. data/lib/2017-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  455. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sku.rb +1 -1
  456. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot.rb +1 -1
  457. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_list.rb +1 -1
  458. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_update.rb +1 -1
  459. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/source_vault.rb +1 -1
  460. data/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
  461. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
  462. data/lib/2017-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  463. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_account_types.rb +1 -1
  464. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_profile.rb +1 -1
  465. data/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
  466. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sub_resource_read_only.rb +1 -1
  467. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/update_resource.rb +1 -1
  468. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
  469. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
  470. data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
  471. data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
  472. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_certificate.rb +1 -1
  473. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
  474. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -1
  475. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  476. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
  477. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
  478. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
  479. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension.rb +1 -1
  480. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +1 -1
  481. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
  482. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
  483. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_health_status.rb +1 -1
  484. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
  485. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
  486. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_image_resource.rb +1 -1
  487. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_instance_view.rb +1 -1
  488. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
  489. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
  490. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
  491. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +1 -1
  492. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +1 -1
  493. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
  494. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
  495. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
  496. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
  497. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
  498. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
  499. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
  500. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
  501. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
  502. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
  503. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +1 -1
  504. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +1 -1
  505. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +1 -1
  506. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +1 -1
  507. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +1 -1
  508. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +1 -1
  509. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
  510. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
  511. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  512. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
  513. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +1 -1
  514. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +1 -1
  515. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +1 -1
  516. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +1 -1
  517. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +1 -1
  518. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +1 -1
  519. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +1 -1
  520. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +1 -1
  521. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +1 -1
  522. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  523. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
  524. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +1 -1
  525. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
  526. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
  527. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
  528. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +1 -1
  529. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
  530. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
  531. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
  532. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
  533. data/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
  534. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/win_rmlistener.rb +1 -1
  535. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/windows_configuration.rb +1 -1
  536. data/lib/2017-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
  537. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/resource_skus.rb +6 -6
  538. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/snapshots.rb +38 -38
  539. data/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
  540. data/lib/2017-03-30/generated/azure_mgmt_compute/version.rb +8 -0
  541. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_extension_images.rb +9 -9
  542. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
  543. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
  544. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_run_commands.rb +9 -9
  545. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +19 -19
  546. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +13 -13
  547. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +40 -40
  548. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_sets.rb +75 -75
  549. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
  550. data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machines.rb +70 -70
  551. data/lib/azure_mgmt_compute.rb +6 -1
  552. data/lib/module_definition.rb +7 -0
  553. data/lib/profiles/common/configurable.rb +73 -0
  554. data/lib/profiles/common/default.rb +68 -0
  555. data/lib/profiles/latest/compute_latest_profile_client.rb +33 -0
  556. data/lib/profiles/latest/compute_module_definition.rb +9 -0
  557. data/lib/profiles/latest/modules/compute_profile_module.rb +740 -0
  558. data/lib/profiles/v2017_03_09/compute_module_definition.rb +9 -0
  559. data/lib/profiles/v2017_03_09/compute_v2017_03_09_profile_client.rb +33 -0
  560. data/lib/profiles/v2017_03_09/modules/compute_profile_module.rb +450 -0
  561. data/lib/version.rb +7 -0
  562. metadata +560 -205
  563. data/lib/generated/azure_mgmt_compute.rb +0 -226
  564. data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +0 -107
  565. data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +0 -47
  566. data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +0 -59
  567. data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +0 -68
  568. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +0 -48
  569. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +0 -18
  570. data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +0 -56
  571. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +0 -46
  572. data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +0 -60
@@ -0,0 +1,115 @@
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::Compute::Mgmt::V2017_03_30
7
+ #
8
+ # VirtualMachineSizes
9
+ #
10
+ class VirtualMachineSizes
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the VirtualMachineSizes class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ComputeManagementClient] reference to the ComputeManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Lists all available virtual machine sizes for a subscription in a location.
26
+ #
27
+ # @param location [String] The location upon which virtual-machine-sizes is
28
+ # queried.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [VirtualMachineSizeListResult] operation results.
33
+ #
34
+ def list(location, custom_headers = nil)
35
+ response = list_async(location, custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # Lists all available virtual machine sizes for a subscription in a location.
41
+ #
42
+ # @param location [String] The location upon which virtual-machine-sizes is
43
+ # queried.
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_with_http_info(location, custom_headers = nil)
50
+ list_async(location, custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Lists all available virtual machine sizes for a subscription in a location.
55
+ #
56
+ # @param location [String] The location upon which virtual-machine-sizes is
57
+ # queried.
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_async(location, custom_headers = nil)
64
+ fail ArgumentError, 'location is nil' if location.nil?
65
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
66
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
67
+
68
+
69
+ request_headers = {}
70
+
71
+ # Set Headers
72
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
73
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
74
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes'
75
+
76
+ request_url = @base_url || @client.base_url
77
+
78
+ options = {
79
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
80
+ path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
81
+ query_params: {'api-version' => @client.api_version},
82
+ headers: request_headers.merge(custom_headers || {}),
83
+ base_url: request_url
84
+ }
85
+ promise = @client.make_request_async(:get, path_template, options)
86
+
87
+ promise = promise.then do |result|
88
+ http_response = result.response
89
+ status_code = http_response.status
90
+ response_content = http_response.body
91
+ unless status_code == 200
92
+ error_model = JSON.load(response_content)
93
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
94
+ end
95
+
96
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
97
+ # Deserialize Response
98
+ if status_code == 200
99
+ begin
100
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
101
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult.mapper()
102
+ result.body = @client.deserialize(result_mapper, parsed_response)
103
+ rescue Exception => e
104
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
105
+ end
106
+ end
107
+
108
+ result
109
+ end
110
+
111
+ promise.execute
112
+ end
113
+
114
+ end
115
+ end
@@ -3,9 +3,9 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Compute
6
+ module Azure::Compute::Mgmt::V2017_03_30
7
7
  #
8
- # Compute Client
8
+ # VirtualMachines
9
9
  #
10
10
  class VirtualMachines
11
11
  include MsRestAzure
@@ -57,7 +57,7 @@ module Azure::ARM::Compute
57
57
  promise = promise.then do |response|
58
58
  # Defining deserialization method.
59
59
  deserialize_method = lambda do |parsed_response|
60
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineCaptureResult.mapper()
60
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureResult.mapper()
61
61
  parsed_response = @client.deserialize(result_mapper, parsed_response)
62
62
  end
63
63
 
@@ -103,7 +103,7 @@ module Azure::ARM::Compute
103
103
  promise = promise.then do |response|
104
104
  # Defining deserialization method.
105
105
  deserialize_method = lambda do |parsed_response|
106
- result_mapper = Azure::ARM::Compute::Models::VirtualMachine.mapper()
106
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
107
107
  parsed_response = @client.deserialize(result_mapper, parsed_response)
108
108
  end
109
109
 
@@ -145,7 +145,7 @@ module Azure::ARM::Compute
145
145
  promise = promise.then do |response|
146
146
  # Defining deserialization method.
147
147
  deserialize_method = lambda do |parsed_response|
148
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
148
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
149
149
  parsed_response = @client.deserialize(result_mapper, parsed_response)
150
150
  end
151
151
 
@@ -207,7 +207,7 @@ module Azure::ARM::Compute
207
207
  def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil)
208
208
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
209
209
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
210
- api_version = '2017-03-30'
210
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
211
211
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
212
212
 
213
213
 
@@ -223,7 +223,7 @@ module Azure::ARM::Compute
223
223
  options = {
224
224
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
225
225
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
226
- query_params: {'$expand' => expand,'api-version' => api_version},
226
+ query_params: {'$expand' => expand,'api-version' => @client.api_version},
227
227
  headers: request_headers.merge(custom_headers || {}),
228
228
  base_url: request_url
229
229
  }
@@ -243,7 +243,7 @@ module Azure::ARM::Compute
243
243
  if status_code == 200
244
244
  begin
245
245
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
246
- result_mapper = Azure::ARM::Compute::Models::VirtualMachine.mapper()
246
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
247
247
  result.body = @client.deserialize(result_mapper, parsed_response)
248
248
  rescue Exception => e
249
249
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -298,7 +298,7 @@ module Azure::ARM::Compute
298
298
  def instance_view_async(resource_group_name, vm_name, custom_headers = nil)
299
299
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
300
300
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
301
- api_version = '2017-03-30'
301
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
302
302
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
303
303
 
304
304
 
@@ -314,7 +314,7 @@ module Azure::ARM::Compute
314
314
  options = {
315
315
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
316
316
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
317
- query_params: {'api-version' => api_version},
317
+ query_params: {'api-version' => @client.api_version},
318
318
  headers: request_headers.merge(custom_headers || {}),
319
319
  base_url: request_url
320
320
  }
@@ -334,7 +334,7 @@ module Azure::ARM::Compute
334
334
  if status_code == 200
335
335
  begin
336
336
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
337
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineInstanceView.mapper()
337
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineInstanceView.mapper()
338
338
  result.body = @client.deserialize(result_mapper, parsed_response)
339
339
  rescue Exception => e
340
340
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -379,7 +379,7 @@ module Azure::ARM::Compute
379
379
  promise = promise.then do |response|
380
380
  # Defining deserialization method.
381
381
  deserialize_method = lambda do |parsed_response|
382
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
382
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
383
383
  parsed_response = @client.deserialize(result_mapper, parsed_response)
384
384
  end
385
385
 
@@ -422,7 +422,7 @@ module Azure::ARM::Compute
422
422
  promise = promise.then do |response|
423
423
  # Defining deserialization method.
424
424
  deserialize_method = lambda do |parsed_response|
425
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
425
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
426
426
  parsed_response = @client.deserialize(result_mapper, parsed_response)
427
427
  end
428
428
 
@@ -475,7 +475,7 @@ module Azure::ARM::Compute
475
475
  def generalize_async(resource_group_name, vm_name, custom_headers = nil)
476
476
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
477
477
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
478
- api_version = '2017-03-30'
478
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
479
479
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
480
480
 
481
481
 
@@ -491,7 +491,7 @@ module Azure::ARM::Compute
491
491
  options = {
492
492
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
493
493
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
494
- query_params: {'api-version' => api_version},
494
+ query_params: {'api-version' => @client.api_version},
495
495
  headers: request_headers.merge(custom_headers || {}),
496
496
  base_url: request_url
497
497
  }
@@ -511,7 +511,7 @@ module Azure::ARM::Compute
511
511
  if status_code == 200
512
512
  begin
513
513
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
514
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
514
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
515
515
  result.body = @client.deserialize(result_mapper, parsed_response)
516
516
  rescue Exception => e
517
517
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -565,7 +565,7 @@ module Azure::ARM::Compute
565
565
  #
566
566
  def list_async(resource_group_name, custom_headers = nil)
567
567
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
568
- api_version = '2017-03-30'
568
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
569
569
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
570
570
 
571
571
 
@@ -581,7 +581,7 @@ module Azure::ARM::Compute
581
581
  options = {
582
582
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
583
583
  path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
584
- query_params: {'api-version' => api_version},
584
+ query_params: {'api-version' => @client.api_version},
585
585
  headers: request_headers.merge(custom_headers || {}),
586
586
  base_url: request_url
587
587
  }
@@ -601,7 +601,7 @@ module Azure::ARM::Compute
601
601
  if status_code == 200
602
602
  begin
603
603
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
604
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineListResult.mapper()
604
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
605
605
  result.body = @client.deserialize(result_mapper, parsed_response)
606
606
  rescue Exception => e
607
607
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -651,7 +651,7 @@ module Azure::ARM::Compute
651
651
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
652
652
  #
653
653
  def list_all_async(custom_headers = nil)
654
- api_version = '2017-03-30'
654
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
655
655
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
656
656
 
657
657
 
@@ -667,7 +667,7 @@ module Azure::ARM::Compute
667
667
  options = {
668
668
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
669
669
  path_params: {'subscriptionId' => @client.subscription_id},
670
- query_params: {'api-version' => api_version},
670
+ query_params: {'api-version' => @client.api_version},
671
671
  headers: request_headers.merge(custom_headers || {}),
672
672
  base_url: request_url
673
673
  }
@@ -687,7 +687,7 @@ module Azure::ARM::Compute
687
687
  if status_code == 200
688
688
  begin
689
689
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
690
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineListResult.mapper()
690
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
691
691
  result.body = @client.deserialize(result_mapper, parsed_response)
692
692
  rescue Exception => e
693
693
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -745,7 +745,7 @@ module Azure::ARM::Compute
745
745
  def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil)
746
746
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
747
747
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
748
- api_version = '2017-03-30'
748
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
749
749
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
750
750
 
751
751
 
@@ -761,7 +761,7 @@ module Azure::ARM::Compute
761
761
  options = {
762
762
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
763
763
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
764
- query_params: {'api-version' => api_version},
764
+ query_params: {'api-version' => @client.api_version},
765
765
  headers: request_headers.merge(custom_headers || {}),
766
766
  base_url: request_url
767
767
  }
@@ -781,7 +781,7 @@ module Azure::ARM::Compute
781
781
  if status_code == 200
782
782
  begin
783
783
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
784
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineSizeListResult.mapper()
784
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult.mapper()
785
785
  result.body = @client.deserialize(result_mapper, parsed_response)
786
786
  rescue Exception => e
787
787
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -827,7 +827,7 @@ module Azure::ARM::Compute
827
827
  promise = promise.then do |response|
828
828
  # Defining deserialization method.
829
829
  deserialize_method = lambda do |parsed_response|
830
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
830
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
831
831
  parsed_response = @client.deserialize(result_mapper, parsed_response)
832
832
  end
833
833
 
@@ -869,7 +869,7 @@ module Azure::ARM::Compute
869
869
  promise = promise.then do |response|
870
870
  # Defining deserialization method.
871
871
  deserialize_method = lambda do |parsed_response|
872
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
872
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
873
873
  parsed_response = @client.deserialize(result_mapper, parsed_response)
874
874
  end
875
875
 
@@ -911,7 +911,7 @@ module Azure::ARM::Compute
911
911
  promise = promise.then do |response|
912
912
  # Defining deserialization method.
913
913
  deserialize_method = lambda do |parsed_response|
914
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
914
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
915
915
  parsed_response = @client.deserialize(result_mapper, parsed_response)
916
916
  end
917
917
 
@@ -953,7 +953,7 @@ module Azure::ARM::Compute
953
953
  promise = promise.then do |response|
954
954
  # Defining deserialization method.
955
955
  deserialize_method = lambda do |parsed_response|
956
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
956
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
957
957
  parsed_response = @client.deserialize(result_mapper, parsed_response)
958
958
  end
959
959
 
@@ -995,7 +995,7 @@ module Azure::ARM::Compute
995
995
  promise = promise.then do |response|
996
996
  # Defining deserialization method.
997
997
  deserialize_method = lambda do |parsed_response|
998
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
998
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
999
999
  parsed_response = @client.deserialize(result_mapper, parsed_response)
1000
1000
  end
1001
1001
 
@@ -1041,7 +1041,7 @@ module Azure::ARM::Compute
1041
1041
  promise = promise.then do |response|
1042
1042
  # Defining deserialization method.
1043
1043
  deserialize_method = lambda do |parsed_response|
1044
- result_mapper = Azure::ARM::Compute::Models::RunCommandResult.mapper()
1044
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandResult.mapper()
1045
1045
  parsed_response = @client.deserialize(result_mapper, parsed_response)
1046
1046
  end
1047
1047
 
@@ -1104,7 +1104,7 @@ module Azure::ARM::Compute
1104
1104
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1105
1105
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1106
1106
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1107
- api_version = '2017-03-30'
1107
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1108
1108
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1109
1109
 
1110
1110
 
@@ -1117,7 +1117,7 @@ module Azure::ARM::Compute
1117
1117
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1118
1118
 
1119
1119
  # Serialize Request
1120
- request_mapper = Azure::ARM::Compute::Models::VirtualMachineCaptureParameters.mapper()
1120
+ request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters.mapper()
1121
1121
  request_content = @client.serialize(request_mapper, parameters)
1122
1122
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1123
1123
 
@@ -1128,7 +1128,7 @@ module Azure::ARM::Compute
1128
1128
  options = {
1129
1129
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1130
1130
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1131
- query_params: {'api-version' => api_version},
1131
+ query_params: {'api-version' => @client.api_version},
1132
1132
  body: request_content,
1133
1133
  headers: request_headers.merge(custom_headers || {}),
1134
1134
  base_url: request_url
@@ -1149,7 +1149,7 @@ module Azure::ARM::Compute
1149
1149
  if status_code == 200
1150
1150
  begin
1151
1151
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1152
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineCaptureResult.mapper()
1152
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureResult.mapper()
1153
1153
  result.body = @client.deserialize(result_mapper, parsed_response)
1154
1154
  rescue Exception => e
1155
1155
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1211,7 +1211,7 @@ module Azure::ARM::Compute
1211
1211
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1212
1212
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1213
1213
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1214
- api_version = '2017-03-30'
1214
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1215
1215
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1216
1216
 
1217
1217
 
@@ -1224,7 +1224,7 @@ module Azure::ARM::Compute
1224
1224
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1225
1225
 
1226
1226
  # Serialize Request
1227
- request_mapper = Azure::ARM::Compute::Models::VirtualMachine.mapper()
1227
+ request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
1228
1228
  request_content = @client.serialize(request_mapper, parameters)
1229
1229
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1230
1230
 
@@ -1235,7 +1235,7 @@ module Azure::ARM::Compute
1235
1235
  options = {
1236
1236
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1237
1237
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1238
- query_params: {'api-version' => api_version},
1238
+ query_params: {'api-version' => @client.api_version},
1239
1239
  body: request_content,
1240
1240
  headers: request_headers.merge(custom_headers || {}),
1241
1241
  base_url: request_url
@@ -1256,7 +1256,7 @@ module Azure::ARM::Compute
1256
1256
  if status_code == 200
1257
1257
  begin
1258
1258
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1259
- result_mapper = Azure::ARM::Compute::Models::VirtualMachine.mapper()
1259
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
1260
1260
  result.body = @client.deserialize(result_mapper, parsed_response)
1261
1261
  rescue Exception => e
1262
1262
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1266,7 +1266,7 @@ module Azure::ARM::Compute
1266
1266
  if status_code == 201
1267
1267
  begin
1268
1268
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1269
- result_mapper = Azure::ARM::Compute::Models::VirtualMachine.mapper()
1269
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
1270
1270
  result.body = @client.deserialize(result_mapper, parsed_response)
1271
1271
  rescue Exception => e
1272
1272
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1321,7 +1321,7 @@ module Azure::ARM::Compute
1321
1321
  def begin_delete_async(resource_group_name, vm_name, custom_headers = nil)
1322
1322
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1323
1323
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1324
- api_version = '2017-03-30'
1324
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1325
1325
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1326
1326
 
1327
1327
 
@@ -1337,7 +1337,7 @@ module Azure::ARM::Compute
1337
1337
  options = {
1338
1338
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1339
1339
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1340
- query_params: {'api-version' => api_version},
1340
+ query_params: {'api-version' => @client.api_version},
1341
1341
  headers: request_headers.merge(custom_headers || {}),
1342
1342
  base_url: request_url
1343
1343
  }
@@ -1357,7 +1357,7 @@ module Azure::ARM::Compute
1357
1357
  if status_code == 200
1358
1358
  begin
1359
1359
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1360
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1360
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1361
1361
  result.body = @client.deserialize(result_mapper, parsed_response)
1362
1362
  rescue Exception => e
1363
1363
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1415,7 +1415,7 @@ module Azure::ARM::Compute
1415
1415
  def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil)
1416
1416
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1417
1417
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1418
- api_version = '2017-03-30'
1418
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1419
1419
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1420
1420
 
1421
1421
 
@@ -1431,7 +1431,7 @@ module Azure::ARM::Compute
1431
1431
  options = {
1432
1432
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1433
1433
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1434
- query_params: {'api-version' => api_version},
1434
+ query_params: {'api-version' => @client.api_version},
1435
1435
  headers: request_headers.merge(custom_headers || {}),
1436
1436
  base_url: request_url
1437
1437
  }
@@ -1451,7 +1451,7 @@ module Azure::ARM::Compute
1451
1451
  if status_code == 200
1452
1452
  begin
1453
1453
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1454
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1454
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1455
1455
  result.body = @client.deserialize(result_mapper, parsed_response)
1456
1456
  rescue Exception => e
1457
1457
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1509,7 +1509,7 @@ module Azure::ARM::Compute
1509
1509
  def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil)
1510
1510
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1511
1511
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1512
- api_version = '2017-03-30'
1512
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1513
1513
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1514
1514
 
1515
1515
 
@@ -1525,7 +1525,7 @@ module Azure::ARM::Compute
1525
1525
  options = {
1526
1526
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1527
1527
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1528
- query_params: {'api-version' => api_version},
1528
+ query_params: {'api-version' => @client.api_version},
1529
1529
  headers: request_headers.merge(custom_headers || {}),
1530
1530
  base_url: request_url
1531
1531
  }
@@ -1545,7 +1545,7 @@ module Azure::ARM::Compute
1545
1545
  if status_code == 200
1546
1546
  begin
1547
1547
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1548
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1548
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1549
1549
  result.body = @client.deserialize(result_mapper, parsed_response)
1550
1550
  rescue Exception => e
1551
1551
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1606,7 +1606,7 @@ module Azure::ARM::Compute
1606
1606
  def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil)
1607
1607
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1608
1608
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1609
- api_version = '2017-03-30'
1609
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1610
1610
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1611
1611
 
1612
1612
 
@@ -1622,7 +1622,7 @@ module Azure::ARM::Compute
1622
1622
  options = {
1623
1623
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1624
1624
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1625
- query_params: {'api-version' => api_version},
1625
+ query_params: {'api-version' => @client.api_version},
1626
1626
  headers: request_headers.merge(custom_headers || {}),
1627
1627
  base_url: request_url
1628
1628
  }
@@ -1642,7 +1642,7 @@ module Azure::ARM::Compute
1642
1642
  if status_code == 200
1643
1643
  begin
1644
1644
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1645
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1645
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1646
1646
  result.body = @client.deserialize(result_mapper, parsed_response)
1647
1647
  rescue Exception => e
1648
1648
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1697,7 +1697,7 @@ module Azure::ARM::Compute
1697
1697
  def begin_restart_async(resource_group_name, vm_name, custom_headers = nil)
1698
1698
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1699
1699
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1700
- api_version = '2017-03-30'
1700
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1701
1701
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1702
1702
 
1703
1703
 
@@ -1713,7 +1713,7 @@ module Azure::ARM::Compute
1713
1713
  options = {
1714
1714
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1715
1715
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1716
- query_params: {'api-version' => api_version},
1716
+ query_params: {'api-version' => @client.api_version},
1717
1717
  headers: request_headers.merge(custom_headers || {}),
1718
1718
  base_url: request_url
1719
1719
  }
@@ -1733,7 +1733,7 @@ module Azure::ARM::Compute
1733
1733
  if status_code == 200
1734
1734
  begin
1735
1735
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1736
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1736
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1737
1737
  result.body = @client.deserialize(result_mapper, parsed_response)
1738
1738
  rescue Exception => e
1739
1739
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1788,7 +1788,7 @@ module Azure::ARM::Compute
1788
1788
  def begin_start_async(resource_group_name, vm_name, custom_headers = nil)
1789
1789
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1790
1790
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1791
- api_version = '2017-03-30'
1791
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1792
1792
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1793
1793
 
1794
1794
 
@@ -1804,7 +1804,7 @@ module Azure::ARM::Compute
1804
1804
  options = {
1805
1805
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1806
1806
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1807
- query_params: {'api-version' => api_version},
1807
+ query_params: {'api-version' => @client.api_version},
1808
1808
  headers: request_headers.merge(custom_headers || {}),
1809
1809
  base_url: request_url
1810
1810
  }
@@ -1824,7 +1824,7 @@ module Azure::ARM::Compute
1824
1824
  if status_code == 200
1825
1825
  begin
1826
1826
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1827
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1827
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1828
1828
  result.body = @client.deserialize(result_mapper, parsed_response)
1829
1829
  rescue Exception => e
1830
1830
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1879,7 +1879,7 @@ module Azure::ARM::Compute
1879
1879
  def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil)
1880
1880
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1881
1881
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1882
- api_version = '2017-03-30'
1882
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1883
1883
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1884
1884
 
1885
1885
 
@@ -1895,7 +1895,7 @@ module Azure::ARM::Compute
1895
1895
  options = {
1896
1896
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1897
1897
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1898
- query_params: {'api-version' => api_version},
1898
+ query_params: {'api-version' => @client.api_version},
1899
1899
  headers: request_headers.merge(custom_headers || {}),
1900
1900
  base_url: request_url
1901
1901
  }
@@ -1915,7 +1915,7 @@ module Azure::ARM::Compute
1915
1915
  if status_code == 200
1916
1916
  begin
1917
1917
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1918
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
1918
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
1919
1919
  result.body = @client.deserialize(result_mapper, parsed_response)
1920
1920
  rescue Exception => e
1921
1921
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1970,7 +1970,7 @@ module Azure::ARM::Compute
1970
1970
  def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil)
1971
1971
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1972
1972
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
1973
- api_version = '2017-03-30'
1973
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1974
1974
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1975
1975
 
1976
1976
 
@@ -1986,7 +1986,7 @@ module Azure::ARM::Compute
1986
1986
  options = {
1987
1987
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1988
1988
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
1989
- query_params: {'api-version' => api_version},
1989
+ query_params: {'api-version' => @client.api_version},
1990
1990
  headers: request_headers.merge(custom_headers || {}),
1991
1991
  base_url: request_url
1992
1992
  }
@@ -2006,7 +2006,7 @@ module Azure::ARM::Compute
2006
2006
  if status_code == 200
2007
2007
  begin
2008
2008
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2009
- result_mapper = Azure::ARM::Compute::Models::OperationStatusResponse.mapper()
2009
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
2010
2010
  result.body = @client.deserialize(result_mapper, parsed_response)
2011
2011
  rescue Exception => e
2012
2012
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2068,7 +2068,7 @@ module Azure::ARM::Compute
2068
2068
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2069
2069
  fail ArgumentError, 'vm_name is nil' if vm_name.nil?
2070
2070
  fail ArgumentError, 'parameters is nil' if parameters.nil?
2071
- api_version = '2017-03-30'
2071
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2072
2072
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2073
2073
 
2074
2074
 
@@ -2081,7 +2081,7 @@ module Azure::ARM::Compute
2081
2081
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2082
2082
 
2083
2083
  # Serialize Request
2084
- request_mapper = Azure::ARM::Compute::Models::RunCommandInput.mapper()
2084
+ request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput.mapper()
2085
2085
  request_content = @client.serialize(request_mapper, parameters)
2086
2086
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2087
2087
 
@@ -2092,7 +2092,7 @@ module Azure::ARM::Compute
2092
2092
  options = {
2093
2093
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2094
2094
  path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
2095
- query_params: {'api-version' => api_version},
2095
+ query_params: {'api-version' => @client.api_version},
2096
2096
  body: request_content,
2097
2097
  headers: request_headers.merge(custom_headers || {}),
2098
2098
  base_url: request_url
@@ -2113,7 +2113,7 @@ module Azure::ARM::Compute
2113
2113
  if status_code == 200
2114
2114
  begin
2115
2115
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2116
- result_mapper = Azure::ARM::Compute::Models::RunCommandResult.mapper()
2116
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandResult.mapper()
2117
2117
  result.body = @client.deserialize(result_mapper, parsed_response)
2118
2118
  rescue Exception => e
2119
2119
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2203,7 +2203,7 @@ module Azure::ARM::Compute
2203
2203
  if status_code == 200
2204
2204
  begin
2205
2205
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2206
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineListResult.mapper()
2206
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
2207
2207
  result.body = @client.deserialize(result_mapper, parsed_response)
2208
2208
  rescue Exception => e
2209
2209
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2293,7 +2293,7 @@ module Azure::ARM::Compute
2293
2293
  if status_code == 200
2294
2294
  begin
2295
2295
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2296
- result_mapper = Azure::ARM::Compute::Models::VirtualMachineListResult.mapper()
2296
+ result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
2297
2297
  result.body = @client.deserialize(result_mapper, parsed_response)
2298
2298
  rescue Exception => e
2299
2299
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)