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
@@ -110,6 +110,8 @@ module Azure::SQL::Mgmt::V2017_03_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
|
@@ -316,6 +318,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
316
318
|
end
|
317
319
|
|
318
320
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
321
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
322
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
319
323
|
# Deserialize Response
|
320
324
|
if status_code == 200
|
321
325
|
begin
|
@@ -433,6 +437,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
433
437
|
end
|
434
438
|
|
435
439
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
440
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
441
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
436
442
|
# Deserialize Response
|
437
443
|
if status_code == 200
|
438
444
|
begin
|
@@ -550,6 +556,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
550
556
|
end
|
551
557
|
|
552
558
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
559
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
560
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
553
561
|
# Deserialize Response
|
554
562
|
if status_code == 200
|
555
563
|
begin
|
@@ -638,6 +646,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
638
646
|
end
|
639
647
|
|
640
648
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
649
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
650
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
641
651
|
# Deserialize Response
|
642
652
|
if status_code == 200
|
643
653
|
begin
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_server_security_alert_policies.rb
CHANGED
@@ -106,6 +106,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
106
106
|
end
|
107
107
|
|
108
108
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
109
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
110
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
109
111
|
# Deserialize Response
|
110
112
|
if status_code == 200
|
111
113
|
begin
|
@@ -254,6 +256,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
254
256
|
end
|
255
257
|
|
256
258
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
259
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
260
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
257
261
|
# Deserialize Response
|
258
262
|
if status_code == 200
|
259
263
|
begin
|
@@ -367,6 +371,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
367
371
|
end
|
368
372
|
|
369
373
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
374
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
375
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
370
376
|
# Deserialize Response
|
371
377
|
if status_code == 200
|
372
378
|
begin
|
@@ -455,6 +461,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
455
461
|
end
|
456
462
|
|
457
463
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
464
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
465
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
458
466
|
# Deserialize Response
|
459
467
|
if status_code == 200
|
460
468
|
begin
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb
CHANGED
@@ -117,8 +117,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
117
117
|
|
118
118
|
# @return [Boolean] Specifies whether audit events are sent to Azure
|
119
119
|
# Monitor.
|
120
|
-
# In order to send the events to Azure Monitor, specify '
|
121
|
-
# 'Enabled' and '
|
120
|
+
# In order to send the events to Azure Monitor, specify 'state' as
|
121
|
+
# 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
|
122
122
|
#
|
123
123
|
# When using REST API to configure auditing, Diagnostic Settings with
|
124
124
|
# 'SQLSecurityAuditEvents' diagnostic logs category on the database
|
@@ -118,8 +118,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
118
118
|
|
119
119
|
# @return [Boolean] Specifies whether audit events are sent to Azure
|
120
120
|
# Monitor.
|
121
|
-
# In order to send the events to Azure Monitor, specify '
|
122
|
-
# 'Enabled' and '
|
121
|
+
# In order to send the events to Azure Monitor, specify 'state' as
|
122
|
+
# 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
|
123
123
|
#
|
124
124
|
# When using REST API to configure auditing, Diagnostic Settings with
|
125
125
|
# 'SQLSecurityAuditEvents' diagnostic logs category on the database
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb
CHANGED
@@ -118,8 +118,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
118
118
|
|
119
119
|
# @return [Boolean] Specifies whether audit events are sent to Azure
|
120
120
|
# Monitor.
|
121
|
-
# In order to send the events to Azure Monitor, specify '
|
122
|
-
# 'Enabled' and '
|
121
|
+
# In order to send the events to Azure Monitor, specify 'state' as
|
122
|
+
# 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
|
123
123
|
#
|
124
124
|
# When using REST API to configure auditing, Diagnostic Settings with
|
125
125
|
# 'SQLSecurityAuditEvents' diagnostic logs category on the database
|
@@ -0,0 +1,109 @@
|
|
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::SQL::Mgmt::V2017_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An Azure SQL managed instance administrator.
|
10
|
+
#
|
11
|
+
class ManagedInstanceAdministrator < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Type of the managed instance administrator. Default
|
16
|
+
# value: 'ActiveDirectory' .
|
17
|
+
attr_accessor :administrator_type
|
18
|
+
|
19
|
+
# @return [String] Login name of the managed instance administrator.
|
20
|
+
attr_accessor :login
|
21
|
+
|
22
|
+
# @return SID (object ID) of the managed instance administrator.
|
23
|
+
attr_accessor :sid
|
24
|
+
|
25
|
+
# @return Tenant ID of the managed instance administrator.
|
26
|
+
attr_accessor :tenant_id
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ManagedInstanceAdministrator class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'ManagedInstanceAdministrator',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ManagedInstanceAdministrator',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'id',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
administrator_type: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
is_constant: true,
|
73
|
+
serialized_name: 'properties.administratorType',
|
74
|
+
default_value: 'ActiveDirectory',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
login: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: true,
|
82
|
+
serialized_name: 'properties.login',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
sid: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: true,
|
90
|
+
serialized_name: 'properties.sid',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
tenant_id: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'properties.tenantId',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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::SQL::Mgmt::V2017_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A list of managed instance administrators.
|
10
|
+
#
|
11
|
+
class ManagedInstanceAdministratorListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ManagedInstanceAdministrator>] Array of results.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Link to retrieve next page of results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<ManagedInstanceAdministrator>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [ManagedInstanceAdministratorListResult] with next page
|
44
|
+
# content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for ManagedInstanceAdministratorListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'ManagedInstanceAdministratorListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'ManagedInstanceAdministratorListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'ManagedInstanceAdministratorElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'ManagedInstanceAdministrator'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -114,8 +114,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
114
114
|
|
115
115
|
# @return [Boolean] Specifies whether audit events are sent to Azure
|
116
116
|
# Monitor.
|
117
|
-
# In order to send the events to Azure Monitor, specify '
|
118
|
-
# 'Enabled' and '
|
117
|
+
# In order to send the events to Azure Monitor, specify 'state' as
|
118
|
+
# 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
|
119
119
|
#
|
120
120
|
# When using REST API to configure auditing, Diagnostic Settings with
|
121
121
|
# 'SQLSecurityAuditEvents' diagnostic logs category on the database
|
@@ -6,32 +6,28 @@
|
|
6
6
|
module Azure::SQL::Mgmt::V2017_03_01_preview
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# An ARM Resource SKU.
|
10
10
|
#
|
11
11
|
class Sku
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The name of the SKU
|
16
|
-
#
|
15
|
+
# @return [String] The name of the SKU, typically, a letter + Number
|
16
|
+
# code, e.g. P3.
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
|
-
# @return [String]
|
20
|
-
#
|
21
|
-
# required on a PUT.
|
19
|
+
# @return [String] The tier or edition of the particular SKU, e.g. Basic,
|
20
|
+
# Premium.
|
22
21
|
attr_accessor :tier
|
23
22
|
|
24
|
-
# @return [String]
|
25
|
-
# of tier and some other value, this would be the standalone code.
|
23
|
+
# @return [String] Size of the particular SKU
|
26
24
|
attr_accessor :size
|
27
25
|
|
28
26
|
# @return [String] If the service has different generations of hardware,
|
29
27
|
# for the same SKU, then that can be captured here.
|
30
28
|
attr_accessor :family
|
31
29
|
|
32
|
-
# @return [Integer]
|
33
|
-
# integer should be included. If scale out/in is not possible for the
|
34
|
-
# resource this may be omitted.
|
30
|
+
# @return [Integer] Capacity of the particular SKU.
|
35
31
|
attr_accessor :capacity
|
36
32
|
|
37
33
|
|
data/lib/2017-03-01-preview/generated/azure_mgmt_sql/restorable_dropped_managed_databases.rb
CHANGED
@@ -105,6 +105,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
105
105
|
end
|
106
106
|
|
107
107
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
108
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
109
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
108
110
|
# Deserialize Response
|
109
111
|
if status_code == 200
|
110
112
|
begin
|
@@ -207,6 +209,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
207
209
|
end
|
208
210
|
|
209
211
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
212
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
213
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
210
214
|
# Deserialize Response
|
211
215
|
if status_code == 200
|
212
216
|
begin
|
@@ -295,6 +299,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
295
299
|
end
|
296
300
|
|
297
301
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
302
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
303
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
298
304
|
# Deserialize Response
|
299
305
|
if status_code == 200
|
300
306
|
begin
|
@@ -109,6 +109,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
109
109
|
end
|
110
110
|
|
111
111
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
112
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
113
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
112
114
|
# Deserialize Response
|
113
115
|
if status_code == 200
|
114
116
|
begin
|
@@ -267,6 +269,8 @@ module Azure::SQL::Mgmt::V2017_03_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
|
@@ -372,6 +376,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
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
|
|
376
382
|
result
|
377
383
|
end
|
@@ -478,6 +484,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
478
484
|
end
|
479
485
|
|
480
486
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
487
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
488
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
481
489
|
# Deserialize Response
|
482
490
|
if status_code == 200
|
483
491
|
begin
|
@@ -115,6 +115,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
115
115
|
end
|
116
116
|
|
117
117
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
118
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
119
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
118
120
|
# Deserialize Response
|
119
121
|
if status_code == 200
|
120
122
|
begin
|
@@ -232,6 +234,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
232
234
|
end
|
233
235
|
|
234
236
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
237
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
238
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
235
239
|
# Deserialize Response
|
236
240
|
if status_code == 200
|
237
241
|
begin
|
@@ -349,6 +353,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
349
353
|
end
|
350
354
|
|
351
355
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
356
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
357
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
352
358
|
|
353
359
|
result
|
354
360
|
end
|
@@ -453,6 +459,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
453
459
|
end
|
454
460
|
|
455
461
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
462
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
463
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
456
464
|
|
457
465
|
result
|
458
466
|
end
|
@@ -564,6 +572,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
564
572
|
end
|
565
573
|
|
566
574
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
575
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
576
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
567
577
|
# Deserialize Response
|
568
578
|
if status_code == 200
|
569
579
|
begin
|
@@ -690,6 +700,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
690
700
|
end
|
691
701
|
|
692
702
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
703
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
704
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
693
705
|
# Deserialize Response
|
694
706
|
if status_code == 200
|
695
707
|
begin
|
@@ -814,6 +826,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
814
826
|
end
|
815
827
|
|
816
828
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
829
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
830
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
817
831
|
|
818
832
|
result
|
819
833
|
end
|
@@ -892,6 +906,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
892
906
|
end
|
893
907
|
|
894
908
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
909
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
910
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
895
911
|
# Deserialize Response
|
896
912
|
if status_code == 200
|
897
913
|
begin
|
@@ -980,6 +996,8 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
|
|
980
996
|
end
|
981
997
|
|
982
998
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
999
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1000
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
983
1001
|
# Deserialize Response
|
984
1002
|
if status_code == 200
|
985
1003
|
begin
|