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
@@ -3,15 +3,15 @@
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::V2016_04_30_preview
7
7
  #
8
8
  # Compute Client
9
9
  #
10
- class ContainerServices
10
+ class Images
11
11
  include MsRestAzure
12
12
 
13
13
  #
14
- # Creates and initializes a new instance of the ContainerServices class.
14
+ # Creates and initializes a new instance of the Images class.
15
15
  # @param client service class for accessing basic functionality.
16
16
  #
17
17
  def initialize(client)
@@ -22,141 +22,81 @@ module Azure::ARM::Compute
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Gets a list of container services in the specified subscription.
26
- #
27
- # Gets a list of container services in the specified subscription. The
28
- # operation returns properties of each container service including state,
29
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
25
+ # Create or update an image.
30
26
  #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param image_name [String] The name of the image.
29
+ # @param parameters [Image] Parameters supplied to the Create Image operation.
31
30
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
31
  # will be added to the HTTP request.
33
32
  #
34
- # @return [Array<ContainerService>] operation results.
33
+ # @return [Image] operation results.
35
34
  #
36
- def list(custom_headers = nil)
37
- first_page = list_as_lazy(custom_headers)
38
- first_page.get_all_items
35
+ def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil)
36
+ response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
37
+ response.body unless response.nil?
39
38
  end
40
39
 
41
40
  #
42
- # Gets a list of container services in the specified subscription.
43
- #
44
- # Gets a list of container services in the specified subscription. The
45
- # operation returns properties of each container service including state,
46
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
47
- #
41
+ # @param resource_group_name [String] The name of the resource group.
42
+ # @param image_name [String] The name of the image.
43
+ # @param parameters [Image] Parameters supplied to the Create Image operation.
48
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
45
  # will be added to the HTTP request.
50
46
  #
51
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
- #
53
- def list_with_http_info(custom_headers = nil)
54
- list_async(custom_headers).value!
55
- end
56
-
57
- #
58
- # Gets a list of container services in the specified subscription.
59
- #
60
- # Gets a list of container services in the specified subscription. The
61
- # operation returns properties of each container service including state,
62
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
63
- #
64
- # @param [Hash{String => String}] A hash of custom headers that will be added
65
- # to the HTTP request.
66
- #
67
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
47
+ # @return [Concurrent::Promise] promise which provides async access to http
48
+ # response.
68
49
  #
69
- def list_async(custom_headers = nil)
70
- api_version = '2017-01-31'
71
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
72
-
73
-
74
- request_headers = {}
75
-
76
- # Set Headers
77
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
78
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
79
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices'
80
-
81
- request_url = @base_url || @client.base_url
82
-
83
- options = {
84
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
85
- path_params: {'subscriptionId' => @client.subscription_id},
86
- query_params: {'api-version' => api_version},
87
- headers: request_headers.merge(custom_headers || {}),
88
- base_url: request_url
89
- }
90
- promise = @client.make_request_async(:get, path_template, options)
91
-
92
- promise = promise.then do |result|
93
- http_response = result.response
94
- status_code = http_response.status
95
- response_content = http_response.body
96
- unless status_code == 200
97
- error_model = JSON.load(response_content)
98
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
99
- end
50
+ def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil)
51
+ # Send request
52
+ promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers)
100
53
 
101
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
102
- # Deserialize Response
103
- if status_code == 200
104
- begin
105
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
- result_mapper = Azure::ARM::Compute::Models::ContainerServiceListResult.mapper()
107
- result.body = @client.deserialize(result_mapper, parsed_response)
108
- rescue Exception => e
109
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
110
- end
54
+ promise = promise.then do |response|
55
+ # Defining deserialization method.
56
+ deserialize_method = lambda do |parsed_response|
57
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
58
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
111
59
  end
112
60
 
113
- result
61
+ # Waiting for response.
62
+ @client.get_long_running_operation_result(response, deserialize_method)
114
63
  end
115
64
 
116
- promise.execute
65
+ promise
117
66
  end
118
67
 
119
68
  #
120
- # Creates or updates a container service.
121
- #
122
- # Creates or updates a container service with the specified configuration of
123
- # orchestrator, masters, and agents.
69
+ # Deletes an Image.
124
70
  #
125
71
  # @param resource_group_name [String] The name of the resource group.
126
- # @param container_service_name [String] The name of the container service in
127
- # the specified subscription and resource group.
128
- # @param parameters [ContainerService] Parameters supplied to the Create or
129
- # Update a Container Service operation.
72
+ # @param image_name [String] The name of the image.
130
73
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
131
74
  # will be added to the HTTP request.
