azure_mgmt_mariadb 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb.rb +6 -3
  3. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/check_name_availability.rb +2 -0
  4. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/configurations.rb +6 -0
  5. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/databases.rb +8 -0
  6. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/firewall_rules.rb +8 -0
  7. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +2 -0
  8. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/log_files.rb +2 -0
  9. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +5 -1
  10. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server.rb +37 -0
  11. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_create.rb +1 -0
  12. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_replica.rb +87 -0
  13. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_update_parameters.rb +11 -0
  14. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/storage_autogrow.rb +16 -0
  15. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/storage_profile.rb +12 -0
  16. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/operations.rb +2 -0
  17. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/replicas.rb +125 -0
  18. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +4 -0
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/servers.rb +143 -0
  20. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/virtual_network_rules.rb +10 -0
  21. data/lib/2018-06-01/generated/azure_mgmt_mariadb.rb +1 -0
  22. data/lib/2018-06-01/generated/azure_mgmt_mariadb/check_name_availability.rb +2 -0
  23. data/lib/2018-06-01/generated/azure_mgmt_mariadb/configurations.rb +6 -0
  24. data/lib/2018-06-01/generated/azure_mgmt_mariadb/databases.rb +8 -0
  25. data/lib/2018-06-01/generated/azure_mgmt_mariadb/firewall_rules.rb +8 -0
  26. data/lib/2018-06-01/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +2 -0
  27. data/lib/2018-06-01/generated/azure_mgmt_mariadb/log_files.rb +2 -0
  28. data/lib/2018-06-01/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +1 -1
  29. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/storage_autogrow.rb +16 -0
  30. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/storage_profile.rb +12 -0
  31. data/lib/2018-06-01/generated/azure_mgmt_mariadb/operations.rb +2 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_mariadb/replicas.rb +2 -0
  33. data/lib/2018-06-01/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +4 -0
  34. data/lib/2018-06-01/generated/azure_mgmt_mariadb/servers.rb +14 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_mariadb/virtual_network_rules.rb +10 -0
  36. data/lib/profiles/latest/modules/mariadb_profile_module.rb +4 -0
  37. data/lib/version.rb +1 -1
  38. metadata +8 -4
@@ -103,6 +103,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
103
103
  end
104
104
 
105
105
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
106
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
107
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
106
108
  # Deserialize Response
107
109
  if status_code == 200
108
110
  begin
@@ -266,6 +268,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
266
268
  end
267
269
 
268
270
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
271
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
272
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
269
273
  # Deserialize Response
270
274
  if status_code == 200
271
275
  begin
@@ -246,6 +246,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
246
246
  end
247
247
 
248
248
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
249
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
250
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
249
251
  # Deserialize Response
250
252
  if status_code == 200
251
253
  begin
@@ -340,6 +342,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
340
342
  end
341
343
 
342
344
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
345
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
346
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
343
347
  # Deserialize Response
344
348
  if status_code == 200
345
349
  begin
@@ -424,6 +428,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
424
428
  end
425
429
 
426
430
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
431
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
432
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
427
433
  # Deserialize Response
428
434
  if status_code == 200
429
435
  begin
@@ -441,6 +447,48 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
441
447
  promise.execute
442
448
  end
443
449
 
450
+ #
451
+ # Restarts a server.
452
+ #
453
+ # @param resource_group_name [String] The name of the resource group that
454
+ # contains the resource. You can obtain this value from the Azure Resource
455
+ # Manager API or the portal.
456
+ # @param server_name [String] The name of the server.
457
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
458
+ # will be added to the HTTP request.
459
+ #
460
+ def restart(resource_group_name, server_name, custom_headers:nil)
461
+ response = restart_async(resource_group_name, server_name, custom_headers:custom_headers).value!
462
+ nil
463
+ end
464
+
465
+ #
466
+ # @param resource_group_name [String] The name of the resource group that
467
+ # contains the resource. You can obtain this value from the Azure Resource
468
+ # Manager API or the portal.
469
+ # @param server_name [String] The name of the server.
470
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
471
+ # will be added to the HTTP request.
472
+ #
473
+ # @return [Concurrent::Promise] promise which provides async access to http
474
+ # response.
475
+ #
476
+ def restart_async(resource_group_name, server_name, custom_headers:nil)
477
+ # Send request
478
+ promise = begin_restart_async(resource_group_name, server_name, custom_headers:custom_headers)
479
+
480
+ promise = promise.then do |response|
481
+ # Defining deserialization method.
482
+ deserialize_method = lambda do |parsed_response|
483
+ end
484
+
485
+ # Waiting for response.
486
+ @client.get_long_running_operation_result(response, deserialize_method)
487
+ end
488
+
489
+ promise
490
+ end
491
+
444
492
  #
