azure_mgmt_compute 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  5. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  6. data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  7. data/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  8. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  9. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  10. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  11. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
  12. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  13. data/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  14. data/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  15. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
  16. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  17. data/lib/2017-12-01/generated/azure_mgmt_compute.rb +55 -55
  18. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  19. data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  20. data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  21. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +2 -3
  22. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
  23. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
  24. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +2 -3
  25. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  26. data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +1 -1
  27. data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  28. data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  29. data/lib/2018-06-01/generated/azure_mgmt_compute.rb +108 -85
  30. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +9 -1
  31. data/lib/2018-06-01/generated/azure_mgmt_compute/disks.rb +1274 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_compute/models/{scale_tier.rb → access_level.rb} +4 -4
  33. data/lib/2018-06-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  34. data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
  36. data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
  37. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk.rb +233 -0
  38. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
  39. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  40. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_sku.rb +62 -0
  41. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  42. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_update.rb +132 -0
  43. data/lib/2018-06-01/generated/azure_mgmt_compute/models/encryption_settings.rb +76 -0
  44. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +9 -8
  45. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +1 -1
  46. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +3 -3
  47. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +3 -3
  48. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +1 -1
  49. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +11 -11
  50. data/lib/2018-06-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  51. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -1
  52. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  53. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -1
  54. data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  55. data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  56. data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_artifact.rb +1 -1
  57. data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +3 -3
  58. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  59. data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot.rb +187 -0
  60. data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  63. data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_update.rb +106 -0
  64. data/lib/2018-06-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  65. data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +58 -0
  67. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -0
  68. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
  69. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
  70. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +14 -0
  71. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +13 -0
  72. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +14 -0
  73. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +35 -0
  74. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +15 -0
  75. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -0
  76. data/lib/2018-06-01/generated/azure_mgmt_compute/snapshots.rb +1274 -0
  77. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +127 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +12 -0
  79. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +6 -3
  80. data/lib/profiles/latest/modules/compute_profile_module.rb +360 -352
  81. data/lib/version.rb +1 -1
  82. metadata +26 -3
@@ -6,11 +6,11 @@
6
6
  module Azure::Compute::Mgmt::V2018_06_01
7
7
  module Models
8
8
  #
9
- # Defines values for ScaleTier
9
+ # Defines values for AccessLevel
10
10
  #
11
- module ScaleTier
12
- S30 = "S30"
13
- S100 = "S100"
11
+ module AccessLevel
12
+ None = "None"
13
+ Read = "Read"
14
14
  end
15
15
  end
16
16
  end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Compute::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # A disk access SAS uri.
10
+ #
11
+ class AccessUri
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] A SAS uri for accessing a disk.
16
+ attr_accessor :access_sas
17
+
18
+
19
+ #
20
+ # Mapper for AccessUri class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'AccessUri',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AccessUri',
31
+ model_properties: {
32
+ access_sas: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'accessSAS',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,51 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Compute::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Enables or disables a capability on the virtual machine or virtual
10
+ # machine scale set
11
+ #
12
+ class AdditionalCapabilities
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Boolean] Enables or disables a capability to have 1 or more
17
+ # managed data disks with UltraSSD_LRS storage account on the VM or VMSS.
18
+ # Managed disks with storage account type UltraSSD_LRS can be added to a
19
+ # virtual machine or virtual machine scale set only if this property is
20
+ # enabled.
21
+ attr_accessor :ultra_ssdenabled
22
+
23
+
24
+ #
25
+ # Mapper for AdditionalCapabilities class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'AdditionalCapabilities',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdditionalCapabilities',
36
+ model_properties: {
37
+ ultra_ssdenabled: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'ultraSSDEnabled',
41
+ type: {
42
+ name: 'Boolean'
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,97 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Compute::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Data used when creating a disk.
10
+ #
11
+ class CreationData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DiskCreateOption] This enumerates the possible sources of a
16
+ # disk's creation. Possible values include: 'Empty', 'Attach',
17
+ # 'FromImage', 'Import', 'Copy', 'Restore'
18
+ attr_accessor :create_option
19
+
20
+ # @return [String] If createOption is Import, the Azure Resource Manager
21
+ # identifier of the storage account containing the blob to import as a
22
+ # disk. Required only if the blob is in a different subscription
23
+ attr_accessor :storage_account_id
24
+
25
+ # @return [ImageDiskReference] Disk source information.
26
+ attr_accessor :image_reference
27
+
28
+ # @return [String] If createOption is Import, this is the URI of a blob
29
+ # to be imported into a managed disk.
30
+ attr_accessor :source_uri
31
+
32
+ # @return [String] If createOption is Copy, this is the ARM id of the
33
+ # source snapshot or disk.
34
+ attr_accessor :source_resource_id
35
+
36
+
37
+ #
38
+ # Mapper for CreationData class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'CreationData',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'CreationData',
49
+ model_properties: {
50
+ create_option: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'createOption',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ storage_account_id: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'storageAccountId',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ image_reference: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'imageReference',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'ImageDiskReference'
73
+ }
74
+ },
75
+ source_uri: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'sourceUri',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ source_resource_id: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'sourceResourceId',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -52,7 +52,7 @@ module Azure::Compute::Mgmt::V2018_06_01
52
52
  attr_accessor :create_option
