azure_mgmt_sqlvirtualmachine 0.17.0 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb +15 -10
  3. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb +10 -0
  4. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb +0 -11
  5. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb +1 -1
  6. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb +1 -1
  7. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb +1 -1
  8. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb +1 -1
  9. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb +17 -0
  10. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb +1 -0
  11. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb +11 -0
  12. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb +27 -5
  13. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb +3 -3
  14. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb +1 -1
  15. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb +1 -1
  16. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_vm_group_image_sku.rb +16 -0
  17. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sqlstorage_settings.rb +65 -0
  18. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_configuration_settings.rb +95 -0
  19. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_workload_type.rb +17 -0
  20. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb +4 -0
  21. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb +16 -0
  22. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb +1 -1
  23. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb +329 -95
  24. data/lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb +53 -33
  25. data/lib/version.rb +1 -1
  26. metadata +10 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: db2bf3b309e16a9b8da624ca28d5b321fc874127
4
- data.tar.gz: 7e4d723c24d70421ac97ff38e8007430cdfcbc47
2
+ SHA256:
3
+ metadata.gz: d545cea9e7bab052604736390a3ea13faee2eee38cf02788f56dd37f99e929a0
4
+ data.tar.gz: ba699e9e508948fc821a7407fc912ad2aa22f9a2586a6e194500df91b03fc9e0
5
5
  SHA512:
6
- metadata.gz: 8de347296ffb3131dffb206bd404d4b4bab0b4f08fe749b27473c7b2ea904a5b7ef3782fb3a3a7db534b69a3a7791f7dc7a53e513f997e458cbab234ebe656a5
7
- data.tar.gz: eea2b0d34c2935db52b28bbd8ee630feb2663e9e4ca420854647f35a8c3fb032862bb65ccf1f8cecdc2a9922a4df575174f8ee70b022eff9bd541199ded6295e
6
+ metadata.gz: a8afcc94a311016cab42b7f706876db8474b9dcc1ef993ac58c6ab552c03bbaae547eeb36a79f2c1268651dde51417f9e04ef20da0780be4b9985443878a1c12
7
+ data.tar.gz: 9637933ac184d83c57cb27889c55cab95078ac92a056e2c74a6ca08e1e84c9f979acb0bdfd861eef3776ff981b76a5ca4804b74a47667728a35d5fdf232b488c
@@ -27,45 +27,50 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
27
27
  autoload :SqlVirtualMachineManagementClient, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb'
28
28
 
29
29
  module Models
30
- autoload :SqlVirtualMachineGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb'
31
30
  autoload :ResourceIdentity, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource_identity.rb'
32
- autoload :LoadBalancerConfiguration, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb'
33
31
  autoload :WsfcDomainCredentials, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb'
32
+ autoload :LoadBalancerConfiguration, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb'
33
+ autoload :AutoPatchingSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb'
34
34
  autoload :PrivateIPAddress, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/private_ipaddress.rb'
35
35
  autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource.rb'
36
36
  autoload :OperationDisplay, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_display.rb'
37
- autoload :ServerConfigurationsManagementSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb'
37
+ autoload :StorageConfigurationSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_configuration_settings.rb'
38
38
  autoload :OperationListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb'
39
- autoload :AutoPatchingSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb'
40
- autoload :SqlVirtualMachineListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb'
41
39
  autoload :AutoBackupSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb'
42
- autoload :SqlVirtualMachineGroupUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb'
40
+ autoload :SqlVirtualMachineUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb'
43
41
  autoload :KeyVaultCredentialSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb'
44
- autoload :Operation, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb'
42
+ autoload :SqlVirtualMachineGroupUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb'
45
43
  autoload :SqlConnectivityUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb'
46
- autoload :SqlVirtualMachineUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb'
44
+ autoload :AvailabilityGroupListenerListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb'
47
45
  autoload :SqlWorkloadTypeUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb'
48
46
  autoload :WsfcDomainProfile, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb'
49
47
  autoload :SqlStorageUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb'
50
- autoload :AvailabilityGroupListenerListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb'
48
+ autoload :SqlVirtualMachineGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb'
51
49
  autoload :AdditionalFeaturesServerConfigurations, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb'
50
+ autoload :SqlVirtualMachineListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb'
51
+ autoload :ServerConfigurationsManagementSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb'
52
+ autoload :Operation, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb'
53
+ autoload :SQLStorageSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sqlstorage_settings.rb'
52
54
  autoload :ProxyResource, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/proxy_resource.rb'
53
55
  autoload :AvailabilityGroupListener, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb'
54
56
  autoload :TrackedResource, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb'
55
57
  autoload :SqlVirtualMachineGroup, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb'
56
58
  autoload :SqlVirtualMachine, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb'
57
59
  autoload :OperationOrigin, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_origin.rb'
58
- autoload :SqlImageSku, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb'
60
+ autoload :SqlVmGroupImageSku, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_vm_group_image_sku.rb'
59
61
  autoload :ScaleType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/scale_type.rb'
60
62
  autoload :ClusterManagerType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_manager_type.rb'
61
63
  autoload :ClusterConfiguration, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb'
62
64
  autoload :IdentityType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb'
63
65
  autoload :SqlServerLicenseType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb'
66
+ autoload :SqlManagementMode, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb'
67
+ autoload :SqlImageSku, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb'
64
68
  autoload :DayOfWeek, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb'
65
69
  autoload :BackupScheduleType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb'
66
70
  autoload :FullBackupFrequencyType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/full_backup_frequency_type.rb'
67
71
  autoload :ConnectivityType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb'
68
72
  autoload :SqlWorkloadType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb'
69
73
  autoload :DiskConfigurationType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/disk_configuration_type.rb'
74
+ autoload :StorageWorkloadType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_workload_type.rb'
70
75
  end
71
76
  end
@@ -116,6 +116,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
116
116
  end
117
117
 
118
118
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
119
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
120
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
119
121
  # Deserialize Response
120
122
  if status_code == 200
121
123
  begin
@@ -321,6 +323,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
321
323
  end
322
324
 
323
325
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
326
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
327
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
324
328
  # Deserialize Response
325
329
  if status_code == 200
326
330
  begin
@@ -443,6 +447,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
443
447
  end
444
448
 
445
449
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
450
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
451
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
446
452
  # Deserialize Response
447
453
  if status_code == 200
448
454
  begin
@@ -560,6 +566,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
560
566
  end
561
567
 
562
568
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
569
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
570
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
563
571
 
564
572
  result
565
573
  end
@@ -638,6 +646,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
638
646
  end
639
647
 
640
648
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
649
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
650
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
641
651
  # Deserialize Response
642
652
  if status_code == 200
643
653
  begin
@@ -15,9 +15,6 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
15
15
  # @return [Boolean] Enable or disable R services (SQL 2016 onwards).
16
16
  attr_accessor :is_rservices_enabled
17
17
 
18
- # @return [Boolean] Enable or disable Azure Backup service.
19
- attr_accessor :backup_permissions_for_azure_backup_svc
20
-
21
18
 
22
19
  #
23
20
  # Mapper for AdditionalFeaturesServerConfigurations class as Ruby Hash.
@@ -39,14 +36,6 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
39
36
  type: {
40
37
  name: 'Boolean'
41
38
  }
42
- },
43
- backup_permissions_for_azure_backup_svc: {
44
- client_side_validation: true,
45
- required: false,
46
- serialized_name: 'backupPermissionsForAzureBackupSvc',
47
- type: {
48
- name: 'Boolean'
49
- }
50
39
  }
51
40
  }
52
41
  }
@@ -12,7 +12,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Provisioning state to track the aysnc operation
15
+ # @return [String] Provisioning state to track the async operation
16
16
  # status.
17
17
  attr_accessor :provisioning_state
18
18
 
@@ -30,7 +30,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -18,7 +18,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
18
18
  # @return [String] Resource id of the public IP.
19
19
  attr_accessor :public_ip_address_resource_id
20
20
 
21
- # @return [String] Subnet used to include private IP.
21
+ # @return [String] Resource id of the load balancer.
22
22
  attr_accessor :load_balancer_resource_id
23
23
 
24
24
  # @return [Integer] Probe port.
@@ -30,7 +30,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -0,0 +1,17 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for SqlManagementMode
10
+ #
11
+ module SqlManagementMode
12
+ Full = "Full"
13
+ LightWeight = "LightWeight"
14
+ NoAgent = "NoAgent"
15
+ end
16
+ end
17
+ end
@@ -11,6 +11,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
11
11
  module SqlServerLicenseType
12
12
  PAYG = "PAYG"
13
13
  AHUB = "AHUB"
14
+ DR = "DR"
14
15
  end
15
16
  end
16
17
  end
@@ -15,6 +15,9 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
15
15
  # @return [Integer] Virtual machine disk count.
16
16
  attr_accessor :disk_count
17
17
 
18
+ # @return [Integer] Device id of the first disk to be updated.
19
+ attr_accessor :starting_device_id
20
+
18
21
  # @return [DiskConfigurationType] Disk configuration to apply to SQL
19
22
  # Server. Possible values include: 'NEW', 'EXTEND', 'ADD'
20
23
  attr_accessor :disk_configuration_type
@@ -41,6 +44,14 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
41
44
  name: 'Number'
42
45
  }
43
46
  },
47
+ starting_device_id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'startingDeviceId',
51
+ type: {
52
+ name: 'Number'
53
+ }
54
+ },
44
55
  disk_configuration_type: {
45
56
  client_side_validation: true,
46
57
  required: false,
@@ -20,7 +20,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
20
20
  # from SQL marketplace image.
21
21
  attr_accessor :virtual_machine_resource_id
22
22
 
23
- # @return [String] Provisioning state to track the aysnc operation
23
+ # @return [String] Provisioning state to track the async operation
24
24
  # status.
25
25
  attr_accessor :provisioning_state
26
26
 
@@ -29,10 +29,14 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
29
29
  attr_accessor :sql_image_offer
30
30
 
31
31
  # @return [SqlServerLicenseType] SQL Server license type. Possible values
32
- # include: 'PAYG', 'AHUB'
32
+ # include: 'PAYG', 'AHUB', 'DR'
33
33
  attr_accessor :sql_server_license_type
34
34
 
35
- # @return [SqlImageSku] SQL image sku. Possible values include:
35
+ # @return [SqlManagementMode] SQL Server Management type. Possible values
36
+ # include: 'Full', 'LightWeight', 'NoAgent'
37
+ attr_accessor :sql_management
38
+
39
+ # @return [SqlImageSku] SQL Server edition type. Possible values include:
36
40
  # 'Developer', 'Express', 'Standard', 'Enterprise', 'Web'
37
41
  attr_accessor :sql_image_sku
38
42
 
@@ -58,6 +62,9 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
58
62
  # configuration management settings.
59
63
  attr_accessor :server_configurations_management_settings
60
64
 
65
+ # @return [StorageConfigurationSettings] Storage Configuration Settings.
66
+ attr_accessor :storage_configuration_settings
67
+
61
68
 
62
69
  #
63
70
  # Mapper for SqlVirtualMachine class as Ruby Hash.
@@ -152,7 +159,6 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
152
159
  sql_image_offer: {
153
160
  client_side_validation: true,
154
161
  required: false,
155
- read_only: true,
156
162
  serialized_name: 'properties.sqlImageOffer',
157
163
  type: {
158
164
  name: 'String'
@@ -166,10 +172,17 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
166
172
  name: 'String'
167
173
  }
168
174
  },
175
+ sql_management: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'properties.sqlManagement',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ },
169
183
  sql_image_sku: {
170
184
  client_side_validation: true,
171
185
  required: false,
172
- read_only: true,
173
186
  serialized_name: 'properties.sqlImageSku',
174
187
  type: {
175
188
  name: 'String'
@@ -227,6 +240,15 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
227
240
  name: 'Composite',
228
241
  class_name: 'ServerConfigurationsManagementSettings'
229
242
  }
243
+ },
244
+ storage_configuration_settings: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ serialized_name: 'properties.storageConfigurationSettings',
248
+ type: {
249
+ name: 'Composite',
250
+ class_name: 'StorageConfigurationSettings'
251
+ }
230
252
  }
231
253
  }
232
254
  }
@@ -12,7 +12,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Provisioning state to track the aysnc operation
15
+ # @return [String] Provisioning state to track the async operation
16
16
  # status.
17
17
  attr_accessor :provisioning_state
18
18
 
@@ -20,8 +20,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
20
20
  # SQL2017-WS2016.
21
21
  attr_accessor :sql_image_offer
22
22
 
23
- # @return [SqlImageSku] SQL image sku. Possible values include:
24
- # 'Developer', 'Express', 'Standard', 'Enterprise', 'Web'
23
+ # @return [SqlVmGroupImageSku] SQL image sku. Possible values include:
24
+ # 'Developer', 'Enterprise'
25
25
  attr_accessor :sql_image_sku
26
26
 
27
27
  # @return [ScaleType] Scale type. Possible values include: 'HA'
@@ -30,7 +30,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -30,7 +30,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -0,0 +1,16 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for SqlVmGroupImageSku
10
+ #
11
+ module SqlVmGroupImageSku
12
+ Developer = "Developer"
13
+ Enterprise = "Enterprise"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,65 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Set disk storage settings for SQL Server.
10
+ #
11
+ class SQLStorageSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Integer>] Logical Unit Numbers for the disks.
16
+ attr_accessor :luns
17
+
18
+ # @return [String] SQL Server default file path
19
+ attr_accessor :default_file_path
20
+
21
+
22
+ #
23
+ # Mapper for SQLStorageSettings class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'SQLStorageSettings',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'SQLStorageSettings',
34
+ model_properties: {
35
+ luns: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'luns',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'NumberElementType',
45
+ type: {
46
+ name: 'Number'
47
+ }
48
+ }
49
+ }
50
+ },
51
+ default_file_path: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'defaultFilePath',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,95 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Storage Configurations for SQL Data, Log and TempDb.
10
+ #
11
+ class StorageConfigurationSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SQLStorageSettings] SQL Server Data Storage Settings.
16
+ attr_accessor :sql_data_settings
17
+
18
+ # @return [SQLStorageSettings] SQL Server Log Storage Settings.
19
+ attr_accessor :sql_log_settings
20
+
21
+ # @return [SQLStorageSettings] SQL Server TempDb Storage Settings.
22
+ attr_accessor :sql_temp_db_settings
23
+
24
+ # @return [DiskConfigurationType] Disk configuration to apply to SQL
25
+ # Server. Possible values include: 'NEW', 'EXTEND', 'ADD'
26
+ attr_accessor :disk_configuration_type
27
+
28
+ # @return [StorageWorkloadType] Storage workload type. Possible values
29
+ # include: 'GENERAL', 'OLTP', 'DW'
30
+ attr_accessor :storage_workload_type
31
+
32
+
33
+ #
34
+ # Mapper for StorageConfigurationSettings class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StorageConfigurationSettings',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'StorageConfigurationSettings',
45
+ model_properties: {
46
+ sql_data_settings: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'sqlDataSettings',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'SQLStorageSettings'
53
+ }
54
+ },
55
+ sql_log_settings: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'sqlLogSettings',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'SQLStorageSettings'
62
+ }
63
+ },
64
+ sql_temp_db_settings: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'sqlTempDbSettings',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'SQLStorageSettings'
71
+ }
72
+ },
73
+ disk_configuration_type: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'diskConfigurationType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ storage_workload_type: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'storageWorkloadType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end