445
493
  # Creates a new server or updates an existing server. The update action will
446
494
  # overwrite the existing server.
@@ -539,6 +587,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
539
587
  end
540
588
 
541
589
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
590
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
591
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
542
592
  # Deserialize Response
543
593
  if status_code == 200
544
594
  begin
@@ -664,6 +714,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
664
714
  end
665
715
 
666
716
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
717
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
718
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
667
719
  # Deserialize Response
668
720
  if status_code == 200
669
721
  begin
@@ -761,6 +813,97 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
761
813
  end
762
814
 
763
815
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
816
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
817
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
818
+
819
+ result
820
+ end
821
+
822
+ promise.execute
823
+ end
824
+
825
+ #
826
+ # Restarts a server.
827
+ #
828
+ # @param resource_group_name [String] The name of the resource group that
829
+ # contains the resource. You can obtain this value from the Azure Resource
830
+ # Manager API or the portal.
831
+ # @param server_name [String] The name of the server.
832
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
833
+ # will be added to the HTTP request.
834
+ #
835
+ #
836
+ def begin_restart(resource_group_name, server_name, custom_headers:nil)
837
+ response = begin_restart_async(resource_group_name, server_name, custom_headers:custom_headers).value!
838
+ nil
839
+ end
840
+
841
+ #
842
+ # Restarts a server.
843
+ #
844
+ # @param resource_group_name [String] The name of the resource group that
845
+ # contains the resource. You can obtain this value from the Azure Resource
846
+ # Manager API or the portal.
847
+ # @param server_name [String] The name of the server.
848
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
849
+ # will be added to the HTTP request.
850
+ #
851
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
852
+ #
853
+ def begin_restart_with_http_info(resource_group_name, server_name, custom_headers:nil)
854
+ begin_restart_async(resource_group_name, server_name, custom_headers:custom_headers).value!
855
+ end
856
+
857
+ #
858
+ # Restarts a server.
859
+ #
860
+ # @param resource_group_name [String] The name of the resource group that
861
+ # contains the resource. You can obtain this value from the Azure Resource
862
+ # Manager API or the portal.
863
+ # @param server_name [String] The name of the server.
864
+ # @param [Hash{String => String}] A hash of custom headers that will be added
865
+ # to the HTTP request.
866
+ #
867
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
868
+ #
869
+ def begin_restart_async(resource_group_name, server_name, custom_headers:nil)
870
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
871
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
872
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
873
+ fail ArgumentError, 'server_name is nil' if server_name.nil?
874
+
875
+
876
+ request_headers = {}
877
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
878
+
879
+ # Set Headers
880
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
881
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
882
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/restart'
883
+
884
+ request_url = @base_url || @client.base_url
885
+
886
+ options = {
887
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
888
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'serverName' => server_name},
889
+ query_params: {'api-version' => @client.api_version},
890
+ headers: request_headers.merge(custom_headers || {}),
891
+ base_url: request_url
892
+ }
893
+ promise = @client.make_request_async(:post, path_template, options)
894
+
895
+ promise = promise.then do |result|
896
+ http_response = result.response
897
+ status_code = http_response.status
898
+ response_content = http_response.body
899
+ unless status_code == 200 || status_code == 202
900
+ error_model = JSON.load(response_content)
901
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
902
+ end
903
+
904
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
905
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
906
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
764
907
 
765
908
  result
766
909
  end
@@ -109,6 +109,8 @@ module Azure::MariaDB::Mgmt::V2018_06_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
@@ -307,6 +309,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
307
309
  end
308
310
 
309
311
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
312
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
313
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
310
314
  # Deserialize Response
311
315
  if status_code == 200
312
316
  begin
@@ -426,6 +430,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
426
430
  end
427
431
 
428
432
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
433
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
434
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
429
435
  # Deserialize Response
430
436
  if status_code == 200
431
437
  begin
@@ -540,6 +546,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
540
546
  end
541
547
 
542
548
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
549
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
550
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
543
551
 
544
552
  result
545
553
  end
@@ -618,6 +626,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01_preview
618
626
  end
619
627
 
620
628
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
629
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
630
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
621
631
  # Deserialize Response
622
632
  if status_code == 200
623
633
  begin
@@ -70,6 +70,7 @@ module Azure::MariaDB::Mgmt::V2018_06_01
70
70
  autoload :SslEnforcementEnum, '2018-06-01/generated/azure_mgmt_mariadb/models/ssl_enforcement_enum.rb'
