Class: Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiProperties
- Inherits:
-
Object
- Object
- Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb
Overview
Each KPI must contain a ‘type’ and ‘enabled’ key.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Show the KPI in the UI?.
-
#id ⇒ String
ID of resource related to metric (budget).
-
#type ⇒ KpiTypeType
include: ‘Forecast’, ‘Budget’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KpiProperties class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
Returns show the KPI in the UI?.
23 24 25 |
# File 'lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb', line 23 def enabled @enabled end |
#id ⇒ String
Returns ID of resource related to metric (budget).
20 21 22 |
# File 'lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb', line 20 def id @id end |
#type ⇒ KpiTypeType
include: ‘Forecast’, ‘Budget’
17 18 19 |
# File 'lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb', line 17 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for KpiProperties class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KpiProperties', type: { name: 'Composite', class_name: 'KpiProperties', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } } } } } end |