Class: Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb
Overview
Represents a Service Tier Advisor.
Instance Attribute Summary collapse
-
#active_time_ratio ⇒ Float
The activeTimeRatio for service tier advisor.
-
#avg_dtu ⇒ Float
Gets or sets avgDtu for service tier advisor.
-
#confidence ⇒ Float
Gets or sets confidence for service tier advisor.
-
#current_service_level_objective ⇒ String
tier advisor.
-
#current_service_level_objective_id ⇒ Object
advisor.
-
#database_size_based_recommendation_service_level_objective ⇒ String
databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
-
#database_size_based_recommendation_service_level_objective_id ⇒ Object
databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
-
#disaster_plan_based_recommendation_service_level_objective ⇒ String
disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
-
#disaster_plan_based_recommendation_service_level_objective_id ⇒ Object
disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
-
#max_dtu ⇒ Float
Gets or sets maxDtu for service tier advisor.
-
#max_size_in_gb ⇒ Float
Gets or sets maxSizeInGB for service tier advisor.
-
#min_dtu ⇒ Float
Gets or sets minDtu for service tier advisor.
-
#observation_period_end ⇒ DateTime
The observation period start (ISO8601 format).
-
#observation_period_start ⇒ DateTime
The observation period start (ISO8601 format).
-
#overall_recommendation_service_level_objective ⇒ String
overallRecommendationServiceLevelObjective for service tier advisor.
-
#overall_recommendation_service_level_objective_id ⇒ Object
service tier advisor.
-
#service_level_objective_usage_metrics ⇒ Array<SloUsageMetric>
serviceLevelObjectiveUsageMetrics for the service tier advisor.
-
#usage_based_recommendation_service_level_objective ⇒ String
usageBasedRecommendationServiceLevelObjective for service tier advisor.
-
#usage_based_recommendation_service_level_objective_id ⇒ Object
for service tier advisor.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceTierAdvisor class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#active_time_ratio ⇒ Float
Returns The activeTimeRatio for service tier advisor.
22 23 24 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 22 def active_time_ratio @active_time_ratio end |
#avg_dtu ⇒ Float
Returns Gets or sets avgDtu for service tier advisor.
28 29 30 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 28 def avg_dtu @avg_dtu end |
#confidence ⇒ Float
Returns Gets or sets confidence for service tier advisor.
85 86 87 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 85 def confidence @confidence end |
#current_service_level_objective ⇒ String
tier advisor.
42 43 44 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 42 def current_service_level_objective @current_service_level_objective end |
#current_service_level_objective_id ⇒ Object
advisor.
46 47 48 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 46 def current_service_level_objective_id @current_service_level_objective_id end |
#database_size_based_recommendation_service_level_objective ⇒ String
databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
59 60 61 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 59 def database_size_based_recommendation_service_level_objective @database_size_based_recommendation_service_level_objective end |
#database_size_based_recommendation_service_level_objective_id ⇒ Object
databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
64 65 66 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 64 def database_size_based_recommendation_service_level_objective_id @database_size_based_recommendation_service_level_objective_id end |
#disaster_plan_based_recommendation_service_level_objective ⇒ String
disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
69 70 71 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 69 def disaster_plan_based_recommendation_service_level_objective @disaster_plan_based_recommendation_service_level_objective end |
#disaster_plan_based_recommendation_service_level_objective_id ⇒ Object
disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
74 75 76 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 74 def disaster_plan_based_recommendation_service_level_objective_id @disaster_plan_based_recommendation_service_level_objective_id end |
#max_dtu ⇒ Float
Returns Gets or sets maxDtu for service tier advisor.
31 32 33 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 31 def max_dtu @max_dtu end |
#max_size_in_gb ⇒ Float
Returns Gets or sets maxSizeInGB for service tier advisor.
34 35 36 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 34 def max_size_in_gb @max_size_in_gb end |
#min_dtu ⇒ Float
Returns Gets or sets minDtu for service tier advisor.
25 26 27 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 25 def min_dtu @min_dtu end |
#observation_period_end ⇒ DateTime
Returns The observation period start (ISO8601 format).
19 20 21 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 19 def observation_period_end @observation_period_end end |
#observation_period_start ⇒ DateTime
Returns The observation period start (ISO8601 format).
16 17 18 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 16 def observation_period_start @observation_period_start end |
#overall_recommendation_service_level_objective ⇒ String
overallRecommendationServiceLevelObjective for service tier advisor.
78 79 80 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 78 def overall_recommendation_service_level_objective @overall_recommendation_service_level_objective end |
#overall_recommendation_service_level_objective_id ⇒ Object
service tier advisor.
82 83 84 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 82 def overall_recommendation_service_level_objective_id @overall_recommendation_service_level_objective_id end |
#service_level_objective_usage_metrics ⇒ Array<SloUsageMetric>
serviceLevelObjectiveUsageMetrics for the service tier advisor.
38 39 40 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 38 def service_level_objective_usage_metrics @service_level_objective_usage_metrics end |
#usage_based_recommendation_service_level_objective ⇒ String
usageBasedRecommendationServiceLevelObjective for service tier advisor.
50 51 52 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 50 def usage_based_recommendation_service_level_objective @usage_based_recommendation_service_level_objective end |
#usage_based_recommendation_service_level_objective_id ⇒ Object
for service tier advisor.
54 55 56 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 54 def usage_based_recommendation_service_level_objective_id @usage_based_recommendation_service_level_objective_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceTierAdvisor class as Ruby Hash. This will be used for serialization/deserialization.
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb', line 92 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisor', type: { name: 'Composite', class_name: 'ServiceTierAdvisor', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, observation_period_start: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodStart', type: { name: 'DateTime' } }, observation_period_end: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodEnd', type: { name: 'DateTime' } }, active_time_ratio: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.activeTimeRatio', type: { name: 'Double' } }, min_dtu: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.minDtu', type: { name: 'Double' } }, avg_dtu: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.avgDtu', type: { name: 'Double' } }, max_dtu: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxDtu', type: { name: 'Double' } }, max_size_in_gb: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxSizeInGB', type: { name: 'Double' } }, service_level_objective_usage_metrics: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjectiveUsageMetrics', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SloUsageMetricElementType', type: { name: 'Composite', class_name: 'SloUsageMetric' } } } }, current_service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceLevelObjective', type: { name: 'String' } }, current_service_level_objective_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceLevelObjectiveId', type: { name: 'String' } }, usage_based_recommendation_service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageBasedRecommendationServiceLevelObjective', type: { name: 'String' } }, usage_based_recommendation_service_level_objective_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageBasedRecommendationServiceLevelObjectiveId', type: { name: 'String' } }, database_size_based_recommendation_service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjective', type: { name: 'String' } }, database_size_based_recommendation_service_level_objective_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjectiveId', type: { name: 'String' } }, disaster_plan_based_recommendation_service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjective', type: { name: 'String' } }, disaster_plan_based_recommendation_service_level_objective_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjectiveId', type: { name: 'String' } }, overall_recommendation_service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.overallRecommendationServiceLevelObjective', type: { name: 'String' } }, overall_recommendation_service_level_objective_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.overallRecommendationServiceLevelObjectiveId', type: { name: 'String' } }, confidence: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.confidence', type: { name: 'Double' } } } } } end |