Class: Azure::Consumption::Mgmt::V2019_05_01::Models::ReservationRecommendation
- Inherits:
-
Object
- Object
- Azure::Consumption::Mgmt::V2019_05_01::Models::ReservationRecommendation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb
Overview
Reservation recommendation resource.
Instance Attribute Summary collapse
-
#cost_with_no_reserved_instances ⇒ Object
The total amount of cost without reserved instances.
-
#first_usage_date ⇒ DateTime
The usage date for looking back.
-
#id ⇒ String
Resource Id.
-
#instance_flexibility_group ⇒ String
The instance Flexibility Group.
-
#instance_flexibility_ratio ⇒ Integer
The instance Flexibility Ratio.
-
#location ⇒ String
Resource location.
-
#look_back_period ⇒ String
recommendation.
-
#meter_id ⇒ Object
The meter id (GUID).
-
#name ⇒ String
Resource name.
-
#net_savings ⇒ Object
Total estimated savings with reserved instances.
-
#normalized_size ⇒ String
The normalized Size.
-
#recommended_quantity ⇒ Object
Recommended quality for reserved instances.
-
#recommended_quantity_normalized ⇒ Float
The recommended Quantity Normalized.
-
#scope ⇒ String
Shared or single recommendation.
-
#sku ⇒ String
Resource sku.
-
#tags ⇒ Hash{String => String}
Resource tags.
-
#term ⇒ String
RI recommendations in one or three year terms.
-
#total_cost_with_reserved_instances ⇒ Object
The total amount of cost with reserved instances.
-
#type ⇒ String
Resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReservationRecommendation class as Ruby Hash.
Instance Attribute Details
#cost_with_no_reserved_instances ⇒ Object
56 57 58 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 56 def cost_with_no_reserved_instances @cost_with_no_reserved_instances end |
#first_usage_date ⇒ DateTime
68 69 70 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 68 def first_usage_date @first_usage_date end |
#id ⇒ String
16 17 18 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 16 def id @id end |
#instance_flexibility_group ⇒ String
41 42 43 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 41 def instance_flexibility_group @instance_flexibility_group end |
#instance_flexibility_ratio ⇒ Integer
38 39 40 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 38 def instance_flexibility_ratio @instance_flexibility_ratio end |
#location ⇒ String
28 29 30 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 28 def location @location end |
#look_back_period ⇒ String
recommendation.
35 36 37 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 35 def look_back_period @look_back_period end |
#meter_id ⇒ Object
50 51 52 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 50 def meter_id @meter_id end |
#name ⇒ String
19 20 21 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 19 def name @name end |
#net_savings ⇒ Object
65 66 67 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 65 def net_savings @net_savings end |
#normalized_size ⇒ String
44 45 46 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 44 def normalized_size @normalized_size end |
#recommended_quantity ⇒ Object
59 60 61 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 59 def recommended_quantity @recommended_quantity end |
#recommended_quantity_normalized ⇒ Float
47 48 49 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 47 def recommended_quantity_normalized @recommended_quantity_normalized end |
#scope ⇒ String
71 72 73 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 71 def scope @scope end |
#sku ⇒ String
31 32 33 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 31 def sku @sku end |
#tags ⇒ Hash{String => String}
25 26 27 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 25 def end |
#term ⇒ String
53 54 55 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 53 def term @term end |
#total_cost_with_reserved_instances ⇒ Object
62 63 64 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 62 def total_cost_with_reserved_instances @total_cost_with_reserved_instances end |
#type ⇒ String
22 23 24 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ReservationRecommendation class as Ruby Hash. This will be used for serialization/deserialization.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 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 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/reservation_recommendation.rb', line 78 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReservationRecommendation', type: { name: 'Composite', class_name: 'ReservationRecommendation', 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' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, sku: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', type: { name: 'String' } }, look_back_period: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lookBackPeriod', type: { name: 'String' } }, instance_flexibility_ratio: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceFlexibilityRatio', type: { name: 'Number' } }, instance_flexibility_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceFlexibilityGroup', type: { name: 'String' } }, normalized_size: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.normalizedSize', type: { name: 'String' } }, recommended_quantity_normalized: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendedQuantityNormalized', type: { name: 'Double' } }, meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', type: { name: 'String' } }, term: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.term', type: { name: 'String' } }, cost_with_no_reserved_instances: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costWithNoReservedInstances', type: { name: 'Number' } }, recommended_quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendedQuantity', type: { name: 'Number' } }, total_cost_with_reserved_instances: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.totalCostWithReservedInstances', type: { name: 'Number' } }, net_savings: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.netSavings', type: { name: 'Number' } }, first_usage_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.firstUsageDate', type: { name: 'DateTime' } }, scope: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.scope', type: { name: 'String' } } } } } end |