Class: Azure::Consumption::Mgmt::V2019_05_01::Models::ManagementGroupAggregatedCostResult
- Inherits:
-
Resource
- Object
- Resource
- Azure::Consumption::Mgmt::V2019_05_01::Models::ManagementGroupAggregatedCostResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb
Overview
A management group aggregated cost resource.
Instance Attribute Summary collapse
-
#azure_charges ⇒ Object
Azure Charges.
-
#billing_period_id ⇒ String
aggregated cost belongs to.
-
#charges_billed_separately ⇒ Object
Charges Billed Separately.
-
#children ⇒ Array<ManagementGroupAggregatedCostResult>
management group.
-
#currency ⇒ String
example, USD.
-
#excluded_subscriptions ⇒ Array<String>
calculation of aggregated cost.
-
#included_subscriptions ⇒ Array<String>
calculation of aggregated cost.
-
#marketplace_charges ⇒ Object
Marketplace Charges.
-
#usage_end ⇒ DateTime
aggregated cost.
-
#usage_start ⇒ DateTime
aggregated cost.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementGroupAggregatedCostResult class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#azure_charges ⇒ Object
Returns Azure Charges.
28 29 30 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 28 def azure_charges @azure_charges end |
#billing_period_id ⇒ String
aggregated cost belongs to.
17 18 19 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 17 def billing_period_id @billing_period_id end |
#charges_billed_separately ⇒ Object
Returns Charges Billed Separately.
34 35 36 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 34 def charges_billed_separately @charges_billed_separately end |
#children ⇒ Array<ManagementGroupAggregatedCostResult>
management group
42 43 44 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 42 def children @children end |
#currency ⇒ String
example, USD.
38 39 40 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 38 def currency @currency end |
#excluded_subscriptions ⇒ Array<String>
calculation of aggregated cost
50 51 52 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 50 def excluded_subscriptions @excluded_subscriptions end |
#included_subscriptions ⇒ Array<String>
calculation of aggregated cost
46 47 48 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 46 def included_subscriptions @included_subscriptions end |
#marketplace_charges ⇒ Object
Returns Marketplace Charges.
31 32 33 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 31 def marketplace_charges @marketplace_charges end |
#usage_end ⇒ DateTime
aggregated cost.
25 26 27 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 25 def usage_end @usage_end end |
#usage_start ⇒ DateTime
aggregated cost.
21 22 23 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 21 def usage_start @usage_start end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementGroupAggregatedCostResult class as Ruby Hash. This will be used for serialization/deserialization.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 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 |
# File 'lib/2019-05-01/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb', line 57 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementGroupAggregatedCostResult', type: { name: 'Composite', class_name: 'ManagementGroupAggregatedCostResult', 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' } } } }, billing_period_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', type: { name: 'String' } }, usage_start: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', type: { name: 'DateTime' } }, usage_end: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', type: { name: 'DateTime' } }, azure_charges: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.azureCharges', type: { name: 'Number' } }, marketplace_charges: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.marketplaceCharges', type: { name: 'Number' } }, charges_billed_separately: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.chargesBilledSeparately', type: { name: 'Number' } }, currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', type: { name: 'String' } }, children: { client_side_validation: true, required: false, serialized_name: 'properties.children', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ManagementGroupAggregatedCostResultElementType', type: { name: 'Composite', class_name: 'ManagementGroupAggregatedCostResult' } } } }, included_subscriptions: { client_side_validation: true, required: false, serialized_name: 'properties.includedSubscriptions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, excluded_subscriptions: { client_side_validation: true, required: false, serialized_name: 'properties.excludedSubscriptions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |