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 Get Azure SQL Database Service Objectives
|
10
|
+
# request.
|
11
|
+
#
|
12
|
+
class ServiceObjectiveListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<ServiceObjective>] The list of Azure SQL Database
|
17
|
+
# Service Objectives.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ServiceObjectiveListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ServiceObjectiveListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ServiceObjectiveListResult',
|
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: 'ServiceObjectiveElementType',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ServiceObjective'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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 ServiceObjectiveName
|
10
|
+
#
|
11
|
+
module ServiceObjectiveName
|
12
|
+
Basic = "Basic"
|
13
|
+
S0 = "S0"
|
14
|
+
S1 = "S1"
|
15
|
+
S2 = "S2"
|
16
|
+
S3 = "S3"
|
17
|
+
P1 = "P1"
|
18
|
+
P2 = "P2"
|
19
|
+
P3 = "P3"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,282 @@
|
|
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 a Service Tier Advisor.
|
10
|
+
#
|
11
|
+
class ServiceTierAdvisor < SqlSubResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The observation period start (ISO8601 format).
|
16
|
+
attr_accessor :observation_period_start
|
17
|
+
|
18
|
+
# @return [DateTime] The observation period start (ISO8601 format).
|
19
|
+
attr_accessor :observation_period_end
|
20
|
+
|
21
|
+
# @return [Float] The activeTimeRatio for service tier advisor.
|
22
|
+
attr_accessor :active_time_ratio
|
23
|
+
|
24
|
+
# @return [Float] Gets or sets minDtu for service tier advisor.
|
25
|
+
attr_accessor :min_dtu
|
26
|
+
|
27
|
+
# @return [Float] Gets or sets avgDtu for service tier advisor.
|
28
|
+
attr_accessor :avg_dtu
|
29
|
+
|
30
|
+
# @return [Float] Gets or sets maxDtu for service tier advisor.
|
31
|
+
attr_accessor :max_dtu
|
32
|
+
|
33
|
+
# @return [Float] Gets or sets maxSizeInGB for service tier advisor.
|
34
|
+
attr_accessor :max_size_in_gb
|
35
|
+
|
36
|
+
# @return [Array<SloUsageMetric>] Gets or sets
|
37
|
+
# serviceLevelObjectiveUsageMetrics for the service tier advisor.
|
38
|
+
attr_accessor :service_level_objective_usage_metrics
|
39
|
+
|
40
|
+
# @return Gets or sets currentServiceLevelObjective for service tier
|
41
|
+
# advisor.
|
42
|
+
attr_accessor :current_service_level_objective
|
43
|
+
|
44
|
+
# @return Gets or sets currentServiceLevelObjectiveId for service tier
|
45
|
+
# advisor.
|
46
|
+
attr_accessor :current_service_level_objective_id
|
47
|
+
|
48
|
+
# @return [String] Gets or sets
|
49
|
+
# usageBasedRecommendationServiceLevelObjective for service tier advisor.
|
50
|
+
attr_accessor :usage_based_recommendation_service_level_objective
|
51
|
+
|
52
|
+
# @return Gets or sets usageBasedRecommendationServiceLevelObjectiveId
|
53
|
+
# for service tier advisor.
|
54
|
+
attr_accessor :usage_based_recommendation_service_level_objective_id
|
55
|
+
|
56
|
+
# @return [String] Gets or sets
|
57
|
+
# databaseSizeBasedRecommendationServiceLevelObjective for service tier
|
58
|
+
# advisor.
|
59
|
+
attr_accessor :database_size_based_recommendation_service_level_objective
|
60
|
+
|
61
|
+
# @return Gets or sets
|
62
|
+
# databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier
|
63
|
+
# advisor.
|
64
|
+
attr_accessor :database_size_based_recommendation_service_level_objective_id
|
65
|
+
|
66
|
+
# @return [String] Gets or sets
|
67
|
+
# disasterPlanBasedRecommendationServiceLevelObjective for service tier
|
68
|
+
# advisor.
|
69
|
+
attr_accessor :disaster_plan_based_recommendation_service_level_objective
|
70
|
+
|
71
|
+
# @return Gets or sets
|
72
|
+
# disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier
|
73
|
+
# advisor.
|
74
|
+
attr_accessor :disaster_plan_based_recommendation_service_level_objective_id
|
75
|
+
|
76
|
+
# @return [String] Gets or sets
|
77
|
+
# overallRecommendationServiceLevelObjective for service tier advisor.
|
78
|
+
attr_accessor :overall_recommendation_service_level_objective
|
79
|
+
|
80
|
+
# @return Gets or sets overallRecommendationServiceLevelObjectiveId for
|
81
|
+
# service tier advisor.
|
82
|
+
attr_accessor :overall_recommendation_service_level_objective_id
|
83
|
+
|
84
|
+
# @return [Float] Gets or sets confidence for service tier advisor.
|
85
|
+
attr_accessor :confidence
|
86
|
+
|
87
|
+
|
88
|
+
#
|
89
|
+
# Mapper for ServiceTierAdvisor class as Ruby Hash.
|
90
|
+
# This will be used for serialization/deserialization.
|
91
|
+
#
|
92
|
+
def self.mapper()
|
93
|
+
{
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'ServiceTierAdvisor',
|
96
|
+
type: {
|
97
|
+
name: 'Composite',
|
98
|
+
class_name: 'ServiceTierAdvisor',
|
99
|
+
model_properties: {
|
100
|
+
name: {
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'name',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
id: {
|
109
|
+
required: false,
|
110
|
+
read_only: true,
|
111
|
+
serialized_name: 'id',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
observation_period_start: {
|
117
|
+
required: false,
|
118
|
+
read_only: true,
|
119
|
+
serialized_name: 'properties.observationPeriodStart',
|
120
|
+
type: {
|
121
|
+
name: 'DateTime'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
observation_period_end: {
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.observationPeriodEnd',
|
128
|
+
type: {
|
129
|
+
name: 'DateTime'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
active_time_ratio: {
|
133
|
+
required: false,
|
134
|
+
read_only: true,
|
135
|
+
serialized_name: 'properties.activeTimeRatio',
|
136
|
+
type: {
|
137
|
+
name: 'Double'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
min_dtu: {
|
141
|
+
required: false,
|
142
|
+
read_only: true,
|
143
|
+
serialized_name: 'properties.minDtu',
|
144
|
+
type: {
|
145
|
+
name: 'Double'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
avg_dtu: {
|
149
|
+
required: false,
|
150
|
+
read_only: true,
|
151
|
+
serialized_name: 'properties.avgDtu',
|
152
|
+
type: {
|
153
|
+
name: 'Double'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
max_dtu: {
|
157
|
+
required: false,
|
158
|
+
read_only: true,
|
159
|
+
serialized_name: 'properties.maxDtu',
|
160
|
+
type: {
|
161
|
+
name: 'Double'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
max_size_in_gb: {
|
165
|
+
required: false,
|
166
|
+
read_only: true,
|
167
|
+
serialized_name: 'properties.maxSizeInGB',
|
168
|
+
type: {
|
169
|
+
name: 'Double'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
service_level_objective_usage_metrics: {
|
173
|
+
required: false,
|
174
|
+
read_only: true,
|
175
|
+
serialized_name: 'properties.serviceLevelObjectiveUsageMetrics',
|
176
|
+
type: {
|
177
|
+
name: 'Sequence',
|
178
|
+
element: {
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'SloUsageMetricElementType',
|
181
|
+
type: {
|
182
|
+
name: 'Composite',
|
183
|
+
class_name: 'SloUsageMetric'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
},
|
188
|
+
current_service_level_objective: {
|
189
|
+
required: false,
|
190
|
+
read_only: true,
|
191
|
+
serialized_name: 'properties.currentServiceLevelObjective',
|
192
|
+
type: {
|
193
|
+
name: 'String'
|
194
|
+
}
|
195
|
+
},
|
196
|
+
current_service_level_objective_id: {
|
197
|
+
required: false,
|
198
|
+
read_only: true,
|
199
|
+
serialized_name: 'properties.currentServiceLevelObjectiveId',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
203
|
+
},
|
204
|
+
usage_based_recommendation_service_level_objective: {
|
205
|
+
required: false,
|
206
|
+
read_only: true,
|
207
|
+
serialized_name: 'properties.usageBasedRecommendationServiceLevelObjective',
|
208
|
+
type: {
|
209
|
+
name: 'String'
|
210
|
+
}
|
211
|
+
},
|
212
|
+
usage_based_recommendation_service_level_objective_id: {
|
213
|
+
required: false,
|
214
|
+
read_only: true,
|
215
|
+
serialized_name: 'properties.usageBasedRecommendationServiceLevelObjectiveId',
|
216
|
+
type: {
|
217
|
+
name: 'String'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
database_size_based_recommendation_service_level_objective: {
|
221
|
+
required: false,
|
222
|
+
read_only: true,
|
223
|
+
serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjective',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
database_size_based_recommendation_service_level_objective_id: {
|
229
|
+
required: false,
|
230
|
+
read_only: true,
|
231
|
+
serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjectiveId',
|
232
|
+
type: {
|
233
|
+
name: 'String'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
disaster_plan_based_recommendation_service_level_objective: {
|
237
|
+
required: false,
|
238
|
+
read_only: true,
|
239
|
+
serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjective',
|
240
|
+
type: {
|
241
|
+
name: 'String'
|
242
|
+
}
|
243
|
+
},
|
244
|
+
disaster_plan_based_recommendation_service_level_objective_id: {
|
245
|
+
required: false,
|
246
|
+
read_only: true,
|
247
|
+
serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjectiveId',
|
248
|
+
type: {
|
249
|
+
name: 'String'
|
250
|
+
}
|
251
|
+
},
|
252
|
+
overall_recommendation_service_level_objective: {
|
253
|
+
required: false,
|
254
|
+
read_only: true,
|
255
|
+
serialized_name: 'properties.overallRecommendationServiceLevelObjective',
|
256
|
+
type: {
|
257
|
+
name: 'String'
|
258
|
+
}
|
259
|
+
},
|
260
|
+
overall_recommendation_service_level_objective_id: {
|
261
|
+
required: false,
|
262
|
+
read_only: true,
|
263
|
+
serialized_name: 'properties.overallRecommendationServiceLevelObjectiveId',
|
264
|
+
type: {
|
265
|
+
name: 'String'
|
266
|
+
}
|
267
|
+
},
|
268
|
+
confidence: {
|
269
|
+
required: false,
|
270
|
+
read_only: true,
|
271
|
+
serialized_name: 'properties.confidence',
|
272
|
+
type: {
|
273
|
+
name: 'Double'
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
end
|
280
|
+
end
|
281
|
+
end
|
282
|
+
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 service tier advisor request.
|
10
|
+
#
|
11
|
+
class ServiceTierAdvisorListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ServiceTierAdvisor>] The list of service tier advisors
|
16
|
+
# for specified database.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ServiceTierAdvisorListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ServiceTierAdvisorListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ServiceTierAdvisorListResult',
|
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: 'ServiceTierAdvisorElementType',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ServiceTierAdvisor'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,111 @@
|
|
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 a Slo Usage Metric.
|
10
|
+
#
|
11
|
+
class SloUsageMetric < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ServiceObjectiveName] The serviceLevelObjective for SLO usage
|
16
|
+
# metric. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1',
|
17
|
+
# 'P2', 'P3'
|
18
|
+
attr_accessor :service_level_objective
|
19
|
+
|
20
|
+
# @return The serviceLevelObjectiveId for SLO usage metric.
|
21
|
+
attr_accessor :service_level_objective_id
|
22
|
+
|
23
|
+
# @return [Float] Gets or sets inRangeTimeRatio for SLO usage metric.
|
24
|
+
attr_accessor :in_range_time_ratio
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for SloUsageMetric class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'SloUsageMetric',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'SloUsageMetric',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
id: {
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'id',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'type',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
location: {
|
64
|
+
required: true,
|
65
|
+
serialized_name: 'location',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
tags: {
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'tags',
|
73
|
+
type: {
|
74
|
+
name: 'Dictionary',
|
75
|
+
value: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'StringElementType',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
service_level_objective: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'serviceLevelObjective',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
service_level_objective_id: {
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'serviceLevelObjectiveId',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
in_range_time_ratio: {
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'inRangeTimeRatio',
|
101
|
+
type: {
|
102
|
+
name: 'Double'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|