132
75
  #
133
- # @return [ContainerService] operation results.
76
+ # @return [OperationStatusResponse] operation results.
134
77
  #
135
- def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil)
136
- response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
78
+ def delete(resource_group_name, image_name, custom_headers = nil)
79
+ response = delete_async(resource_group_name, image_name, custom_headers).value!
137
80
  response.body unless response.nil?
138
81
  end
139
82
 
140
83
  #
141
84
  # @param resource_group_name [String] The name of the resource group.
142
- # @param container_service_name [String] The name of the container service in
143
- # the specified subscription and resource group.
144
- # @param parameters [ContainerService] Parameters supplied to the Create or
145
- # Update a Container Service operation.
85
+ # @param image_name [String] The name of the image.
146
86
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
147
87
  # will be added to the HTTP request.
148
88
  #
149
89
  # @return [Concurrent::Promise] promise which provides async access to http
150
90
  # response.
151
91
  #
152
- def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil)
92
+ def delete_async(resource_group_name, image_name, custom_headers = nil)
153
93
  # Send request
154
- promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers)
94
+ promise = begin_delete_async(resource_group_name, image_name, custom_headers)
155
95
 
156
96
  promise = promise.then do |response|
157
97
  # Defining deserialization method.
158
98
  deserialize_method = lambda do |parsed_response|
159
- result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
99
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::OperationStatusResponse.mapper()
160
100
  parsed_response = @client.deserialize(result_mapper, parsed_response)
161
101
  end
162
102
 
@@ -168,66 +108,51 @@ module Azure::ARM::Compute
168
108
  end
169
109
 
170
110
  #
171
- # Gets the properties of the specified container service.
172
- #
173
- # Gets the properties of the specified container service in the specified
174
- # subscription and resource group. The operation returns the properties
175
- # including state, orchestrator, number of masters and agents, and FQDNs of
176
- # masters and agents.
111
+ # Gets an image.
177
112
  #
178
113
  # @param resource_group_name [String] The name of the resource group.
179
- # @param container_service_name [String] The name of the container service in
180
- # the specified subscription and resource group.
114
+ # @param image_name [String] The name of the image.
115
+ # @param expand [String] The expand expression to apply on the operation.
181
116
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
182
117
  # will be added to the HTTP request.
183
118
  #
184
- # @return [ContainerService] operation results.
119
+ # @return [Image] operation results.
185
120
  #
186
- def get(resource_group_name, container_service_name, custom_headers = nil)
187
- response = get_async(resource_group_name, container_service_name, custom_headers).value!
121
+ def get(resource_group_name, image_name, expand = nil, custom_headers = nil)
122
+ response = get_async(resource_group_name, image_name, expand, custom_headers).value!
188
123
  response.body unless response.nil?
189
124
  end
190
125
 
191
126
  #
192
- # Gets the properties of the specified container service.
193
- #
194
- # Gets the properties of the specified container service in the specified
195
- # subscription and resource group. The operation returns the properties
196
- # including state, orchestrator, number of masters and agents, and FQDNs of
197
- # masters and agents.
127
+ # Gets an image.
198
128
  #
199
129
  # @param resource_group_name [String] The name of the resource group.
200
- # @param container_service_name [String] The name of the container service in
201
- # the specified subscription and resource group.
130
+ # @param image_name [String] The name of the image.
131
+ # @param expand [String] The expand expression to apply on the operation.
202
132
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
203
133
  # will be added to the HTTP request.
204
134
  #
205
135
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
206
136
  #
207
- def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil)
208
- get_async(resource_group_name, container_service_name, custom_headers).value!
137
+ def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil)
138
+ get_async(resource_group_name, image_name, expand, custom_headers).value!
209
139
  end
210
140
 
211
141
  #
212
- # Gets the properties of the specified container service.
213
- #
214
- # Gets the properties of the specified container service in the specified
215
- # subscription and resource group. The operation returns the properties
216
- # including state, orchestrator, number of masters and agents, and FQDNs of
217
- # masters and agents.
142
+ # Gets an image.
218
143
  #
219
144
  # @param resource_group_name [String] The name of the resource group.
220
- # @param container_service_name [String] The name of the container service in
221
- # the specified subscription and resource group.
145
+ # @param image_name [String] The name of the image.
146
+ # @param expand [String] The expand expression to apply on the operation.
222
147
  # @param [Hash{String => String}] A hash of custom headers that will be added
223
148
  # to the HTTP request.
224
149
  #
225
150
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
226
151
  #
227
- def get_async(resource_group_name, container_service_name, custom_headers = nil)
152
+ def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil)
228
153
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
229
- fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
230
- api_version = '2017-01-31'
154
+ fail ArgumentError, 'image_name is nil' if image_name.nil?
155
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
231
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
232
157
 
233
158
 
@@ -236,14 +161,14 @@ module Azure::ARM::Compute
236
161
  # Set Headers
237
162
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
238
163
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
239
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}'
164
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
240
165
 
241
166
  request_url = @base_url || @client.base_url
242
167
 
243
168
  options = {
244
169
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
245
- path_params: {'resourceGroupName' => resource_group_name,'containerServiceName' => container_service_name,'subscriptionId' => @client.subscription_id},
246
- query_params: {'api-version' => api_version},
170
+ path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
171
+ query_params: {'$expand' => expand,'api-version' => @client.api_version},
247
172
  headers: request_headers.merge(custom_headers || {}),
248
173
  base_url: request_url
249
174
  }
@@ -263,7 +188,7 @@ module Azure::ARM::Compute
263
188
  if status_code == 200
264
189
  begin
265
190
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
266
- result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
191
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
267
192
  result.body = @client.deserialize(result_mapper, parsed_response)
268
193
  rescue Exception => e
269
194
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -277,105 +202,133 @@ module Azure::ARM::Compute
277
202
  end
278
203
 
279
204
  #
280
- # Deletes the specified container service.
281
- #
282
- # Deletes the specified container service in the specified subscription and
283
- # resource group. The operation does not delete other resources created as part
284
- # of creating a container service, including storage accounts, VMs, and
285
- # availability sets. All the other resources created with the container service
286
- # are part of the same resource group and can be deleted individually.
205
+ # Gets the list of images under a resource group.
287
206
  #
288
207
  # @param resource_group_name [String] The name of the resource group.
289
- # @param container_service_name [String] The name of the container service in
290
- # the specified subscription and resource group.
291
208
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
292
209
  # will be added to the HTTP request.
293
210
  #
294
- def delete(resource_group_name, container_service_name, custom_headers = nil)
295
- response = delete_async(resource_group_name, container_service_name, custom_headers).value!
296
- nil
211
+ # @return [Array<Image>] operation results.
212
+ #
213
+ def list_by_resource_group(resource_group_name, custom_headers = nil)
214
+ first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
215
+ first_page.get_all_items
297
216
  end
298
217
 
218
+ #
219
+ # Gets the list of images under a resource group.
299
220
  #
300
221
  # @param resource_group_name [String] The name of the resource group.
301
- # @param container_service_name [String] The name of the container service in
302
- # the specified subscription and resource group.
303
222
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
304
223
  # will be added to the HTTP request.
305
224
  #
306
- # @return [Concurrent::Promise] promise which provides async access to http
307
- # response.
225
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
308
226
  #
309
- def delete_async(resource_group_name, container_service_name, custom_headers = nil)
310
- # Send request
311
- promise = begin_delete_async(resource_group_name, container_service_name, custom_headers)
227
+ def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil)
228
+ list_by_resource_group_async(resource_group_name, custom_headers).value!
229
+ end
312
230
 
313
- promise = promise.then do |response|
314
- # Defining deserialization method.
315
- deserialize_method = lambda do |parsed_response|
231
+ #
232
+ # Gets the list of images under a resource group.
233
+ #
234
+ # @param resource_group_name [String] The name of the resource group.
235
+ # @param [Hash{String => String}] A hash of custom headers that will be added
236
+ # to the HTTP request.
237
+ #
238
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
239
+ #
240
+ def list_by_resource_group_async(resource_group_name, custom_headers = nil)
241
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
242
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
243
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
244
+
245
+
246
+ request_headers = {}
247
+
248
+ # Set Headers
249
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
250
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
251
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images'
252
+
253
+ request_url = @base_url || @client.base_url
254
+
255
+ options = {
256
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
257
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
258
+ query_params: {'api-version' => @client.api_version},
259
+ headers: request_headers.merge(custom_headers || {}),
260
+ base_url: request_url
261
+ }
262
+ promise = @client.make_request_async(:get, path_template, options)
263
+
264
+ promise = promise.then do |result|
265
+ http_response = result.response
266
+ status_code = http_response.status
267
+ response_content = http_response.body
268
+ unless status_code == 200
269
+ error_model = JSON.load(response_content)
270
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
316
271
  end
317
272
 
318
- # Waiting for response.
319
- @client.get_long_running_operation_result(response, deserialize_method)
273
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
274
+ # Deserialize Response
275
+ if status_code == 200
276
+ begin
277
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
278
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
279
+ result.body = @client.deserialize(result_mapper, parsed_response)
280
+ rescue Exception => e
281
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
282
+ end
283
+ end
284
+
285
+ result
320
286
  end
321
287
 
322
- promise
288
+ promise.execute
323
289
  end
324
290
 
325
291
  #
326
- # Gets a list of container services in the specified resource group.
292
+ # Gets the list of Images in the subscription. Use nextLink property in the
293
+ # response to get the next page of Images. Do this till nextLink is not null to
294
+ # fetch all the Images.
327
295
  #
328
- # Gets a list of container services in the specified subscription and resource
329
- # group. The operation returns properties of each container service including
330
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
331
- # agents.
332
- #
333
- # @param resource_group_name [String] The name of the resource group.
334
296
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
335
297
  # will be added to the HTTP request.
336
298
  #
337
- # @return [Array<ContainerService>] operation results.
299
+ # @return [Array<Image>] operation results.
338
300
  #
339
- def list_by_resource_group(resource_group_name, custom_headers = nil)
340
- first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
301
+ def list(custom_headers = nil)
302
+ first_page = list_as_lazy(custom_headers)
341
303
  first_page.get_all_items
342
304
  end
343
305
 
344
306
  #
345
- # Gets a list of container services in the specified resource group.
346
- #
347
- # Gets a list of container services in the specified subscription and resource
348
- # group. The operation returns properties of each container service including
349
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
350
- # agents.
307
+ # Gets the list of Images in the subscription. Use nextLink property in the
308
+ # response to get the next page of Images. Do this till nextLink is not null to
309
+ # fetch all the Images.
351
310
  #
352
- # @param resource_group_name [String] The name of the resource group.
353
311
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
354
312
  # will be added to the HTTP request.
355
313
  #
356
314
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
357
315
  #
358
- def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil)
359
- list_by_resource_group_async(resource_group_name, custom_headers).value!
316
+ def list_with_http_info(custom_headers = nil)
317
+ list_async(custom_headers).value!
360
318
  end
361
319
 
362
320
  #
363
- # Gets a list of container services in the specified resource group.
364
- #
365
- # Gets a list of container services in the specified subscription and resource
366
- # group. The operation returns properties of each container service including
367
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
368
- # agents.
321
+ # Gets the list of Images in the subscription. Use nextLink property in the
322
+ # response to get the next page of Images. Do this till nextLink is not null to
323
+ # fetch all the Images.
369
324
  #
370
- # @param resource_group_name [String] The name of the resource group.
371
325
  # @param [Hash{String => String}] A hash of custom headers that will be added
372
326
  # to the HTTP request.
373
327
  #
374
328
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
375
329
  #
376
- def list_by_resource_group_async(resource_group_name, custom_headers = nil)
377
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
378
- api_version = '2017-01-31'
330
+ def list_async(custom_headers = nil)
331
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
379
332
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
380
333
 
381
334
 
@@ -384,14 +337,14 @@ module Azure::ARM::Compute
384
337
  # Set Headers
385
338
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
386
339
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
387
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices'
340
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/images'
388
341
 
389
342
  request_url = @base_url || @client.base_url
390
343
 
391
344
  options = {
392
345
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
393
- path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
394
- query_params: {'api-version' => api_version},
346
+ path_params: {'subscriptionId' => @client.subscription_id},
347
+ query_params: {'api-version' => @client.api_version},
395
348
  headers: request_headers.merge(custom_headers || {}),
396
349
  base_url: request_url
397
350
  }
@@ -411,7 +364,7 @@ module Azure::ARM::Compute
411
364
  if status_code == 200
412
365
  begin
413
366
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
414
- result_mapper = Azure::ARM::Compute::Models::ContainerServiceListResult.mapper()
367
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
415
368
  result.body = @client.deserialize(result_mapper, parsed_response)
416
369
  rescue Exception => e
417
370
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -425,67 +378,52 @@ module Azure::ARM::Compute
425
378
  end
426
379
 
427
380
  #
