azure_mgmt_sqlvirtualmachine 0.18.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb +12 -9
  4. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb +0 -0
  5. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb +0 -0
  6. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb +0 -0
  7. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb +0 -0
  8. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb +0 -0
  9. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb +0 -0
  10. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb +0 -0
  11. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb +0 -0
  12. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_manager_type.rb +0 -0
  13. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb +0 -0
  14. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb +0 -0
  15. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/disk_configuration_type.rb +0 -0
  16. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/full_backup_frequency_type.rb +0 -0
  17. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb +0 -0
  18. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb +0 -0
  19. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb +0 -0
  20. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb +0 -0
  21. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_display.rb +0 -0
  22. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb +0 -0
  23. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_origin.rb +0 -0
  24. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/private_ipaddress.rb +0 -0
  25. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/proxy_resource.rb +0 -0
  26. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource.rb +0 -0
  27. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource_identity.rb +0 -0
  28. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/scale_type.rb +0 -0
  29. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb +0 -0
  30. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb +0 -0
  31. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb +0 -0
  32. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb +0 -0
  33. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb +1 -0
  34. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb +0 -0
  35. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb +13 -1
  36. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb +0 -0
  37. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb +0 -0
  38. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb +0 -0
  39. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb +0 -0
  40. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb +0 -0
  41. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_vm_group_image_sku.rb +0 -0
  42. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb +0 -0
  43. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb +0 -0
  44. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sqlstorage_settings.rb +65 -0
  45. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_configuration_settings.rb +95 -0
  46. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_workload_type.rb +17 -0
  47. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb +0 -0
  48. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb +0 -0
  49. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb +0 -0
  50. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/module_definition.rb +0 -0
  51. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb +0 -0
  52. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb +0 -0
  53. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb +1 -1
  54. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb +218 -0
  55. data/lib/azure_mgmt_sqlvirtualmachine.rb +6 -6
  56. data/lib/module_definition.rb +7 -7
  57. data/lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb +42 -30
  58. data/lib/profiles/latest/sqlvirtualmachine_latest_profile_client.rb +40 -40
  59. data/lib/profiles/latest/sqlvirtualmachine_module_definition.rb +8 -8
  60. data/lib/version.rb +1 -1
  61. metadata +6 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 659a75a61cb9d72fa0cf476e08378b2fbb3e98bbea3967f21c4ed22dc3052565
4
- data.tar.gz: 71b8660da19d466426408a5f4fa600622434d802575fdddcc8aa940ea744f430
2
+ SHA1:
3
+ metadata.gz: 706d9ffc2f01364c24c5063822134d89b18256b1
4
+ data.tar.gz: 94b32391ff81e239c6f76592377e4d0e03716fee
5
5
  SHA512:
6
- metadata.gz: 79ec0dbf4b03a9e80590e2a32233dfa2ccb43ecee9fd09aca2df2e0d1d0479fb15e6c8d04c00c49bcd4fcf3060bcc13f3f5a6827ea97f658017288b5e8bc3a90
7
- data.tar.gz: 17b5499bee5811c897cf8d7449251029d14ad5f5e8d48ed1a835fc48717ecb7716e4ada124b56b27260a8aa397ea7757fc859dad3b6567527fb395be6d95a378
6
+ metadata.gz: c27c19560cfddac44c50c27133cf3618a9df1b65321e0733a6ba8cb651c8931bd8ef952f2b62376dacac75dcceb6b60939dda93a5bb058feeb32312baf30052e
7
+ data.tar.gz: 90d0e8a4f943583191921b6fe642e8ab64882cce7fd98a423e55053ea15b46e8a9d5f0a45ffb8105a67f360aa59ec1f497d43dbd7804570970c5f9660dd879f9
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Microsoft Corporation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
@@ -27,28 +27,30 @@ 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 :SqlVirtualMachineUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.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 :SqlVirtualMachineListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.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'
@@ -69,5 +71,6 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
69
71
  autoload :ConnectivityType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb'
70
72
  autoload :SqlWorkloadType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb'
71
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'
72
75
  end
73
76
  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
@@ -29,7 +29,7 @@ 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
35
  # @return [SqlManagementMode] SQL Server Management type. Possible values
