azure_mgmt_sqlvirtualmachine 0.17.2 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb +3 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb +1 -1
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb +9 -9
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb +14 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb +1 -1
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb +1 -1
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb +127 -111
- data/lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb +10 -6
- data/lib/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 659a75a61cb9d72fa0cf476e08378b2fbb3e98bbea3967f21c4ed22dc3052565
|
4
|
+
data.tar.gz: 71b8660da19d466426408a5f4fa600622434d802575fdddcc8aa940ea744f430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79ec0dbf4b03a9e80590e2a32233dfa2ccb43ecee9fd09aca2df2e0d1d0479fb15e6c8d04c00c49bcd4fcf3060bcc13f3f5a6827ea97f658017288b5e8bc3a90
|
7
|
+
data.tar.gz: 17b5499bee5811c897cf8d7449251029d14ad5f5e8d48ed1a835fc48717ecb7716e4ada124b56b27260a8aa397ea7757fc859dad3b6567527fb395be6d95a378
|
@@ -37,13 +37,13 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
37
37
|
autoload :ServerConfigurationsManagementSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb'
|
38
38
|
autoload :OperationListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb'
|
39
39
|
autoload :AutoPatchingSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb'
|
40
|
-
autoload :
|
40
|
+
autoload :SqlVirtualMachineUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb'
|
41
41
|
autoload :AutoBackupSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb'
|
42
42
|
autoload :SqlVirtualMachineGroupUpdate, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb'
|
43
43
|
autoload :KeyVaultCredentialSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb'
|
44
44
|
autoload :Operation, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb'
|
45
45
|
autoload :SqlConnectivityUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb'
|
46
|
-
autoload :
|
46
|
+
autoload :SqlVirtualMachineListResult, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb'
|
47
47
|
autoload :SqlWorkloadTypeUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb'
|
48
48
|
autoload :WsfcDomainProfile, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb'
|
49
49
|
autoload :SqlStorageUpdateSettings, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb'
|
@@ -61,6 +61,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
61
61
|
autoload :ClusterConfiguration, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb'
|
62
62
|
autoload :IdentityType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb'
|
63
63
|
autoload :SqlServerLicenseType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb'
|
64
|
+
autoload :SqlManagementMode, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb'
|
64
65
|
autoload :SqlImageSku, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb'
|
65
66
|
autoload :DayOfWeek, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb'
|
66
67
|
autoload :BackupScheduleType, '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb'
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb
CHANGED
@@ -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
|
@@ -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
|
15
|
+
# @return [String] Provisioning state to track the async operation
|
16
16
|
# status.
|
17
17
|
attr_accessor :provisioning_state
|
18
18
|
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb
ADDED
@@ -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
|
@@ -15,13 +15,13 @@ 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
|
21
24
|
|
22
|
-
# @return [Integer] Device id of the first disk to be updated.
|
23
|
-
attr_accessor :starting_device_id
|
24
|
-
|
25
25
|
|
26
26
|
#
|
27
27
|
# Mapper for SqlStorageUpdateSettings class as Ruby Hash.
|
@@ -44,20 +44,20 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
44
44
|
name: 'Number'
|
45
45
|
}
|
46
46
|
},
|
47
|
-
|
47
|
+
starting_device_id: {
|
48
48
|
client_side_validation: true,
|
49
49
|
required: false,
|
50
|
-
serialized_name: '
|
50
|
+
serialized_name: 'startingDeviceId',
|
51
51
|
type: {
|
52
|
-
name: '
|
52
|
+
name: 'Number'
|
53
53
|
}
|
54
54
|
},
|
55
|
-
|
55
|
+
disk_configuration_type: {
|
56
56
|
client_side_validation: true,
|
57
57
|
required: false,
|
58
|
-
serialized_name: '
|
58
|
+
serialized_name: 'diskConfigurationType',
|
59
59
|
type: {
|
60
|
-
name: '
|
60
|
+
name: 'String'
|
61
61
|
}
|
62
62
|
}
|
63
63
|
}
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb
CHANGED
@@ -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
|
23
|
+
# @return [String] Provisioning state to track the async operation
|
24
24
|
# status.
|
25
25
|
attr_accessor :provisioning_state
|
26
26
|
|
@@ -32,7 +32,11 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
32
32
|
# include: 'PAYG', 'AHUB'
|
33
33
|
attr_accessor :sql_server_license_type
|
34
34
|
|
35
|
-
# @return [
|
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
|
|
@@ -152,7 +156,6 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
152
156
|
sql_image_offer: {
|
153
157
|
client_side_validation: true,
|
154
158
|
required: false,
|
155
|
-
read_only: true,
|
156
159
|
serialized_name: 'properties.sqlImageOffer',
|
157
160
|
type: {
|
158
161
|
name: 'String'
|
@@ -166,10 +169,17 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
166
169
|
name: 'String'
|
167
170
|
}
|
168
171
|
},
|
172
|
+
sql_management: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'properties.sqlManagement',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
},
|
169
180
|
sql_image_sku: {
|
170
181
|
client_side_validation: true,
|
171
182
|
required: false,
|
172
|
-
read_only: true,
|
173
183
|
serialized_name: 'properties.sqlImageSku',
|
174
184
|
type: {
|
175
185
|
name: 'String'
|
@@ -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
|
15
|
+
# @return [String] Provisioning state to track the async operation
|
16
16
|
# status.
|
17
17
|
attr_accessor :provisioning_state
|
18
18
|
|
@@ -90,6 +90,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
90
90
|
end
|
91
91
|
|
92
92
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
93
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
94
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
93
95
|
# Deserialize Response
|
94
96
|
if status_code == 200
|
95
97
|
begin
|
@@ -178,6 +180,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
178
180
|
end
|
179
181
|
|
180
182
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
183
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
184
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
181
185
|
# Deserialize Response
|
182
186
|
if status_code == 200
|
183
187
|
begin
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb
CHANGED
@@ -109,6 +109,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
109
109
|
end
|
110
110
|
|
111
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?
|
112
114
|
# Deserialize Response
|
113
115
|
if status_code == 200
|
114
116
|
begin
|
@@ -349,6 +351,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
349
351
|
end
|
350
352
|
|
351
353
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
354
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
355
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
352
356
|
# Deserialize Response
|
353
357
|
if status_code == 200
|
354
358
|
begin
|
@@ -433,6 +437,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
433
437
|
end
|
434
438
|
|
435
439
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
440
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
441
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
436
442
|
# Deserialize Response
|
437
443
|
if status_code == 200
|
438
444
|
begin
|
@@ -545,6 +551,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
545
551
|
end
|
546
552
|
|
547
553
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
554
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
555
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
548
556
|
# Deserialize Response
|
549
557
|
if status_code == 200
|
550
558
|
begin
|
@@ -655,6 +663,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
655
663
|
end
|
656
664
|
|
657
665
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
666
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
667
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
658
668
|
|
659
669
|
result
|
660
670
|
end
|
@@ -760,6 +770,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
760
770
|
end
|
761
771
|
|
762
772
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
773
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
774
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
763
775
|
# Deserialize Response
|
764
776
|
if status_code == 200
|
765
777
|
begin
|
@@ -848,6 +860,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
848
860
|
end
|
849
861
|
|
850
862
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
863
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
864
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
851
865
|
# Deserialize Response
|
852
866
|
if status_code == 200
|
853
867
|
begin
|
@@ -936,6 +950,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
936
950
|
end
|
937
951
|
|
938
952
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
953
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
954
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
939
955
|
# Deserialize Response
|
940
956
|
if status_code == 200
|
941
957
|
begin
|
@@ -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.
|
139
|
+
sdk_information = "#{sdk_information}/0.18.0"
|
140
140
|
add_user_agent_information(sdk_information)
|
141
141
|
end
|
142
142
|
end
|
@@ -25,6 +25,92 @@ 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 all SQL virtual machines in a subscription.
|
30
|
+
#
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [Array<SqlVirtualMachine>] operation results.
|
35
|
+
#
|
36
|
+
def list(custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
38
|
+
first_page.get_all_items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets all SQL virtual machines in a subscription.
|
43
|
+
#
|
44
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
45
|
+
# will be added to the HTTP request.
|
46
|
+
#
|
47
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
48
|
+
#
|
49
|
+
def list_with_http_info(custom_headers:nil)
|
50
|
+
list_async(custom_headers:custom_headers).value!
|
51
|
+
end
|
52
|
+
|
53
|
+
#
|
54
|
+
# Gets all SQL virtual machines in a subscription.
|
55
|
+
#
|
56
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
57
|
+
# to the HTTP request.
|
58
|
+
#
|
59
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
60
|
+
#
|
61
|
+
def list_async(custom_headers:nil)
|
62
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
63
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
64
|
+
|
65
|
+
|
66
|
+
request_headers = {}
|
67
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
68
|
+
|
69
|
+
# Set Headers
|
70
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
71
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
72
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines'
|
73
|
+
|
74
|
+
request_url = @base_url || @client.base_url
|
75
|
+
|
76
|
+
options = {
|
77
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
78
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
79
|
+
query_params: {'api-version' => @client.api_version},
|
80
|
+
headers: request_headers.merge(custom_headers || {}),
|
81
|
+
base_url: request_url
|
82
|
+
}
|
83
|
+
promise = @client.make_request_async(:get, path_template, options)
|
84
|
+
|
85
|
+
promise = promise.then do |result|
|
86
|
+
http_response = result.response
|
87
|
+
status_code = http_response.status
|
88
|
+
response_content = http_response.body
|
89
|
+
unless status_code == 200
|
90
|
+
error_model = JSON.load(response_content)
|
91
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
92
|
+
end
|
93
|
+
|
94
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
95
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
96
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
97
|
+
# Deserialize Response
|
98
|
+
if status_code == 200
|
99
|
+
begin
|
100
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
101
|
+
result_mapper = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult.mapper()
|
102
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
103
|
+
rescue Exception => e
|
104
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
result
|
109
|
+
end
|
110
|
+
|
111
|
+
promise.execute
|
112
|
+
end
|
113
|
+
|
28
114
|
#
|
29
115
|
# Gets a SQL virtual machine.
|
30
116
|
#
|
@@ -109,6 +195,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
109
195
|
end
|
110
196
|
|
111
197
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
198
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
199
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
112
200
|
# Deserialize Response
|
113
201
|
if status_code == 200
|
114
202
|
begin
|
@@ -341,90 +429,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
341
429
|
end
|
342
430
|
|
343
431
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
344
|
-
|
345
|
-
|
346
|
-
begin
|
347
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
348
|
-
result_mapper = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult.mapper()
|
349
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
350
|
-
rescue Exception => e
|
351
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
result
|
356
|
-
end
|
357
|
-
|
358
|
-
promise.execute
|
359
|
-
end
|
360
|
-
|
361
|
-
#
|
362
|
-
# Gets all SQL virtual machines in a subscription.
|
363
|
-
#
|
364
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
365
|
-
# will be added to the HTTP request.
|
366
|
-
#
|
367
|
-
# @return [Array<SqlVirtualMachine>] operation results.
|
368
|
-
#
|
369
|
-
def list(custom_headers:nil)
|
370
|
-
first_page = list_as_lazy(custom_headers:custom_headers)
|
371
|
-
first_page.get_all_items
|
372
|
-
end
|
373
|
-
|
374
|
-
#
|
375
|
-
# Gets all SQL virtual machines in a subscription.
|
376
|
-
#
|
377
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
378
|
-
# will be added to the HTTP request.
|
379
|
-
#
|
380
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
381
|
-
#
|
382
|
-
def list_with_http_info(custom_headers:nil)
|
383
|
-
list_async(custom_headers:custom_headers).value!
|
384
|
-
end
|
385
|
-
|
386
|
-
#
|
387
|
-
# Gets all SQL virtual machines in a subscription.
|
388
|
-
#
|
389
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
390
|
-
# to the HTTP request.
|
391
|
-
#
|
392
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
393
|
-
#
|
394
|
-
def list_async(custom_headers:nil)
|
395
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
396
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
397
|
-
|
398
|
-
|
399
|
-
request_headers = {}
|
400
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
401
|
-
|
402
|
-
# Set Headers
|
403
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
404
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
405
|
-
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines'
|
406
|
-
|
407
|
-
request_url = @base_url || @client.base_url
|
408
|
-
|
409
|
-
options = {
|
410
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
411
|
-
path_params: {'subscriptionId' => @client.subscription_id},
|
412
|
-
query_params: {'api-version' => @client.api_version},
|
413
|
-
headers: request_headers.merge(custom_headers || {}),
|
414
|
-
base_url: request_url
|
415
|
-
}
|
416
|
-
promise = @client.make_request_async(:get, path_template, options)
|
417
|
-
|
418
|
-
promise = promise.then do |result|
|
419
|
-
http_response = result.response
|
420
|
-
status_code = http_response.status
|
421
|
-
response_content = http_response.body
|
422
|
-
unless status_code == 200
|
423
|
-
error_model = JSON.load(response_content)
|
424
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
425
|
-
end
|
426
|
-
|
427
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
432
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
433
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
428
434
|
# Deserialize Response
|
429
435
|
if status_code == 200
|
430
436
|
begin
|
@@ -534,6 +540,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
534
540
|
end
|
535
541
|
|
536
542
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
543
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
544
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
537
545
|
# Deserialize Response
|
538
546
|
if status_code == 200
|
539
547
|
begin
|
@@ -641,6 +649,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
641
649
|
end
|
642
650
|
|
643
651
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
652
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
653
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
644
654
|
|
645
655
|
result
|
646
656
|
end
|
@@ -740,6 +750,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
740
750
|
end
|
741
751
|
|
742
752
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
753
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
754
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
743
755
|
# Deserialize Response
|
744
756
|
if status_code == 200
|
745
757
|
begin
|
@@ -758,7 +770,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
758
770
|
end
|
759
771
|
|
760
772
|
#
|
761
|
-
# Gets all SQL virtual machines in a
|
773
|
+
# Gets all SQL virtual machines in a subscription.
|
762
774
|
#
|
763
775
|
# @param next_page_link [String] The NextLink from the previous successful call
|
764
776
|
# to List operation.
|
@@ -767,13 +779,13 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
767
779
|
#
|
768
780
|
# @return [SqlVirtualMachineListResult] operation results.
|
769
781
|
#
|
770
|
-
def
|
771
|
-
response =
|
782
|
+
def list_next(next_page_link, custom_headers:nil)
|
783
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
772
784
|
response.body unless response.nil?
|
773
785
|
end
|
774
786
|
|
775
787
|
#
|
776
|
-
# Gets all SQL virtual machines in a
|
788
|
+
# Gets all SQL virtual machines in a subscription.
|
777
789
|
#
|
778
790
|
# @param next_page_link [String] The NextLink from the previous successful call
|
779
791
|
# to List operation.
|
@@ -782,12 +794,12 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
782
794
|
#
|
783
795
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
784
796
|
#
|
785
|
-
def
|
786
|
-
|
797
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
798
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
787
799
|
end
|
788
800
|
|
789
801
|
#
|
790
|
-
# Gets all SQL virtual machines in a
|
802
|
+
# Gets all SQL virtual machines in a subscription.
|
791
803
|
#
|
792
804
|
# @param next_page_link [String] The NextLink from the previous successful call
|
793
805
|
# to List operation.
|
@@ -796,7 +808,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
796
808
|
#
|
797
809
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
798
810
|
#
|
799
|
-
def
|
811
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
800
812
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
801
813
|
|
802
814
|
|
@@ -828,6 +840,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
828
840
|
end
|
829
841
|
|
830
842
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
843
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
844
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
831
845
|
# Deserialize Response
|
832
846
|
if status_code == 200
|
833
847
|
begin
|
@@ -846,7 +860,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
846
860
|
end
|
847
861
|
|
848
862
|
#
|
849
|
-
# Gets all SQL virtual machines in a
|
863
|
+
# Gets all SQL virtual machines in a resource group.
|
850
864
|
#
|
851
865
|
# @param next_page_link [String] The NextLink from the previous successful call
|
852
866
|
# to List operation.
|
@@ -855,13 +869,13 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
855
869
|
#
|
856
870
|
# @return [SqlVirtualMachineListResult] operation results.
|
857
871
|
#
|
858
|
-
def
|
859
|
-
response =
|
872
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
873
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
860
874
|
response.body unless response.nil?
|
861
875
|
end
|
862
876
|
|
863
877
|
#
|
864
|
-
# Gets all SQL virtual machines in a
|
878
|
+
# Gets all SQL virtual machines in a resource group.
|
865
879
|
#
|
866
880
|
# @param next_page_link [String] The NextLink from the previous successful call
|
867
881
|
# to List operation.
|
@@ -870,12 +884,12 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
870
884
|
#
|
871
885
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
872
886
|
#
|
873
|
-
def
|
874
|
-
|
887
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
888
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
875
889
|
end
|
876
890
|
|
877
891
|
#
|
878
|
-
# Gets all SQL virtual machines in a
|
892
|
+
# Gets all SQL virtual machines in a resource group.
|
879
893
|
#
|
880
894
|
# @param next_page_link [String] The NextLink from the previous successful call
|
881
895
|
# to List operation.
|
@@ -884,7 +898,7 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
884
898
|
#
|
885
899
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
886
900
|
#
|
887
|
-
def
|
901
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
888
902
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
889
903
|
|
890
904
|
|
@@ -916,6 +930,8 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
916
930
|
end
|
917
931
|
|
918
932
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
933
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
934
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
919
935
|
# Deserialize Response
|
920
936
|
if status_code == 200
|
921
937
|
begin
|
@@ -934,43 +950,43 @@ module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
|
|
934
950
|
end
|
935
951
|
|
936
952
|
#
|
937
|
-
# Gets all SQL virtual machines in a
|
953
|
+
# Gets all SQL virtual machines in a subscription.
|
938
954
|
#
|
939
|
-
# @param resource_group_name [String] Name of the resource group that contains
|
940
|
-
# the resource. You can obtain this value from the Azure Resource Manager API
|
941
|
-
# or the portal.
|
942
955
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
943
956
|
# will be added to the HTTP request.
|
944
957
|
#
|
945
958
|
# @return [SqlVirtualMachineListResult] which provide lazy access to pages of
|
946
959
|
# the response.
|
947
960
|
#
|
948
|
-
def
|
949
|
-
response =
|
961
|
+
def list_as_lazy(custom_headers:nil)
|
962
|
+
response = list_async(custom_headers:custom_headers).value!
|
950
963
|
unless response.nil?
|
951
964
|
page = response.body
|
952
965
|
page.next_method = Proc.new do |next_page_link|
|
953
|
-
|
966
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
954
967
|
end
|
955
968
|
page
|
956
969
|
end
|
957
970
|
end
|
958
971
|
|
959
972
|
#
|
960
|
-
# Gets all SQL virtual machines in a
|
973
|
+
# Gets all SQL virtual machines in a resource group.
|
961
974
|
#
|
975
|
+
# @param resource_group_name [String] Name of the resource group that contains
|
976
|
+
# the resource. You can obtain this value from the Azure Resource Manager API
|
977
|
+
# or the portal.
|
962
978
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
963
979
|
# will be added to the HTTP request.
|
964
980
|
#
|
965
981
|
# @return [SqlVirtualMachineListResult] which provide lazy access to pages of
|
966
982
|
# the response.
|
967
983
|
#
|
968
|
-
def
|
969
|
-
response =
|
984
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
985
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
970
986
|
unless response.nil?
|
971
987
|
page = response.body
|
972
988
|
page.next_method = Proc.new do |next_page_link|
|
973
|
-
|
989
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
974
990
|
end
|
975
991
|
page
|
976
992
|
end
|
@@ -22,13 +22,13 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
|
|
22
22
|
ServerConfigurationsManagementSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
|
23
23
|
OperationListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult
|
24
24
|
AutoPatchingSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
|
25
|
-
|
25
|
+
SqlVirtualMachineUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
|
26
26
|
AutoBackupSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
|
27
27
|
SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
|
28
28
|
KeyVaultCredentialSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings
|
29
29
|
Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
|
30
30
|
SqlConnectivityUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
|
31
|
-
|
31
|
+
SqlVirtualMachineListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
|
32
32
|
SqlWorkloadTypeUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
|
33
33
|
WsfcDomainProfile = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile
|
34
34
|
SqlStorageUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings
|
@@ -46,6 +46,7 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
|
|
46
46
|
ClusterConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration
|
47
47
|
IdentityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::IdentityType
|
48
48
|
SqlServerLicenseType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType
|
49
|
+
SqlManagementMode = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlManagementMode
|
49
50
|
SqlImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku
|
50
51
|
DayOfWeek = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DayOfWeek
|
51
52
|
BackupScheduleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::BackupScheduleType
|
@@ -133,8 +134,8 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
|
|
133
134
|
def auto_patching_settings
|
134
135
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
|
135
136
|
end
|
136
|
-
def
|
137
|
-
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::
|
137
|
+
def sql_virtual_machine_update
|
138
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
|
138
139
|
end
|
139
140
|
def auto_backup_settings
|
140
141
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
|
@@ -151,8 +152,8 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
|
|
151
152
|
def sql_connectivity_update_settings
|
152
153
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
|
153
154
|
end
|
154
|
-
def
|
155
|
-
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::
|
155
|
+
def sql_virtual_machine_list_result
|
156
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
|
156
157
|
end
|
157
158
|
def sql_workload_type_update_settings
|
158
159
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
|
@@ -205,6 +206,9 @@ module Azure::Sqlvirtualmachine::Profiles::Latest
|
|
205
206
|
def sql_server_license_type
|
206
207
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType
|
207
208
|
end
|
209
|
+
def sql_management_mode
|
210
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlManagementMode
|
211
|
+
end
|
208
212
|
def sql_image_sku
|
209
213
|
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku
|
210
214
|
end
|
data/lib/version.rb
CHANGED
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.
|
4
|
+
version: 0.18.0
|
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-03
|
11
|
+
date: 2019-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.11.
|
75
|
+
version: 0.11.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.11.
|
82
|
+
version: 0.11.1
|
83
83
|
description: Microsoft Azure SQL Virtual Machine Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb
|
117
117
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb
|
118
118
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb
|
119
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_management_mode.rb
|
119
120
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb
|
120
121
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb
|
121
122
|
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb
|