428
- # Creates or updates a container service.
429
- #
430
- # Creates or updates a container service with the specified configuration of
431
- # orchestrator, masters, and agents.
381
+ # Create or update an image.
432
382
  #
433
383
  # @param resource_group_name [String] The name of the resource group.
434
- # @param container_service_name [String] The name of the container service in
435
- # the specified subscription and resource group.
436
- # @param parameters [ContainerService] Parameters supplied to the Create or
437
- # Update a Container Service operation.
384
+ # @param image_name [String] The name of the image.
385
+ # @param parameters [Image] Parameters supplied to the Create Image operation.
438
386
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
439
387
  # will be added to the HTTP request.
440
388
  #
441
- # @return [ContainerService] operation results.
389
+ # @return [Image] operation results.
442
390
  #
443
- def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil)
444
- response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
391
+ def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil)
392
+ response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
445
393
  response.body unless response.nil?
446
394
  end
447
395
 
448
396
  #
449
- # Creates or updates a container service.
450
- #
451
- # Creates or updates a container service with the specified configuration of
452
- # orchestrator, masters, and agents.
397
+ # Create or update an image.
453
398
  #
454
399
  # @param resource_group_name [String] The name of the resource group.
455
- # @param container_service_name [String] The name of the container service in
456
- # the specified subscription and resource group.
457
- # @param parameters [ContainerService] Parameters supplied to the Create or
458
- # Update a Container Service operation.
400
+ # @param image_name [String] The name of the image.
401
+ # @param parameters [Image] Parameters supplied to the Create Image operation.
459
402
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
460
403
  # will be added to the HTTP request.
461
404
  #
462
405
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
463
406
  #
464
- def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil)
465
- begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
407
+ def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil)
408
+ begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
466
409
  end
467
410
 
468
411
  #
469
- # Creates or updates a container service.
470
- #
471
- # Creates or updates a container service with the specified configuration of
472
- # orchestrator, masters, and agents.
412
+ # Create or update an image.
473
413
  #
474
414
  # @param resource_group_name [String] The name of the resource group.
475
- # @param container_service_name [String] The name of the container service in
476
- # the specified subscription and resource group.
477
- # @param parameters [ContainerService] Parameters supplied to the Create or
478
- # Update a Container Service operation.
415
+ # @param image_name [String] The name of the image.
416
+ # @param parameters [Image] Parameters supplied to the Create Image operation.
479
417
  # @param [Hash{String => String}] A hash of custom headers that will be added
480
418
  # to the HTTP request.
481
419
  #
482
420
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
483
421
  #
484
- def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil)
422
+ def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil)
485
423
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
486
- fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
424
+ fail ArgumentError, 'image_name is nil' if image_name.nil?
487
425
  fail ArgumentError, 'parameters is nil' if parameters.nil?
488
- api_version = '2017-01-31'
426
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
489
427
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
490
428
 
491
429
 
@@ -498,18 +436,18 @@ module Azure::ARM::Compute
498
436
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
499
437
 
500
438
  # Serialize Request
501
- request_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
439
+ request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
502
440
  request_content = @client.serialize(request_mapper, parameters)
503
441
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
504
442
 
505
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}'
443
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
506
444
 
507
445
  request_url = @base_url || @client.base_url
508
446
 