@@ -62,6 +62,9 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
62
62
  # configuration management settings.
63
63
  attr_accessor :server_configurations_management_settings
64
64
 
65
+ # @return [StorageConfigurationSettings] Storage Configuration Settings.
66
+ attr_accessor :storage_configuration_settings
67
+
65
68
 
66
69
  #
67
70
  # Mapper for SqlVirtualMachine class as Ruby Hash.
@@ -237,6 +240,15 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
237
240
  name: 'Composite',
238
241
  class_name: 'ServerConfigurationsManagementSettings'
239
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
+ }
240
252
  }
241
253
  }
242
254
  }
@@ -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
@@ -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 StorageWorkloadType
10
+ #
11
+ module StorageWorkloadType
12
+ GENERAL = "GENERAL"
13
+ OLTP = "OLTP"
14
+ DW = "DW"
15
+ end
16
+ end
17
+ end
@@ -136,7 +136,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_sqlvirtualmachine'
139
- sdk_information = "#{sdk_information}/0.18.0"
139
+ sdk_information = "#{sdk_information}/0.18.1"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -25,6 +25,109 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
25
25
  # @return [SqlVirtualMachineManagementClient] reference to the SqlVirtualMachineManagementClient
26
26
  attr_reader :client
27
27
 
28
+ #
29
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
30
+ #
31
+ # @param resource_group_name [String] Name of the resource group that contains
32
+ # the resource. You can obtain this value from the Azure Resource Manager API
33
+ # or the portal.
34
+ # @param sql_virtual_machine_group_name [String] Name of the SQL virtual
35
+ # machine group.
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
+ #
39
+ # @return [Array<SqlVirtualMachine>] operation results.
40
+ #
41
+ def list_by_sql_vm_group(resource_group_name, sql_virtual_machine_group_name, custom_headers:nil)
42
+ first_page = list_by_sql_vm_group_as_lazy(resource_group_name, sql_virtual_machine_group_name, custom_headers:custom_headers)
43
+ first_page.get_all_items
44
+ end
45
+
46
+ #
47
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
48
+ #
49
+ # @param resource_group_name [String] Name of the resource group that contains
50
+ # the resource. You can obtain this value from the Azure Resource Manager API
51
+ # or the portal.
52
+ # @param sql_virtual_machine_group_name [String] Name of the SQL virtual
53
+ # machine group.
54
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
55
+ # will be added to the HTTP request.
56
+ #
57
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
58
+ #
59
+ def list_by_sql_vm_group_with_http_info(resource_group_name, sql_virtual_machine_group_name, custom_headers:nil)
60
+ list_by_sql_vm_group_async(resource_group_name, sql_virtual_machine_group_name, custom_headers:custom_headers).value!
61
+ end
62
+
63
+ #
64
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
65
+ #
66
+ # @param resource_group_name [String] Name of the resource group that contains
67
+ # the resource. You can obtain this value from the Azure Resource Manager API
68
+ # or the portal.
69
+ # @param sql_virtual_machine_group_name [String] Name of the SQL virtual
70
+ # machine group.
71
+ # @param [Hash{String => String}] A hash of custom headers that will be added
72
+ # to the HTTP request.
73
+ #
74
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
75
+ #
76
+ def list_by_sql_vm_group_async(resource_group_name, sql_virtual_machine_group_name, custom_headers:nil)
77
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
78
+ fail ArgumentError, 'sql_virtual_machine_group_name is nil' if sql_virtual_machine_group_name.nil?
79
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
80
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
81
+
82
+
83
+ request_headers = {}
84
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
85
+
86
+ # Set Headers
87
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
88
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/sqlVirtualMachines'
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ options = {
94
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
+ path_params: {'resourceGroupName' => resource_group_name,'sqlVirtualMachineGroupName' => sql_virtual_machine_group_name,'subscriptionId' => @client.subscription_id},
96
+ query_params: {'api-version' => @client.api_version},
97
+ headers: request_headers.merge(custom_headers || {}),
98
+ base_url: request_url
99
+ }
100
+ promise = @client.make_request_async(:get, path_template, options)
101
+
102
+ promise = promise.then do |result|
103
+ http_response = result.response
104
+ status_code = http_response.status
105
+ response_content = http_response.body
106
+ unless status_code == 200
107
+ error_model = JSON.load(response_content)
108
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
109
+ end
110
+
111
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
113
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
114
+ # Deserialize Response
115
+ if status_code == 200
116
+ begin
117
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
118
+ result_mapper = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult.mapper()
119
+ result.body = @client.deserialize(result_mapper, parsed_response)
120
+ rescue Exception => e
121
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
122
+ end
123
+ end
124
+
125
+ result
126
+ end
127
+
128
+ promise.execute
129
+ end
130
+
28
131
  #