71
71
  autoload :ServerState, '2018-06-01/generated/azure_mgmt_mariadb/models/server_state.rb'
72
72
  autoload :GeoRedundantBackup, '2018-06-01/generated/azure_mgmt_mariadb/models/geo_redundant_backup.rb'
73
+ autoload :StorageAutogrow, '2018-06-01/generated/azure_mgmt_mariadb/models/storage_autogrow.rb'
73
74
  autoload :SkuTier, '2018-06-01/generated/azure_mgmt_mariadb/models/sku_tier.rb'
74
75
  autoload :VirtualNetworkRuleState, '2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule_state.rb'
75
76
  autoload :OperationOrigin, '2018-06-01/generated/azure_mgmt_mariadb/models/operation_origin.rb'
@@ -102,6 +102,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -158,6 +158,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
158
158
  end
159
159
 
160
160
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
161
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
162
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
161
163
  # Deserialize Response
162
164
  if status_code == 200
163
165
  begin
@@ -256,6 +258,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
256
258
  end
257
259
 
258
260
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
261
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
262
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
259
263
  # Deserialize Response
260
264
  if status_code == 200
261
265
  begin
@@ -372,6 +376,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
372
376
  end
373
377
 
374
378
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
379
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
380
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
375
381
  # Deserialize Response
376
382
  if status_code == 200
377
383
  begin
@@ -202,6 +202,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
202
202
  end
203
203
 
204
204
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
205
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
206
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
205
207
  # Deserialize Response
206
208
  if status_code == 200
207
209
  begin
@@ -300,6 +302,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
300
302
  end
301
303
 
302
304
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
305
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
306
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
303
307
  # Deserialize Response
304
308
  if status_code == 200
305
309
  begin
@@ -416,6 +420,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
416
420
  end
417
421
 
418
422
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
423
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
424
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
419
425
  # Deserialize Response
420
426
  if status_code == 200
421
427
  begin
@@ -527,6 +533,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
527
533
  end
528
534
 
529
535
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
536
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
537
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
530
538
 
531
539
  result
532
540
  end
@@ -202,6 +202,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
202
202
  end
203
203
 
204
204
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
205
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
206
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
205
207
  # Deserialize Response
206
208
  if status_code == 200
207
209
  begin
@@ -300,6 +302,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
300
302
  end
301
303
 
302
304
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
305
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
306
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
303
307
  # Deserialize Response
304
308
  if status_code == 200
305
309
  begin
@@ -416,6 +420,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
416
420
  end
417
421
 
418
422
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
423
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
424
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
419
425
  # Deserialize Response
420
426
  if status_code == 200
421
427
  begin
@@ -527,6 +533,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
527
533
  end
528
534
 
529
535
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
536
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
537
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
530
538
 
531
539
  result
532
540
  end
@@ -92,6 +92,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
92
92
  end
93
93
 
94
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?
95
97
  # Deserialize Response
96
98
  if status_code == 200
97
99
  begin
@@ -102,6 +102,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -165,7 +165,7 @@ module Azure::MariaDB::Mgmt::V2018_06_01
165
165
  #
166
166
  def add_telemetry
167
167
  sdk_information = 'azure_mgmt_mariadb'
168
- sdk_information = "#{sdk_information}/0.17.1"
168
+ sdk_information = "#{sdk_information}/0.17.2"
169
169
  add_user_agent_information(sdk_information)
170
170
  end
171
171
  end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::MariaDB::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Defines values for StorageAutogrow
10
+ #
11
+ module StorageAutogrow
12
+ Enabled = "Enabled"
13
+ Disabled = "Disabled"
14
+ end
15
+ end
16
+ end
@@ -22,6 +22,10 @@ module Azure::MariaDB::Mgmt::V2018_06_01
22
22
  # @return [Integer] Max storage allowed for a server.
23
23
  attr_accessor :storage_mb
24
24
 
25
+ # @return [StorageAutogrow] Enable Storage Auto Grow. Possible values
26
+ # include: 'Enabled', 'Disabled'
27
+ attr_accessor :storage_autogrow
28
+
25
29
 
26
30
  #
27
31
  # Mapper for StorageProfile class as Ruby Hash.
@@ -59,6 +63,14 @@ module Azure::MariaDB::Mgmt::V2018_06_01
59
63
  type: {
60
64
  name: 'Number'
61
65
  }
66
+ },
67
+ storage_autogrow: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'storageAutogrow',
71
+ type: {
72
+ name: 'String'
73
+ }
62
74
  }
63
75
  }
64
76
  }
@@ -86,6 +86,8 @@ module Azure::MariaDB::Mgmt::V2018_06_01
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin