azure_mgmt_compute 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_compute.rb +96 -78
  3. data/lib/generated/azure_mgmt_compute/availability_sets.rb +1 -1
  4. data/lib/generated/azure_mgmt_compute/compute_management_client.rb +6 -1
  5. data/lib/generated/azure_mgmt_compute/container_services.rb +1 -1
  6. data/lib/generated/azure_mgmt_compute/disks.rb +1 -1
  7. data/lib/generated/azure_mgmt_compute/images.rb +1 -1
  8. data/lib/generated/azure_mgmt_compute/models/access_level.rb +1 -1
  9. data/lib/generated/azure_mgmt_compute/models/access_uri.rb +1 -1
  10. data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +2 -2
  11. data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  12. data/lib/generated/azure_mgmt_compute/models/api_error.rb +1 -1
  13. data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +1 -1
  14. data/lib/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  15. data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +1 -1
  16. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +1 -1
  17. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +1 -1
  18. data/lib/generated/azure_mgmt_compute/models/caching_types.rb +1 -1
  19. data/lib/generated/azure_mgmt_compute/models/component_names.rb +1 -1
  20. data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
  21. data/lib/generated/azure_mgmt_compute/models/container_service.rb +1 -1
  22. data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +1 -1
  23. data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +1 -1
  24. data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +1 -1
  25. data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +1 -1
  26. data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +1 -1
  27. data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +1 -1
  28. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +1 -1
  29. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +1 -1
  30. data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +1 -1
  31. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +1 -1
  32. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +1 -1
  33. data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +1 -1
  34. data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +1 -1
  35. data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +1 -1
  36. data/lib/generated/azure_mgmt_compute/models/creation_data.rb +1 -1
  37. data/lib/generated/azure_mgmt_compute/models/data_disk.rb +3 -3
  38. data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +1 -1
  39. data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -1
  40. data/lib/generated/azure_mgmt_compute/models/disk.rb +18 -1
  41. data/lib/generated/azure_mgmt_compute/models/disk_create_option.rb +1 -1
  42. data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +4 -4
  43. data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +1 -1
  44. data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +1 -1
  45. data/lib/generated/azure_mgmt_compute/models/disk_list.rb +1 -1
  46. data/lib/generated/azure_mgmt_compute/models/disk_sku.rb +1 -1
  47. data/lib/generated/azure_mgmt_compute/models/disk_update.rb +1 -1
  48. data/lib/generated/azure_mgmt_compute/models/encryption_settings.rb +1 -1
  49. data/lib/generated/azure_mgmt_compute/models/grant_access_data.rb +1 -1
  50. data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +1 -1
  51. data/lib/generated/azure_mgmt_compute/models/image.rb +1 -1
  52. data/lib/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -1
  53. data/lib/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  54. data/lib/generated/azure_mgmt_compute/models/image_list_result.rb +1 -1
  55. data/lib/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -1
  56. data/lib/generated/azure_mgmt_compute/models/image_reference.rb +1 -1
  57. data/lib/generated/azure_mgmt_compute/models/image_storage_profile.rb +1 -1
  58. data/lib/generated/azure_mgmt_compute/models/inner_error.rb +1 -1
  59. data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +1 -1
  60. data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +1 -1
  61. data/lib/generated/azure_mgmt_compute/models/ipversion.rb +1 -1
  62. data/lib/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +1 -1
  63. data/lib/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +1 -1
  64. data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
  65. data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +1 -1
  66. data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +1 -1
  67. data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +1 -1
  68. data/lib/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +1 -1
  69. data/lib/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +1 -1
  70. data/lib/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -1
  71. data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +1 -1
  72. data/lib/generated/azure_mgmt_compute/models/network_profile.rb +1 -1
  73. data/lib/generated/azure_mgmt_compute/models/operating_system_state_types.rb +1 -1
  74. data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +1 -1
  75. data/lib/generated/azure_mgmt_compute/models/operation_status_response.rb +1 -1
  76. data/lib/generated/azure_mgmt_compute/models/osdisk.rb +2 -2
  77. data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +1 -1
  78. data/lib/generated/azure_mgmt_compute/models/osprofile.rb +1 -1
  79. data/lib/generated/azure_mgmt_compute/models/pass_names.rb +2 -2
  80. data/lib/generated/azure_mgmt_compute/models/plan.rb +1 -1
  81. data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +1 -1
  82. data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +1 -1
  83. data/lib/generated/azure_mgmt_compute/models/resource_identity_type.rb +1 -1
  84. data/lib/generated/azure_mgmt_compute/models/resource_sku.rb +1 -1
  85. data/lib/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
  86. data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +1 -1
  87. data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +1 -1
  88. data/lib/generated/azure_mgmt_compute/models/resource_sku_costs.rb +1 -1
  89. data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +2 -2
  90. data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +1 -1
  91. data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +2 -2
  92. data/lib/generated/azure_mgmt_compute/models/resource_skus_result.rb +1 -1
  93. data/lib/generated/azure_mgmt_compute/models/resource_update.rb +1 -1
  94. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  95. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +104 -0
  96. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +84 -0
  97. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +84 -0
  98. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  99. data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +131 -0
  100. data/lib/generated/azure_mgmt_compute/models/run_command_document.rb +1 -1
  101. data/lib/generated/azure_mgmt_compute/models/run_command_document_base.rb +1 -1
  102. data/lib/generated/azure_mgmt_compute/models/run_command_input.rb +1 -1
  103. data/lib/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +1 -1
  104. data/lib/generated/azure_mgmt_compute/models/run_command_list_result.rb +1 -1
  105. data/lib/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +1 -1
  106. data/lib/generated/azure_mgmt_compute/models/run_command_result.rb +1 -1
  107. data/lib/generated/azure_mgmt_compute/models/setting_names.rb +1 -1
  108. data/lib/generated/azure_mgmt_compute/models/sku.rb +1 -1
  109. data/lib/generated/azure_mgmt_compute/models/snapshot.rb +2 -3
  110. data/lib/generated/azure_mgmt_compute/models/snapshot_list.rb +1 -1
  111. data/lib/generated/azure_mgmt_compute/models/snapshot_update.rb +1 -1
  112. data/lib/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
  113. data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +1 -1
  114. data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
  115. data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +1 -1
  116. data/lib/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -1
  117. data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +1 -1
  118. data/lib/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +1 -1
  119. data/lib/generated/azure_mgmt_compute/models/update_resource.rb +52 -0
  120. data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +2 -1
  121. data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +27 -3
  122. data/lib/generated/azure_mgmt_compute/models/usage.rb +1 -1
  123. data/lib/generated/azure_mgmt_compute/models/usage_name.rb +1 -1
  124. data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +1 -1
  125. data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
  126. data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -1
  127. data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +18 -1
  128. data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +1 -1
  129. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +1 -1
  130. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
  131. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +1 -1
  132. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +1 -1
  133. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +1 -1
  134. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
  135. data/lib/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +47 -0
  136. data/lib/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +1 -1
  137. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
  138. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +1 -1
  139. data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +1 -1
  140. data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +1 -1
  141. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +18 -1
  142. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +2 -2
  143. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +2 -2
  144. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +1 -1
  145. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
  146. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +2 -2
  147. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
  148. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
  149. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
  150. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
  151. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
  152. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +1 -1
  153. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
  154. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
  155. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +1 -1
  156. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +15 -1
  157. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +2 -2
  158. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +1 -1
  159. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +1 -1
  160. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +1 -1
  161. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
  162. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
  163. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
  164. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
  165. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +129 -0
  166. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +155 -0
  167. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +117 -0
  168. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +55 -0
  169. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +91 -0
  170. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +87 -0
  171. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +69 -0
  172. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +76 -0
  173. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +106 -0
  174. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  175. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
  176. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +1 -1
  177. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +1 -1
  178. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +13 -1
  179. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +1 -1
  180. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +1 -1
  181. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +1 -1
  182. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +1 -1
  183. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
  184. data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
  185. data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +1 -1
  186. data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +1 -1
  187. data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +1 -1
  188. data/lib/generated/azure_mgmt_compute/module_definition.rb +1 -1
  189. data/lib/generated/azure_mgmt_compute/resource_skus.rb +1 -1
  190. data/lib/generated/azure_mgmt_compute/snapshots.rb +1 -1
  191. data/lib/generated/azure_mgmt_compute/usage_operations.rb +1 -1
  192. data/lib/generated/azure_mgmt_compute/version.rb +2 -2
  193. data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
  194. data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +1 -1
  195. data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +1 -1
  196. data/lib/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1 -1
  197. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +1 -1
  198. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +390 -0
  199. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1 -1
  200. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +154 -1
  201. data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
  202. data/lib/generated/azure_mgmt_compute/virtual_machines.rb +92 -1
  203. metadata +20 -2
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,129 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Compute
7
+ module Models
8
+ #
9
+ # Describes a Virtual Machine Scale Set.
10
+ #
11
+ class VirtualMachineScaleSetUpdate < UpdateResource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Sku] The virtual machine scale set sku.
17
+ attr_accessor :sku
18
+
19
+ # @return [Plan] The purchase plan when deploying a virtual machine scale
20
+ # set from VM Marketplace images.
21
+ attr_accessor :plan
22
+
23
+ # @return [UpgradePolicy] The upgrade policy.
24
+ attr_accessor :upgrade_policy
25
+
26
+ # @return [VirtualMachineScaleSetUpdateVMProfile] The virtual machine
27
+ # profile.
28
+ attr_accessor :virtual_machine_profile
29
+
30
+ # @return [Boolean] Specifies whether the Virtual Machine Scale Set
31
+ # should be overprovisioned.
32
+ attr_accessor :overprovision
33
+
34
+ # @return [Boolean] When true this limits the scale set to a single
35
+ # placement group, of max size 100 virtual machines.
36
+ attr_accessor :single_placement_group
37
+
38
+ # @return [VirtualMachineScaleSetIdentity] The identity of the virtual
39
+ # machine scale set, if configured.
40
+ attr_accessor :identity
41
+
42
+
43
+ #
44
+ # Mapper for VirtualMachineScaleSetUpdate class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ required: false,
50
+ serialized_name: 'VirtualMachineScaleSetUpdate',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'VirtualMachineScaleSetUpdate',
54
+ model_properties: {
55
+ tags: {
56
+ required: false,
57
+ serialized_name: 'tags',
58
+ type: {
59
+ name: 'Dictionary',
60
+ value: {
61
+ required: false,
62
+ serialized_name: 'StringElementType',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ },
69
+ sku: {
70
+ required: false,
71
+ serialized_name: 'sku',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'Sku'
75
+ }
76
+ },
77
+ plan: {
78
+ required: false,
79
+ serialized_name: 'plan',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'Plan'
83
+ }
84
+ },
85
+ upgrade_policy: {
86
+ required: false,
87
+ serialized_name: 'properties.upgradePolicy',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'UpgradePolicy'
91
+ }
92
+ },
93
+ virtual_machine_profile: {
94
+ required: false,
95
+ serialized_name: 'properties.virtualMachineProfile',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'VirtualMachineScaleSetUpdateVMProfile'
99
+ }
100
+ },
101
+ overprovision: {
102
+ required: false,
103
+ serialized_name: 'properties.overprovision',
104
+ type: {
105
+ name: 'Boolean'
106
+ }
107
+ },
108
+ single_placement_group: {
109
+ required: false,
110
+ serialized_name: 'properties.singlePlacementGroup',
111
+ type: {
112
+ name: 'Boolean'
113
+ }
114
+ },
115
+ identity: {
116
+ required: false,
117
+ serialized_name: 'identity',
118
+ type: {
119
+ name: 'Composite',
120
+ class_name: 'VirtualMachineScaleSetIdentity'
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,155 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Compute
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set network profile's IP configuration.
10
+ #
11
+ class VirtualMachineScaleSetUpdateIPConfiguration < MsRestAzure::SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The IP configuration name.
17
+ attr_accessor :name
18
+
19
+ # @return [ApiEntityReference] The subnet.
20
+ attr_accessor :subnet
21
+
22
+ # @return [Boolean] Specifies the primary IP Configuration in case the
23
+ # network interface has more than one IP Configuration.
24
+ attr_accessor :primary
25
+
26
+ # @return [VirtualMachineScaleSetUpdatePublicIPAddressConfiguration] The
27
+ # publicIPAddressConfiguration.
28
+ attr_accessor :public_ipaddress_configuration
29
+
30
+ # @return [IPVersion] Available from Api-Version 2017-03-30 onwards, it
31
+ # represents whether the specific ipconfiguration is IPv4 or IPv6.
32
+ # Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
33
+ # Possible values include: 'IPv4', 'IPv6'
34
+ attr_accessor :private_ipaddress_version
35
+
36
+ # @return [Array<SubResource>] The application gateway backend address
37
+ # pools.
38
+ attr_accessor :application_gateway_backend_address_pools
39
+
40
+ # @return [Array<SubResource>] The load balancer backend address pools.
41
+ attr_accessor :load_balancer_backend_address_pools
42
+
43
+ # @return [Array<SubResource>] The load balancer inbound nat pools.
44
+ attr_accessor :load_balancer_inbound_nat_pools
45
+
46
+
47
+ #
48
+ # Mapper for VirtualMachineScaleSetUpdateIPConfiguration class as Ruby
49
+ # Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ required: false,
55
+ serialized_name: 'VirtualMachineScaleSetUpdateIPConfiguration',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'VirtualMachineScaleSetUpdateIPConfiguration',
59
+ model_properties: {
60
+ id: {
61
+ required: false,
62
+ serialized_name: 'id',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ name: {
68
+ required: false,
69
+ serialized_name: 'name',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ subnet: {
75
+ required: false,
76
+ serialized_name: 'properties.subnet',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'ApiEntityReference'
80
+ }
81
+ },
82
+ primary: {
83
+ required: false,
84
+ serialized_name: 'properties.primary',
85
+ type: {
86
+ name: 'Boolean'
87
+ }
88
+ },
89
+ public_ipaddress_configuration: {
90
+ required: false,
91
+ serialized_name: 'properties.publicIPAddressConfiguration',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration'
95
+ }
96
+ },
97
+ private_ipaddress_version: {
98
+ required: false,
99
+ serialized_name: 'properties.privateIPAddressVersion',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ application_gateway_backend_address_pools: {
105
+ required: false,
106
+ serialized_name: 'properties.applicationGatewayBackendAddressPools',
107
+ type: {
108
+ name: 'Sequence',
109
+ element: {
110
+ required: false,
111
+ serialized_name: 'SubResourceElementType',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'SubResource'
115
+ }
116
+ }
117
+ }
118
+ },
119
+ load_balancer_backend_address_pools: {
120
+ required: false,
121
+ serialized_name: 'properties.loadBalancerBackendAddressPools',
122
+ type: {
123
+ name: 'Sequence',
124
+ element: {
125
+ required: false,
126
+ serialized_name: 'SubResourceElementType',
127
+ type: {
128
+ name: 'Composite',
129
+ class_name: 'SubResource'
130
+ }
131
+ }
132
+ }
133
+ },
134
+ load_balancer_inbound_nat_pools: {
135
+ required: false,
136
+ serialized_name: 'properties.loadBalancerInboundNatPools',
137
+ type: {
138
+ name: 'Sequence',
139
+ element: {
140
+ required: false,
141
+ serialized_name: 'SubResourceElementType',
142
+ type: {
143
+ name: 'Composite',
144
+ class_name: 'SubResource'
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+ end
153
+ end
154
+ end
155
+ end
@@ -0,0 +1,117 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Compute
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set network profile's network
10
+ # configurations.
11
+ #
12
+ class VirtualMachineScaleSetUpdateNetworkConfiguration < MsRestAzure::SubResource
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [String] The network configuration name.
18
+ attr_accessor :name
19
+
20
+ # @return [Boolean] Whether this is a primary NIC on a virtual machine.
21
+ attr_accessor :primary
22
+
23
+ # @return [Boolean] Specifies whether the network interface is
24
+ # accelerated networking-enabled.
25
+ attr_accessor :enable_accelerated_networking
26
+
27
+ # @return [SubResource] The network security group.
28
+ attr_accessor :network_security_group
29
+
30
+ # @return [VirtualMachineScaleSetNetworkConfigurationDnsSettings] The dns
31
+ # settings to be applied on the network interfaces.
32
+ attr_accessor :dns_settings
33
+
34
+ # @return [Array<VirtualMachineScaleSetUpdateIPConfiguration>] The
35
+ # virtual machine scale set IP Configuration.
36
+ attr_accessor :ip_configurations
37
+
38
+
39
+ #
40
+ # Mapper for VirtualMachineScaleSetUpdateNetworkConfiguration class as
41
+ # Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ required: false,
47
+ serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration',
51
+ model_properties: {
52
+ id: {
53
+ required: false,
54
+ serialized_name: 'id',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ name: {
60
+ required: false,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ primary: {
67
+ required: false,
68
+ serialized_name: 'properties.primary',
69
+ type: {
70
+ name: 'Boolean'
71
+ }
72
+ },
73
+ enable_accelerated_networking: {
74
+ required: false,
75
+ serialized_name: 'properties.enableAcceleratedNetworking',
76
+ type: {
77
+ name: 'Boolean'
78
+ }
79
+ },
80
+ network_security_group: {
81
+ required: false,
82
+ serialized_name: 'properties.networkSecurityGroup',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'SubResource'
86
+ }
87
+ },
88
+ dns_settings: {
89
+ required: false,
90
+ serialized_name: 'properties.dnsSettings',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings'
94
+ }
95
+ },
96
+ ip_configurations: {
97
+ required: false,
98
+ serialized_name: 'properties.ipConfigurations',
99
+ type: {
100
+ name: 'Sequence',
101
+ element: {
102
+ required: false,
103
+ serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType',
104
+ type: {
105
+ name: 'Composite',
106
+ class_name: 'VirtualMachineScaleSetUpdateIPConfiguration'
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ end
115
+ end
116
+ end
117
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Compute
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set network profile.
10
+ #
11
+ class VirtualMachineScaleSetUpdateNetworkProfile
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<VirtualMachineScaleSetUpdateNetworkConfiguration>] The
17
+ # list of network configurations.
18
+ attr_accessor :network_interface_configurations
19
+
20
+
21
+ #
22
+ # Mapper for VirtualMachineScaleSetUpdateNetworkProfile class as Ruby
23
+ # Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'VirtualMachineScaleSetUpdateNetworkProfile',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'VirtualMachineScaleSetUpdateNetworkProfile',
33
+ model_properties: {
34
+ network_interface_configurations: {
35
+ required: false,
36
+ serialized_name: 'networkInterfaceConfigurations',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ required: false,
41
+ serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfigurationElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end