azure_mgmt_sql 0.17.3 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb +32 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb +12 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb +14 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb +8 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb +10 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb +8 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb +8 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb +8 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb +6 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb +14 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb +4 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +1 -1
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb +2 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb +6 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb +6 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb +140 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb +16 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb +12 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb +16 -210
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +2 -2
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb +1 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb +7 -11
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb +6 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb +10 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb +16 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +1 -1
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb +6 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb +16 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb +30 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb +18 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_clusters.rb +14 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +26 -23
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb +2 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +24 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb +12 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb +1086 -92
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_backup_short_term_retention_policies.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_database_security_alert_policies.rb +8 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb +14 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_instance_administrators.rb +663 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_restorable_dropped_database_backup_short_term_retention_policies.rb +10 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_server_security_alert_policies.rb +8 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +2 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb +2 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb +2 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_instance_administrator.rb +109 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_instance_administrator_list_result.rb +101 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb +2 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb +7 -11
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/restorable_dropped_managed_databases.rb +6 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb +8 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sensitivity_labels.rb +18 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb +4 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +12 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb +8 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +5 -1
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/backup_short_term_retention_policies.rb +10 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/capabilities.rb +2 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_operations.rb +6 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_scans.rb +10 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb +158 -134
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pool_operations.rb +6 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb +12 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb +14 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessment_rule_baselines.rb +6 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessment_scans.rb +10 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessments.rb +10 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_encryption_protectors.rb +140 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb +10 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_tde_certificates.rb +2 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database.rb +48 -5
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_status.rb +1 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_update.rb +48 -5
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/sku.rb +7 -11
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/recoverable_managed_databases.rb +6 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +1 -1
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/tde_certificates.rb +2 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_columns.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_schemas.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_security_alert_policies.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_tables.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/instance_pools.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_columns.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_schemas.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_sensitivity_labels.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_tables.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_instance_vulnerability_assessments.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/models/sku.rb +7 -11
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/server_vulnerability_assessments.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +1 -1
- data/lib/azure_mgmt_sql.rb +1 -1
- data/lib/profiles/latest/modules/sql_profile_module.rb +67 -57
- data/lib/version.rb +1 -1
- metadata +8 -5
@@ -112,6 +112,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
112
112
|
end
|
113
113
|
|
114
114
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
115
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
116
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
115
117
|
|
116
118
|
result
|
117
119
|
end
|
@@ -204,6 +206,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
204
206
|
end
|
205
207
|
|
206
208
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
209
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
210
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
207
211
|
# Deserialize Response
|
208
212
|
if status_code == 200
|
209
213
|
begin
|
@@ -292,6 +296,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
292
296
|
end
|
293
297
|
|
294
298
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
299
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
300
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
295
301
|
# Deserialize Response
|
296
302
|
if status_code == 200
|
297
303
|
begin
|
@@ -108,6 +108,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
108
108
|
end
|
109
109
|
|
110
110
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
111
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
112
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
111
113
|
# Deserialize Response
|
112
114
|
if status_code == 200
|
113
115
|
begin
|
@@ -210,6 +212,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
210
212
|
end
|
211
213
|
|
212
214
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
215
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
216
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
213
217
|
# Deserialize Response
|
214
218
|
if status_code == 200
|
215
219
|
begin
|
@@ -467,6 +471,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
467
471
|
end
|
468
472
|
|
469
473
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
474
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
475
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
470
476
|
# Deserialize Response
|
471
477
|
if status_code == 200
|
472
478
|
begin
|
@@ -578,6 +584,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
578
584
|
end
|
579
585
|
|
580
586
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
587
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
588
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
581
589
|
|
582
590
|
result
|
583
591
|
end
|
@@ -681,6 +689,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
681
689
|
end
|
682
690
|
|
683
691
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
692
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
693
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
684
694
|
# Deserialize Response
|
685
695
|
if status_code == 200
|
686
696
|
begin
|
@@ -769,6 +779,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
769
779
|
end
|
770
780
|
|
771
781
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
782
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
783
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
772
784
|
# Deserialize Response
|
773
785
|
if status_code == 200
|
774
786
|
begin
|
@@ -112,6 +112,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
112
112
|
end
|
113
113
|
|
114
114
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
115
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
116
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
115
117
|
# Deserialize Response
|
116
118
|
if status_code == 200
|
117
119
|
begin
|
@@ -311,6 +313,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
311
313
|
end
|
312
314
|
|
313
315
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
316
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
317
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
314
318
|
# Deserialize Response
|
315
319
|
if status_code == 200
|
316
320
|
begin
|
@@ -529,6 +533,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
529
533
|
end
|
530
534
|
|
531
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?
|
532
538
|
# Deserialize Response
|
533
539
|
if status_code == 200
|
534
540
|
begin
|
@@ -643,6 +649,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
643
649
|
end
|
644
650
|
|
645
651
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
652
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
653
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
646
654
|
|
647
655
|
result
|
648
656
|
end
|
@@ -741,6 +749,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
741
749
|
end
|
742
750
|
|
743
751
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
752
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
753
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
744
754
|
# Deserialize Response
|
745
755
|
if status_code == 200
|
746
756
|
begin
|
@@ -849,6 +859,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
849
859
|
end
|
850
860
|
|
851
861
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
862
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
863
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
852
864
|
# Deserialize Response
|
853
865
|
if status_code == 200
|
854
866
|
begin
|
@@ -937,6 +949,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
937
949
|
end
|
938
950
|
|
939
951
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
952
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
953
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
940
954
|
# Deserialize Response
|
941
955
|
if status_code == 200
|
942
956
|
begin
|
@@ -130,6 +130,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
130
130
|
end
|
131
131
|
|
132
132
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
133
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
134
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
133
135
|
# Deserialize Response
|
134
136
|
if status_code == 200
|
135
137
|
begin
|
@@ -267,6 +269,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
267
269
|
end
|
268
270
|
|
269
271
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
272
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
273
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
270
274
|
# Deserialize Response
|
271
275
|
if status_code == 200
|
272
276
|
begin
|
@@ -389,6 +393,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
389
393
|
end
|
390
394
|
|
391
395
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
396
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
397
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
392
398
|
|
393
399
|
result
|
394
400
|
end
|
@@ -110,6 +110,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
110
110
|
end
|
111
111
|
|
112
112
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
113
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
114
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
113
115
|
# Deserialize Response
|
114
116
|
if status_code == 200
|
115
117
|
begin
|
@@ -220,6 +222,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
220
222
|
end
|
221
223
|
|
222
224
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
225
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
226
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
223
227
|
# Deserialize Response
|
224
228
|
if status_code == 200
|
225
229
|
begin
|
@@ -378,6 +382,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
378
382
|
end
|
379
383
|
|
380
384
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
385
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
386
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
381
387
|
# Deserialize Response
|
382
388
|
if status_code == 200
|
383
389
|
begin
|
@@ -497,6 +503,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
497
503
|
end
|
498
504
|
|
499
505
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
506
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
507
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
500
508
|
|
501
509
|
result
|
502
510
|
end
|
@@ -575,6 +583,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
575
583
|
end
|
576
584
|
|
577
585
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
586
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
587
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
578
588
|
# Deserialize Response
|
579
589
|
if status_code == 200
|
580
590
|
begin
|
data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessments.rb
CHANGED
@@ -113,6 +113,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
113
113
|
end
|
114
114
|
|
115
115
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
116
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
117
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
116
118
|
# Deserialize Response
|
117
119
|
if status_code == 200
|
118
120
|
begin
|
@@ -230,6 +232,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
230
232
|
end
|
231
233
|
|
232
234
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
235
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
236
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
233
237
|
# Deserialize Response
|
234
238
|
if status_code == 200
|
235
239
|
begin
|
@@ -345,6 +349,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
345
349
|
end
|
346
350
|
|
347
351
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
352
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
353
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
348
354
|
|
349
355
|
result
|
350
356
|
end
|
@@ -440,6 +446,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
440
446
|
end
|
441
447
|
|
442
448
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
449
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
450
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
443
451
|
# Deserialize Response
|
444
452
|
if status_code == 200
|
445
453
|
begin
|
@@ -528,6 +536,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
528
536
|
end
|
529
537
|
|
530
538
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
539
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
540
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
531
541
|
# Deserialize Response
|
532
542
|
if status_code == 200
|
533
543
|
begin
|
data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_encryption_protectors.rb
CHANGED
@@ -24,6 +24,48 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
24
24
|
# @return [SqlManagementClient] reference to the SqlManagementClient
|
25
25
|
attr_reader :client
|
26
26
|
|
27
|
+
#
|
28
|
+
# Revalidates an existing encryption protector.
|
29
|
+
#
|
30
|
+
# @param resource_group_name [String] The name of the resource group that
|
31
|
+
# contains the resource. You can obtain this value from the Azure Resource
|
32
|
+
# Manager API or the portal.
|
33
|
+
# @param managed_instance_name [String] The name of the managed instance.
|
34
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
35
|
+
# will be added to the HTTP request.
|
36
|
+
#
|
37
|
+
def revalidate(resource_group_name, managed_instance_name, custom_headers:nil)
|
38
|
+
response = revalidate_async(resource_group_name, managed_instance_name, custom_headers:custom_headers).value!
|
39
|
+
nil
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# @param resource_group_name [String] The name of the resource group that
|
44
|
+
# contains the resource. You can obtain this value from the Azure Resource
|
45
|
+
# Manager API or the portal.
|
46
|
+
# @param managed_instance_name [String] The name of the managed instance.
|
47
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
48
|
+
# will be added to the HTTP request.
|
49
|
+
#
|
50
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
51
|
+
# response.
|
52
|
+
#
|
53
|
+
def revalidate_async(resource_group_name, managed_instance_name, custom_headers:nil)
|
54
|
+
# Send request
|
55
|
+
promise = begin_revalidate_async(resource_group_name, managed_instance_name, custom_headers:custom_headers)
|
56
|
+
|
57
|
+
promise = promise.then do |response|
|
58
|
+
# Defining deserialization method.
|
59
|
+
deserialize_method = lambda do |parsed_response|
|
60
|
+
end
|
61
|
+
|
62
|
+
# Waiting for response.
|
63
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
64
|
+
end
|
65
|
+
|
66
|
+
promise
|
67
|
+
end
|
68
|
+
|
27
69
|
#
|
28
70
|
# Gets a list of managed instance encryption protectors
|
29
71
|
#
|
@@ -105,6 +147,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
105
147
|
end
|
106
148
|
|
107
149
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
150
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
151
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
108
152
|
# Deserialize Response
|
109
153
|
if status_code == 200
|
110
154
|
begin
|
@@ -204,6 +248,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
204
248
|
end
|
205
249
|
|
206
250
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
251
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
252
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
207
253
|
# Deserialize Response
|
208
254
|
if status_code == 200
|
209
255
|
begin
|
@@ -271,6 +317,96 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
271
317
|
promise
|
272
318
|
end
|
273
319
|
|
320
|
+
#
|
321
|
+
# Revalidates an existing encryption protector.
|
322
|
+
#
|
323
|
+
# @param resource_group_name [String] The name of the resource group that
|
324
|
+
# contains the resource. You can obtain this value from the Azure Resource
|
325
|
+
# Manager API or the portal.
|
326
|
+
# @param managed_instance_name [String] The name of the managed instance.
|
327
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
328
|
+
# will be added to the HTTP request.
|
329
|
+
#
|
330
|
+
#
|
331
|
+
def begin_revalidate(resource_group_name, managed_instance_name, custom_headers:nil)
|
332
|
+
response = begin_revalidate_async(resource_group_name, managed_instance_name, custom_headers:custom_headers).value!
|
333
|
+
nil
|
334
|
+
end
|
335
|
+
|
336
|
+
#
|
337
|
+
# Revalidates an existing encryption protector.
|
338
|
+
#
|
339
|
+
# @param resource_group_name [String] The name of the resource group that
|
340
|
+
# contains the resource. You can obtain this value from the Azure Resource
|
341
|
+
# Manager API or the portal.
|
342
|
+
# @param managed_instance_name [String] The name of the managed instance.
|
343
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
344
|
+
# will be added to the HTTP request.
|
345
|
+
#
|
346
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
347
|
+
#
|
348
|
+
def begin_revalidate_with_http_info(resource_group_name, managed_instance_name, custom_headers:nil)
|
349
|
+
begin_revalidate_async(resource_group_name, managed_instance_name, custom_headers:custom_headers).value!
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# Revalidates an existing encryption protector.
|
354
|
+
#
|
355
|
+
# @param resource_group_name [String] The name of the resource group that
|
356
|
+
# contains the resource. You can obtain this value from the Azure Resource
|
357
|
+
# Manager API or the portal.
|
358
|
+
# @param managed_instance_name [String] The name of the managed instance.
|
359
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
360
|
+
# to the HTTP request.
|
361
|
+
#
|
362
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
363
|
+
#
|
364
|
+
def begin_revalidate_async(resource_group_name, managed_instance_name, custom_headers:nil)
|
365
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
366
|
+
fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil?
|
367
|
+
encryption_protector_name = 'current'
|
368
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
369
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
370
|
+
|
371
|
+
|
372
|
+
request_headers = {}
|
373
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
374
|
+
|
375
|
+
# Set Headers
|
376
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
377
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
378
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}/revalidate'
|
379
|
+
|
380
|
+
request_url = @base_url || @client.base_url
|
381
|
+
|
382
|
+
options = {
|
383
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
384
|
+
path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'encryptionProtectorName' => encryption_protector_name,'subscriptionId' => @client.subscription_id},
|
385
|
+
query_params: {'api-version' => @client.api_version},
|
386
|
+
headers: request_headers.merge(custom_headers || {}),
|
387
|
+
base_url: request_url
|
388
|
+
}
|
389
|
+
promise = @client.make_request_async(:post, path_template, options)
|
390
|
+
|
391
|
+
promise = promise.then do |result|
|
392
|
+
http_response = result.response
|
393
|
+
status_code = http_response.status
|
394
|
+
response_content = http_response.body
|
395
|
+
unless status_code == 200 || status_code == 202
|
396
|
+
error_model = JSON.load(response_content)
|
397
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
398
|
+
end
|
399
|
+
|
400
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
401
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
402
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
403
|
+
|
404
|
+
result
|
405
|
+
end
|
406
|
+
|
407
|
+
promise.execute
|
408
|
+
end
|
409
|
+
|
274
410
|
#
|
275
411
|
# Updates an existing encryption protector.
|
276
412
|
#
|
@@ -367,6 +503,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
367
503
|
end
|
368
504
|
|
369
505
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
506
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
507
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
370
508
|
# Deserialize Response
|
371
509
|
if status_code == 200
|
372
510
|
begin
|
@@ -455,6 +593,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
455
593
|
end
|
456
594
|
|
457
595
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
596
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
597
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
458
598
|
# Deserialize Response
|
459
599
|
if status_code == 200
|
460
600
|
begin
|
@@ -111,6 +111,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
111
111
|
end
|
112
112
|
|
113
113
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
114
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
115
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
114
116
|
# Deserialize Response
|
115
117
|
if status_code == 200
|
116
118
|
begin
|
@@ -216,6 +218,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
216
218
|
end
|
217
219
|
|
218
220
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
221
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
222
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
219
223
|
# Deserialize Response
|
220
224
|
if status_code == 200
|
221
225
|
begin
|
@@ -433,6 +437,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
433
437
|
end
|
434
438
|
|
435
439
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
440
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
441
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
436
442
|
# Deserialize Response
|
437
443
|
if status_code == 200
|
438
444
|
begin
|
@@ -544,6 +550,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
544
550
|
end
|
545
551
|
|
546
552
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
553
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
554
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
547
555
|
|
548
556
|
result
|
549
557
|
end
|
@@ -622,6 +630,8 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
|
|
622
630
|
end
|
623
631
|
|
624
632
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
633
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
634
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
625
635
|
# Deserialize Response
|
626
636
|
if status_code == 200
|
627
637
|
begin
|