azure_mgmt_sql 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_sql.rb +63 -6
- data/lib/generated/azure_mgmt_sql/databases.rb +2170 -0
- data/lib/generated/azure_mgmt_sql/elastic_pools.rb +950 -0
- data/lib/generated/azure_mgmt_sql/models/column.rb +90 -0
- data/lib/generated/azure_mgmt_sql/models/create_mode.rb +21 -0
- data/lib/generated/azure_mgmt_sql/models/database.rb +366 -0
- data/lib/generated/azure_mgmt_sql/models/database_editions.rb +22 -0
- data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/database_metric.rb +100 -0
- data/lib/generated/azure_mgmt_sql/models/database_metric_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +158 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +257 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +249 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_editions.rb +17 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/{state.rb → elastic_pool_state.rb} +5 -5
- data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +80 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_database_properties.rb +68 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +216 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +65 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +260 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_index_actions.rb +17 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_index_states.rb +25 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_index_types.rb +18 -0
- data/lib/generated/azure_mgmt_sql/models/replication_link.rb +149 -0
- data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/replication_role.rb +19 -0
- data/lib/generated/azure_mgmt_sql/models/replication_state.rb +18 -0
- data/lib/generated/azure_mgmt_sql/models/restore_point.rb +117 -0
- data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/restore_point_types.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/schema.rb +98 -0
- data/lib/generated/azure_mgmt_sql/models/{server_security_alert_policy.rb → server.rb} +32 -37
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule.rb +95 -0
- data/lib/generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_sql/models/server_metric.rb +100 -0
- data/lib/generated/azure_mgmt_sql/models/server_metric_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/server_version.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/service_objective.rb +107 -0
- data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +22 -0
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +282 -0
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +111 -0
- data/lib/generated/azure_mgmt_sql/models/sql_sub_resource.rb +56 -0
- data/lib/generated/azure_mgmt_sql/models/table.rb +131 -0
- data/lib/generated/azure_mgmt_sql/models/table_type.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/target_database_editions.rb +20 -0
- data/lib/generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb +17 -0
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +63 -0
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +74 -0
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +55 -0
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_states.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/{email_account_admins.rb → transparent_data_encryption_states.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/upgrade_hint.rb +99 -0
- data/lib/generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb +132 -0
- data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +555 -0
- data/lib/generated/azure_mgmt_sql/servers.rb +1233 -0
- data/lib/generated/azure_mgmt_sql/sql_management_client.rb +31 -10
- data/lib/generated/azure_mgmt_sql/version.rb +2 -2
- metadata +66 -9
- data/lib/generated/azure_mgmt_sql/models/server_security_alert_policy_create_or_update_parameters.rb +0 -85
- data/lib/generated/azure_mgmt_sql/security_alert_policy.rb +0 -296
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the response to a List Azure SQL Elastic Pool Activity
|
10
|
+
# request.
|
11
|
+
#
|
12
|
+
class ElasticPoolActivityListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<ElasticPoolActivity>] The list of Azure SQL Elastic Pool
|
17
|
+
# Activities.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ElasticPoolActivityListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ElasticPoolActivityListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ElasticPoolActivityListResult',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'ElasticPoolActivityElementType',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ElasticPoolActivity'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the activity on an Azure SQL Elastic Pool.
|
10
|
+
#
|
11
|
+
class ElasticPoolDatabaseActivity < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The database name.
|
16
|
+
attr_accessor :database_name
|
17
|
+
|
18
|
+
# @return [DateTime] The time the operation finished (ISO8601 format).
|
19
|
+
attr_accessor :end_time
|
20
|
+
|
21
|
+
# @return [Integer] The error code if available.
|
22
|
+
attr_accessor :error_code
|
23
|
+
|
24
|
+
# @return [String] The error message if available.
|
25
|
+
attr_accessor :error_message
|
26
|
+
|
27
|
+
# @return [Integer] The error severity if available.
|
28
|
+
attr_accessor :error_severity
|
29
|
+
|
30
|
+
# @return [String] The operation name.
|
31
|
+
attr_accessor :operation
|
32
|
+
|
33
|
+
# @return [String] The unique operation ID.
|
34
|
+
attr_accessor :operation_id
|
35
|
+
|
36
|
+
# @return [Integer] The percentage complete if available.
|
37
|
+
attr_accessor :percent_complete
|
38
|
+
|
39
|
+
# @return [String] The name for the Elastic Pool the database is moving
|
40
|
+
# into if available.
|
41
|
+
attr_accessor :requested_elastic_pool_name
|
42
|
+
|
43
|
+
# @return [String] The name of the current Elastic Pool the database is
|
44
|
+
# in if available.
|
45
|
+
attr_accessor :current_elastic_pool_name
|
46
|
+
|
47
|
+
# @return [String] The name of the current service objective if
|
48
|
+
# available.
|
49
|
+
attr_accessor :current_service_objective
|
50
|
+
|
51
|
+
# @return [String] The name of the requested service objective if
|
52
|
+
# available.
|
53
|
+
attr_accessor :requested_service_objective
|
54
|
+
|
55
|
+
# @return [String] The name of the Azure SQL server the Elastic Pool is
|
56
|
+
# in.
|
57
|
+
attr_accessor :server_name
|
58
|
+
|
59
|
+
# @return [DateTime] The time the operation started (ISO8601 format).
|
60
|
+
attr_accessor :start_time
|
61
|
+
|
62
|
+
# @return [String] The current state of the operation.
|
63
|
+
attr_accessor :state
|
64
|
+
|
65
|
+
|
66
|
+
#
|
67
|
+
# Mapper for ElasticPoolDatabaseActivity class as Ruby Hash.
|
68
|
+
# This will be used for serialization/deserialization.
|
69
|
+
#
|
70
|
+
def self.mapper()
|
71
|
+
{
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'ElasticPoolDatabaseActivity',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'ElasticPoolDatabaseActivity',
|
77
|
+
model_properties: {
|
78
|
+
name: {
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'name',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
id: {
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'id',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
type: {
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'type',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
location: {
|
103
|
+
required: true,
|
104
|
+
serialized_name: 'location',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
tags: {
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'tags',
|
112
|
+
type: {
|
113
|
+
name: 'Dictionary',
|
114
|
+
value: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
database_name: {
|
124
|
+
required: false,
|
125
|
+
read_only: true,
|
126
|
+
serialized_name: 'properties.databaseName',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
end_time: {
|
132
|
+
required: false,
|
133
|
+
read_only: true,
|
134
|
+
serialized_name: 'properties.endTime',
|
135
|
+
type: {
|
136
|
+
name: 'DateTime'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
error_code: {
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'properties.errorCode',
|
143
|
+
type: {
|
144
|
+
name: 'Number'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
error_message: {
|
148
|
+
required: false,
|
149
|
+
read_only: true,
|
150
|
+
serialized_name: 'properties.errorMessage',
|
151
|
+
type: {
|
152
|
+
name: 'String'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
error_severity: {
|
156
|
+
required: false,
|
157
|
+
read_only: true,
|
158
|
+
serialized_name: 'properties.errorSeverity',
|
159
|
+
type: {
|
160
|
+
name: 'Number'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
operation: {
|
164
|
+
required: false,
|
165
|
+
read_only: true,
|
166
|
+
serialized_name: 'properties.operation',
|
167
|
+
type: {
|
168
|
+
name: 'String'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
operation_id: {
|
172
|
+
required: false,
|
173
|
+
read_only: true,
|
174
|
+
serialized_name: 'properties.operationId',
|
175
|
+
type: {
|
176
|
+
name: 'String'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
percent_complete: {
|
180
|
+
required: false,
|
181
|
+
read_only: true,
|
182
|
+
serialized_name: 'properties.percentComplete',
|
183
|
+
type: {
|
184
|
+
name: 'Number'
|
185
|
+
}
|
186
|
+
},
|
187
|
+
requested_elastic_pool_name: {
|
188
|
+
required: false,
|
189
|
+
read_only: true,
|
190
|
+
serialized_name: 'properties.requestedElasticPoolName',
|
191
|
+
type: {
|
192
|
+
name: 'String'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
current_elastic_pool_name: {
|
196
|
+
required: false,
|
197
|
+
read_only: true,
|
198
|
+
serialized_name: 'properties.currentElasticPoolName',
|
199
|
+
type: {
|
200
|
+
name: 'String'
|
201
|
+
}
|
202
|
+
},
|
203
|
+
current_service_objective: {
|
204
|
+
required: false,
|
205
|
+
read_only: true,
|
206
|
+
serialized_name: 'properties.currentServiceObjective',
|
207
|
+
type: {
|
208
|
+
name: 'String'
|
209
|
+
}
|
210
|
+
},
|
211
|
+
requested_service_objective: {
|
212
|
+
required: false,
|
213
|
+
read_only: true,
|
214
|
+
serialized_name: 'properties.requestedServiceObjective',
|
215
|
+
type: {
|
216
|
+
name: 'String'
|
217
|
+
}
|
218
|
+
},
|
219
|
+
server_name: {
|
220
|
+
required: false,
|
221
|
+
read_only: true,
|
222
|
+
serialized_name: 'properties.serverName',
|
223
|
+
type: {
|
224
|
+
name: 'String'
|
225
|
+
}
|
226
|
+
},
|
227
|
+
start_time: {
|
228
|
+
required: false,
|
229
|
+
read_only: true,
|
230
|
+
serialized_name: 'properties.startTime',
|
231
|
+
type: {
|
232
|
+
name: 'DateTime'
|
233
|
+
}
|
234
|
+
},
|
235
|
+
state: {
|
236
|
+
required: false,
|
237
|
+
read_only: true,
|
238
|
+
serialized_name: 'properties.state',
|
239
|
+
type: {
|
240
|
+
name: 'String'
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
end
|
247
|
+
end
|
248
|
+
end
|
249
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the response to a List Azure SQL Elastic Pool Database
|
10
|
+
# Activity request.
|
11
|
+
#
|
12
|
+
class ElasticPoolDatabaseActivityListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<ElasticPoolDatabaseActivity>] The list of Azure SQL
|
17
|
+
# Elastic Pool Database Activities.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ElasticPoolDatabaseActivityListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ElasticPoolDatabaseActivityListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ElasticPoolDatabaseActivityListResult',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'ElasticPoolDatabaseActivityElementType',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ElasticPoolDatabaseActivity'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ElasticPoolEditions
|
10
|
+
#
|
11
|
+
module ElasticPoolEditions
|
12
|
+
Basic = "Basic"
|
13
|
+
Standard = "Standard"
|
14
|
+
Premium = "Premium"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the response to a List Azure SQL Elastic Pool request.
|
10
|
+
#
|
11
|
+
class ElasticPoolListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ElasticPool>] The list of Azure SQL Elastic Pools hosted
|
16
|
+
# in the server.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ElasticPoolListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ElasticPoolListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ElasticPoolListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'value',
|
35
|
+
type: {
|
36
|
+
name: 'Sequence',
|
37
|
+
element: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'ElasticPoolElementType',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ElasticPool'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -1,17 +1,17 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::SQL
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Defines values for
|
9
|
+
# Defines values for ElasticPoolState
|
10
10
|
#
|
11
|
-
module
|
12
|
-
|
11
|
+
module ElasticPoolState
|
12
|
+
Creating = "Creating"
|
13
|
+
Ready = "Ready"
|
13
14
|
Disabled = "Disabled"
|
14
|
-
New = "New"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|