509
447
  options = {
510
448
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
511
- path_params: {'resourceGroupName' => resource_group_name,'containerServiceName' => container_service_name,'subscriptionId' => @client.subscription_id},
512
- query_params: {'api-version' => api_version},
449
+ path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
450
+ query_params: {'api-version' => @client.api_version},
513
451
  body: request_content,
514
452
  headers: request_headers.merge(custom_headers || {}),
515
453
  base_url: request_url
@@ -520,7 +458,7 @@ module Azure::ARM::Compute
520
458
  http_response = result.response
521
459
  status_code = http_response.status
522
460
  response_content = http_response.body
523
- unless status_code == 200 || status_code == 201 || status_code == 202
461
+ unless status_code == 200 || status_code == 201
524
462
  error_model = JSON.load(response_content)
525
463
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
526
464
  end
@@ -530,7 +468,7 @@ module Azure::ARM::Compute
530
468
  if status_code == 200
531
469
  begin
532
470
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
533
- result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
471
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
534
472
  result.body = @client.deserialize(result_mapper, parsed_response)
535
473
  rescue Exception => e
536
474
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -540,17 +478,7 @@ module Azure::ARM::Compute
540
478
  if status_code == 201
541
479
  begin
542
480
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
543
- result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
544
- result.body = @client.deserialize(result_mapper, parsed_response)
545
- rescue Exception => e
546
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
547
- end
548
- end
549
- # Deserialize Response
550
- if status_code == 202
551
- begin
552
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
553
- result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
481
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
554
482
  result.body = @client.deserialize(result_mapper, parsed_response)
555
483
  rescue Exception => e
556
484
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -564,68 +492,48 @@ module Azure::ARM::Compute
564
492
  end
565
493
 
566
494
  #
567
- # Deletes the specified container service.
568
- #
569
- # Deletes the specified container service in the specified subscription and
570
- # resource group. The operation does not delete other resources created as part
571
- # of creating a container service, including storage accounts, VMs, and
572
- # availability sets. All the other resources created with the container service
573
- # are part of the same resource group and can be deleted individually.
495
+ # Deletes an Image.
574
496
  #
575
497
  # @param resource_group_name [String] The name of the resource group.
576
- # @param container_service_name [String] The name of the container service in
577
- # the specified subscription and resource group.
498
+ # @param image_name [String] The name of the image.
578
499
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
579
500
  # will be added to the HTTP request.
580
501
  #
502
+ # @return [OperationStatusResponse] operation results.
581
503
  #
582
- def begin_delete(resource_group_name, container_service_name, custom_headers = nil)
583
- response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
584
- nil
504
+ def begin_delete(resource_group_name, image_name, custom_headers = nil)
505
+ response = begin_delete_async(resource_group_name, image_name, custom_headers).value!
506
+ response.body unless response.nil?
585
507
  end
586
508
 
587
509
  #
588
- # Deletes the specified container service.
589
- #
590
- # Deletes the specified container service in the specified subscription and
591
- # resource group. The operation does not delete other resources created as part
592
- # of creating a container service, including storage accounts, VMs, and
593
- # availability sets. All the other resources created with the container service
594
- # are part of the same resource group and can be deleted individually.
510
+ # Deletes an Image.
595
511
  #
596
512
  # @param resource_group_name [String] The name of the resource group.
597
- # @param container_service_name [String] The name of the container service in
598
- # the specified subscription and resource group.
513
+ # @param image_name [String] The name of the image.
599
514
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
600
515
  # will be added to the HTTP request.
601
516
  #
602
517
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
603
518
  #
604
- def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil)
605
- begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
519
+ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil)
520
+ begin_delete_async(resource_group_name, image_name, custom_headers).value!
606
521
  end
607
522
 
608
523
  #
609
- # Deletes the specified container service.
610
- #
611
- # Deletes the specified container service in the specified subscription and
612
- # resource group. The operation does not delete other resources created as part
613
- # of creating a container service, including storage accounts, VMs, and
614
- # availability sets. All the other resources created with the container service
615
- # are part of the same resource group and can be deleted individually.
524
+ # Deletes an Image.
616
525
  #
617
526
  # @param resource_group_name [String] The name of the resource group.
618
- # @param container_service_name [String] The name of the container service in
619
- # the specified subscription and resource group.
527
+ # @param image_name [String] The name of the image.
620
528
  # @param [Hash{String => String}] A hash of custom headers that will be added
621
529
  # to the HTTP request.
622
530
  #
623
531
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
624
532
  #
625
- def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil)
533
+ def begin_delete_async(resource_group_name, image_name, custom_headers = nil)
626
534
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
627
- fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
628
- api_version = '2017-01-31'
535
+ fail ArgumentError, 'image_name is nil' if image_name.nil?
536
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
629
537
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
630
538
 
631
539
 
@@ -634,14 +542,14 @@ module Azure::ARM::Compute
634
542
  # Set Headers
635
543
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
636
544
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
637
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}'
545
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
638
546
 
639
547
  request_url = @base_url || @client.base_url
640
548
 
641
549
  options = {
642
550
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
643
- path_params: {'resourceGroupName' => resource_group_name,'containerServiceName' => container_service_name,'subscriptionId' => @client.subscription_id},
644
- query_params: {'api-version' => api_version},
551
+ path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
552
+ query_params: {'api-version' => @client.api_version},
645
553
  headers: request_headers.merge(custom_headers || {}),
646
554
  base_url: request_url
647
555
  }
@@ -651,12 +559,22 @@ module Azure::ARM::Compute
651
559
  http_response = result.response
652
560
  status_code = http_response.status
653
561
  response_content = http_response.body
654
- unless status_code == 202 || status_code == 204
562
+ unless status_code == 200 || status_code == 202 || status_code == 204
655
563
  error_model = JSON.load(response_content)
656
564
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
657
565
  end
658
566
 
659
567
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
568
+ # Deserialize Response
569
+ if status_code == 200
570
+ begin
571
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
572
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::OperationStatusResponse.mapper()
573
+ result.body = @client.deserialize(result_mapper, parsed_response)
574
+ rescue Exception => e
575
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
576
+ end
577
+ end
660
578
 
661
579
  result
662
580
  end
@@ -665,30 +583,22 @@ module Azure::ARM::Compute
665
583
  end
666
584
 
667
585
  #
668
- # Gets a list of container services in the specified subscription.
669
- #
670
- # Gets a list of container services in the specified subscription. The
671
- # operation returns properties of each container service including state,
672
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
586
+ # Gets the list of images under a resource group.
673
587
  #
674
588
  # @param next_page_link [String] The NextLink from the previous successful call
675
589
  # to List operation.
676
590
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
677
591
  # will be added to the HTTP request.
678
592
  #
679
- # @return [ContainerServiceListResult] operation results.
593
+ # @return [ImageListResult] operation results.
680
594
  #
681
- def list_next(next_page_link, custom_headers = nil)
682
- response = list_next_async(next_page_link, custom_headers).value!
595
+ def list_by_resource_group_next(next_page_link, custom_headers = nil)
596
+ response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
683
597
  response.body unless response.nil?
684
598
  end
685
599
 
686
600
  #
687
- # Gets a list of container services in the specified subscription.
688
- #
689
- # Gets a list of container services in the specified subscription. The
690
- # operation returns properties of each container service including state,
691
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
601
+ # Gets the list of images under a resource group.
692
602
  #
693
603
  # @param next_page_link [String] The NextLink from the previous successful call
694
604
  # to List operation.
@@ -697,16 +607,12 @@ module Azure::ARM::Compute
697
607
  #
698
608
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
699
609
  #
700
- def list_next_with_http_info(next_page_link, custom_headers = nil)
701
- list_next_async(next_page_link, custom_headers).value!
610
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
611
+ list_by_resource_group_next_async(next_page_link, custom_headers).value!
702
612
  end
703
613
 
704
614
  #
705
- # Gets a list of container services in the specified subscription.
706
- #
707
- # Gets a list of container services in the specified subscription. The
708
- # operation returns properties of each container service including state,
709
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
615
+ # Gets the list of images under a resource group.
710
616
  #
711
617
  # @param next_page_link [String] The NextLink from the previous successful call
712
618
  # to List operation.
@@ -715,7 +621,7 @@ module Azure::ARM::Compute
715
621
  #
716
622
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
717
623
  #
718
- def list_next_async(next_page_link, custom_headers = nil)
624
+ def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
719
625
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
720
626
 
721
627
 
@@ -750,7 +656,7 @@ module Azure::ARM::Compute
750
656
  if status_code == 200
751
657
  begin
752
658
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
753
- result_mapper = Azure::ARM::Compute::Models::ContainerServiceListResult.mapper()
659
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
754
660
  result.body = @client.deserialize(result_mapper, parsed_response)
755
661
  rescue Exception => e
756
662
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -764,32 +670,26 @@ module Azure::ARM::Compute
764
670
  end
765
671
 
766
672
  #
767
- # Gets a list of container services in the specified resource group.
768
- #
769
- # Gets a list of container services in the specified subscription and resource
770
- # group. The operation returns properties of each container service including
771
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
772
- # agents.
673
+ # Gets the list of Images in the subscription. Use nextLink property in the
674
+ # response to get the next page of Images. Do this till nextLink is not null to
675
+ # fetch all the Images.
773
676
  #
774
677
  # @param next_page_link [String] The NextLink from the previous successful call
775
678
  # to List operation.
776
679
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
777
680
  # will be added to the HTTP request.
778
681
  #
779
- # @return [ContainerServiceListResult] operation results.
682
+ # @return [ImageListResult] operation results.
780
683
  #
781
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
782
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
684
+ def list_next(next_page_link, custom_headers = nil)
685
+ response = list_next_async(next_page_link, custom_headers).value!
783
686
  response.body unless response.nil?
784
687
  end
785
688
 
786
689
  #
787
- # Gets a list of container services in the specified resource group.
788
- #
789
- # Gets a list of container services in the specified subscription and resource
790
- # group. The operation returns properties of each container service including
791
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
792
- # agents.
690
+ # Gets the list of Images in the subscription. Use nextLink property in the
691
+ # response to get the next page of Images. Do this till nextLink is not null to
692
+ # fetch all the Images.
793
693
  #
794
694
  # @param next_page_link [String] The NextLink from the previous successful call
795
695
  # to List operation.
@@ -798,17 +698,14 @@ module Azure::ARM::Compute
798
698
  #
799
699
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
800
700
  #
801
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
802
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
701
+ def list_next_with_http_info(next_page_link, custom_headers = nil)
702
+ list_next_async(next_page_link, custom_headers).value!
803
703
  end
804
704
 
805
705
  #
806
- # Gets a list of container services in the specified resource group.
807
- #
808
- # Gets a list of container services in the specified subscription and resource
809
- # group. The operation returns properties of each container service including
810
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
811
- # agents.
706
+ # Gets the list of Images in the subscription. Use nextLink property in the
707
+ # response to get the next page of Images. Do this till nextLink is not null to
708
+ # fetch all the Images.
812
709
  #
813
710
  # @param next_page_link [String] The NextLink from the previous successful call
814
711
  # to List operation.
@@ -817,7 +714,7 @@ module Azure::ARM::Compute
817
714
  #
818
715
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
819
716
  #
820
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
717
+ def list_next_async(next_page_link, custom_headers = nil)
821
718
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
822
719
 
823
720
 
@@ -852,7 +749,7 @@ module Azure::ARM::Compute
852
749
  if status_code == 200
853
750
  begin
854
751
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
855
- result_mapper = Azure::ARM::Compute::Models::ContainerServiceListResult.mapper()
752
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
856
753
  result.body = @client.deserialize(result_mapper, parsed_response)
857
754
  rescue Exception => e
858
755
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -866,50 +763,41 @@ module Azure::ARM::Compute
866
763
  end
867
764
 
868
765
  #
869
- # Gets a list of container services in the specified subscription.
870
- #
871
- # Gets a list of container services in the specified subscription. The
872
- # operation returns properties of each container service including state,
873
- # orchestrator, number of masters and agents, and FQDNs of masters and agents.
766
+ # Gets the list of images under a resource group.
874
767
  #
768
+ # @param resource_group_name [String] The name of the resource group.
875
769
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
876
770
  # will be added to the HTTP request.
877
771
  #
878
- # @return [ContainerServiceListResult] which provide lazy access to pages of
879
- # the response.
772
+ # @return [ImageListResult] which provide lazy access to pages of the response.
880
773
  #
881
- def list_as_lazy(custom_headers = nil)
882
- response = list_async(custom_headers).value!
774
+ def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil)
775
+ response = list_by_resource_group_async(resource_group_name, custom_headers).value!
883
776
  unless response.nil?
884
777
  page = response.body
885
778
  page.next_method = Proc.new do |next_page_link|
886
- list_next_async(next_page_link, custom_headers)
779
+ list_by_resource_group_next_async(next_page_link, custom_headers)
887
780
  end
888
781
  page
889
782
  end
890
783
  end
891
784
 
892
785
  #
893
- # Gets a list of container services in the specified resource group.
894
- #
895
- # Gets a list of container services in the specified subscription and resource
896
- # group. The operation returns properties of each container service including
897
- # state, orchestrator, number of masters and agents, and FQDNs of masters and
898
- # agents.
786
+ # Gets the list of Images in the subscription. Use nextLink property in the
787
+ # response to get the next page of Images. Do this till nextLink is not null to
788
+ # fetch all the Images.
899
789
  #
900
- # @param resource_group_name [String] The name of the resource group.
901
790
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
902
791
  # will be added to the HTTP request.
903
792
  #
904
- # @return [ContainerServiceListResult] which provide lazy access to pages of
905
- # the response.
793
+ # @return [ImageListResult] which provide lazy access to pages of the response.
906
794
  #
907
- def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil)
908
- response = list_by_resource_group_async(resource_group_name, custom_headers).value!
795
+ def list_as_lazy(custom_headers = nil)
796
+ response = list_async(custom_headers).value!
909
797
  unless response.nil?
910
798
  page = response.body
911
799
  page.next_method = Proc.new do |next_page_link|
912
- list_by_resource_group_next_async(next_page_link, custom_headers)
800
+ list_next_async(next_page_link, custom_headers)
913
801
  end
914
802
  page
915
803
  end