29
132
  # Gets all SQL virtual machines in a subscription.
30
133
  #
@@ -769,6 +872,96 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
769
872
  promise.execute
770
873
  end
771
874
 
875
+ #
876
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
877
+ #
878
+ # @param next_page_link [String] The NextLink from the previous successful call
879
+ # to List operation.
880
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
881
+ # will be added to the HTTP request.
882
+ #
883
+ # @return [SqlVirtualMachineListResult] operation results.
884
+ #
885
+ def list_by_sql_vm_group_next(next_page_link, custom_headers:nil)
886
+ response = list_by_sql_vm_group_next_async(next_page_link, custom_headers:custom_headers).value!
887
+ response.body unless response.nil?
888
+ end
889
+
890
+ #
891
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
892
+ #
893
+ # @param next_page_link [String] The NextLink from the previous successful call
894
+ # to List operation.
895
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
896
+ # will be added to the HTTP request.
897
+ #
898
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
899
+ #
900
+ def list_by_sql_vm_group_next_with_http_info(next_page_link, custom_headers:nil)
901
+ list_by_sql_vm_group_next_async(next_page_link, custom_headers:custom_headers).value!
902
+ end
903
+
904
+ #
905
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
906
+ #
907
+ # @param next_page_link [String] The NextLink from the previous successful call
908
+ # to List operation.
909
+ # @param [Hash{String => String}] A hash of custom headers that will be added
910
+ # to the HTTP request.
911
+ #
912
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
913
+ #
914
+ def list_by_sql_vm_group_next_async(next_page_link, custom_headers:nil)
915
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
916
+
917
+
918
+ request_headers = {}
919
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
920
+
921
+ # Set Headers
922
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
923
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
924
+ path_template = '{nextLink}'
925
+
926
+ request_url = @base_url || @client.base_url
927
+
928
+ options = {
929
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
930
+ skip_encoding_path_params: {'nextLink' => next_page_link},
931
+ headers: request_headers.merge(custom_headers || {}),
932
+ base_url: request_url
933
+ }
934
+ promise = @client.make_request_async(:get, path_template, options)
935
+
936
+ promise = promise.then do |result|
937
+ http_response = result.response
938
+ status_code = http_response.status
939
+ response_content = http_response.body
940
+ unless status_code == 200
941
+ error_model = JSON.load(response_content)
942
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
943
+ end
944
+
945
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
946
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
947
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
948
+ # Deserialize Response
949
+ if status_code == 200
950
+ begin
951
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
952
+ result_mapper = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult.mapper()
953
+ result.body = @client.deserialize(result_mapper, parsed_response)
954
+ rescue Exception => e
955
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
956
+ end
957
+ end
958
+
959
+ result
960
+ end
961
+
962
+ promise.execute
963
+ end
964
+
772
965
  #
773
966
  # Gets all SQL virtual machines in a subscription.
774
967
  #
@@ -949,6 +1142,31 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
949
1142
  promise.execute
950
1143
  end
951
1144
 
1145
+ #
1146
+ # Gets the list of sql virtual machines in a SQL virtual machine group.
1147
+ #
1148
+ # @param resource_group_name [String] Name of the resource group that contains
1149
+ # the resource. You can obtain this value from the Azure Resource Manager API
1150
+ # or the portal.
1151
+ # @param sql_virtual_machine_group_name [String] Name of the SQL virtual
1152
+ # machine group.
1153
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1154
+ # will be added to the HTTP request.
1155
+ #
1156
+ # @return [SqlVirtualMachineListResult] which provide lazy access to pages of
1157
+ # the response.
1158
+ #
1159
+ def list_by_sql_vm_group_as_lazy(resource_group_name, sql_virtual_machine_group_name, custom_headers:nil)
1160
+ response = list_by_sql_vm_group_async(resource_group_name, sql_virtual_machine_group_name, custom_headers:custom_headers).value!
1161
+ unless response.nil?
1162
+ page = response.body
1163
+ page.next_method = Proc.new do |next_page_link|
1164
+ list_by_sql_vm_group_next_async(next_page_link, custom_headers:custom_headers)
1165
+ end
1166
+ page
1167
+ end
1168
+ end
1169
+
952
1170
  #
