azure_mgmt_sql 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_sql.rb +22 -18
- data/lib/generated/azure_mgmt_sql/databases.rb +219 -255
- data/lib/generated/azure_mgmt_sql/elastic_pools.rb +97 -126
- data/lib/generated/azure_mgmt_sql/models/column.rb +3 -3
- data/lib/generated/azure_mgmt_sql/models/create_mode.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/database.rb +119 -57
- data/lib/generated/azure_mgmt_sql/models/database_editions.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +3 -4
- data/lib/generated/azure_mgmt_sql/models/database_metric.rb +19 -3
- data/lib/generated/azure_mgmt_sql/models/database_metric_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +25 -16
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +49 -6
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +5 -6
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_editions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/operation.rb +56 -0
- data/lib/generated/azure_mgmt_sql/models/operation_display.rb +65 -0
- data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/operation_list_result.rb +65 -0
- data/lib/generated/azure_mgmt_sql/models/read_scale.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +10 -10
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +6 -8
- data/lib/generated/azure_mgmt_sql/models/recommended_index_actions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_index_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_index_types.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/replication_link.rb +56 -12
- data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/replication_role.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/replication_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/restore_point.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/restore_point_types.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/sample_name.rb +15 -0
- data/lib/generated/azure_mgmt_sql/models/schema.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/server.rb +54 -2
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule.rb +21 -8
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb +2 -3
- data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_sql/models/server_metric.rb +13 -2
- data/lib/generated/azure_mgmt_sql/models/server_metric_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/server_state.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/server_version.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/service_objective.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +7 -1
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/sql_sub_resource.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/table.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/table_type.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/upgrade_hint.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb +16 -17
- data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +58 -67
- data/lib/generated/azure_mgmt_sql/servers.rb +73 -82
- data/lib/generated/azure_mgmt_sql/sql_management_client.rb +82 -1
- data/lib/generated/azure_mgmt_sql/version.rb +2 -2
- metadata +8 -4
- data/lib/generated/azure_mgmt_sql/models/recommended_database_properties.rb +0 -68
- data/lib/generated/azure_mgmt_sql/models/target_database_editions.rb +0 -20
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -26,17 +26,16 @@ module Azure::ARM::SQL
|
|
26
26
|
attr_reader :client
|
27
27
|
|
28
28
|
#
|
29
|
-
# Creates a new
|
30
|
-
# pool.
|
29
|
+
# Creates a new elastic pool or updates an existing elastic pool.
|
31
30
|
#
|
32
31
|
# @param resource_group_name [String] The name of the resource group that
|
33
32
|
# contains the resource. You can obtain this value from the Azure Resource
|
34
33
|
# Manager API or the portal.
|
35
|
-
# @param server_name [String] The name of the
|
36
|
-
# @param elastic_pool_name [String] The name of the
|
37
|
-
#
|
34
|
+
# @param server_name [String] The name of the server.
|
35
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be operated
|
36
|
+
# on (updated or created).
|
38
37
|
# @param parameters [ElasticPool] The required parameters for creating or
|
39
|
-
# updating an
|
38
|
+
# updating an elastic pool.
|
40
39
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
40
|
# will be added to the HTTP request.
|
42
41
|
#
|
@@ -51,11 +50,11 @@ module Azure::ARM::SQL
|
|
51
50
|
# @param resource_group_name [String] The name of the resource group that
|
52
51
|
# contains the resource. You can obtain this value from the Azure Resource
|
53
52
|
# Manager API or the portal.
|
54
|
-
# @param server_name [String] The name of the
|
55
|
-
# @param elastic_pool_name [String] The name of the
|
56
|
-
#
|
53
|
+
# @param server_name [String] The name of the server.
|
54
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be operated
|
55
|
+
# on (updated or created).
|
57
56
|
# @param parameters [ElasticPool] The required parameters for creating or
|
58
|
-
# updating an
|
57
|
+
# updating an elastic pool.
|
59
58
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
60
59
|
# will be added to the HTTP request.
|
61
60
|
#
|
@@ -81,14 +80,13 @@ module Azure::ARM::SQL
|
|
81
80
|
end
|
82
81
|
|
83
82
|
#
|
84
|
-
# Deletes the
|
83
|
+
# Deletes the elastic pool.
|
85
84
|
#
|
86
85
|
# @param resource_group_name [String] The name of the resource group that
|
87
86
|
# contains the resource. You can obtain this value from the Azure Resource
|
88
87
|
# Manager API or the portal.
|
89
|
-
# @param server_name [String] The name of the
|
90
|
-
# @param elastic_pool_name [String] The name of the
|
91
|
-
# be deleted.
|
88
|
+
# @param server_name [String] The name of the server.
|
89
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be deleted.
|
92
90
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
93
91
|
# will be added to the HTTP request.
|
94
92
|
#
|
@@ -99,14 +97,13 @@ module Azure::ARM::SQL
|
|
99
97
|
end
|
100
98
|
|
101
99
|
#
|
102
|
-
# Deletes the
|
100
|
+
# Deletes the elastic pool.
|
103
101
|
#
|
104
102
|
# @param resource_group_name [String] The name of the resource group that
|
105
103
|
# contains the resource. You can obtain this value from the Azure Resource
|
106
104
|
# Manager API or the portal.
|
107
|
-
# @param server_name [String] The name of the
|
108
|
-
# @param elastic_pool_name [String] The name of the
|
109
|
-
# be deleted.
|
105
|
+
# @param server_name [String] The name of the server.
|
106
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be deleted.
|
110
107
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
111
108
|
# will be added to the HTTP request.
|
112
109
|
#
|
@@ -117,14 +114,13 @@ module Azure::ARM::SQL
|
|
117
114
|
end
|
118
115
|
|
119
116
|
#
|
120
|
-
# Deletes the
|
117
|
+
# Deletes the elastic pool.
|
121
118
|
#
|
122
119
|
# @param resource_group_name [String] The name of the resource group that
|
123
120
|
# contains the resource. You can obtain this value from the Azure Resource
|
124
121
|
# Manager API or the portal.
|
125
|
-
# @param server_name [String] The name of the
|
126
|
-
# @param elastic_pool_name [String] The name of the
|
127
|
-
# be deleted.
|
122
|
+
# @param server_name [String] The name of the server.
|
123
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be deleted.
|
128
124
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
129
125
|
# to the HTTP request.
|
130
126
|
#
|
@@ -174,14 +170,14 @@ module Azure::ARM::SQL
|
|
174
170
|
end
|
175
171
|
|
176
172
|
#
|
177
|
-
# Gets
|
173
|
+
# Gets an elastic pool.
|
178
174
|
#
|
179
175
|
# @param resource_group_name [String] The name of the resource group that
|
180
176
|
# contains the resource. You can obtain this value from the Azure Resource
|
181
177
|
# Manager API or the portal.
|
182
|
-
# @param server_name [String] The name of the
|
183
|
-
# @param elastic_pool_name [String] The name of the
|
184
|
-
#
|
178
|
+
# @param server_name [String] The name of the server.
|
179
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
180
|
+
# retrieved.
|
185
181
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
186
182
|
# will be added to the HTTP request.
|
187
183
|
#
|
@@ -193,14 +189,14 @@ module Azure::ARM::SQL
|
|
193
189
|
end
|
194
190
|
|
195
191
|
#
|
196
|
-
# Gets
|
192
|
+
# Gets an elastic pool.
|
197
193
|
#
|
198
194
|
# @param resource_group_name [String] The name of the resource group that
|
199
195
|
# contains the resource. You can obtain this value from the Azure Resource
|
200
196
|
# Manager API or the portal.
|
201
|
-
# @param server_name [String] The name of the
|
202
|
-
# @param elastic_pool_name [String] The name of the
|
203
|
-
#
|
197
|
+
# @param server_name [String] The name of the server.
|
198
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
199
|
+
# retrieved.
|
204
200
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
205
201
|
# will be added to the HTTP request.
|
206
202
|
#
|
@@ -211,14 +207,14 @@ module Azure::ARM::SQL
|
|
211
207
|
end
|
212
208
|
|
213
209
|
#
|
214
|
-
# Gets
|
210
|
+
# Gets an elastic pool.
|
215
211
|
#
|
216
212
|
# @param resource_group_name [String] The name of the resource group that
|
217
213
|
# contains the resource. You can obtain this value from the Azure Resource
|
218
214
|
# Manager API or the portal.
|
219
|
-
# @param server_name [String] The name of the
|
220
|
-
# @param elastic_pool_name [String] The name of the
|
221
|
-
#
|
215
|
+
# @param server_name [String] The name of the server.
|
216
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
217
|
+
# retrieved.
|
222
218
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
223
219
|
# to the HTTP request.
|
224
220
|
#
|
@@ -278,12 +274,12 @@ module Azure::ARM::SQL
|
|
278
274
|
end
|
279
275
|
|
280
276
|
#
|
281
|
-
# Returns
|
277
|
+
# Returns a list of elastic pools in a server.
|
282
278
|
#
|
283
279
|
# @param resource_group_name [String] The name of the resource group that
|
284
280
|
# contains the resource. You can obtain this value from the Azure Resource
|
285
281
|
# Manager API or the portal.
|
286
|
-
# @param server_name [String] The name of the
|
282
|
+
# @param server_name [String] The name of the server.
|
287
283
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
288
284
|
# will be added to the HTTP request.
|
289
285
|
#
|
@@ -295,12 +291,12 @@ module Azure::ARM::SQL
|
|
295
291
|
end
|
296
292
|
|
297
293
|
#
|
298
|
-
# Returns
|
294
|
+
# Returns a list of elastic pools in a server.
|
299
295
|
#
|
300
296
|
# @param resource_group_name [String] The name of the resource group that
|
301
297
|
# contains the resource. You can obtain this value from the Azure Resource
|
302
298
|
# Manager API or the portal.
|
303
|
-
# @param server_name [String] The name of the
|
299
|
+
# @param server_name [String] The name of the server.
|
304
300
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
305
301
|
# will be added to the HTTP request.
|
306
302
|
#
|
@@ -311,12 +307,12 @@ module Azure::ARM::SQL
|
|
311
307
|
end
|
312
308
|
|
313
309
|
#
|
314
|
-
# Returns
|
310
|
+
# Returns a list of elastic pools in a server.
|
315
311
|
#
|
316
312
|
# @param resource_group_name [String] The name of the resource group that
|
317
313
|
# contains the resource. You can obtain this value from the Azure Resource
|
318
314
|
# Manager API or the portal.
|
319
|
-
# @param server_name [String] The name of the
|
315
|
+
# @param server_name [String] The name of the server.
|
320
316
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
321
317
|
# to the HTTP request.
|
322
318
|
#
|
@@ -375,14 +371,14 @@ module Azure::ARM::SQL
|
|
375
371
|
end
|
376
372
|
|
377
373
|
#
|
378
|
-
# Returns
|
374
|
+
# Returns elastic pool activities.
|
379
375
|
#
|
380
376
|
# @param resource_group_name [String] The name of the resource group that
|
381
377
|
# contains the resource. You can obtain this value from the Azure Resource
|
382
378
|
# Manager API or the portal.
|
383
|
-
# @param server_name [String] The name of the
|
384
|
-
# @param elastic_pool_name [String] The name of the
|
385
|
-
#
|
379
|
+
# @param server_name [String] The name of the server.
|
380
|
+
# @param elastic_pool_name [String] The name of the elastic pool for which to
|
381
|
+
# get the current activity.
|
386
382
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
387
383
|
# will be added to the HTTP request.
|
388
384
|
#
|
@@ -394,14 +390,14 @@ module Azure::ARM::SQL
|
|
394
390
|
end
|
395
391
|
|
396
392
|
#
|
397
|
-
# Returns
|
393
|
+
# Returns elastic pool activities.
|
398
394
|
#
|
399
395
|
# @param resource_group_name [String] The name of the resource group that
|
400
396
|
# contains the resource. You can obtain this value from the Azure Resource
|
401
397
|
# Manager API or the portal.
|
402
|
-
# @param server_name [String] The name of the
|
403
|
-
# @param elastic_pool_name [String] The name of the
|
404
|
-
#
|
398
|
+
# @param server_name [String] The name of the server.
|
399
|
+
# @param elastic_pool_name [String] The name of the elastic pool for which to
|
400
|
+
# get the current activity.
|
405
401
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
406
402
|
# will be added to the HTTP request.
|
407
403
|
#
|
@@ -412,14 +408,14 @@ module Azure::ARM::SQL
|
|
412
408
|
end
|
413
409
|
|
414
410
|
#
|
415
|
-
# Returns
|
411
|
+
# Returns elastic pool activities.
|
416
412
|
#
|
417
413
|
# @param resource_group_name [String] The name of the resource group that
|
418
414
|
# contains the resource. You can obtain this value from the Azure Resource
|
419
415
|
# Manager API or the portal.
|
420
|
-
# @param server_name [String] The name of the
|
421
|
-
# @param elastic_pool_name [String] The name of the
|
422
|
-
#
|
416
|
+
# @param server_name [String] The name of the server.
|
417
|
+
# @param elastic_pool_name [String] The name of the elastic pool for which to
|
418
|
+
# get the current activity.
|
423
419
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
424
420
|
# to the HTTP request.
|
425
421
|
#
|
@@ -479,14 +475,13 @@ module Azure::ARM::SQL
|
|
479
475
|
end
|
480
476
|
|
481
477
|
#
|
482
|
-
# Returns
|
483
|
-
# SQL elastic pool.
|
478
|
+
# Returns activity on databases inside of an elastic pool.
|
484
479
|
#
|
485
480
|
# @param resource_group_name [String] The name of the resource group that
|
486
481
|
# contains the resource. You can obtain this value from the Azure Resource
|
487
482
|
# Manager API or the portal.
|
488
|
-
# @param server_name [String] The name of the
|
489
|
-
# @param elastic_pool_name [String] The name of the
|
483
|
+
# @param server_name [String] The name of the server.
|
484
|
+
# @param elastic_pool_name [String] The name of the elastic pool.
|
490
485
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
491
486
|
# will be added to the HTTP request.
|
492
487
|
#
|
@@ -498,14 +493,13 @@ module Azure::ARM::SQL
|
|
498
493
|
end
|
499
494
|
|
500
495
|
#
|
501
|
-
# Returns
|
502
|
-
# SQL elastic pool.
|
496
|
+
# Returns activity on databases inside of an elastic pool.
|
503
497
|
#
|
504
498
|
# @param resource_group_name [String] The name of the resource group that
|
505
499
|
# contains the resource. You can obtain this value from the Azure Resource
|
506
500
|
# Manager API or the portal.
|
507
|
-
# @param server_name [String] The name of the
|
508
|
-
# @param elastic_pool_name [String] The name of the
|
501
|
+
# @param server_name [String] The name of the server.
|
502
|
+
# @param elastic_pool_name [String] The name of the elastic pool.
|
509
503
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
510
504
|
# will be added to the HTTP request.
|
511
505
|
#
|
@@ -516,14 +510,13 @@ module Azure::ARM::SQL
|
|
516
510
|
end
|
517
511
|
|
518
512
|
#
|
519
|
-
# Returns
|
520
|
-
# SQL elastic pool.
|
513
|
+
# Returns activity on databases inside of an elastic pool.
|
521
514
|
#
|
522
515
|
# @param resource_group_name [String] The name of the resource group that
|
523
516
|
# contains the resource. You can obtain this value from the Azure Resource
|
524
517
|
# Manager API or the portal.
|
525
|
-
# @param server_name [String] The name of the
|
526
|
-
# @param elastic_pool_name [String] The name of the
|
518
|
+
# @param server_name [String] The name of the server.
|
519
|
+
# @param elastic_pool_name [String] The name of the elastic pool.
|
527
520
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
528
521
|
# to the HTTP request.
|
529
522
|
#
|
@@ -583,17 +576,15 @@ module Azure::ARM::SQL
|
|
583
576
|
end
|
584
577
|
|
585
578
|
#
|
586
|
-
# Gets
|
587
|
-
# pool.
|
579
|
+
# Gets a database inside of an elastic pool.
|
588
580
|
#
|
589
581
|
# @param resource_group_name [String] The name of the resource group that
|
590
582
|
# contains the resource. You can obtain this value from the Azure Resource
|
591
583
|
# Manager API or the portal.
|
592
|
-
# @param server_name [String] The name of the
|
593
|
-
# @param elastic_pool_name [String] The name of the
|
594
|
-
# be retrieved.
|
595
|
-
# @param database_name [String] The name of the Azure SQL database to be
|
584
|
+
# @param server_name [String] The name of the server.
|
585
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
596
586
|
# retrieved.
|
587
|
+
# @param database_name [String] The name of the database to be retrieved.
|
597
588
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
598
589
|
# will be added to the HTTP request.
|
599
590
|
#
|
@@ -605,17 +596,15 @@ module Azure::ARM::SQL
|
|
605
596
|
end
|
606
597
|
|
607
598
|
#
|
608
|
-
# Gets
|
609
|
-
# pool.
|
599
|
+
# Gets a database inside of an elastic pool.
|
610
600
|
#
|
611
601
|
# @param resource_group_name [String] The name of the resource group that
|
612
602
|
# contains the resource. You can obtain this value from the Azure Resource
|
613
603
|
# Manager API or the portal.
|
614
|
-
# @param server_name [String] The name of the
|
615
|
-
# @param elastic_pool_name [String] The name of the
|
616
|
-
# be retrieved.
|
617
|
-
# @param database_name [String] The name of the Azure SQL database to be
|
604
|
+
# @param server_name [String] The name of the server.
|
605
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
618
606
|
# retrieved.
|
607
|
+
# @param database_name [String] The name of the database to be retrieved.
|
619
608
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
620
609
|
# will be added to the HTTP request.
|
621
610
|
#
|
@@ -626,17 +615,15 @@ module Azure::ARM::SQL
|
|
626
615
|
end
|
627
616
|
|
628
617
|
#
|
629
|
-
# Gets
|
630
|
-
# pool.
|
618
|
+
# Gets a database inside of an elastic pool.
|
631
619
|
#
|
632
620
|
# @param resource_group_name [String] The name of the resource group that
|
633
621
|
# contains the resource. You can obtain this value from the Azure Resource
|
634
622
|
# Manager API or the portal.
|
635
|
-
# @param server_name [String] The name of the
|
636
|
-
# @param elastic_pool_name [String] The name of the
|
637
|
-
# be retrieved.
|
638
|
-
# @param database_name [String] The name of the Azure SQL database to be
|
623
|
+
# @param server_name [String] The name of the server.
|
624
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
639
625
|
# retrieved.
|
626
|
+
# @param database_name [String] The name of the database to be retrieved.
|
640
627
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
641
628
|
# to the HTTP request.
|
642
629
|
#
|
@@ -697,15 +684,14 @@ module Azure::ARM::SQL
|
|
697
684
|
end
|
698
685
|
|
699
686
|
#
|
700
|
-
# Returns
|
701
|
-
# elastic pool.
|
687
|
+
# Returns a list of databases in an elastic pool.
|
702
688
|
#
|
703
689
|
# @param resource_group_name [String] The name of the resource group that
|
704
690
|
# contains the resource. You can obtain this value from the Azure Resource
|
705
691
|
# Manager API or the portal.
|
706
|
-
# @param server_name [String] The name of the
|
707
|
-
# @param elastic_pool_name [String] The name of the
|
708
|
-
#
|
692
|
+
# @param server_name [String] The name of the server.
|
693
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
694
|
+
# retrieved.
|
709
695
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
710
696
|
# will be added to the HTTP request.
|
711
697
|
#
|
@@ -717,15 +703,14 @@ module Azure::ARM::SQL
|
|
717
703
|
end
|
718
704
|
|
719
705
|
#
|
720
|
-
# Returns
|
721
|
-
# elastic pool.
|
706
|
+
# Returns a list of databases in an elastic pool.
|
722
707
|
#
|
723
708
|
# @param resource_group_name [String] The name of the resource group that
|
724
709
|
# contains the resource. You can obtain this value from the Azure Resource
|
725
710
|
# Manager API or the portal.
|
726
|
-
# @param server_name [String] The name of the
|
727
|
-
# @param elastic_pool_name [String] The name of the
|
728
|
-
#
|
711
|
+
# @param server_name [String] The name of the server.
|
712
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
713
|
+
# retrieved.
|
729
714
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
730
715
|
# will be added to the HTTP request.
|
731
716
|
#
|
@@ -736,15 +721,14 @@ module Azure::ARM::SQL
|
|
736
721
|
end
|
737
722
|
|
738
723
|
#
|
739
|
-
# Returns
|
740
|
-
# elastic pool.
|
724
|
+
# Returns a list of databases in an elastic pool.
|
741
725
|
#
|
742
726
|
# @param resource_group_name [String] The name of the resource group that
|
743
727
|
# contains the resource. You can obtain this value from the Azure Resource
|
744
728
|
# Manager API or the portal.
|
745
|
-
# @param server_name [String] The name of the
|
746
|
-
# @param elastic_pool_name [String] The name of the
|
747
|
-
#
|
729
|
+
# @param server_name [String] The name of the server.
|
730
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be
|
731
|
+
# retrieved.
|
748
732
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
749
733
|
# to the HTTP request.
|
750
734
|
#
|
@@ -804,17 +788,16 @@ module Azure::ARM::SQL
|
|
804
788
|
end
|
805
789
|
|
806
790
|
#
|
807
|
-
# Creates a new
|
808
|
-
# pool.
|
791
|
+
# Creates a new elastic pool or updates an existing elastic pool.
|
809
792
|
#
|
810
793
|
# @param resource_group_name [String] The name of the resource group that
|
811
794
|
# contains the resource. You can obtain this value from the Azure Resource
|
812
795
|
# Manager API or the portal.
|
813
|
-
# @param server_name [String] The name of the
|
814
|
-
# @param elastic_pool_name [String] The name of the
|
815
|
-
#
|
796
|
+
# @param server_name [String] The name of the server.
|
797
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be operated
|
798
|
+
# on (updated or created).
|
816
799
|
# @param parameters [ElasticPool] The required parameters for creating or
|
817
|
-
# updating an
|
800
|
+
# updating an elastic pool.
|
818
801
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
819
802
|
# will be added to the HTTP request.
|
820
803
|
#
|
@@ -826,17 +809,16 @@ module Azure::ARM::SQL
|
|
826
809
|
end
|
827
810
|
|
828
811
|
#
|
829
|
-
# Creates a new
|
830
|
-
# pool.
|
812
|
+
# Creates a new elastic pool or updates an existing elastic pool.
|
831
813
|
#
|
832
814
|
# @param resource_group_name [String] The name of the resource group that
|
833
815
|
# contains the resource. You can obtain this value from the Azure Resource
|
834
816
|
# Manager API or the portal.
|
835
|
-
# @param server_name [String] The name of the
|
836
|
-
# @param elastic_pool_name [String] The name of the
|
837
|
-
#
|
817
|
+
# @param server_name [String] The name of the server.
|
818
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be operated
|
819
|
+
# on (updated or created).
|
838
820
|
# @param parameters [ElasticPool] The required parameters for creating or
|
839
|
-
# updating an
|
821
|
+
# updating an elastic pool.
|
840
822
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
841
823
|
# will be added to the HTTP request.
|
842
824
|
#
|
@@ -847,17 +829,16 @@ module Azure::ARM::SQL
|
|
847
829
|
end
|
848
830
|
|
849
831
|
#
|
850
|
-
# Creates a new
|
851
|
-
# pool.
|
832
|
+
# Creates a new elastic pool or updates an existing elastic pool.
|
852
833
|
#
|
853
834
|
# @param resource_group_name [String] The name of the resource group that
|
854
835
|
# contains the resource. You can obtain this value from the Azure Resource
|
855
836
|
# Manager API or the portal.
|
856
|
-
# @param server_name [String] The name of the
|
857
|
-
# @param elastic_pool_name [String] The name of the
|
858
|
-
#
|
837
|
+
# @param server_name [String] The name of the server.
|
838
|
+
# @param elastic_pool_name [String] The name of the elastic pool to be operated
|
839
|
+
# on (updated or created).
|
859
840
|
# @param parameters [ElasticPool] The required parameters for creating or
|
860
|
-
# updating an
|
841
|
+
# updating an elastic pool.
|
861
842
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
862
843
|
# to the HTTP request.
|
863
844
|
#
|
@@ -929,16 +910,6 @@ module Azure::ARM::SQL
|
|
929
910
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
930
911
|
end
|
931
912
|
end
|
932
|
-
# Deserialize Response
|
933
|
-
if status_code == 202
|
934
|
-
begin
|
935
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
936
|
-
result_mapper = ElasticPool.mapper()
|
937
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
938
|
-
rescue Exception => e
|
939
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
940
|
-
end
|
941
|
-
end
|
942
913
|
|
943
914
|
result
|
944
915
|
end
|