53
53
 
54
54
  # @return [Integer] Specifies the size of an empty data disk in
55
- # gigabytes. This element can be used to overwrite the name of the disk
55
+ # gigabytes. This element can be used to overwrite the size of the disk
56
56
  # in a virtual machine image. <br><br> This value cannot be larger than
57
57
  # 1023 GB
58
58
  attr_accessor :disk_size_gb
@@ -0,0 +1,233 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Compute::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Disk resource.
10
+ #
11
+ class Disk < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] A relative URI containing the ID of the VM that has
16
+ # the disk attached.
17
+ attr_accessor :managed_by
18
+
19
+ # @return [DiskSku]
20
+ attr_accessor :sku
21
+
22
+ # @return [Array<String>] The Logical zone list for Disk.
23
+ attr_accessor :zones
24
+
25
+ # @return [DateTime] The time when the disk was created.
26
+ attr_accessor :time_created
27
+
28
+ # @return [OperatingSystemTypes] The Operating System type. Possible
29
+ # values include: 'Windows', 'Linux'
30
+ attr_accessor :os_type
31
+
32
+ # @return [CreationData] Disk source information. CreationData
33
+ # information cannot be changed after the disk has been created.
34
+ attr_accessor :creation_data
35
+
36
+ # @return [Integer] If creationData.createOption is Empty, this field is
37
+ # mandatory and it indicates the size of the VHD to create. If this field
38
+ # is present for updates or creation with other options, it indicates a
39
+ # resize. Resizes are only allowed if the disk is not attached to a
40
+ # running VM, and can only increase the disk's size.
41
+ attr_accessor :disk_size_gb
42
+
43
+ # @return [EncryptionSettings] Encryption settings for disk or snapshot
44
+ attr_accessor :encryption_settings
45
+
46
+ # @return [String] The disk provisioning state.
47
+ attr_accessor :provisioning_state
48
+
49
+ # @return [Integer] The number of IOPS allowed for this disk; only
50
+ # settable for UltraSSD disks. One operation can transfer between 4k and
51
+ # 256k bytes.
52
+ attr_accessor :disk_iopsread_write
53
+
54
+ # @return [Integer] The bandwidth allowed for this disk; only settable
55
+ # for UltraSSD disks. MBps means millions of bytes per second - MB here
56
+ # uses the ISO notation, of powers of 10.
57
+ attr_accessor :disk_mbps_read_write
58
+
59
+
60
+ #
61
+ # Mapper for Disk class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'Disk',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'Disk',
72
+ model_properties: {
73
+ id: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'id',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ name: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'name',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ type: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'type',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ location: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'location',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ tags: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'tags',
112
+ type: {
113
+ name: 'Dictionary',
114
+ value: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'StringElementType',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ }
122
+ }
123
+ },
124
+ managed_by: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'managedBy',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ sku: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'sku',
137
+ type: {
138
+ name: 'Composite',
139
+ class_name: 'DiskSku'
140
+ }
141
+ },
142
+ zones: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'zones',
146
+ type: {
147
+ name: 'Sequence',
148
+ element: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'StringElementType',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ }
156
+ }
157
+ },
158
+ time_created: {
159
+ client_side_validation: true,
160
+ required: false,
161
+ read_only: true,
162
+ serialized_name: 'properties.timeCreated',
163
+ type: {
164
+ name: 'DateTime'
165
+ }
166
+ },
167
+ os_type: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'properties.osType',
171
+ type: {
172
+ name: 'Enum',
173
+ module: 'OperatingSystemTypes'
174
+ }
175
+ },
176
+ creation_data: {
177
+ client_side_validation: true,
178
+ required: true,
179
+ serialized_name: 'properties.creationData',
180
+ type: {
181
+ name: 'Composite',
182
+ class_name: 'CreationData'
183
+ }
184
+ },
185
+ disk_size_gb: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'properties.diskSizeGB',
189
+ type: {
190
+ name: 'Number'
191
+ }
192
+ },
193
+ encryption_settings: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'properties.encryptionSettings',
197
+ type: {
198
+ name: 'Composite',
199
+ class_name: 'EncryptionSettings'
200
+ }
201
+ },
202
+ provisioning_state: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ read_only: true,
206
+ serialized_name: 'properties.provisioningState',
207
+ type: {
208
+ name: 'String'
209
+ }
210
+ },
211
+ disk_iopsread_write: {
212
+ client_side_validation: true,
213
+ required: false,
214
+ serialized_name: 'properties.diskIOPSReadWrite',
215
+ type: {
216
+ name: 'Number'
217
+ }
218
+ },
219
+ disk_mbps_read_write: {
220
+ client_side_validation: true,
221
+ required: false,
222
+ serialized_name: 'properties.diskMBpsReadWrite',
223
+ type: {
224
+ name: 'Number'
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ end
231
+ end
232
+ end
233
+ end