953
1171
  # Gets all SQL virtual machines in a subscription.
954
1172
  #
@@ -1,6 +1,6 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine'
6
- require 'profiles/latest/sqlvirtualmachine_latest_profile_client'
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine'
6
+ require 'profiles/latest/sqlvirtualmachine_latest_profile_client'
@@ -1,8 +1,8 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::Sqlvirtualmachine end
7
- module Azure::Sqlvirtualmachine::Mgmt end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Sqlvirtualmachine end
7
+ module Azure::Sqlvirtualmachine::Mgmt end
8
8
 
@@ -12,28 +12,30 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
12
12
  SqlVirtualMachines = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachines
13
13
 
14
14
  module Models
15
- SqlVirtualMachineGroupListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
16
15
  ResourceIdentity = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ResourceIdentity
17
- LoadBalancerConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration
18
16
  WsfcDomainCredentials = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials
17
+ LoadBalancerConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration
18
+ AutoPatchingSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
19
19
  PrivateIPAddress = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress
20
20
  Resource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource
21
21
  OperationDisplay = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay
22
- ServerConfigurationsManagementSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
22
+ StorageConfigurationSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::StorageConfigurationSettings
23
23
  OperationListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult
24
- AutoPatchingSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
25
- SqlVirtualMachineUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
26
24
  AutoBackupSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
27
- SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
25
+ SqlVirtualMachineUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
28
26
  KeyVaultCredentialSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings
29
- Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
27
+ SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
30
28
  SqlConnectivityUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
31
- SqlVirtualMachineListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
29
+ AvailabilityGroupListenerListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
32
30
  SqlWorkloadTypeUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
33
31
  WsfcDomainProfile = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile
34
32
  SqlStorageUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings
35
- AvailabilityGroupListenerListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
33
+ SqlVirtualMachineGroupListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
36
34
  AdditionalFeaturesServerConfigurations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations
35
+ SqlVirtualMachineListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
36
+ ServerConfigurationsManagementSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
37
+ Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
38
+ SQLStorageSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SQLStorageSettings
37
39
  ProxyResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ProxyResource
38
40
  AvailabilityGroupListener = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListener
39
41
  TrackedResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::TrackedResource
@@ -54,6 +56,7 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
54
56
  ConnectivityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ConnectivityType
55
57
  SqlWorkloadType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadType
56
58
  DiskConfigurationType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DiskConfigurationType
59
+ StorageWorkloadType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::StorageWorkloadType
57
60
  end
58
61
 
59
62
  #
@@ -104,17 +107,17 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
104
107
  end
105
108
 
106
109
  class ModelClasses
107
- def sql_virtual_machine_group_list_result
108
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
109
- end
110
110
  def resource_identity
111
111
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ResourceIdentity
112
112
  end
113
+ def wsfc_domain_credentials
114
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials
115
+ end
113
116
  def load_balancer_configuration
114
117
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration
115
118
  end
116
- def wsfc_domain_credentials
117
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials
119
+ def auto_patching_settings
120
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
118
121
  end
119
122
  def private_ipaddress
120
123
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress
@@ -125,35 +128,29 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
125
128
  def operation_display
126
129
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay
127
130
  end
128
- def server_configurations_management_settings
129
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
131
+ def storage_configuration_settings
132
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::StorageConfigurationSettings
130
133
  end
131
134
  def operation_list_result
132
135
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult
133
136
  end
134
- def auto_patching_settings
135
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
136
- end
137
- def sql_virtual_machine_update
138
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
139
- end
140
137
  def auto_backup_settings
141
138
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
142
139
  end
143
- def sql_virtual_machine_group_update
144
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
140
+ def sql_virtual_machine_update
141
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
145
142
  end
146
143
  def key_vault_credential_settings
147
144
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings
148
145
  end
149
- def operation
150
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
146
+ def sql_virtual_machine_group_update
147
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
151
148
  end
152
149
  def sql_connectivity_update_settings
153
150
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
154
151
  end
155
- def sql_virtual_machine_list_result
156
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
152
+ def availability_group_listener_list_result
153
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
157
154
  end
158
155
  def sql_workload_type_update_settings
159
156
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
@@ -164,12 +161,24 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
164
161
  def sql_storage_update_settings
165
162
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings
166
163
  end
167
- def availability_group_listener_list_result
168
- Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
164
+ def sql_virtual_machine_group_list_result
165
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
169
166
  end
170
167
  def additional_features_server_configurations
171
168
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations
172
169
  end
170
+ def sql_virtual_machine_list_result
171
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
172
+ end
173
+ def server_configurations_management_settings
174
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
175
+ end
176
+ def operation
177
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
178
+ end
179
+ def sqlstorage_settings
180
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SQLStorageSettings
181
+ end
173
182
  def proxy_resource
174
183
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ProxyResource
175
184
  end
@@ -230,6 +239,9 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
230
239
  def disk_configuration_type
231
240
  Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DiskConfigurationType
232
241
  end
242
+ def storage_workload_type
243
+ Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::StorageWorkloadType
244
+ end
233
245
  end
234
246
  end
235
247
  end
@@ -1,40 +1,40 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'profiles/latest/sqlvirtualmachine_module_definition'
6
- require 'profiles/latest/modules/sqlvirtualmachine_profile_module'
7
-
8
- module Azure::Sqlvirtualmachine::Profiles::Latest
9
- module Mgmt
10
- #
11
- # Client class for the Latest profile SDK.
12
- #
13
- class Client < SqlvirtualmachineManagementClass
14
- include MsRestAzure::Common::Configurable
15
-
16
- #
17
- # Initializes a new instance of the Client class.
18
- # @param options [Hash] hash of client options.
19
- # options = {
20
- # tenant_id: 'YOUR TENANT ID',
21
- # client_id: 'YOUR CLIENT ID',
22
- # client_secret: 'YOUR CLIENT SECRET',
23
- # subscription_id: 'YOUR SUBSCRIPTION ID',
24
- # credentials: credentials,
25
- # active_directory_settings: active_directory_settings,
26
- # base_url: 'YOUR BASE URL',
27
- # options: options
28
- # }
29
- # 'credentials' are optional and if not passed in the hash, will be obtained
30
- # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
- #
32
- # Also, base_url, active_directory_settings & options are optional.
33
- #
34
- def initialize(options = {})
35
- super(options)
36
- end
37
-
38
- end
39
- end
40
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/sqlvirtualmachine_module_definition'
6
+ require 'profiles/latest/modules/sqlvirtualmachine_profile_module'
7
+
8
+ module Azure::Sqlvirtualmachine::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < SqlvirtualmachineManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -1,8 +1,8 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::Sqlvirtualmachine end
7
- module Azure::Sqlvirtualmachine::Profiles end
8
- module Azure::Sqlvirtualmachine::Profiles::Latest end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Sqlvirtualmachine end
7
+ module Azure::Sqlvirtualmachine::Profiles end
8
+ module Azure::Sqlvirtualmachine::Profiles::Latest end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Sqlvirtualmachine::Mgmt
6
- VERSION = '0.18.0'
6
+ VERSION = '0.18.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_sqlvirtualmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-03 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,6 +128,9 @@ files:
128
128
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_vm_group_image_sku.rb
129
129
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb
130
130
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb
131
+ - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sqlstorage_settings.rb
132
+ - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_configuration_settings.rb
133
+ - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_workload_type.rb
131
134
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb
132
135
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb
133
136
  - lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb
@@ -167,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
170
  version: '0'
168
171
  requirements: []
169
172
  rubyforge_project:
170
- rubygems_version: 2.7.6
173
+ rubygems_version: 2.5.2.3
171
174
  signing_key:
172
175
  specification_version: 4
173
176
  summary: Official Ruby client library to consume Microsoft Azure SQL Virtual Machine