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
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents
|
|
9
|
+
# Represents a database table column.
|
|
10
10
|
#
|
|
11
11
|
class Column < MsRestAzure::Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String] The type of
|
|
15
|
+
# @return [String] The type of database table column.
|
|
16
16
|
attr_accessor :column_type
|
|
17
17
|
|
|
18
18
|
|
|
@@ -1,88 +1,109 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents
|
|
9
|
+
# Represents a database.
|
|
10
10
|
#
|
|
11
11
|
class Database < MsRestAzure::Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String]
|
|
15
|
+
# @return [String] Kind of database. This is metadata used for the Azure
|
|
16
|
+
# portal experience.
|
|
17
|
+
attr_accessor :kind
|
|
18
|
+
|
|
19
|
+
# @return [String] The collation of the database. If createMode is not
|
|
20
|
+
# Default, this value is ignored.
|
|
16
21
|
attr_accessor :collation
|
|
17
22
|
|
|
18
|
-
# @return [DateTime] The creation date of the
|
|
19
|
-
# format).
|
|
23
|
+
# @return [DateTime] The creation date of the database (ISO8601 format).
|
|
20
24
|
attr_accessor :creation_date
|
|
21
25
|
|
|
22
|
-
# @return [Integer] The containment state of the
|
|
26
|
+
# @return [Integer] The containment state of the database.
|
|
23
27
|
attr_accessor :containment_state
|
|
24
28
|
|
|
25
|
-
# @return The current
|
|
26
|
-
#
|
|
27
|
-
# currently active.
|
|
29
|
+
# @return The current service level objective ID of the database. This is
|
|
30
|
+
# the ID of the service level objective that is currently active.
|
|
28
31
|
attr_accessor :current_service_objective_id
|
|
29
32
|
|
|
30
|
-
# @return [String] The ID of the
|
|
33
|
+
# @return [String] The ID of the database.
|
|
31
34
|
attr_accessor :database_id
|
|
32
35
|
|
|
33
|
-
# @return [DateTime]
|
|
34
|
-
#
|
|
35
|
-
# available for this Azure SQL Database (ISO8601 format).
|
|
36
|
+
# @return [DateTime] This records the earliest start date and time that
|
|
37
|
+
# restore is available for this database (ISO8601 format).
|
|
36
38
|
attr_accessor :earliest_restore_date
|
|
37
39
|
|
|
38
|
-
# @return [CreateMode] Specifies the type of database to create.
|
|
39
|
-
#
|
|
40
|
-
#
|
|
40
|
+
# @return [CreateMode] Specifies the type of database to create. If
|
|
41
|
+
# createMode is not set to Default, sourceDatabaseId must be specified.
|
|
42
|
+
# If createMode is set to PointInTimeRestore, then restorePointInTime
|
|
43
|
+
# must be specified. If createMode is set to Restore, then
|
|
44
|
+
# sourceDatabaseDeletionDate must be specified. Copy,
|
|
45
|
+
# NonReadableSecondary, and OnlineSecondary are not supported for
|
|
46
|
+
# DataWarehouse edition. Possible values include: 'Copy', 'Default',
|
|
47
|
+
# 'NonReadableSecondary', 'OnlineSecondary', 'PointInTimeRestore',
|
|
48
|
+
# 'Recovery', 'Restore'
|
|
41
49
|
attr_accessor :create_mode
|
|
42
50
|
|
|
43
|
-
# @return [String] Conditional.
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
# link is active. Values specified for these parameters will be ignored.
|
|
51
|
+
# @return [String] Conditional. If createMode is not set to Default, then
|
|
52
|
+
# this value must be specified. Specifies the resource ID of the source
|
|
53
|
+
# database. If createMode is NonReadableSecondary or OnlineSecondary, the
|
|
54
|
+
# name of the source database must be the same as this new database.
|
|
48
55
|
attr_accessor :source_database_id
|
|
49
56
|
|
|
50
|
-
# @return [
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
57
|
+
# @return [DateTime] Conditional. If createMode is set to
|
|
58
|
+
# PointInTimeRestore, then this value must be specified. Specifies the
|
|
59
|
+
# point in time (ISO8601 format) of the source database that will be
|
|
60
|
+
# restored to create the new database. Must be greater than or equal to
|
|
61
|
+
# the source database's earliestRestoreDate value.
|
|
62
|
+
attr_accessor :restore_point_in_time
|
|
63
|
+
|
|
64
|
+
# @return [DatabaseEditions] The edition of the database. The
|
|
65
|
+
# DatabaseEditions enumeration contains all the valid editions. If
|
|
66
|
+
# createMode is NonReadableSecondary or OnlineSecondary, this value is
|
|
67
|
+
# ignored. Possible values include: 'Web', 'Business', 'Basic',
|
|
68
|
+
# 'Standard', 'Premium', 'Free', 'Stretch', 'DataWarehouse', 'System'
|
|
54
69
|
attr_accessor :edition
|
|
55
70
|
|
|
56
|
-
# @return [String] The max size of the
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
#
|
|
71
|
+
# @return [String] The max size of the database expressed in bytes. If
|
|
72
|
+
# createMode is not Default, this value is ignored. Note: Only the
|
|
73
|
+
# following sizes are supported (in addition to limitations being placed
|
|
74
|
+
# on each edition): { 100 MB | 500 MB |1 GB | 5 GB | 10 GB | 20 GB | 30
|
|
75
|
+
# GB … 150 GB | 200 GB … 500 GB }
|
|
60
76
|
attr_accessor :max_size_bytes
|
|
61
77
|
|
|
62
|
-
# @return The configured
|
|
63
|
-
#
|
|
64
|
-
#
|
|
65
|
-
#
|
|
78
|
+
# @return The configured service level objective ID of the database. This
|
|
79
|
+
# is the service level objective that is in the process of being applied
|
|
80
|
+
# to the database. Once successfully updated, it will match the value of
|
|
81
|
+
# currentServiceObjectiveId property. If requestedServiceObjectiveId and
|
|
82
|
+
# requestedServiceObjectiveName are both updated, the value of
|
|
83
|
+
# requestedServiceObjectiveId overrides the value of
|
|
84
|
+
# requestedServiceObjectiveName.
|
|
66
85
|
attr_accessor :requested_service_objective_id
|
|
67
86
|
|
|
68
|
-
# @return [ServiceObjectiveName] The name of the configured
|
|
69
|
-
#
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
#
|
|
73
|
-
# '
|
|
87
|
+
# @return [ServiceObjectiveName] The name of the configured service level
|
|
88
|
+
# objective of the database. This is the service level objective that is
|
|
89
|
+
# in the process of being applied to the database. Once successfully
|
|
90
|
+
# updated, it will match the value of serviceLevelObjective property.
|
|
91
|
+
# Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2',
|
|
92
|
+
# 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'ElasticPool'
|
|
74
93
|
attr_accessor :requested_service_objective_name
|
|
75
94
|
|
|
76
|
-
# @return [ServiceObjectiveName] The current
|
|
77
|
-
# the
|
|
78
|
-
# '
|
|
95
|
+
# @return [ServiceObjectiveName] The current service level objective of
|
|
96
|
+
# the database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3',
|
|
97
|
+
# 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'ElasticPool'
|
|
79
98
|
attr_accessor :service_level_objective
|
|
80
99
|
|
|
81
|
-
# @return [String] The status of the
|
|
100
|
+
# @return [String] The status of the database.
|
|
82
101
|
attr_accessor :status
|
|
83
102
|
|
|
84
|
-
# @return [String] The name of the
|
|
85
|
-
#
|
|
103
|
+
# @return [String] The name of the elastic pool the database is in. If
|
|
104
|
+
# elasticPoolName and requestedServiceObjectiveName are both updated, the
|
|
105
|
+
# value of requestedServiceObjectiveName is ignored. Not supported for
|
|
106
|
+
# DataWarehouse edition.
|
|
86
107
|
attr_accessor :elastic_pool_name
|
|
87
108
|
|
|
88
109
|
# @return [String] The default secondary region for this database.
|
|
@@ -92,9 +113,6 @@ module Azure::ARM::SQL
|
|
|
92
113
|
# for this database. Expanded property
|
|
93
114
|
attr_accessor :service_tier_advisors
|
|
94
115
|
|
|
95
|
-
# @return [UpgradeHint] The upgrade hint for this database.
|
|
96
|
-
attr_accessor :upgrade_hint
|
|
97
|
-
|
|
98
116
|
# @return [Array<Schema>] The schemas from this database.
|
|
99
117
|
attr_accessor :schemas
|
|
100
118
|
|
|
@@ -106,6 +124,21 @@ module Azure::ARM::SQL
|
|
|
106
124
|
# database.
|
|
107
125
|
attr_accessor :recommended_index
|
|
108
126
|
|
|
127
|
+
# @return The id indicating the failover group containing this database.
|
|
128
|
+
attr_accessor :failover_group_id
|
|
129
|
+
|
|
130
|
+
# @return [ReadScale] Conditional. If the database is a geo-secondary,
|
|
131
|
+
# readScale indicates whether read-only connections are allowed to this
|
|
132
|
+
# database or not. Not supported for DataWarehouse edition. Possible
|
|
133
|
+
# values include: 'Enabled', 'Disabled'
|
|
134
|
+
attr_accessor :read_scale
|
|
135
|
+
|
|
136
|
+
# @return [SampleName] Indicates the name of the sample schema to apply
|
|
137
|
+
# when creating this database. If createMode is not Default, this value
|
|
138
|
+
# is ignored. Not supported for DataWarehouse edition. Possible values
|
|
139
|
+
# include: 'AdventureWorksLT'
|
|
140
|
+
attr_accessor :sample_name
|
|
141
|
+
|
|
109
142
|
|
|
110
143
|
#
|
|
111
144
|
# Mapper for Database class as Ruby Hash.
|
|
@@ -164,6 +197,14 @@ module Azure::ARM::SQL
|
|
|
164
197
|
}
|
|
165
198
|
}
|
|
166
199
|
},
|
|
200
|
+
kind: {
|
|
201
|
+
required: false,
|
|
202
|
+
read_only: true,
|
|
203
|
+
serialized_name: 'kind',
|
|
204
|
+
type: {
|
|
205
|
+
name: 'String'
|
|
206
|
+
}
|
|
207
|
+
},
|
|
167
208
|
collation: {
|
|
168
209
|
required: false,
|
|
169
210
|
serialized_name: 'properties.collation',
|
|
@@ -225,6 +266,13 @@ module Azure::ARM::SQL
|
|
|
225
266
|
name: 'String'
|
|
226
267
|
}
|
|
227
268
|
},
|
|
269
|
+
restore_point_in_time: {
|
|
270
|
+
required: false,
|
|
271
|
+
serialized_name: 'properties.restorePointInTime',
|
|
272
|
+
type: {
|
|
273
|
+
name: 'DateTime'
|
|
274
|
+
}
|
|
275
|
+
},
|
|
228
276
|
edition: {
|
|
229
277
|
required: false,
|
|
230
278
|
serialized_name: 'properties.edition',
|
|
@@ -300,15 +348,6 @@ module Azure::ARM::SQL
|
|
|
300
348
|
}
|
|
301
349
|
}
|
|
302
350
|
},
|
|
303
|
-
upgrade_hint: {
|
|
304
|
-
required: false,
|
|
305
|
-
read_only: true,
|
|
306
|
-
serialized_name: 'properties.upgradeHint',
|
|
307
|
-
type: {
|
|
308
|
-
name: 'Composite',
|
|
309
|
-
class_name: 'UpgradeHint'
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
351
|
schemas: {
|
|
313
352
|
required: false,
|
|
314
353
|
read_only: true,
|
|
@@ -356,6 +395,29 @@ module Azure::ARM::SQL
|
|
|
356
395
|
}
|
|
357
396
|
}
|
|
358
397
|
}
|
|
398
|
+
},
|
|
399
|
+
failover_group_id: {
|
|
400
|
+
required: false,
|
|
401
|
+
read_only: true,
|
|
402
|
+
serialized_name: 'properties.failoverGroupId',
|
|
403
|
+
type: {
|
|
404
|
+
name: 'String'
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
read_scale: {
|
|
408
|
+
required: false,
|
|
409
|
+
serialized_name: 'properties.readScale',
|
|
410
|
+
type: {
|
|
411
|
+
name: 'Enum',
|
|
412
|
+
module: 'ReadScale'
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
sample_name: {
|
|
416
|
+
required: false,
|
|
417
|
+
serialized_name: 'properties.sampleName',
|
|
418
|
+
type: {
|
|
419
|
+
name: 'String'
|
|
420
|
+
}
|
|
359
421
|
}
|
|
360
422
|
}
|
|
361
423
|
}
|
|
@@ -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
|
|
|
@@ -17,6 +17,7 @@ module Azure::ARM::SQL
|
|
|
17
17
|
Free = "Free"
|
|
18
18
|
Stretch = "Stretch"
|
|
19
19
|
DataWarehouse = "DataWarehouse"
|
|
20
|
+
System = "System"
|
|
20
21
|
end
|
|
21
22
|
end
|
|
22
23
|
end
|
|
@@ -1,19 +1,18 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents the response to a
|
|
9
|
+
# Represents the response to a list database request.
|
|
10
10
|
#
|
|
11
11
|
class DatabaseListResult
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [Array<Database>] The list of
|
|
16
|
-
# server.
|
|
15
|
+
# @return [Array<Database>] The list of databases housed in the server.
|
|
17
16
|
attr_accessor :value
|
|
18
17
|
|
|
19
18
|
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents
|
|
9
|
+
# Represents database metrics.
|
|
10
10
|
#
|
|
11
|
-
class DatabaseMetric
|
|
11
|
+
class DatabaseMetric < SqlSubResource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
@@ -43,6 +43,22 @@ module Azure::ARM::SQL
|
|
|
43
43
|
name: 'Composite',
|
|
44
44
|
class_name: 'DatabaseMetric',
|
|
45
45
|
model_properties: {
|
|
46
|
+
name: {
|
|
47
|
+
required: false,
|
|
48
|
+
read_only: true,
|
|
49
|
+
serialized_name: 'name',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'String'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
id: {
|
|
55
|
+
required: false,
|
|
56
|
+
read_only: true,
|
|
57
|
+
serialized_name: 'id',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'String'
|
|
60
|
+
}
|
|
61
|
+
},
|
|
46
62
|
resource_name: {
|
|
47
63
|
required: false,
|
|
48
64
|
read_only: true,
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents the response to a
|
|
9
|
+
# Represents the response to a list database metrics request.
|
|
10
10
|
#
|
|
11
11
|
class DatabaseMetricListResult
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [Array<DatabaseMetric>] The list of
|
|
16
|
-
#
|
|
15
|
+
# @return [Array<DatabaseMetric>] The list of database metrics for the
|
|
16
|
+
# database.
|
|
17
17
|
attr_accessor :value
|
|
18
18
|
|
|
19
19
|
|
|
@@ -1,45 +1,46 @@
|
|
|
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
|
|
|
6
6
|
module Azure::ARM::SQL
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Represents
|
|
9
|
+
# Represents a database elastic pool.
|
|
10
10
|
#
|
|
11
11
|
class ElasticPool < MsRestAzure::Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [DateTime] The creation date of the
|
|
16
|
-
#
|
|
15
|
+
# @return [DateTime] The creation date of the elastic pool (ISO8601
|
|
16
|
+
# format).
|
|
17
17
|
attr_accessor :creation_date
|
|
18
18
|
|
|
19
|
-
# @return [ElasticPoolState] The state of the
|
|
20
|
-
#
|
|
19
|
+
# @return [ElasticPoolState] The state of the elastic pool. Possible
|
|
20
|
+
# values include: 'Creating', 'Ready', 'Disabled'
|
|
21
21
|
attr_accessor :state
|
|
22
22
|
|
|
23
|
-
# @return [ElasticPoolEditions] The edition of the
|
|
24
|
-
#
|
|
23
|
+
# @return [ElasticPoolEditions] The edition of the elastic pool. Possible
|
|
24
|
+
# values include: 'Basic', 'Standard', 'Premium'
|
|
25
25
|
attr_accessor :edition
|
|
26
26
|
|
|
27
|
-
# @return [Integer] The total shared DTU for the
|
|
28
|
-
# Elastic Pool.
|
|
27
|
+
# @return [Integer] The total shared DTU for the database elastic pool.
|
|
29
28
|
attr_accessor :dtu
|
|
30
29
|
|
|
31
|
-
# @return [Integer] The maximum DTU any one
|
|
32
|
-
# consume.
|
|
30
|
+
# @return [Integer] The maximum DTU any one database can consume.
|
|
33
31
|
attr_accessor :database_dtu_max
|
|
34
32
|
|
|
35
|
-
# @return [Integer] The minimum DTU all
|
|
36
|
-
# guaranteed.
|
|
33
|
+
# @return [Integer] The minimum DTU all databases are guaranteed.
|
|
37
34
|
attr_accessor :database_dtu_min
|
|
38
35
|
|
|
39
|
-
# @return [Integer] Gets storage limit for the
|
|
40
|
-
#
|
|
36
|
+
# @return [Integer] Gets storage limit for the database elastic pool in
|
|
37
|
+
# MB.
|
|
41
38
|
attr_accessor :storage_mb
|
|
42
39
|
|
|
40
|
+
# @return [String] Kind of elastic pool. This is metadata used for the
|
|
41
|
+
# Azure portal experience.
|
|
42
|
+
attr_accessor :kind
|
|
43
|
+
|
|
43
44
|
|
|
44
45
|
#
|
|
45
46
|
# Mapper for ElasticPool class as Ruby Hash.
|
|
@@ -148,6 +149,14 @@ module Azure::ARM::SQL
|
|
|
148
149
|
type: {
|
|
149
150
|
name: 'Number'
|
|
150
151
|
}
|
|
152
|
+
},
|
|
153
|
+
kind: {
|
|
154
|
+
required: false,
|
|
155
|
+
read_only: true,
|
|
156
|
+
serialized_name: 'kind',
|
|
157
|
+
type: {
|
|
158
|
+
name: 'String'
|
|
159
|
+
}
|
|
151
160
|
}
|
|
152
161
|
}
|
|
153
162
|
}
|