azure_mgmt_compute 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
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,53 @@
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 network profile.
10
+ #
11
+ class VirtualMachineScaleSetNetworkProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<VirtualMachineScaleSetNetworkConfiguration>] the list
16
+ # of network configurations.
17
+ attr_accessor :network_interface_configurations
18
+
19
+
20
+ #
21
+ # Mapper for VirtualMachineScaleSetNetworkProfile class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'VirtualMachineScaleSetNetworkProfile',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VirtualMachineScaleSetNetworkProfile',
31
+ model_properties: {
32
+ network_interface_configurations: {
33
+ required: false,
34
+ serialized_name: 'networkInterfaceConfigurations',
35
+ type: {
36
+ name: 'Sequence',
37
+ element: {
38
+ required: false,
39
+ serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'VirtualMachineScaleSetNetworkConfiguration'
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,111 @@
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 operating system disk.
10
+ #
11
+ class VirtualMachineScaleSetOSDisk
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the disk name.
16
+ attr_accessor :name
17
+
18
+ # @return [CachingTypes] the caching type. Possible values include:
19
+ # 'None', 'ReadOnly', 'ReadWrite'
20
+ attr_accessor :caching
21
+
22
+ # @return [DiskCreateOptionTypes] the create option. Possible values
23
+ # include: 'fromImage', 'empty', 'attach'
24
+ attr_accessor :create_option
25
+
26
+ # @return [OperatingSystemTypes] the Operating System type. Possible
27
+ # values include: 'Windows', 'Linux'
28
+ attr_accessor :os_type
29
+
30
+ # @return [VirtualHardDisk] the Source User Image VirtualHardDisk. This
31
+ # VirtualHardDisk will be copied before using it to attach to the
32
+ # Virtual Machine.If SourceImage is provided, the destination
33
+ # VirtualHardDisk should not exist.
34
+ attr_accessor :image
35
+
36
+ # @return [Array<String>] the list of virtual hard disk container uris.
37
+ attr_accessor :vhd_containers
38
+
39
+
40
+ #
41
+ # Mapper for VirtualMachineScaleSetOSDisk class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ required: false,
47
+ serialized_name: 'VirtualMachineScaleSetOSDisk',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'VirtualMachineScaleSetOSDisk',
51
+ model_properties: {
52
+ name: {
53
+ required: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ caching: {
60
+ required: false,
61
+ serialized_name: 'caching',
62
+ type: {
63
+ name: 'Enum',
64
+ module: 'CachingTypes'
65
+ }
66
+ },
67
+ create_option: {
68
+ required: true,
69
+ serialized_name: 'createOption',
70
+ type: {
71
+ name: 'Enum',
72
+ module: 'DiskCreateOptionTypes'
73
+ }
74
+ },
75
+ os_type: {
76
+ required: false,
77
+ serialized_name: 'osType',
78
+ type: {
79
+ name: 'Enum',
80
+ module: 'OperatingSystemTypes'
81
+ }
82
+ },
83
+ image: {
84
+ required: false,
85
+ serialized_name: 'image',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'VirtualHardDisk'
89
+ }
90
+ },
91
+ vhd_containers: {
92
+ required: false,
93
+ serialized_name: 'vhdContainers',
94
+ type: {
95
+ name: 'Sequence',
96
+ element: {
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,116 @@
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 OS profile.
10
+ #
11
+ class VirtualMachineScaleSetOSProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the computer name prefix.
16
+ attr_accessor :computer_name_prefix
17
+
18
+ # @return [String] the admin user name.
19
+ attr_accessor :admin_username
20
+
21
+ # @return [String] the admin user password.
22
+ attr_accessor :admin_password
23
+
24
+ # @return [String] a base-64 encoded string of custom data.
25
+ attr_accessor :custom_data
26
+
27
+ # @return [WindowsConfiguration] the Windows Configuration of the OS
28
+ # profile.
29
+ attr_accessor :windows_configuration
30
+
31
+ # @return [LinuxConfiguration] the Linux Configuration of the OS profile.
32
+ attr_accessor :linux_configuration
33
+
34
+ # @return [Array<VaultSecretGroup>] the List of certificates for
35
+ # addition to the VM.
36
+ attr_accessor :secrets
37
+
38
+
39
+ #
40
+ # Mapper for VirtualMachineScaleSetOSProfile class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ required: false,
46
+ serialized_name: 'VirtualMachineScaleSetOSProfile',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'VirtualMachineScaleSetOSProfile',
50
+ model_properties: {
51
+ computer_name_prefix: {
52
+ required: false,
53
+ serialized_name: 'computerNamePrefix',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ admin_username: {
59
+ required: false,
60
+ serialized_name: 'adminUsername',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ admin_password: {
66
+ required: false,
67
+ serialized_name: 'adminPassword',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ custom_data: {
73
+ required: false,
74
+ serialized_name: 'customData',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ windows_configuration: {
80
+ required: false,
81
+ serialized_name: 'windowsConfiguration',
82
+ type: {
83
+ name: 'Composite',
84
+ class_name: 'WindowsConfiguration'
85
+ }
86
+ },
87
+ linux_configuration: {
88
+ required: false,
89
+ serialized_name: 'linuxConfiguration',
90
+ type: {
91
+ name: 'Composite',
92
+ class_name: 'LinuxConfiguration'
93
+ }
94
+ },
95
+ secrets: {
96
+ required: false,
97
+ serialized_name: 'secrets',
98
+ type: {
99
+ name: 'Sequence',
100
+ element: {
101
+ required: false,
102
+ serialized_name: 'VaultSecretGroupElementType',
103
+ type: {
104
+ name: 'Composite',
105
+ class_name: 'VaultSecretGroup'
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ end
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,70 @@
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 an available virtual machine scale set sku.
10
+ #
11
+ class VirtualMachineScaleSetSku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the type of resource the sku applies to.
16
+ attr_accessor :resource_type
17
+
18
+ # @return [Sku] the Sku.
19
+ attr_accessor :sku
20
+
21
+ # @return [VirtualMachineScaleSetSkuCapacity] available scaling
22
+ # information.
23
+ attr_accessor :capacity
24
+
25
+
26
+ #
27
+ # Mapper for VirtualMachineScaleSetSku class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'VirtualMachineScaleSetSku',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'VirtualMachineScaleSetSku',
37
+ model_properties: {
38
+ resource_type: {
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'resourceType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ sku: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'sku',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'Sku'
53
+ }
54
+ },
55
+ capacity: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'capacity',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'VirtualMachineScaleSetSkuCapacity'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,80 @@
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 scaling information of a sku.
10
+ #
11
+ class VirtualMachineScaleSetSkuCapacity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] the minimum capacity.
16
+ attr_accessor :minimum
17
+
18
+ # @return [Integer] the maximum capacity that can be set.
19
+ attr_accessor :maximum
20
+
21
+ # @return [Integer] the default capacity.
22
+ attr_accessor :default_capacity
23
+
24
+ # @return [VirtualMachineScaleSetSkuScaleType] the scale type applicable
25
+ # to the sku. Possible values include: 'Automatic', 'None'
26
+ attr_accessor :scale_type
27
+
28
+
29
+ #
30
+ # Mapper for VirtualMachineScaleSetSkuCapacity class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'VirtualMachineScaleSetSkuCapacity',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'VirtualMachineScaleSetSkuCapacity',
40
+ model_properties: {
41
+ minimum: {
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'minimum',
45
+ type: {
46
+ name: 'Number'
47
+ }
48
+ },
49
+ maximum: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'maximum',
53
+ type: {
54
+ name: 'Number'
55
+ }
56
+ },
57
+ default_capacity: {
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'defaultCapacity',
61
+ type: {
62
+ name: 'Number'
63
+ }
64
+ },
65
+ scale_type: {
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'scaleType',
69
+ type: {
70
+ name: 'Enum',
71
+ module: 'VirtualMachineScaleSetSkuScaleType'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,56 @@
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 storage profile.
10
+ #
11
+ class VirtualMachineScaleSetStorageProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ImageReference] the image reference.
16
+ attr_accessor :image_reference
17
+
18
+ # @return [VirtualMachineScaleSetOSDisk] the OS disk.
19
+ attr_accessor :os_disk
20
+
21
+
22
+ #
23
+ # Mapper for VirtualMachineScaleSetStorageProfile class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'VirtualMachineScaleSetStorageProfile',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'VirtualMachineScaleSetStorageProfile',
33
+ model_properties: {
34
+ image_reference: {
35
+ required: false,
36
+ serialized_name: 'imageReference',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ImageReference'
40
+ }
41
+ },
42
+ os_disk: {
43
+ required: false,
44
+ serialized_name: 'osDisk',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'VirtualMachineScaleSetOSDisk'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end