azure_mgmt_sql 0.9.0 → 0.10.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 +4 -4
- data/lib/generated/azure_mgmt_sql.rb +22 -18
- data/lib/generated/azure_mgmt_sql/databases.rb +219 -255
- data/lib/generated/azure_mgmt_sql/elastic_pools.rb +97 -126
- data/lib/generated/azure_mgmt_sql/models/column.rb +3 -3
- data/lib/generated/azure_mgmt_sql/models/create_mode.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/database.rb +119 -57
- data/lib/generated/azure_mgmt_sql/models/database_editions.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +3 -4
- data/lib/generated/azure_mgmt_sql/models/database_metric.rb +19 -3
- data/lib/generated/azure_mgmt_sql/models/database_metric_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +25 -16
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +49 -6
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +5 -6
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_editions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/operation.rb +56 -0
- data/lib/generated/azure_mgmt_sql/models/operation_display.rb +65 -0
- data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/operation_list_result.rb +65 -0
- data/lib/generated/azure_mgmt_sql/models/read_scale.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +10 -10
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +6 -8
- data/lib/generated/azure_mgmt_sql/models/recommended_index_actions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_index_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_index_types.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/replication_link.rb +56 -12
- data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/replication_role.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/replication_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/restore_point.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/restore_point_types.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/sample_name.rb +15 -0
- data/lib/generated/azure_mgmt_sql/models/schema.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/server.rb +54 -2
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule.rb +21 -8
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb +2 -3
- data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_sql/models/server_metric.rb +13 -2
- data/lib/generated/azure_mgmt_sql/models/server_metric_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/server_state.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/server_version.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/service_objective.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +4 -5
- data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +7 -1
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +2 -2
- data/lib/generated/azure_mgmt_sql/models/sql_sub_resource.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/table.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/table_type.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +5 -5
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_states.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/upgrade_hint.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb +16 -17
- data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +58 -67
- data/lib/generated/azure_mgmt_sql/servers.rb +73 -82
- data/lib/generated/azure_mgmt_sql/sql_management_client.rb +82 -1
- data/lib/generated/azure_mgmt_sql/version.rb +2 -2
- metadata +8 -4
- data/lib/generated/azure_mgmt_sql/models/recommended_database_properties.rb +0 -68
- data/lib/generated/azure_mgmt_sql/models/target_database_editions.rb +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de4b3d7d5c12097af0328a0e3d38b4b87745ed22
|
|
4
|
+
data.tar.gz: ec34cf68e64ea5e70f5080a63cb0eaed04d67329
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9948f7d30afb304e76f30545a63f2c4225552b29941844e4bd6efcb53ee3577c5dcb031352b2d16694294994e33b446dcb9f9788a0e09345c5cb84eac8278d59
|
|
7
|
+
data.tar.gz: e666a6a73d64b046e8ce6966db9952f0f9969e44d16b28dc4d40f2c431c5d5ed1231d63ee3822bc6409854096926e3ab670086717b385e6028d0326ae28a2e75
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -28,29 +28,30 @@ module Azure::ARM::SQL
|
|
|
28
28
|
|
|
29
29
|
module Models
|
|
30
30
|
autoload :ElasticPoolListResult, 'generated/azure_mgmt_sql/models/elastic_pool_list_result.rb'
|
|
31
|
-
autoload :ServerMetricListResult, 'generated/azure_mgmt_sql/models/server_metric_list_result.rb'
|
|
32
|
-
autoload :ServerFirewallRuleListResult, 'generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb'
|
|
33
|
-
autoload :ServerMetric, 'generated/azure_mgmt_sql/models/server_metric.rb'
|
|
34
31
|
autoload :DatabaseMetricListResult, 'generated/azure_mgmt_sql/models/database_metric_list_result.rb'
|
|
35
|
-
autoload :
|
|
36
|
-
autoload :DatabaseMetric, 'generated/azure_mgmt_sql/models/database_metric.rb'
|
|
37
|
-
autoload :RecommendedElasticPoolListResult, 'generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb'
|
|
38
|
-
autoload :TransparentDataEncryptionActivityListResult, 'generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb'
|
|
39
|
-
autoload :RecommendedElasticPoolListMetricsResult, 'generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb'
|
|
40
|
-
autoload :ServiceObjectiveListResult, 'generated/azure_mgmt_sql/models/service_objective_list_result.rb'
|
|
41
|
-
autoload :RecommendedDatabaseProperties, 'generated/azure_mgmt_sql/models/recommended_database_properties.rb'
|
|
32
|
+
autoload :OperationDisplay, 'generated/azure_mgmt_sql/models/operation_display.rb'
|
|
42
33
|
autoload :SqlSubResource, 'generated/azure_mgmt_sql/models/sql_sub_resource.rb'
|
|
43
34
|
autoload :RestorePointListResult, 'generated/azure_mgmt_sql/models/restore_point_list_result.rb'
|
|
44
|
-
autoload :SloUsageMetric, 'generated/azure_mgmt_sql/models/slo_usage_metric.rb'
|
|
45
|
-
autoload :DatabaseListResult, 'generated/azure_mgmt_sql/models/database_list_result.rb'
|
|
46
|
-
autoload :OperationImpact, 'generated/azure_mgmt_sql/models/operation_impact.rb'
|
|
47
|
-
autoload :UpgradeRecommendedElasticPoolProperties, 'generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb'
|
|
48
35
|
autoload :ReplicationLinkListResult, 'generated/azure_mgmt_sql/models/replication_link_list_result.rb'
|
|
49
|
-
autoload :
|
|
36
|
+
autoload :RecommendedElasticPoolListResult, 'generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb'
|
|
37
|
+
autoload :SloUsageMetric, 'generated/azure_mgmt_sql/models/slo_usage_metric.rb'
|
|
38
|
+
autoload :RecommendedElasticPoolListMetricsResult, 'generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb'
|
|
39
|
+
autoload :Operation, 'generated/azure_mgmt_sql/models/operation.rb'
|
|
50
40
|
autoload :ServiceTierAdvisorListResult, 'generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb'
|
|
51
|
-
autoload :ServerListResult, 'generated/azure_mgmt_sql/models/server_list_result.rb'
|
|
52
41
|
autoload :UpgradeHint, 'generated/azure_mgmt_sql/models/upgrade_hint.rb'
|
|
42
|
+
autoload :ServerMetric, 'generated/azure_mgmt_sql/models/server_metric.rb'
|
|
43
|
+
autoload :DatabaseListResult, 'generated/azure_mgmt_sql/models/database_list_result.rb'
|
|
44
|
+
autoload :TransparentDataEncryptionActivityListResult, 'generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb'
|
|
45
|
+
autoload :ElasticPoolActivityListResult, 'generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb'
|
|
46
|
+
autoload :ServiceObjectiveListResult, 'generated/azure_mgmt_sql/models/service_objective_list_result.rb'
|
|
47
|
+
autoload :ServerMetricListResult, 'generated/azure_mgmt_sql/models/server_metric_list_result.rb'
|
|
53
48
|
autoload :ElasticPoolDatabaseActivityListResult, 'generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb'
|
|
49
|
+
autoload :RecommendedElasticPoolMetric, 'generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb'
|
|
50
|
+
autoload :OperationListResult, 'generated/azure_mgmt_sql/models/operation_list_result.rb'
|
|
51
|
+
autoload :ServerFirewallRuleListResult, 'generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb'
|
|
52
|
+
autoload :ServerListResult, 'generated/azure_mgmt_sql/models/server_list_result.rb'
|
|
53
|
+
autoload :OperationImpact, 'generated/azure_mgmt_sql/models/operation_impact.rb'
|
|
54
|
+
autoload :UpgradeRecommendedElasticPoolProperties, 'generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb'
|
|
54
55
|
autoload :ServerFirewallRule, 'generated/azure_mgmt_sql/models/server_firewall_rule.rb'
|
|
55
56
|
autoload :ReplicationLink, 'generated/azure_mgmt_sql/models/replication_link.rb'
|
|
56
57
|
autoload :ServiceTierAdvisor, 'generated/azure_mgmt_sql/models/service_tier_advisor.rb'
|
|
@@ -66,6 +67,7 @@ module Azure::ARM::SQL
|
|
|
66
67
|
autoload :ElasticPoolDatabaseActivity, 'generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb'
|
|
67
68
|
autoload :Server, 'generated/azure_mgmt_sql/models/server.rb'
|
|
68
69
|
autoload :RestorePoint, 'generated/azure_mgmt_sql/models/restore_point.rb'
|
|
70
|
+
autoload :DatabaseMetric, 'generated/azure_mgmt_sql/models/database_metric.rb'
|
|
69
71
|
autoload :ServiceObjective, 'generated/azure_mgmt_sql/models/service_objective.rb'
|
|
70
72
|
autoload :TransparentDataEncryptionActivity, 'generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb'
|
|
71
73
|
autoload :ReplicationRole, 'generated/azure_mgmt_sql/models/replication_role.rb'
|
|
@@ -79,9 +81,11 @@ module Azure::ARM::SQL
|
|
|
79
81
|
autoload :RecommendedIndexStates, 'generated/azure_mgmt_sql/models/recommended_index_states.rb'
|
|
80
82
|
autoload :RecommendedIndexTypes, 'generated/azure_mgmt_sql/models/recommended_index_types.rb'
|
|
81
83
|
autoload :TransparentDataEncryptionStates, 'generated/azure_mgmt_sql/models/transparent_data_encryption_states.rb'
|
|
82
|
-
autoload :
|
|
84
|
+
autoload :ReadScale, 'generated/azure_mgmt_sql/models/read_scale.rb'
|
|
85
|
+
autoload :SampleName, 'generated/azure_mgmt_sql/models/sample_name.rb'
|
|
83
86
|
autoload :ElasticPoolState, 'generated/azure_mgmt_sql/models/elastic_pool_state.rb'
|
|
84
87
|
autoload :ServerVersion, 'generated/azure_mgmt_sql/models/server_version.rb'
|
|
88
|
+
autoload :ServerState, 'generated/azure_mgmt_sql/models/server_state.rb'
|
|
85
89
|
autoload :TargetElasticPoolEditions, 'generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb'
|
|
86
90
|
autoload :RestorePointTypes, 'generated/azure_mgmt_sql/models/restore_point_types.rb'
|
|
87
91
|
autoload :TransparentDataEncryptionActivityStates, 'generated/azure_mgmt_sql/models/transparent_data_encryption_activity_states.rb'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -26,14 +26,13 @@ module Azure::ARM::SQL
|
|
|
26
26
|
attr_reader :client
|
|
27
27
|
|
|
28
28
|
#
|
|
29
|
-
# Deletes
|
|
30
|
-
# done during failover.
|
|
29
|
+
# Deletes a database replication link. Cannot be done during failover.
|
|
31
30
|
#
|
|
32
31
|
# @param resource_group_name [String] The name of the resource group that
|
|
33
32
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
34
33
|
# Manager API or the portal.
|
|
35
|
-
# @param server_name [String] The name of the
|
|
36
|
-
# @param database_name [String] The name of the
|
|
34
|
+
# @param server_name [String] The name of the server.
|
|
35
|
+
# @param database_name [String] The name of the database that has the
|
|
37
36
|
# replication link to be dropped.
|
|
38
37
|
# @param link_id [String] The ID of the replication link to be deleted.
|
|
39
38
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -46,14 +45,13 @@ module Azure::ARM::SQL
|
|
|
46
45
|
end
|
|
47
46
|
|
|
48
47
|
#
|
|
49
|
-
# Deletes
|
|
50
|
-
# done during failover.
|
|
48
|
+
# Deletes a database replication link. Cannot be done during failover.
|
|
51
49
|
#
|
|
52
50
|
# @param resource_group_name [String] The name of the resource group that
|
|
53
51
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
54
52
|
# Manager API or the portal.
|
|
55
|
-
# @param server_name [String] The name of the
|
|
56
|
-
# @param database_name [String] The name of the
|
|
53
|
+
# @param server_name [String] The name of the server.
|
|
54
|
+
# @param database_name [String] The name of the database that has the
|
|
57
55
|
# replication link to be dropped.
|
|
58
56
|
# @param link_id [String] The ID of the replication link to be deleted.
|
|
59
57
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -66,14 +64,13 @@ module Azure::ARM::SQL
|
|
|
66
64
|
end
|
|
67
65
|
|
|
68
66
|
#
|
|
69
|
-
# Deletes
|
|
70
|
-
# done during failover.
|
|
67
|
+
# Deletes a database replication link. Cannot be done during failover.
|
|
71
68
|
#
|
|
72
69
|
# @param resource_group_name [String] The name of the resource group that
|
|
73
70
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
74
71
|
# Manager API or the portal.
|
|
75
|
-
# @param server_name [String] The name of the
|
|
76
|
-
# @param database_name [String] The name of the
|
|
72
|
+
# @param server_name [String] The name of the server.
|
|
73
|
+
# @param database_name [String] The name of the database that has the
|
|
77
74
|
# replication link to be dropped.
|
|
78
75
|
# @param link_id [String] The ID of the replication link to be deleted.
|
|
79
76
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -126,14 +123,13 @@ module Azure::ARM::SQL
|
|
|
126
123
|
end
|
|
127
124
|
|
|
128
125
|
#
|
|
129
|
-
# Gets
|
|
126
|
+
# Gets a database replication link.
|
|
130
127
|
#
|
|
131
128
|
# @param resource_group_name [String] The name of the resource group that
|
|
132
129
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
133
130
|
# Manager API or the portal.
|
|
134
|
-
# @param server_name [String] The name of the
|
|
135
|
-
# @param database_name [String] The name of the
|
|
136
|
-
# link for.
|
|
131
|
+
# @param server_name [String] The name of the server.
|
|
132
|
+
# @param database_name [String] The name of the database to get the link for.
|
|
137
133
|
# @param link_id [String] The replication link ID to be retrieved.
|
|
138
134
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
139
135
|
# will be added to the HTTP request.
|
|
@@ -146,14 +142,13 @@ module Azure::ARM::SQL
|
|
|
146
142
|
end
|
|
147
143
|
|
|
148
144
|
#
|
|
149
|
-
# Gets
|
|
145
|
+
# Gets a database replication link.
|
|
150
146
|
#
|
|
151
147
|
# @param resource_group_name [String] The name of the resource group that
|
|
152
148
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
153
149
|
# Manager API or the portal.
|
|
154
|
-
# @param server_name [String] The name of the
|
|
155
|
-
# @param database_name [String] The name of the
|
|
156
|
-
# link for.
|
|
150
|
+
# @param server_name [String] The name of the server.
|
|
151
|
+
# @param database_name [String] The name of the database to get the link for.
|
|
157
152
|
# @param link_id [String] The replication link ID to be retrieved.
|
|
158
153
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
159
154
|
# will be added to the HTTP request.
|
|
@@ -165,14 +160,13 @@ module Azure::ARM::SQL
|
|
|
165
160
|
end
|
|
166
161
|
|
|
167
162
|
#
|
|
168
|
-
# Gets
|
|
163
|
+
# Gets a database replication link.
|
|
169
164
|
#
|
|
170
165
|
# @param resource_group_name [String] The name of the resource group that
|
|
171
166
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
172
167
|
# Manager API or the portal.
|
|
173
|
-
# @param server_name [String] The name of the
|
|
174
|
-
# @param database_name [String] The name of the
|
|
175
|
-
# link for.
|
|
168
|
+
# @param server_name [String] The name of the server.
|
|
169
|
+
# @param database_name [String] The name of the database to get the link for.
|
|
176
170
|
# @param link_id [String] The replication link ID to be retrieved.
|
|
177
171
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
178
172
|
# to the HTTP request.
|
|
@@ -234,13 +228,13 @@ module Azure::ARM::SQL
|
|
|
234
228
|
end
|
|
235
229
|
|
|
236
230
|
#
|
|
237
|
-
# Failover the
|
|
231
|
+
# Failover the database replication link.
|
|
238
232
|
#
|
|
239
233
|
# @param resource_group_name [String] The name of the resource group that
|
|
240
234
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
241
235
|
# Manager API or the portal.
|
|
242
|
-
# @param server_name [String] The name of the
|
|
243
|
-
# @param database_name [String] The name of the
|
|
236
|
+
# @param server_name [String] The name of the server.
|
|
237
|
+
# @param database_name [String] The name of the database that has the
|
|
244
238
|
# replication link to be failed over.
|
|
245
239
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
246
240
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -255,8 +249,8 @@ module Azure::ARM::SQL
|
|
|
255
249
|
# @param resource_group_name [String] The name of the resource group that
|
|
256
250
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
257
251
|
# Manager API or the portal.
|
|
258
|
-
# @param server_name [String] The name of the
|
|
259
|
-
# @param database_name [String] The name of the
|
|
252
|
+
# @param server_name [String] The name of the server.
|
|
253
|
+
# @param database_name [String] The name of the database that has the
|
|
260
254
|
# replication link to be failed over.
|
|
261
255
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
262
256
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -282,14 +276,13 @@ module Azure::ARM::SQL
|
|
|
282
276
|
end
|
|
283
277
|
|
|
284
278
|
#
|
|
285
|
-
# Force failover the
|
|
286
|
-
# which may result in data loss.
|
|
279
|
+
# Force failover the database replication link, which may result in data loss.
|
|
287
280
|
#
|
|
288
281
|
# @param resource_group_name [String] The name of the resource group that
|
|
289
282
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
290
283
|
# Manager API or the portal.
|
|
291
|
-
# @param server_name [String] The name of the
|
|
292
|
-
# @param database_name [String] The name of the
|
|
284
|
+
# @param server_name [String] The name of the server.
|
|
285
|
+
# @param database_name [String] The name of the database that has the
|
|
293
286
|
# replication link to be failed over.
|
|
294
287
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
295
288
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -304,8 +297,8 @@ module Azure::ARM::SQL
|
|
|
304
297
|
# @param resource_group_name [String] The name of the resource group that
|
|
305
298
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
306
299
|
# Manager API or the portal.
|
|
307
|
-
# @param server_name [String] The name of the
|
|
308
|
-
# @param database_name [String] The name of the
|
|
300
|
+
# @param server_name [String] The name of the server.
|
|
301
|
+
# @param database_name [String] The name of the database that has the
|
|
309
302
|
# replication link to be failed over.
|
|
310
303
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
311
304
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -331,14 +324,13 @@ module Azure::ARM::SQL
|
|
|
331
324
|
end
|
|
332
325
|
|
|
333
326
|
#
|
|
334
|
-
#
|
|
327
|
+
# Lists a database's replication links.
|
|
335
328
|
#
|
|
336
329
|
# @param resource_group_name [String] The name of the resource group that
|
|
337
330
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
338
331
|
# Manager API or the portal.
|
|
339
|
-
# @param server_name [String] The name of the
|
|
340
|
-
# @param database_name [String] The name of the
|
|
341
|
-
# links for.
|
|
332
|
+
# @param server_name [String] The name of the server.
|
|
333
|
+
# @param database_name [String] The name of the database to retrieve links for.
|
|
342
334
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
343
335
|
# will be added to the HTTP request.
|
|
344
336
|
#
|
|
@@ -350,14 +342,13 @@ module Azure::ARM::SQL
|
|
|
350
342
|
end
|
|
351
343
|
|
|
352
344
|
#
|
|
353
|
-
#
|
|
345
|
+
# Lists a database's replication links.
|
|
354
346
|
#
|
|
355
347
|
# @param resource_group_name [String] The name of the resource group that
|
|
356
348
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
357
349
|
# Manager API or the portal.
|
|
358
|
-
# @param server_name [String] The name of the
|
|
359
|
-
# @param database_name [String] The name of the
|
|
360
|
-
# links for.
|
|
350
|
+
# @param server_name [String] The name of the server.
|
|
351
|
+
# @param database_name [String] The name of the database to retrieve links for.
|
|
361
352
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
362
353
|
# will be added to the HTTP request.
|
|
363
354
|
#
|
|
@@ -368,14 +359,13 @@ module Azure::ARM::SQL
|
|
|
368
359
|
end
|
|
369
360
|
|
|
370
361
|
#
|
|
371
|
-
#
|
|
362
|
+
# Lists a database's replication links.
|
|
372
363
|
#
|
|
373
364
|
# @param resource_group_name [String] The name of the resource group that
|
|
374
365
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
375
366
|
# Manager API or the portal.
|
|
376
|
-
# @param server_name [String] The name of the
|
|
377
|
-
# @param database_name [String] The name of the
|
|
378
|
-
# links for.
|
|
367
|
+
# @param server_name [String] The name of the server.
|
|
368
|
+
# @param database_name [String] The name of the database to retrieve links for.
|
|
379
369
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
380
370
|
# to the HTTP request.
|
|
381
371
|
#
|
|
@@ -435,14 +425,13 @@ module Azure::ARM::SQL
|
|
|
435
425
|
end
|
|
436
426
|
|
|
437
427
|
#
|
|
438
|
-
#
|
|
428
|
+
# Pauses a data warehouse.
|
|
439
429
|
#
|
|
440
430
|
# @param resource_group_name [String] The name of the resource group that
|
|
441
431
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
442
432
|
# Manager API or the portal.
|
|
443
|
-
# @param server_name [String] The name of the
|
|
444
|
-
# @param database_name [String] The name of the
|
|
445
|
-
# database to pause.
|
|
433
|
+
# @param server_name [String] The name of the server.
|
|
434
|
+
# @param database_name [String] The name of the data warehouse to pause.
|
|
446
435
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
447
436
|
# will be added to the HTTP request.
|
|
448
437
|
#
|
|
@@ -455,9 +444,8 @@ module Azure::ARM::SQL
|
|
|
455
444
|
# @param resource_group_name [String] The name of the resource group that
|
|
456
445
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
457
446
|
# Manager API or the portal.
|
|
458
|
-
# @param server_name [String] The name of the
|
|
459
|
-
# @param database_name [String] The name of the
|
|
460
|
-
# database to pause.
|
|
447
|
+
# @param server_name [String] The name of the server.
|
|
448
|
+
# @param database_name [String] The name of the data warehouse to pause.
|
|
461
449
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
462
450
|
# will be added to the HTTP request.
|
|
463
451
|
#
|
|
@@ -481,14 +469,13 @@ module Azure::ARM::SQL
|
|
|
481
469
|
end
|
|
482
470
|
|
|
483
471
|
#
|
|
484
|
-
#
|
|
472
|
+
# Resumes a data warehouse.
|
|
485
473
|
#
|
|
486
474
|
# @param resource_group_name [String] The name of the resource group that
|
|
487
475
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
488
476
|
# Manager API or the portal.
|
|
489
|
-
# @param server_name [String] The name of the
|
|
490
|
-
# @param database_name [String] The name of the
|
|
491
|
-
# database to resume.
|
|
477
|
+
# @param server_name [String] The name of the server.
|
|
478
|
+
# @param database_name [String] The name of the data warehouse to resume.
|
|
492
479
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
493
480
|
# will be added to the HTTP request.
|
|
494
481
|
#
|
|
@@ -501,9 +488,8 @@ module Azure::ARM::SQL
|
|
|
501
488
|
# @param resource_group_name [String] The name of the resource group that
|
|
502
489
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
503
490
|
# Manager API or the portal.
|
|
504
|
-
# @param server_name [String] The name of the
|
|
505
|
-
# @param database_name [String] The name of the
|
|
506
|
-
# database to resume.
|
|
491
|
+
# @param server_name [String] The name of the server.
|
|
492
|
+
# @param database_name [String] The name of the data warehouse to resume.
|
|
507
493
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
508
494
|
# will be added to the HTTP request.
|
|
509
495
|
#
|
|
@@ -527,14 +513,14 @@ module Azure::ARM::SQL
|
|
|
527
513
|
end
|
|
528
514
|
|
|
529
515
|
#
|
|
530
|
-
# Returns a list of
|
|
516
|
+
# Returns a list of database restore points.
|
|
531
517
|
#
|
|
532
518
|
# @param resource_group_name [String] The name of the resource group that
|
|
533
519
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
534
520
|
# Manager API or the portal.
|
|
535
|
-
# @param server_name [String] The name of the
|
|
536
|
-
# @param database_name [String] The name of the
|
|
537
|
-
#
|
|
521
|
+
# @param server_name [String] The name of the server.
|
|
522
|
+
# @param database_name [String] The name of the database from which to retrieve
|
|
523
|
+
# available restore points.
|
|
538
524
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
539
525
|
# will be added to the HTTP request.
|
|
540
526
|
#
|
|
@@ -546,14 +532,14 @@ module Azure::ARM::SQL
|
|
|
546
532
|
end
|
|
547
533
|
|
|
548
534
|
#
|
|
549
|
-
# Returns a list of
|
|
535
|
+
# Returns a list of database restore points.
|
|
550
536
|
#
|
|
551
537
|
# @param resource_group_name [String] The name of the resource group that
|
|
552
538
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
553
539
|
# Manager API or the portal.
|
|
554
|
-
# @param server_name [String] The name of the
|
|
555
|
-
# @param database_name [String] The name of the
|
|
556
|
-
#
|
|
540
|
+
# @param server_name [String] The name of the server.
|
|
541
|
+
# @param database_name [String] The name of the database from which to retrieve
|
|
542
|
+
# available restore points.
|
|
557
543
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
558
544
|
# will be added to the HTTP request.
|
|
559
545
|
#
|
|
@@ -564,14 +550,14 @@ module Azure::ARM::SQL
|
|
|
564
550
|
end
|
|
565
551
|
|
|
566
552
|
#
|
|
567
|
-
# Returns a list of
|
|
553
|
+
# Returns a list of database restore points.
|
|
568
554
|
#
|
|
569
555
|
# @param resource_group_name [String] The name of the resource group that
|
|
570
556
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
571
557
|
# Manager API or the portal.
|
|
572
|
-
# @param server_name [String] The name of the
|
|
573
|
-
# @param database_name [String] The name of the
|
|
574
|
-
#
|
|
558
|
+
# @param server_name [String] The name of the server.
|
|
559
|
+
# @param database_name [String] The name of the database from which to retrieve
|
|
560
|
+
# available restore points.
|
|
575
561
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
576
562
|
# to the HTTP request.
|
|
577
563
|
#
|
|
@@ -631,16 +617,16 @@ module Azure::ARM::SQL
|
|
|
631
617
|
end
|
|
632
618
|
|
|
633
619
|
#
|
|
634
|
-
# Creates a new
|
|
635
|
-
#
|
|
636
|
-
#
|
|
620
|
+
# Creates a new database or updates an existing database. Location is a
|
|
621
|
+
# required property in the request body, and it must be the same as the
|
|
622
|
+
# location of the SQL server.
|
|
637
623
|
#
|
|
638
624
|
# @param resource_group_name [String] The name of the resource group that
|
|
639
625
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
640
626
|
# Manager API or the portal.
|
|
641
|
-
# @param server_name [String] The name of the
|
|
642
|
-
# @param database_name [String] The name of the
|
|
643
|
-
#
|
|
627
|
+
# @param server_name [String] The name of the server.
|
|
628
|
+
# @param database_name [String] The name of the database to be operated on
|
|
629
|
+
# (updated or created).
|
|
644
630
|
# @param parameters [Database] The required parameters for creating or updating
|
|
645
631
|
# a database.
|
|
646
632
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -657,9 +643,9 @@ module Azure::ARM::SQL
|
|
|
657
643
|
# @param resource_group_name [String] The name of the resource group that
|
|
658
644
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
659
645
|
# Manager API or the portal.
|
|
660
|
-
# @param server_name [String] The name of the
|
|
661
|
-
# @param database_name [String] The name of the
|
|
662
|
-
#
|
|
646
|
+
# @param server_name [String] The name of the server.
|
|
647
|
+
# @param database_name [String] The name of the database to be operated on
|
|
648
|
+
# (updated or created).
|
|
663
649
|
# @param parameters [Database] The required parameters for creating or updating
|
|
664
650
|
# a database.
|
|
665
651
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -687,14 +673,13 @@ module Azure::ARM::SQL
|
|
|
687
673
|
end
|
|
688
674
|
|
|
689
675
|
#
|
|
690
|
-
# Deletes
|
|
676
|
+
# Deletes a database.
|
|
691
677
|
#
|
|
692
678
|
# @param resource_group_name [String] The name of the resource group that
|
|
693
679
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
694
680
|
# Manager API or the portal.
|
|
695
|
-
# @param server_name [String] The name of the
|
|
696
|
-
# @param database_name [String] The name of the
|
|
697
|
-
# deleted.
|
|
681
|
+
# @param server_name [String] The name of the server.
|
|
682
|
+
# @param database_name [String] The name of the database to be deleted.
|
|
698
683
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
699
684
|
# will be added to the HTTP request.
|
|
700
685
|
#
|
|
@@ -705,14 +690,13 @@ module Azure::ARM::SQL
|
|
|
705
690
|
end
|
|
706
691
|
|
|
707
692
|
#
|
|
708
|
-
# Deletes
|
|
693
|
+
# Deletes a database.
|
|
709
694
|
#
|
|
710
695
|
# @param resource_group_name [String] The name of the resource group that
|
|
711
696
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
712
697
|
# Manager API or the portal.
|
|
713
|
-
# @param server_name [String] The name of the
|
|
714
|
-
# @param database_name [String] The name of the
|
|
715
|
-
# deleted.
|
|
698
|
+
# @param server_name [String] The name of the server.
|
|
699
|
+
# @param database_name [String] The name of the database to be deleted.
|
|
716
700
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
717
701
|
# will be added to the HTTP request.
|
|
718
702
|
#
|
|
@@ -723,14 +707,13 @@ module Azure::ARM::SQL
|
|
|
723
707
|
end
|
|
724
708
|
|
|
725
709
|
#
|
|
726
|
-
# Deletes
|
|
710
|
+
# Deletes a database.
|
|
727
711
|
#
|
|
728
712
|
# @param resource_group_name [String] The name of the resource group that
|
|
729
713
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
730
714
|
# Manager API or the portal.
|
|
731
|
-
# @param server_name [String] The name of the
|
|
732
|
-
# @param database_name [String] The name of the
|
|
733
|
-
# deleted.
|
|
715
|
+
# @param server_name [String] The name of the server.
|
|
716
|
+
# @param database_name [String] The name of the database to be deleted.
|
|
734
717
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
735
718
|
# to the HTTP request.
|
|
736
719
|
#
|
|
@@ -780,15 +763,14 @@ module Azure::ARM::SQL
|
|
|
780
763
|
end
|
|
781
764
|
|
|
782
765
|
#
|
|
783
|
-
# Gets
|
|
766
|
+
# Gets a database.
|
|
784
767
|
#
|
|
785
768
|
# @param resource_group_name [String] The name of the resource group that
|
|
786
769
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
787
770
|
# Manager API or the portal.
|
|
788
|
-
# @param server_name [String] The name of the
|
|
789
|
-
# @param database_name [String] The name of the
|
|
790
|
-
#
|
|
791
|
-
# @param expand [String] The comma separated list of child objects to expand in
|
|
771
|
+
# @param server_name [String] The name of the server.
|
|
772
|
+
# @param database_name [String] The name of the database to be retrieved.
|
|
773
|
+
# @param expand [String] A comma separated list of child objects to expand in
|
|
792
774
|
# the response. Possible properties: serviceTierAdvisors, upgradeHint,
|
|
793
775
|
# transparentDataEncryption.
|
|
794
776
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -802,15 +784,14 @@ module Azure::ARM::SQL
|
|
|
802
784
|
end
|
|
803
785
|
|
|
804
786
|
#
|
|
805
|
-
# Gets
|
|
787
|
+
# Gets a database.
|
|
806
788
|
#
|
|
807
789
|
# @param resource_group_name [String] The name of the resource group that
|
|
808
790
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
809
791
|
# Manager API or the portal.
|
|
810
|
-
# @param server_name [String] The name of the
|
|
811
|
-
# @param database_name [String] The name of the
|
|
812
|
-
#
|
|
813
|
-
# @param expand [String] The comma separated list of child objects to expand in
|
|
792
|
+
# @param server_name [String] The name of the server.
|
|
793
|
+
# @param database_name [String] The name of the database to be retrieved.
|
|
794
|
+
# @param expand [String] A comma separated list of child objects to expand in
|
|
814
795
|
# the response. Possible properties: serviceTierAdvisors, upgradeHint,
|
|
815
796
|
# transparentDataEncryption.
|
|
816
797
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -823,15 +804,14 @@ module Azure::ARM::SQL
|
|
|
823
804
|
end
|
|
824
805
|
|
|
825
806
|
#
|
|
826
|
-
# Gets
|
|
807
|
+
# Gets a database.
|
|
827
808
|
#
|
|
828
809
|
# @param resource_group_name [String] The name of the resource group that
|
|
829
810
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
830
811
|
# Manager API or the portal.
|
|
831
|
-
# @param server_name [String] The name of the
|
|
832
|
-
# @param database_name [String] The name of the
|
|
833
|
-
#
|
|
834
|
-
# @param expand [String] The comma separated list of child objects to expand in
|
|
812
|
+
# @param server_name [String] The name of the server.
|
|
813
|
+
# @param database_name [String] The name of the database to be retrieved.
|
|
814
|
+
# @param expand [String] A comma separated list of child objects to expand in
|
|
835
815
|
# the response. Possible properties: serviceTierAdvisors, upgradeHint,
|
|
836
816
|
# transparentDataEncryption.
|
|
837
817
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -893,51 +873,57 @@ module Azure::ARM::SQL
|
|
|
893
873
|
end
|
|
894
874
|
|
|
895
875
|
#
|
|
896
|
-
# Returns
|
|
876
|
+
# Returns a list of databases in a server.
|
|
897
877
|
#
|
|
898
878
|
# @param resource_group_name [String] The name of the resource group that
|
|
899
879
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
900
880
|
# Manager API or the portal.
|
|
901
|
-
# @param server_name [String] The name of the
|
|
881
|
+
# @param server_name [String] The name of the server.
|
|
882
|
+
# @param filter [String] An OData filter expression that describes a subset of
|
|
883
|
+
# databases to return.
|
|
902
884
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
903
885
|
# will be added to the HTTP request.
|
|
904
886
|
#
|
|
905
887
|
# @return [DatabaseListResult] operation results.
|
|
906
888
|
#
|
|
907
|
-
def list_by_server(resource_group_name, server_name, custom_headers = nil)
|
|
908
|
-
response = list_by_server_async(resource_group_name, server_name, custom_headers).value!
|
|
889
|
+
def list_by_server(resource_group_name, server_name, filter = nil, custom_headers = nil)
|
|
890
|
+
response = list_by_server_async(resource_group_name, server_name, filter, custom_headers).value!
|
|
909
891
|
response.body unless response.nil?
|
|
910
892
|
end
|
|
911
893
|
|
|
912
894
|
#
|
|
913
|
-
# Returns
|
|
895
|
+
# Returns a list of databases in a server.
|
|
914
896
|
#
|
|
915
897
|
# @param resource_group_name [String] The name of the resource group that
|
|
916
898
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
917
899
|
# Manager API or the portal.
|
|
918
|
-
# @param server_name [String] The name of the
|
|
900
|
+
# @param server_name [String] The name of the server.
|
|
901
|
+
# @param filter [String] An OData filter expression that describes a subset of
|
|
902
|
+
# databases to return.
|
|
919
903
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
920
904
|
# will be added to the HTTP request.
|
|
921
905
|
#
|
|
922
906
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
923
907
|
#
|
|
924
|
-
def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil)
|
|
925
|
-
list_by_server_async(resource_group_name, server_name, custom_headers).value!
|
|
908
|
+
def list_by_server_with_http_info(resource_group_name, server_name, filter = nil, custom_headers = nil)
|
|
909
|
+
list_by_server_async(resource_group_name, server_name, filter, custom_headers).value!
|
|
926
910
|
end
|
|
927
911
|
|
|
928
912
|
#
|
|
929
|
-
# Returns
|
|
913
|
+
# Returns a list of databases in a server.
|
|
930
914
|
#
|
|
931
915
|
# @param resource_group_name [String] The name of the resource group that
|
|
932
916
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
933
917
|
# Manager API or the portal.
|
|
934
|
-
# @param server_name [String] The name of the
|
|
918
|
+
# @param server_name [String] The name of the server.
|
|
919
|
+
# @param filter [String] An OData filter expression that describes a subset of
|
|
920
|
+
# databases to return.
|
|
935
921
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
936
922
|
# to the HTTP request.
|
|
937
923
|
#
|
|
938
924
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
939
925
|
#
|
|
940
|
-
def list_by_server_async(resource_group_name, server_name, custom_headers = nil)
|
|
926
|
+
def list_by_server_async(resource_group_name, server_name, filter = nil, custom_headers = nil)
|
|
941
927
|
api_version = '2014-04-01'
|
|
942
928
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
943
929
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
|
@@ -956,7 +942,7 @@ module Azure::ARM::SQL
|
|
|
956
942
|
options = {
|
|
957
943
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
958
944
|
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'serverName' => server_name},
|
|
959
|
-
query_params: {'api-version' => api_version},
|
|
945
|
+
query_params: {'api-version' => api_version,'$filter' => filter},
|
|
960
946
|
headers: request_headers.merge(custom_headers || {}),
|
|
961
947
|
base_url: request_url
|
|
962
948
|
}
|
|
@@ -990,13 +976,13 @@ module Azure::ARM::SQL
|
|
|
990
976
|
end
|
|
991
977
|
|
|
992
978
|
#
|
|
993
|
-
# Returns
|
|
979
|
+
# Returns database usages.
|
|
994
980
|
#
|
|
995
981
|
# @param resource_group_name [String] The name of the resource group that
|
|
996
982
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
997
983
|
# Manager API or the portal.
|
|
998
|
-
# @param server_name [String] The name of the
|
|
999
|
-
# @param database_name [String] The name of the
|
|
984
|
+
# @param server_name [String] The name of the server.
|
|
985
|
+
# @param database_name [String] The name of the database.
|
|
1000
986
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1001
987
|
# will be added to the HTTP request.
|
|
1002
988
|
#
|
|
@@ -1008,13 +994,13 @@ module Azure::ARM::SQL
|
|
|
1008
994
|
end
|
|
1009
995
|
|
|
1010
996
|
#
|
|
1011
|
-
# Returns
|
|
997
|
+
# Returns database usages.
|
|
1012
998
|
#
|
|
1013
999
|
# @param resource_group_name [String] The name of the resource group that
|
|
1014
1000
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1015
1001
|
# Manager API or the portal.
|
|
1016
|
-
# @param server_name [String] The name of the
|
|
1017
|
-
# @param database_name [String] The name of the
|
|
1002
|
+
# @param server_name [String] The name of the server.
|
|
1003
|
+
# @param database_name [String] The name of the database.
|
|
1018
1004
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1019
1005
|
# will be added to the HTTP request.
|
|
1020
1006
|
#
|
|
@@ -1025,13 +1011,13 @@ module Azure::ARM::SQL
|
|
|
1025
1011
|
end
|
|
1026
1012
|
|
|
1027
1013
|
#
|
|
1028
|
-
# Returns
|
|
1014
|
+
# Returns database usages.
|
|
1029
1015
|
#
|
|
1030
1016
|
# @param resource_group_name [String] The name of the resource group that
|
|
1031
1017
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1032
1018
|
# Manager API or the portal.
|
|
1033
|
-
# @param server_name [String] The name of the
|
|
1034
|
-
# @param database_name [String] The name of the
|
|
1019
|
+
# @param server_name [String] The name of the server.
|
|
1020
|
+
# @param database_name [String] The name of the database.
|
|
1035
1021
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1036
1022
|
# to the HTTP request.
|
|
1037
1023
|
#
|
|
@@ -1091,12 +1077,12 @@ module Azure::ARM::SQL
|
|
|
1091
1077
|
end
|
|
1092
1078
|
|
|
1093
1079
|
#
|
|
1094
|
-
# Gets
|
|
1080
|
+
# Gets a service tier advisor.
|
|
1095
1081
|
#
|
|
1096
1082
|
# @param resource_group_name [String] The name of the resource group that
|
|
1097
1083
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1098
1084
|
# Manager API or the portal.
|
|
1099
|
-
# @param server_name [String] The name of the
|
|
1085
|
+
# @param server_name [String] The name of the server.
|
|
1100
1086
|
# @param database_name [String] The name of database.
|
|
1101
1087
|
# @param service_tier_advisor_name [String] The name of service tier advisor.
|
|
1102
1088
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1110,12 +1096,12 @@ module Azure::ARM::SQL
|
|
|
1110
1096
|
end
|
|
1111
1097
|
|
|
1112
1098
|
#
|
|
1113
|
-
# Gets
|
|
1099
|
+
# Gets a service tier advisor.
|
|
1114
1100
|
#
|
|
1115
1101
|
# @param resource_group_name [String] The name of the resource group that
|
|
1116
1102
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1117
1103
|
# Manager API or the portal.
|
|
1118
|
-
# @param server_name [String] The name of the
|
|
1104
|
+
# @param server_name [String] The name of the server.
|
|
1119
1105
|
# @param database_name [String] The name of database.
|
|
1120
1106
|
# @param service_tier_advisor_name [String] The name of service tier advisor.
|
|
1121
1107
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1128,12 +1114,12 @@ module Azure::ARM::SQL
|
|
|
1128
1114
|
end
|
|
1129
1115
|
|
|
1130
1116
|
#
|
|
1131
|
-
# Gets
|
|
1117
|
+
# Gets a service tier advisor.
|
|
1132
1118
|
#
|
|
1133
1119
|
# @param resource_group_name [String] The name of the resource group that
|
|
1134
1120
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1135
1121
|
# Manager API or the portal.
|
|
1136
|
-
# @param server_name [String] The name of the
|
|
1122
|
+
# @param server_name [String] The name of the server.
|
|
1137
1123
|
# @param database_name [String] The name of database.
|
|
1138
1124
|
# @param service_tier_advisor_name [String] The name of service tier advisor.
|
|
1139
1125
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -1196,12 +1182,12 @@ module Azure::ARM::SQL
|
|
|
1196
1182
|
end
|
|
1197
1183
|
|
|
1198
1184
|
#
|
|
1199
|
-
# Returns
|
|
1185
|
+
# Returns service tier advisors for specified database.
|
|
1200
1186
|
#
|
|
1201
1187
|
# @param resource_group_name [String] The name of the resource group that
|
|
1202
1188
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1203
1189
|
# Manager API or the portal.
|
|
1204
|
-
# @param server_name [String] The name of the
|
|
1190
|
+
# @param server_name [String] The name of the server.
|
|
1205
1191
|
# @param database_name [String] The name of database.
|
|
1206
1192
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1207
1193
|
# will be added to the HTTP request.
|
|
@@ -1214,12 +1200,12 @@ module Azure::ARM::SQL
|
|
|
1214
1200
|
end
|
|
1215
1201
|
|
|
1216
1202
|
#
|
|
1217
|
-
# Returns
|
|
1203
|
+
# Returns service tier advisors for specified database.
|
|
1218
1204
|
#
|
|
1219
1205
|
# @param resource_group_name [String] The name of the resource group that
|
|
1220
1206
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1221
1207
|
# Manager API or the portal.
|
|
1222
|
-
# @param server_name [String] The name of the
|
|
1208
|
+
# @param server_name [String] The name of the server.
|
|
1223
1209
|
# @param database_name [String] The name of database.
|
|
1224
1210
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1225
1211
|
# will be added to the HTTP request.
|
|
@@ -1231,12 +1217,12 @@ module Azure::ARM::SQL
|
|
|
1231
1217
|
end
|
|
1232
1218
|
|
|
1233
1219
|
#
|
|
1234
|
-
# Returns
|
|
1220
|
+
# Returns service tier advisors for specified database.
|
|
1235
1221
|
#
|
|
1236
1222
|
# @param resource_group_name [String] The name of the resource group that
|
|
1237
1223
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1238
1224
|
# Manager API or the portal.
|
|
1239
|
-
# @param server_name [String] The name of the
|
|
1225
|
+
# @param server_name [String] The name of the server.
|
|
1240
1226
|
# @param database_name [String] The name of database.
|
|
1241
1227
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1242
1228
|
# to the HTTP request.
|
|
@@ -1297,15 +1283,14 @@ module Azure::ARM::SQL
|
|
|
1297
1283
|
end
|
|
1298
1284
|
|
|
1299
1285
|
#
|
|
1300
|
-
# Creates or updates
|
|
1301
|
-
# Operation.
|
|
1286
|
+
# Creates or updates a database's transparent data encryption configuration.
|
|
1302
1287
|
#
|
|
1303
1288
|
# @param resource_group_name [String] The name of the resource group that
|
|
1304
1289
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1305
1290
|
# Manager API or the portal.
|
|
1306
|
-
# @param server_name [String] The name of the
|
|
1307
|
-
# @param database_name [String] The name of the
|
|
1308
|
-
#
|
|
1291
|
+
# @param server_name [String] The name of the server.
|
|
1292
|
+
# @param database_name [String] The name of the database for which setting the
|
|
1293
|
+
# transparent data encryption applies.
|
|
1309
1294
|
# @param parameters [TransparentDataEncryption] The required parameters for
|
|
1310
1295
|
# creating or updating transparent data encryption.
|
|
1311
1296
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1319,15 +1304,14 @@ module Azure::ARM::SQL
|
|
|
1319
1304
|
end
|
|
1320
1305
|
|
|
1321
1306
|
#
|
|
1322
|
-
# Creates or updates
|
|
1323
|
-
# Operation.
|
|
1307
|
+
# Creates or updates a database's transparent data encryption configuration.
|
|
1324
1308
|
#
|
|
1325
1309
|
# @param resource_group_name [String] The name of the resource group that
|
|
1326
1310
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1327
1311
|
# Manager API or the portal.
|
|
1328
|
-
# @param server_name [String] The name of the
|
|
1329
|
-
# @param database_name [String] The name of the
|
|
1330
|
-
#
|
|
1312
|
+
# @param server_name [String] The name of the server.
|
|
1313
|
+
# @param database_name [String] The name of the database for which setting the
|
|
1314
|
+
# transparent data encryption applies.
|
|
1331
1315
|
# @param parameters [TransparentDataEncryption] The required parameters for
|
|
1332
1316
|
# creating or updating transparent data encryption.
|
|
1333
1317
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1340,15 +1324,14 @@ module Azure::ARM::SQL
|
|
|
1340
1324
|
end
|
|
1341
1325
|
|
|
1342
1326
|
#
|
|
1343
|
-
# Creates or updates
|
|
1344
|
-
# Operation.
|
|
1327
|
+
# Creates or updates a database's transparent data encryption configuration.
|
|
1345
1328
|
#
|
|
1346
1329
|
# @param resource_group_name [String] The name of the resource group that
|
|
1347
1330
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1348
1331
|
# Manager API or the portal.
|
|
1349
|
-
# @param server_name [String] The name of the
|
|
1350
|
-
# @param database_name [String] The name of the
|
|
1351
|
-
#
|
|
1332
|
+
# @param server_name [String] The name of the server.
|
|
1333
|
+
# @param database_name [String] The name of the database for which setting the
|
|
1334
|
+
# transparent data encryption applies.
|
|
1352
1335
|
# @param parameters [TransparentDataEncryption] The required parameters for
|
|
1353
1336
|
# creating or updating transparent data encryption.
|
|
1354
1337
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -1430,14 +1413,14 @@ module Azure::ARM::SQL
|
|
|
1430
1413
|
end
|
|
1431
1414
|
|
|
1432
1415
|
#
|
|
1433
|
-
# Gets
|
|
1416
|
+
# Gets a database's transparent data encryption configuration.
|
|
1434
1417
|
#
|
|
1435
1418
|
# @param resource_group_name [String] The name of the resource group that
|
|
1436
1419
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1437
1420
|
# Manager API or the portal.
|
|
1438
|
-
# @param server_name [String] The name of the
|
|
1439
|
-
# @param database_name [String] The name of the
|
|
1440
|
-
#
|
|
1421
|
+
# @param server_name [String] The name of the server.
|
|
1422
|
+
# @param database_name [String] The name of the database for which the
|
|
1423
|
+
# transparent data encryption applies.
|
|
1441
1424
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1442
1425
|
# will be added to the HTTP request.
|
|
1443
1426
|
#
|
|
@@ -1449,14 +1432,14 @@ module Azure::ARM::SQL
|
|
|
1449
1432
|
end
|
|
1450
1433
|
|
|
1451
1434
|
#
|
|
1452
|
-
# Gets
|
|
1435
|
+
# Gets a database's transparent data encryption configuration.
|
|
1453
1436
|
#
|
|
1454
1437
|
# @param resource_group_name [String] The name of the resource group that
|
|
1455
1438
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1456
1439
|
# Manager API or the portal.
|
|
1457
|
-
# @param server_name [String] The name of the
|
|
1458
|
-
# @param database_name [String] The name of the
|
|
1459
|
-
#
|
|
1440
|
+
# @param server_name [String] The name of the server.
|
|
1441
|
+
# @param database_name [String] The name of the database for which the
|
|
1442
|
+
# transparent data encryption applies.
|
|
1460
1443
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1461
1444
|
# will be added to the HTTP request.
|
|
1462
1445
|
#
|
|
@@ -1467,14 +1450,14 @@ module Azure::ARM::SQL
|
|
|
1467
1450
|
end
|
|
1468
1451
|
|
|
1469
1452
|
#
|
|
1470
|
-
# Gets
|
|
1453
|
+
# Gets a database's transparent data encryption configuration.
|
|
1471
1454
|
#
|
|
1472
1455
|
# @param resource_group_name [String] The name of the resource group that
|
|
1473
1456
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1474
1457
|
# Manager API or the portal.
|
|
1475
|
-
# @param server_name [String] The name of the
|
|
1476
|
-
# @param database_name [String] The name of the
|
|
1477
|
-
#
|
|
1458
|
+
# @param server_name [String] The name of the server.
|
|
1459
|
+
# @param database_name [String] The name of the database for which the
|
|
1460
|
+
# transparent data encryption applies.
|
|
1478
1461
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1479
1462
|
# to the HTTP request.
|
|
1480
1463
|
#
|
|
@@ -1534,14 +1517,14 @@ module Azure::ARM::SQL
|
|
|
1534
1517
|
end
|
|
1535
1518
|
|
|
1536
1519
|
#
|
|
1537
|
-
# Returns
|
|
1520
|
+
# Returns a database's transparent data encryption operation result.
|
|
1538
1521
|
#
|
|
1539
1522
|
# @param resource_group_name [String] The name of the resource group that
|
|
1540
1523
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1541
1524
|
# Manager API or the portal.
|
|
1542
|
-
# @param server_name [String] The name of the
|
|
1543
|
-
# @param database_name [String] The name of the
|
|
1544
|
-
#
|
|
1525
|
+
# @param server_name [String] The name of the server.
|
|
1526
|
+
# @param database_name [String] The name of the database for which the
|
|
1527
|
+
# transparent data encryption applies.
|
|
1545
1528
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1546
1529
|
# will be added to the HTTP request.
|
|
1547
1530
|
#
|
|
@@ -1553,14 +1536,14 @@ module Azure::ARM::SQL
|
|
|
1553
1536
|
end
|
|
1554
1537
|
|
|
1555
1538
|
#
|
|
1556
|
-
# Returns
|
|
1539
|
+
# Returns a database's transparent data encryption operation result.
|
|
1557
1540
|
#
|
|
1558
1541
|
# @param resource_group_name [String] The name of the resource group that
|
|
1559
1542
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1560
1543
|
# Manager API or the portal.
|
|
1561
|
-
# @param server_name [String] The name of the
|
|
1562
|
-
# @param database_name [String] The name of the
|
|
1563
|
-
#
|
|
1544
|
+
# @param server_name [String] The name of the server.
|
|
1545
|
+
# @param database_name [String] The name of the database for which the
|
|
1546
|
+
# transparent data encryption applies.
|
|
1564
1547
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1565
1548
|
# will be added to the HTTP request.
|
|
1566
1549
|
#
|
|
@@ -1571,14 +1554,14 @@ module Azure::ARM::SQL
|
|
|
1571
1554
|
end
|
|
1572
1555
|
|
|
1573
1556
|
#
|
|
1574
|
-
# Returns
|
|
1557
|
+
# Returns a database's transparent data encryption operation result.
|
|
1575
1558
|
#
|
|
1576
1559
|
# @param resource_group_name [String] The name of the resource group that
|
|
1577
1560
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1578
1561
|
# Manager API or the portal.
|
|
1579
|
-
# @param server_name [String] The name of the
|
|
1580
|
-
# @param database_name [String] The name of the
|
|
1581
|
-
#
|
|
1562
|
+
# @param server_name [String] The name of the server.
|
|
1563
|
+
# @param database_name [String] The name of the database for which the
|
|
1564
|
+
# transparent data encryption applies.
|
|
1582
1565
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1583
1566
|
# to the HTTP request.
|
|
1584
1567
|
#
|
|
@@ -1638,13 +1621,13 @@ module Azure::ARM::SQL
|
|
|
1638
1621
|
end
|
|
1639
1622
|
|
|
1640
1623
|
#
|
|
1641
|
-
# Failover the
|
|
1624
|
+
# Failover the database replication link.
|
|
1642
1625
|
#
|
|
1643
1626
|
# @param resource_group_name [String] The name of the resource group that
|
|
1644
1627
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1645
1628
|
# Manager API or the portal.
|
|
1646
|
-
# @param server_name [String] The name of the
|
|
1647
|
-
# @param database_name [String] The name of the
|
|
1629
|
+
# @param server_name [String] The name of the server.
|
|
1630
|
+
# @param database_name [String] The name of the database that has the
|
|
1648
1631
|
# replication link to be failed over.
|
|
1649
1632
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1650
1633
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1657,13 +1640,13 @@ module Azure::ARM::SQL
|
|
|
1657
1640
|
end
|
|
1658
1641
|
|
|
1659
1642
|
#
|
|
1660
|
-
# Failover the
|
|
1643
|
+
# Failover the database replication link.
|
|
1661
1644
|
#
|
|
1662
1645
|
# @param resource_group_name [String] The name of the resource group that
|
|
1663
1646
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1664
1647
|
# Manager API or the portal.
|
|
1665
|
-
# @param server_name [String] The name of the
|
|
1666
|
-
# @param database_name [String] The name of the
|
|
1648
|
+
# @param server_name [String] The name of the server.
|
|
1649
|
+
# @param database_name [String] The name of the database that has the
|
|
1667
1650
|
# replication link to be failed over.
|
|
1668
1651
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1669
1652
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1676,13 +1659,13 @@ module Azure::ARM::SQL
|
|
|
1676
1659
|
end
|
|
1677
1660
|
|
|
1678
1661
|
#
|
|
1679
|
-
# Failover the
|
|
1662
|
+
# Failover the database replication link.
|
|
1680
1663
|
#
|
|
1681
1664
|
# @param resource_group_name [String] The name of the resource group that
|
|
1682
1665
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1683
1666
|
# Manager API or the portal.
|
|
1684
|
-
# @param server_name [String] The name of the
|
|
1685
|
-
# @param database_name [String] The name of the
|
|
1667
|
+
# @param server_name [String] The name of the server.
|
|
1668
|
+
# @param database_name [String] The name of the database that has the
|
|
1686
1669
|
# replication link to be failed over.
|
|
1687
1670
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1688
1671
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -1735,14 +1718,13 @@ module Azure::ARM::SQL
|
|
|
1735
1718
|
end
|
|
1736
1719
|
|
|
1737
1720
|
#
|
|
1738
|
-
# Force failover the
|
|
1739
|
-
# which may result in data loss.
|
|
1721
|
+
# Force failover the database replication link, which may result in data loss.
|
|
1740
1722
|
#
|
|
1741
1723
|
# @param resource_group_name [String] The name of the resource group that
|
|
1742
1724
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1743
1725
|
# Manager API or the portal.
|
|
1744
|
-
# @param server_name [String] The name of the
|
|
1745
|
-
# @param database_name [String] The name of the
|
|
1726
|
+
# @param server_name [String] The name of the server.
|
|
1727
|
+
# @param database_name [String] The name of the database that has the
|
|
1746
1728
|
# replication link to be failed over.
|
|
1747
1729
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1748
1730
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1755,14 +1737,13 @@ module Azure::ARM::SQL
|
|
|
1755
1737
|
end
|
|
1756
1738
|
|
|
1757
1739
|
#
|
|
1758
|
-
# Force failover the
|
|
1759
|
-
# which may result in data loss.
|
|
1740
|
+
# Force failover the database replication link, which may result in data loss.
|
|
1760
1741
|
#
|
|
1761
1742
|
# @param resource_group_name [String] The name of the resource group that
|
|
1762
1743
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1763
1744
|
# Manager API or the portal.
|
|
1764
|
-
# @param server_name [String] The name of the
|
|
1765
|
-
# @param database_name [String] The name of the
|
|
1745
|
+
# @param server_name [String] The name of the server.
|
|
1746
|
+
# @param database_name [String] The name of the database that has the
|
|
1766
1747
|
# replication link to be failed over.
|
|
1767
1748
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1768
1749
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -1775,14 +1756,13 @@ module Azure::ARM::SQL
|
|
|
1775
1756
|
end
|
|
1776
1757
|
|
|
1777
1758
|
#
|
|
1778
|
-
# Force failover the
|
|
1779
|
-
# which may result in data loss.
|
|
1759
|
+
# Force failover the database replication link, which may result in data loss.
|
|
1780
1760
|
#
|
|
1781
1761
|
# @param resource_group_name [String] The name of the resource group that
|
|
1782
1762
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1783
1763
|
# Manager API or the portal.
|
|
1784
|
-
# @param server_name [String] The name of the
|
|
1785
|
-
# @param database_name [String] The name of the
|
|
1764
|
+
# @param server_name [String] The name of the server.
|
|
1765
|
+
# @param database_name [String] The name of the database that has the
|
|
1786
1766
|
# replication link to be failed over.
|
|
1787
1767
|
# @param link_id [String] The ID of the replication link to be failed over.
|
|
1788
1768
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -1835,14 +1815,13 @@ module Azure::ARM::SQL
|
|
|
1835
1815
|
end
|
|
1836
1816
|
|
|
1837
1817
|
#
|
|
1838
|
-
#
|
|
1818
|
+
# Pauses a data warehouse.
|
|
1839
1819
|
#
|
|
1840
1820
|
# @param resource_group_name [String] The name of the resource group that
|
|
1841
1821
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1842
1822
|
# Manager API or the portal.
|
|
1843
|
-
# @param server_name [String] The name of the
|
|
1844
|
-
# @param database_name [String] The name of the
|
|
1845
|
-
# database to pause.
|
|
1823
|
+
# @param server_name [String] The name of the server.
|
|
1824
|
+
# @param database_name [String] The name of the data warehouse to pause.
|
|
1846
1825
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1847
1826
|
# will be added to the HTTP request.
|
|
1848
1827
|
#
|
|
@@ -1853,14 +1832,13 @@ module Azure::ARM::SQL
|
|
|
1853
1832
|
end
|
|
1854
1833
|
|
|
1855
1834
|
#
|
|
1856
|
-
#
|
|
1835
|
+
# Pauses a data warehouse.
|
|
1857
1836
|
#
|
|
1858
1837
|
# @param resource_group_name [String] The name of the resource group that
|
|
1859
1838
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1860
1839
|
# Manager API or the portal.
|
|
1861
|
-
# @param server_name [String] The name of the
|
|
1862
|
-
# @param database_name [String] The name of the
|
|
1863
|
-
# database to pause.
|
|
1840
|
+
# @param server_name [String] The name of the server.
|
|
1841
|
+
# @param database_name [String] The name of the data warehouse to pause.
|
|
1864
1842
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1865
1843
|
# will be added to the HTTP request.
|
|
1866
1844
|
#
|
|
@@ -1871,14 +1849,13 @@ module Azure::ARM::SQL
|
|
|
1871
1849
|
end
|
|
1872
1850
|
|
|
1873
1851
|
#
|
|
1874
|
-
#
|
|
1852
|
+
# Pauses a data warehouse.
|
|
1875
1853
|
#
|
|
1876
1854
|
# @param resource_group_name [String] The name of the resource group that
|
|
1877
1855
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1878
1856
|
# Manager API or the portal.
|
|
1879
|
-
# @param server_name [String] The name of the
|
|
1880
|
-
# @param database_name [String] The name of the
|
|
1881
|
-
# database to pause.
|
|
1857
|
+
# @param server_name [String] The name of the server.
|
|
1858
|
+
# @param database_name [String] The name of the data warehouse to pause.
|
|
1882
1859
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1883
1860
|
# to the HTTP request.
|
|
1884
1861
|
#
|
|
@@ -1928,14 +1905,13 @@ module Azure::ARM::SQL
|
|
|
1928
1905
|
end
|
|
1929
1906
|
|
|
1930
1907
|
#
|
|
1931
|
-
#
|
|
1908
|
+
# Resumes a data warehouse.
|
|
1932
1909
|
#
|
|
1933
1910
|
# @param resource_group_name [String] The name of the resource group that
|
|
1934
1911
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1935
1912
|
# Manager API or the portal.
|
|
1936
|
-
# @param server_name [String] The name of the
|
|
1937
|
-
# @param database_name [String] The name of the
|
|
1938
|
-
# database to resume.
|
|
1913
|
+
# @param server_name [String] The name of the server.
|
|
1914
|
+
# @param database_name [String] The name of the data warehouse to resume.
|
|
1939
1915
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1940
1916
|
# will be added to the HTTP request.
|
|
1941
1917
|
#
|
|
@@ -1946,14 +1922,13 @@ module Azure::ARM::SQL
|
|
|
1946
1922
|
end
|
|
1947
1923
|
|
|
1948
1924
|
#
|
|
1949
|
-
#
|
|
1925
|
+
# Resumes a data warehouse.
|
|
1950
1926
|
#
|
|
1951
1927
|
# @param resource_group_name [String] The name of the resource group that
|
|
1952
1928
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1953
1929
|
# Manager API or the portal.
|
|
1954
|
-
# @param server_name [String] The name of the
|
|
1955
|
-
# @param database_name [String] The name of the
|
|
1956
|
-
# database to resume.
|
|
1930
|
+
# @param server_name [String] The name of the server.
|
|
1931
|
+
# @param database_name [String] The name of the data warehouse to resume.
|
|
1957
1932
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1958
1933
|
# will be added to the HTTP request.
|
|
1959
1934
|
#
|
|
@@ -1964,14 +1939,13 @@ module Azure::ARM::SQL
|
|
|
1964
1939
|
end
|
|
1965
1940
|
|
|
1966
1941
|
#
|
|
1967
|
-
#
|
|
1942
|
+
# Resumes a data warehouse.
|
|
1968
1943
|
#
|
|
1969
1944
|
# @param resource_group_name [String] The name of the resource group that
|
|
1970
1945
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
1971
1946
|
# Manager API or the portal.
|
|
1972
|
-
# @param server_name [String] The name of the
|
|
1973
|
-
# @param database_name [String] The name of the
|
|
1974
|
-
# database to resume.
|
|
1947
|
+
# @param server_name [String] The name of the server.
|
|
1948
|
+
# @param database_name [String] The name of the data warehouse to resume.
|
|
1975
1949
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1976
1950
|
# to the HTTP request.
|
|
1977
1951
|
#
|
|
@@ -2021,16 +1995,16 @@ module Azure::ARM::SQL
|
|
|
2021
1995
|
end
|
|
2022
1996
|
|
|
2023
1997
|
#
|
|
2024
|
-
# Creates a new
|
|
2025
|
-
#
|
|
2026
|
-
#
|
|
1998
|
+
# Creates a new database or updates an existing database. Location is a
|
|
1999
|
+
# required property in the request body, and it must be the same as the
|
|
2000
|
+
# location of the SQL server.
|
|
2027
2001
|
#
|
|
2028
2002
|
# @param resource_group_name [String] The name of the resource group that
|
|
2029
2003
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
2030
2004
|
# Manager API or the portal.
|
|
2031
|
-
# @param server_name [String] The name of the
|
|
2032
|
-
# @param database_name [String] The name of the
|
|
2033
|
-
#
|
|
2005
|
+
# @param server_name [String] The name of the server.
|
|
2006
|
+
# @param database_name [String] The name of the database to be operated on
|
|
2007
|
+
# (updated or created).
|
|
2034
2008
|
# @param parameters [Database] The required parameters for creating or updating
|
|
2035
2009
|
# a database.
|
|
2036
2010
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -2044,16 +2018,16 @@ module Azure::ARM::SQL
|
|
|
2044
2018
|
end
|
|
2045
2019
|
|
|
2046
2020
|
#
|
|
2047
|
-
# Creates a new
|
|
2048
|
-
#
|
|
2049
|
-
#
|
|
2021
|
+
# Creates a new database or updates an existing database. Location is a
|
|
2022
|
+
# required property in the request body, and it must be the same as the
|
|
2023
|
+
# location of the SQL server.
|
|
2050
2024
|
#
|
|
2051
2025
|
# @param resource_group_name [String] The name of the resource group that
|
|
2052
2026
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
2053
2027
|
# Manager API or the portal.
|
|
2054
|
-
# @param server_name [String] The name of the
|
|
2055
|
-
# @param database_name [String] The name of the
|
|
2056
|
-
#
|
|
2028
|
+
# @param server_name [String] The name of the server.
|
|
2029
|
+
# @param database_name [String] The name of the database to be operated on
|
|
2030
|
+
# (updated or created).
|
|
2057
2031
|
# @param parameters [Database] The required parameters for creating or updating
|
|
2058
2032
|
# a database.
|
|
2059
2033
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -2066,16 +2040,16 @@ module Azure::ARM::SQL
|
|
|
2066
2040
|
end
|
|
2067
2041
|
|
|
2068
2042
|
#
|
|
2069
|
-
# Creates a new
|
|
2070
|
-
#
|
|
2071
|
-
#
|
|
2043
|
+
# Creates a new database or updates an existing database. Location is a
|
|
2044
|
+
# required property in the request body, and it must be the same as the
|
|
2045
|
+
# location of the SQL server.
|
|
2072
2046
|
#
|
|
2073
2047
|
# @param resource_group_name [String] The name of the resource group that
|
|
2074
2048
|
# contains the resource. You can obtain this value from the Azure Resource
|
|
2075
2049
|
# Manager API or the portal.
|
|
2076
|
-
# @param server_name [String] The name of the
|
|
2077
|
-
# @param database_name [String] The name of the
|
|
2078
|
-
#
|
|
2050
|
+
# @param server_name [String] The name of the server.
|
|
2051
|
+
# @param database_name [String] The name of the database to be operated on
|
|
2052
|
+
# (updated or created).
|
|
2079
2053
|
# @param parameters [Database] The required parameters for creating or updating
|
|
2080
2054
|
# a database.
|
|
2081
2055
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -2149,16 +2123,6 @@ module Azure::ARM::SQL
|
|
|
2149
2123
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2150
2124
|
end
|
|
2151
2125
|
end
|
|
2152
|
-
# Deserialize Response
|
|
2153
|
-
if status_code == 202
|
|
2154
|
-
begin
|
|
2155
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2156
|
-
result_mapper = Database.mapper()
|
|
2157
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
|
2158
|
-
rescue Exception => e
|
|
2159
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2160
|
-
end
|
|
2161
|
-
end
|
|
2162
2126
|
|
|
2163
2127
|
result
|
|
2164
2128
|
end
|