azure_mgmt_compute 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_compute.gemspec +4 -4
  3. data/lib/azure_mgmt_compute.rb +3 -138
  4. data/lib/generated/azure_mgmt_compute.rb +128 -0
  5. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/availability_sets.rb +24 -22
  6. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/compute_management_client.rb +12 -12
  7. data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +88 -0
  8. data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
  9. data/lib/generated/azure_mgmt_compute/models/api_error.rb +93 -0
  10. data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
  11. data/lib/generated/azure_mgmt_compute/models/availability_set.rb +136 -0
  12. data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
  13. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
  14. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
  15. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/caching_types.rb +0 -0
  16. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/component_names.rb +0 -0
  17. data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
  18. data/lib/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
  19. data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +48 -0
  20. data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +45 -0
  21. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/disk_create_option_types.rb +0 -0
  22. data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
  23. data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
  24. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/hardware_profile.rb +20 -35
  25. data/lib/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
  26. data/lib/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
  27. data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
  28. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/instance_view_types.rb +0 -0
  29. data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
  30. data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
  31. data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
  32. data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +95 -0
  33. data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +51 -0
  34. data/lib/generated/azure_mgmt_compute/models/network_profile.rb +52 -0
  35. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/operating_system_types.rb +0 -0
  36. data/lib/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
  37. data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
  38. data/lib/generated/azure_mgmt_compute/models/osprofile.rb +116 -0
  39. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/pass_names.rb +0 -0
  40. data/lib/generated/azure_mgmt_compute/models/plan.rb +74 -0
  41. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/protocol_types.rb +0 -0
  42. data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
  43. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/setting_names.rb +0 -0
  44. data/lib/generated/azure_mgmt_compute/models/sku.rb +64 -0
  45. data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
  46. data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
  47. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/status_level_types.rb +0 -0
  48. data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
  49. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/upgrade_mode.rb +0 -0
  50. data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
  51. data/lib/generated/azure_mgmt_compute/models/usage.rb +78 -0
  52. data/lib/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
  53. data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
  54. data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
  55. data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
  56. data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +224 -0
  57. data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
  58. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
  59. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
  60. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
  61. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
  62. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
  63. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
  64. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
  65. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
  66. data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
  67. data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +94 -0
  68. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +135 -0
  69. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
  70. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
  71. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
  72. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
  73. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
  74. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +95 -0
  75. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
  76. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +97 -0
  77. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
  78. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
  79. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
  80. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
  81. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
  82. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
  83. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_scale_set_sku_scale_type.rb +0 -0
  84. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
  85. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +248 -0
  86. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
  87. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
  88. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
  89. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
  90. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +96 -0
  91. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
  92. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +95 -0
  93. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
  94. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_size_types.rb +0 -0
  95. data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
  96. data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
  97. data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +58 -0
  98. data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +98 -0
  99. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/module_definition.rb +0 -0
  100. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/usage_operations.rb +32 -11
  101. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/version.rb +1 -1
  102. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extension_images.rb +40 -26
  103. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extensions.rb +59 -31
  104. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_images.rb +76 -48
  105. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_set_vms.rb +169 -41
  106. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_sets.rb +341 -125
  107. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_sizes.rb +4 -4
  108. data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machines.rb +340 -84
  109. metadata +126 -142
  110. data/lib/azure_mgmt_compute/models/additional_unattend_content.rb +0 -105
  111. data/lib/azure_mgmt_compute/models/api_entity_reference.rb +0 -57
  112. data/lib/azure_mgmt_compute/models/api_error.rb +0 -119
  113. data/lib/azure_mgmt_compute/models/api_error_base.rb +0 -74
  114. data/lib/azure_mgmt_compute/models/availability_set.rb +0 -92
  115. data/lib/azure_mgmt_compute/models/availability_set_list_result.rb +0 -77
  116. data/lib/azure_mgmt_compute/models/availability_set_properties.rb +0 -128
  117. data/lib/azure_mgmt_compute/models/boot_diagnostics.rb +0 -67
  118. data/lib/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +0 -65
  119. data/lib/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +0 -56
  120. data/lib/azure_mgmt_compute/models/data_disk.rb +0 -143
  121. data/lib/azure_mgmt_compute/models/data_disk_image.rb +0 -60
  122. data/lib/azure_mgmt_compute/models/diagnostics_profile.rb +0 -62
  123. data/lib/azure_mgmt_compute/models/disk_encryption_settings.rb +0 -90
  124. data/lib/azure_mgmt_compute/models/disk_instance_view.rb +0 -86
  125. data/lib/azure_mgmt_compute/models/image_reference.rb +0 -85
  126. data/lib/azure_mgmt_compute/models/inner_error.rb +0 -66
  127. data/lib/azure_mgmt_compute/models/instance_view_status.rb +0 -100
  128. data/lib/azure_mgmt_compute/models/key_vault_key_reference.rb +0 -74
  129. data/lib/azure_mgmt_compute/models/key_vault_secret_reference.rb +0 -75
  130. data/lib/azure_mgmt_compute/models/linux_configuration.rb +0 -73
  131. data/lib/azure_mgmt_compute/models/list_usages_result.rb +0 -76
  132. data/lib/azure_mgmt_compute/models/network_interface_reference.rb +0 -68
  133. data/lib/azure_mgmt_compute/models/network_interface_reference_properties.rb +0 -57
  134. data/lib/azure_mgmt_compute/models/network_profile.rb +0 -77
  135. data/lib/azure_mgmt_compute/models/osdisk.rb +0 -163
  136. data/lib/azure_mgmt_compute/models/osdisk_image.rb +0 -61
  137. data/lib/azure_mgmt_compute/models/osprofile.rb +0 -147
  138. data/lib/azure_mgmt_compute/models/plan.rb +0 -83
  139. data/lib/azure_mgmt_compute/models/purchase_plan.rb +0 -77
  140. data/lib/azure_mgmt_compute/models/sku.rb +0 -75
  141. data/lib/azure_mgmt_compute/models/ssh_configuration.rb +0 -77
  142. data/lib/azure_mgmt_compute/models/ssh_public_key.rb +0 -70
  143. data/lib/azure_mgmt_compute/models/storage_profile.rb +0 -108
  144. data/lib/azure_mgmt_compute/models/upgrade_policy.rb +0 -60
  145. data/lib/azure_mgmt_compute/models/usage.rb +0 -96
  146. data/lib/azure_mgmt_compute/models/usage_name.rb +0 -66
  147. data/lib/azure_mgmt_compute/models/vault_certificate.rb +0 -68
  148. data/lib/azure_mgmt_compute/models/vault_secret_group.rb +0 -94
  149. data/lib/azure_mgmt_compute/models/virtual_hard_disk.rb +0 -57
  150. data/lib/azure_mgmt_compute/models/virtual_machine.rb +0 -140
  151. data/lib/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +0 -117
  152. data/lib/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +0 -78
  153. data/lib/azure_mgmt_compute/models/virtual_machine_capture_result.rb +0 -68
  154. data/lib/azure_mgmt_compute/models/virtual_machine_capture_result_properties.rb +0 -56
  155. data/lib/azure_mgmt_compute/models/virtual_machine_extension.rb +0 -92
  156. data/lib/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +0 -83
  157. data/lib/azure_mgmt_compute/models/virtual_machine_extension_image.rb +0 -92
  158. data/lib/azure_mgmt_compute/models/virtual_machine_extension_image_properties.rb +0 -102
  159. data/lib/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +0 -137
  160. data/lib/azure_mgmt_compute/models/virtual_machine_extension_properties.rb +0 -141
  161. data/lib/azure_mgmt_compute/models/virtual_machine_image.rb +0 -86
  162. data/lib/azure_mgmt_compute/models/virtual_machine_image_properties.rb +0 -108
  163. data/lib/azure_mgmt_compute/models/virtual_machine_image_resource.rb +0 -83
  164. data/lib/azure_mgmt_compute/models/virtual_machine_instance_view.rb +0 -202
  165. data/lib/azure_mgmt_compute/models/virtual_machine_list_result.rb +0 -87
  166. data/lib/azure_mgmt_compute/models/virtual_machine_properties.rb +0 -189
  167. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set.rb +0 -108
  168. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +0 -77
  169. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +0 -77
  170. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_properties.rb +0 -116
  171. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +0 -125
  172. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +0 -79
  173. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +0 -78
  174. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration_properties.rb +0 -158
  175. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +0 -77
  176. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +0 -77
  177. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +0 -88
  178. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +0 -80
  179. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_properties.rb +0 -89
  180. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +0 -77
  181. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +0 -129
  182. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +0 -147
  183. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_properties.rb +0 -99
  184. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +0 -88
  185. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +0 -90
  186. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +0 -78
  187. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +0 -165
  188. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +0 -87
  189. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +0 -57
  190. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +0 -59
  191. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +0 -202
  192. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +0 -77
  193. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +0 -114
  194. data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmproperties.rb +0 -190
  195. data/lib/azure_mgmt_compute/models/virtual_machine_size.rb +0 -109
  196. data/lib/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +0 -77
  197. data/lib/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +0 -68
  198. data/lib/azure_mgmt_compute/models/win_rmconfiguration.rb +0 -77
  199. data/lib/azure_mgmt_compute/models/win_rmlistener.rb +0 -71
  200. data/lib/azure_mgmt_compute/models/windows_configuration.rb +0 -124
@@ -0,0 +1,248 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
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 virtual machine.
10
+ #
11
+ class VirtualMachineScaleSetVM < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the virtual machine instance id.
16
+ attr_accessor :instance_id
17
+
18
+ # @return [Sku] the virtual machine sku.
19
+ attr_accessor :sku
20
+
21
+ # @return [Boolean] Specifies whether the latest model has been applied
22
+ # to the virtual machine.
23
+ attr_accessor :latest_model_applied
24
+
25
+ # @return [VirtualMachineInstanceView] the virtual machine instance view.
26
+ attr_accessor :instance_view
27
+
28
+ # @return [HardwareProfile] the hardware profile.
29
+ attr_accessor :hardware_profile
30
+
31
+ # @return [StorageProfile] the storage profile.
32
+ attr_accessor :storage_profile
33
+
34
+ # @return [OSProfile] the OS profile.
35
+ attr_accessor :os_profile
36
+
37
+ # @return [NetworkProfile] the network profile.
38
+ attr_accessor :network_profile
39
+
40
+ # @return [DiagnosticsProfile] the diagnostics profile.
41
+ attr_accessor :diagnostics_profile
42
+
43
+ # @return [SubResource] the reference Id of the availability set to
44
+ # which this virtual machine belongs.
45
+ attr_accessor :availability_set
46
+
47
+ # @return [String] the provisioning state, which only appears in the
48
+ # response.
49
+ attr_accessor :provisioning_state
50
+
51
+ # @return [String] the license type, which is for bring your own license
52
+ # scenario.
53
+ attr_accessor :license_type
54
+
55
+ # @return [Plan] the purchase plan when deploying virtual machine from
56
+ # VM Marketplace images.
57
+ attr_accessor :plan
58
+
59
+ # @return [Array<VirtualMachineExtension>] the virtual machine child
60
+ # extension resources.
61
+ attr_accessor :resources
62
+
63
+
64
+ #
65
+ # Mapper for VirtualMachineScaleSetVM class as Ruby Hash.
66
+ # This will be used for serialization/deserialization.
67
+ #
68
+ def self.mapper()
69
+ {
70
+ required: false,
71
+ serialized_name: 'VirtualMachineScaleSetVM',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'VirtualMachineScaleSetVM',
75
+ model_properties: {
76
+ id: {
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'id',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ name: {
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'name',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ type: {
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'type',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ location: {
101
+ required: true,
102
+ serialized_name: 'location',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ },
107
+ tags: {
108
+ required: false,
109
+ serialized_name: 'tags',
110
+ type: {
111
+ name: 'Dictionary',
112
+ value: {
113
+ required: false,
114
+ serialized_name: 'StringElementType',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ }
119
+ }
120
+ },
121
+ instance_id: {
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'instanceId',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ sku: {
130
+ required: false,
131
+ read_only: true,
132
+ serialized_name: 'sku',
133
+ type: {
134
+ name: 'Composite',
135
+ class_name: 'Sku'
136
+ }
137
+ },
138
+ latest_model_applied: {
139
+ required: false,
140
+ read_only: true,
141
+ serialized_name: 'properties.latestModelApplied',
142
+ type: {
143
+ name: 'Boolean'
144
+ }
145
+ },
146
+ instance_view: {
147
+ required: false,
148
+ read_only: true,
149
+ serialized_name: 'properties.instanceView',
150
+ type: {
151
+ name: 'Composite',
152
+ class_name: 'VirtualMachineInstanceView'
153
+ }
154
+ },
155
+ hardware_profile: {
156
+ required: false,
157
+ serialized_name: 'properties.hardwareProfile',
158
+ type: {
159
+ name: 'Composite',
160
+ class_name: 'HardwareProfile'
161
+ }
162
+ },
163
+ storage_profile: {
164
+ required: false,
165
+ serialized_name: 'properties.storageProfile',
166
+ type: {
167
+ name: 'Composite',
168
+ class_name: 'StorageProfile'
169
+ }
170
+ },
171
+ os_profile: {
172
+ required: false,
173
+ serialized_name: 'properties.osProfile',
174
+ type: {
175
+ name: 'Composite',
176
+ class_name: 'OSProfile'
177
+ }
178
+ },
179
+ network_profile: {
180
+ required: false,
181
+ serialized_name: 'properties.networkProfile',
182
+ type: {
183
+ name: 'Composite',
184
+ class_name: 'NetworkProfile'
185
+ }
186
+ },
187
+ diagnostics_profile: {
188
+ required: false,
189
+ serialized_name: 'properties.diagnosticsProfile',
190
+ type: {
191
+ name: 'Composite',
192
+ class_name: 'DiagnosticsProfile'
193
+ }
194
+ },
195
+ availability_set: {
196
+ required: false,
197
+ serialized_name: 'properties.availabilitySet',
198
+ type: {
199
+ name: 'Composite',
200
+ class_name: 'SubResource'
201
+ }
202
+ },
203
+ provisioning_state: {
204
+ required: false,
205
+ read_only: true,
206
+ serialized_name: 'properties.provisioningState',
207
+ type: {
208
+ name: 'String'
209
+ }
210
+ },
211
+ license_type: {
212
+ required: false,
213
+ serialized_name: 'properties.licenseType',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ plan: {
219
+ required: false,
220
+ serialized_name: 'plan',
221
+ type: {
222
+ name: 'Composite',
223
+ class_name: 'Plan'
224
+ }
225
+ },
226
+ resources: {
227
+ required: false,
228
+ read_only: true,
229
+ serialized_name: 'resources',
230
+ type: {
231
+ name: 'Sequence',
232
+ element: {
233
+ required: false,
234
+ serialized_name: 'VirtualMachineExtensionElementType',
235
+ type: {
236
+ name: 'Composite',
237
+ class_name: 'VirtualMachineExtension'
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ end
246
+ end
247
+ end
248
+ end
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
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
+ # Extensions summary for virtual machines of a virtual machine scale set.
10
+ #
11
+ class VirtualMachineScaleSetVMExtensionsSummary
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the extension name.
16
+ attr_accessor :name
17
+
18
+ # @return [Array<VirtualMachineStatusCodeCount>] the extensions
19
+ # information.
20
+ attr_accessor :statuses_summary
21
+
22
+
23
+ #
24
+ # Mapper for VirtualMachineScaleSetVMExtensionsSummary class as Ruby
25
+ # Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'VirtualMachineScaleSetVMExtensionsSummary',
35
+ model_properties: {
36
+ name: {
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ statuses_summary: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'statusesSummary',
48
+ type: {
49
+ name: 'Sequence',
50
+ element: {
51
+ required: false,
52
+ serialized_name: 'VirtualMachineStatusCodeCountElementType',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'VirtualMachineStatusCodeCount'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
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
+ # Specifies the list of virtual machine scale set instance IDs.
10
+ #
11
+ class VirtualMachineScaleSetVMInstanceIDs
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] the virtual machine scale set instance ids.
16
+ attr_accessor :instance_ids
17
+
18
+
19
+ #
20
+ # Mapper for VirtualMachineScaleSetVMInstanceIDs class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'VirtualMachineScaleSetVMInstanceIDs',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'VirtualMachineScaleSetVMInstanceIDs',
30
+ model_properties: {
31
+ instance_ids: {
32
+ required: false,
33
+ serialized_name: 'instanceIds',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'StringElementType',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
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
+ # Specifies the list of virtual machine scale set instance IDs.
10
+ #
11
+ class VirtualMachineScaleSetVMInstanceRequiredIDs
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] the virtual machine scale set instance ids.
16
+ attr_accessor :instance_ids
17
+
18
+
19
+ #
20
+ # Mapper for VirtualMachineScaleSetVMInstanceRequiredIDs class as Ruby
21
+ # Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs',
31
+ model_properties: {
32
+ instance_ids: {
33
+ required: true,
34
+ serialized_name: 'instanceIds',
35
+ type: {
36
+ name: 'Sequence',
37
+ element: {
38
+ required: false,
39
+ serialized_name: 'StringElementType',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,142 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
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
+ # The instance view of a virtual machine scale set VM.
10
+ #
11
+ class VirtualMachineScaleSetVMInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] the Update Domain count.
16
+ attr_accessor :platform_update_domain
17
+
18
+ # @return [Integer] the Fault Domain count.
19
+ attr_accessor :platform_fault_domain
20
+
21
+ # @return [String] the Remote desktop certificate thumbprint.
22
+ attr_accessor :rdp_thumb_print
23
+
24
+ # @return [VirtualMachineAgentInstanceView] the VM Agent running on the
25
+ # virtual machine.
26
+ attr_accessor :vm_agent
27
+
28
+ # @return [Array<DiskInstanceView>] the disks information.
29
+ attr_accessor :disks
30
+
31
+ # @return [Array<VirtualMachineExtensionInstanceView>] the extensions
32
+ # information.
33
+ attr_accessor :extensions
34
+
35
+ # @return [BootDiagnosticsInstanceView] the boot diagnostics.
36
+ attr_accessor :boot_diagnostics
37
+
38
+ # @return [Array<InstanceViewStatus>] the resource status information.
39
+ attr_accessor :statuses
40
+
41
+
42
+ #
43
+ # Mapper for VirtualMachineScaleSetVMInstanceView class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'VirtualMachineScaleSetVMInstanceView',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'VirtualMachineScaleSetVMInstanceView',
53
+ model_properties: {
54
+ platform_update_domain: {
55
+ required: false,
56
+ serialized_name: 'platformUpdateDomain',
57
+ type: {
58
+ name: 'Number'
59
+ }
60
+ },
61
+ platform_fault_domain: {
62
+ required: false,
63
+ serialized_name: 'platformFaultDomain',
64
+ type: {
65
+ name: 'Number'
66
+ }
67
+ },
68
+ rdp_thumb_print: {
69
+ required: false,
70
+ serialized_name: 'rdpThumbPrint',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ vm_agent: {
76
+ required: false,
77
+ serialized_name: 'vmAgent',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'VirtualMachineAgentInstanceView'
81
+ }
82
+ },
83
+ disks: {
84
+ required: false,
85
+ serialized_name: 'disks',
86
+ type: {
87
+ name: 'Sequence',
88
+ element: {
89
+ required: false,
90
+ serialized_name: 'DiskInstanceViewElementType',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'DiskInstanceView'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ extensions: {
99
+ required: false,
100
+ serialized_name: 'extensions',
101
+ type: {
102
+ name: 'Sequence',
103
+ element: {
104
+ required: false,
105
+ serialized_name: 'VirtualMachineExtensionInstanceViewElementType',
106
+ type: {
107
+ name: 'Composite',
108
+ class_name: 'VirtualMachineExtensionInstanceView'
109
+ }
110
+ }
111
+ }
112
+ },
113
+ boot_diagnostics: {
114
+ required: false,
115
+ serialized_name: 'bootDiagnostics',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'BootDiagnosticsInstanceView'
119
+ }
120
+ },
121
+ statuses: {
122
+ required: false,
123
+ serialized_name: 'statuses',
124
+ type: {
125
+ name: 'Sequence',
126
+ element: {
127
+ required: false,
128
+ serialized_name: 'InstanceViewStatusElementType',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'InstanceViewStatus'
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ end
140
+ end
141
+ end
142
+ end