azure_mgmt_sql 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2014-04-01/generated/azure_mgmt_sql.rb +77 -63
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +118 -16
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +114 -16
- data/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb +649 -643
- data/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb +830 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb +216 -213
- data/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb +130 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb +24 -22
- data/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb +56 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb +56 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +43 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_edition.rb +1 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb +43 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb +164 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_auto_failover.rb +16 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_failover_policy.rb +16 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb +57 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_role.rb +17 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_status.rb +18 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb +54 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb +12 -4
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb +72 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb +55 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_name.rb +52 -2
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb +10 -3
- data/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb +134 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb +18 -15
- data/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb +38 -33
- data/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb +32 -30
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb +28 -26
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb +134 -133
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +32 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb +12 -12
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +22 -19
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +12 -12
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb +31 -29
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb +71 -67
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb +110 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb +100 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb +15 -13
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb +41 -38
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb +66 -62
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +8 -1
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb +324 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb +62 -56
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb +118 -107
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb +76 -71
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb +41 -38
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +30 -1
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +21 -18
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_restore_points.rb +527 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +1599 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/arm_sku.rb +92 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_mode.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb +90 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +23 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +393 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point.rb +124 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +348 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb +145 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb +170 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +46 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sample_name.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb +110 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb +74 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/status.rb +32 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +92 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +238 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +805 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +21 -1
- data/lib/profiles/latest/modules/sql_profile_module.rb +912 -749
- data/lib/profiles/latest/sql_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/sql_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +49 -3
@@ -41,8 +41,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
41
41
|
#
|
42
42
|
# @return [SyncMember] operation results.
|
43
43
|
#
|
44
|
-
def get(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
45
|
-
response = get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
44
|
+
def get(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
45
|
+
response = get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
46
46
|
response.body unless response.nil?
|
47
47
|
end
|
48
48
|
|
@@ -63,8 +63,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
63
63
|
#
|
64
64
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
65
65
|
#
|
66
|
-
def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
67
|
-
get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
66
|
+
def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
67
|
+
get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
68
68
|
end
|
69
69
|
|
70
70
|
#
|
@@ -84,7 +84,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
84
84
|
#
|
85
85
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
86
86
|
#
|
87
|
-
def get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
87
|
+
def get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
88
88
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
89
89
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
90
90
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -95,6 +95,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
95
95
|
|
96
96
|
|
97
97
|
request_headers = {}
|
98
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
98
99
|
|
99
100
|
# Set Headers
|
100
101
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -157,8 +158,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
157
158
|
#
|
158
159
|
# @return [SyncMember] operation results.
|
159
160
|
#
|
160
|
-
def create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
161
|
-
response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
161
|
+
def create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
162
|
+
response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
162
163
|
response.body unless response.nil?
|
163
164
|
end
|
164
165
|
|
@@ -179,9 +180,9 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
179
180
|
# @return [Concurrent::Promise] promise which provides async access to http
|
180
181
|
# response.
|
181
182
|
#
|
182
|
-
def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
183
|
+
def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
183
184
|
# Send request
|
184
|
-
promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers)
|
185
|
+
promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers)
|
185
186
|
|
186
187
|
promise = promise.then do |response|
|
187
188
|
# Defining deserialization method.
|
@@ -212,8 +213,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
212
213
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
213
214
|
# will be added to the HTTP request.
|
214
215
|
#
|
215
|
-
def delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
216
|
-
response = delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
216
|
+
def delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
217
|
+
response = delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
217
218
|
nil
|
218
219
|
end
|
219
220
|
|
@@ -233,9 +234,9 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
233
234
|
# @return [Concurrent::Promise] promise which provides async access to http
|
234
235
|
# response.
|
235
236
|
#
|
236
|
-
def delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
237
|
+
def delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
237
238
|
# Send request
|
238
|
-
promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers)
|
239
|
+
promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers)
|
239
240
|
|
240
241
|
promise = promise.then do |response|
|
241
242
|
# Defining deserialization method.
|
@@ -267,8 +268,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
267
268
|
#
|
268
269
|
# @return [SyncMember] operation results.
|
269
270
|
#
|
270
|
-
def update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
271
|
-
response = update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
271
|
+
def update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
272
|
+
response = update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
272
273
|
response.body unless response.nil?
|
273
274
|
end
|
274
275
|
|
@@ -289,9 +290,9 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
289
290
|
# @return [Concurrent::Promise] promise which provides async access to http
|
290
291
|
# response.
|
291
292
|
#
|
292
|
-
def update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
293
|
+
def update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
293
294
|
# Send request
|
294
|
-
promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers)
|
295
|
+
promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers)
|
295
296
|
|
296
297
|
promise = promise.then do |response|
|
297
298
|
# Defining deserialization method.
|
@@ -322,8 +323,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
322
323
|
#
|
323
324
|
# @return [Array<SyncMember>] operation results.
|
324
325
|
#
|
325
|
-
def list_by_sync_group(resource_group_name, server_name, database_name, sync_group_name, custom_headers
|
326
|
-
first_page = list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers)
|
326
|
+
def list_by_sync_group(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil)
|
327
|
+
first_page = list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers)
|
327
328
|
first_page.get_all_items
|
328
329
|
end
|
329
330
|
|
@@ -342,8 +343,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
342
343
|
#
|
343
344
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
344
345
|
#
|
345
|
-
def list_by_sync_group_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers
|
346
|
-
list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value!
|
346
|
+
def list_by_sync_group_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil)
|
347
|
+
list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value!
|
347
348
|
end
|
348
349
|
|
349
350
|
#
|
@@ -361,7 +362,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
361
362
|
#
|
362
363
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
363
364
|
#
|
364
|
-
def list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers
|
365
|
+
def list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil)
|
365
366
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
366
367
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
367
368
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -371,6 +372,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
371
372
|
|
372
373
|
|
373
374
|
request_headers = {}
|
375
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
374
376
|
|
375
377
|
# Set Headers
|
376
378
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -432,8 +434,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
432
434
|
#
|
433
435
|
# @return [Array<SyncFullSchemaProperties>] operation results.
|
434
436
|
#
|
435
|
-
def list_member_schemas(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
436
|
-
first_page = list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers)
|
437
|
+
def list_member_schemas(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
438
|
+
first_page = list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers)
|
437
439
|
first_page.get_all_items
|
438
440
|
end
|
439
441
|
|
@@ -454,8 +456,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
454
456
|
#
|
455
457
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
456
458
|
#
|
457
|
-
def list_member_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
458
|
-
list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
459
|
+
def list_member_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
460
|
+
list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
459
461
|
end
|
460
462
|
|
461
463
|
#
|
@@ -475,7 +477,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
475
477
|
#
|
476
478
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
477
479
|
#
|
478
|
-
def list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
480
|
+
def list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
479
481
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
480
482
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
481
483
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -486,6 +488,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
486
488
|
|
487
489
|
|
488
490
|
request_headers = {}
|
491
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
489
492
|
|
490
493
|
# Set Headers
|
491
494
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -545,8 +548,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
545
548
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
546
549
|
# will be added to the HTTP request.
|
547
550
|
#
|
548
|
-
def refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
549
|
-
response = refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
551
|
+
def refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
552
|
+
response = refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
550
553
|
nil
|
551
554
|
end
|
552
555
|
|
@@ -566,9 +569,9 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
566
569
|
# @return [Concurrent::Promise] promise which provides async access to http
|
567
570
|
# response.
|
568
571
|
#
|
569
|
-
def refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
572
|
+
def refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
570
573
|
# Send request
|
571
|
-
promise = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers)
|
574
|
+
promise = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers)
|
572
575
|
|
573
576
|
promise = promise.then do |response|
|
574
577
|
# Defining deserialization method.
|
@@ -600,8 +603,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
600
603
|
#
|
601
604
|
# @return [SyncMember] operation results.
|
602
605
|
#
|
603
|
-
def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
604
|
-
response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
606
|
+
def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
607
|
+
response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
605
608
|
response.body unless response.nil?
|
606
609
|
end
|
607
610
|
|
@@ -623,8 +626,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
623
626
|
#
|
624
627
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
625
628
|
#
|
626
|
-
def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
627
|
-
begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
629
|
+
def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
630
|
+
begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
628
631
|
end
|
629
632
|
|
630
633
|
#
|
@@ -645,7 +648,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
645
648
|
#
|
646
649
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
647
650
|
#
|
648
|
-
def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
651
|
+
def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
649
652
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
650
653
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
651
654
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -657,13 +660,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
657
660
|
|
658
661
|
|
659
662
|
request_headers = {}
|
663
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
660
664
|
|
661
665
|
# Set Headers
|
662
666
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
663
667
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
664
668
|
|
665
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
666
|
-
|
667
669
|
# Serialize Request
|
668
670
|
request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember.mapper()
|
669
671
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -736,8 +738,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
736
738
|
# will be added to the HTTP request.
|
737
739
|
#
|
738
740
|
#
|
739
|
-
def begin_delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
740
|
-
response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
741
|
+
def begin_delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
742
|
+
response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
741
743
|
nil
|
742
744
|
end
|
743
745
|
|
@@ -758,8 +760,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
758
760
|
#
|
759
761
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
760
762
|
#
|
761
|
-
def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
762
|
-
begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
763
|
+
def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
764
|
+
begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
763
765
|
end
|
764
766
|
|
765
767
|
#
|
@@ -779,7 +781,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
779
781
|
#
|
780
782
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
781
783
|
#
|
782
|
-
def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
784
|
+
def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
783
785
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
784
786
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
785
787
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -790,6 +792,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
790
792
|
|
791
793
|
|
792
794
|
request_headers = {}
|
795
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
793
796
|
|
794
797
|
# Set Headers
|
795
798
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -842,8 +845,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
842
845
|
#
|
843
846
|
# @return [SyncMember] operation results.
|
844
847
|
#
|
845
|
-
def begin_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
846
|
-
response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
848
|
+
def begin_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
849
|
+
response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
847
850
|
response.body unless response.nil?
|
848
851
|
end
|
849
852
|
|
@@ -865,8 +868,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
865
868
|
#
|
866
869
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
867
870
|
#
|
868
|
-
def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
869
|
-
begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value!
|
871
|
+
def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
872
|
+
begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
|
870
873
|
end
|
871
874
|
|
872
875
|
#
|
@@ -887,7 +890,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
887
890
|
#
|
888
891
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
889
892
|
#
|
890
|
-
def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers
|
893
|
+
def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
|
891
894
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
892
895
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
893
896
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -899,13 +902,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
899
902
|
|
900
903
|
|
901
904
|
request_headers = {}
|
905
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
902
906
|
|
903
907
|
# Set Headers
|
904
908
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
905
909
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
906
910
|
|
907
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
908
|
-
|
909
911
|
# Serialize Request
|
910
912
|
request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember.mapper()
|
911
913
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -968,8 +970,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
968
970
|
# will be added to the HTTP request.
|
969
971
|
#
|
970
972
|
#
|
971
|
-
def begin_refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
972
|
-
response = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
973
|
+
def begin_refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
974
|
+
response = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
973
975
|
nil
|
974
976
|
end
|
975
977
|
|
@@ -990,8 +992,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
990
992
|
#
|
991
993
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
992
994
|
#
|
993
|
-
def begin_refresh_member_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
994
|
-
begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
995
|
+
def begin_refresh_member_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
996
|
+
begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
995
997
|
end
|
996
998
|
|
997
999
|
#
|
@@ -1011,7 +1013,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1011
1013
|
#
|
1012
1014
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1013
1015
|
#
|
1014
|
-
def begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
1016
|
+
def begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
1015
1017
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1016
1018
|
fail ArgumentError, 'server_name is nil' if server_name.nil?
|
1017
1019
|
fail ArgumentError, 'database_name is nil' if database_name.nil?
|
@@ -1022,6 +1024,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1022
1024
|
|
1023
1025
|
|
1024
1026
|
request_headers = {}
|
1027
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1025
1028
|
|
1026
1029
|
# Set Headers
|
1027
1030
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1066,8 +1069,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1066
1069
|
#
|
1067
1070
|
# @return [SyncMemberListResult] operation results.
|
1068
1071
|
#
|
1069
|
-
def list_by_sync_group_next(next_page_link, custom_headers
|
1070
|
-
response = list_by_sync_group_next_async(next_page_link, custom_headers).value!
|
1072
|
+
def list_by_sync_group_next(next_page_link, custom_headers:nil)
|
1073
|
+
response = list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1071
1074
|
response.body unless response.nil?
|
1072
1075
|
end
|
1073
1076
|
|
@@ -1081,8 +1084,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1081
1084
|
#
|
1082
1085
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1083
1086
|
#
|
1084
|
-
def list_by_sync_group_next_with_http_info(next_page_link, custom_headers
|
1085
|
-
list_by_sync_group_next_async(next_page_link, custom_headers).value!
|
1087
|
+
def list_by_sync_group_next_with_http_info(next_page_link, custom_headers:nil)
|
1088
|
+
list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1086
1089
|
end
|
1087
1090
|
|
1088
1091
|
#
|
@@ -1095,11 +1098,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1095
1098
|
#
|
1096
1099
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1097
1100
|
#
|
1098
|
-
def list_by_sync_group_next_async(next_page_link, custom_headers
|
1101
|
+
def list_by_sync_group_next_async(next_page_link, custom_headers:nil)
|
1099
1102
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1100
1103
|
|
1101
1104
|
|
1102
1105
|
request_headers = {}
|
1106
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1103
1107
|
|
1104
1108
|
# Set Headers
|
1105
1109
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1153,8 +1157,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1153
1157
|
#
|
1154
1158
|
# @return [SyncFullSchemaPropertiesListResult] operation results.
|
1155
1159
|
#
|
1156
|
-
def list_member_schemas_next(next_page_link, custom_headers
|
1157
|
-
response = list_member_schemas_next_async(next_page_link, custom_headers).value!
|
1160
|
+
def list_member_schemas_next(next_page_link, custom_headers:nil)
|
1161
|
+
response = list_member_schemas_next_async(next_page_link, custom_headers:custom_headers).value!
|
1158
1162
|
response.body unless response.nil?
|
1159
1163
|
end
|
1160
1164
|
|
@@ -1168,8 +1172,8 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1168
1172
|
#
|
1169
1173
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1170
1174
|
#
|
1171
|
-
def list_member_schemas_next_with_http_info(next_page_link, custom_headers
|
1172
|
-
list_member_schemas_next_async(next_page_link, custom_headers).value!
|
1175
|
+
def list_member_schemas_next_with_http_info(next_page_link, custom_headers:nil)
|
1176
|
+
list_member_schemas_next_async(next_page_link, custom_headers:custom_headers).value!
|
1173
1177
|
end
|
1174
1178
|
|
1175
1179
|
#
|
@@ -1182,11 +1186,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1182
1186
|
#
|
1183
1187
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1184
1188
|
#
|
1185
|
-
def list_member_schemas_next_async(next_page_link, custom_headers
|
1189
|
+
def list_member_schemas_next_async(next_page_link, custom_headers:nil)
|
1186
1190
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1187
1191
|
|
1188
1192
|
|
1189
1193
|
request_headers = {}
|
1194
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1190
1195
|
|
1191
1196
|
# Set Headers
|
1192
1197
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1246,12 +1251,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1246
1251
|
# @return [SyncMemberListResult] which provide lazy access to pages of the
|
1247
1252
|
# response.
|
1248
1253
|
#
|
1249
|
-
def list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers
|
1250
|
-
response = list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value!
|
1254
|
+
def list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil)
|
1255
|
+
response = list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value!
|
1251
1256
|
unless response.nil?
|
1252
1257
|
page = response.body
|
1253
1258
|
page.next_method = Proc.new do |next_page_link|
|
1254
|
-
list_by_sync_group_next_async(next_page_link, custom_headers)
|
1259
|
+
list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers)
|
1255
1260
|
end
|
1256
1261
|
page
|
1257
1262
|
end
|
@@ -1275,12 +1280,12 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
|
|
1275
1280
|
# @return [SyncFullSchemaPropertiesListResult] which provide lazy access to
|
1276
1281
|
# pages of the response.
|
1277
1282
|
#
|
1278
|
-
def list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers
|
1279
|
-
response = list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value!
|
1283
|
+
def list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil)
|
1284
|
+
response = list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value!
|
1280
1285
|
unless response.nil?
|
1281
1286
|
page = response.body
|
1282
1287
|
page.next_method = Proc.new do |next_page_link|
|
1283
|
-
list_member_schemas_next_async(next_page_link, custom_headers)
|
1288
|
+
list_member_schemas_next_async(next_page_link, custom_headers:custom_headers)
|
1284
1289
|
end
|
1285
1290
|
page
|
1286
1291
|
end
|