Class: Azure::ARM::DevTestLabs::Models::LabResourceCostProperties
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::LabResourceCostProperties
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb
Overview
The properties of a resource cost item.
Instance Attribute Summary collapse
-
#external_resource_id ⇒ String
The ID of the external resource.
-
#resource_cost ⇒ Float
The cost component of the resource cost item.
-
#resource_id ⇒ String
The ID of the resource.
-
#resource_owner ⇒ String
The owner of the resource (ex. [email protected]).
-
#resource_pricing_tier ⇒ String
Standard_DS1).
-
#resource_status ⇒ String
The status of the resource (ex. Active).
-
#resource_type ⇒ String
storageaccount).
-
#resource_uid ⇒ String
The unique identifier of the resource.
-
#resourcename ⇒ String
The name of the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LabResourceCostProperties class as Ruby Hash.
Instance Attribute Details
#external_resource_id ⇒ String
Returns The ID of the external resource.
43 44 45 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 43 def external_resource_id @external_resource_id end |
#resource_cost ⇒ Float
Returns The cost component of the resource cost item.
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 23 def resource_cost @resource_cost end |
#resource_id ⇒ String
Returns The ID of the resource.
40 41 42 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 40 def resource_id @resource_id end |
#resource_owner ⇒ String
Returns The owner of the resource (ex. [email protected]).
30 31 32 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 30 def resource_owner @resource_owner end |
#resource_pricing_tier ⇒ String
Standard_DS1)
34 35 36 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 34 def resource_pricing_tier @resource_pricing_tier end |
#resource_status ⇒ String
Returns The status of the resource (ex. Active).
37 38 39 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 37 def resource_status @resource_status end |
#resource_type ⇒ String
storageaccount)
27 28 29 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 27 def resource_type @resource_type end |
#resource_uid ⇒ String
Returns The unique identifier of the resource.
20 21 22 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 20 def resource_uid @resource_uid end |
#resourcename ⇒ String
Returns The name of the resource.
17 18 19 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 17 def resourcename @resourcename end |
Class Method Details
.mapper ⇒ Object
Mapper for LabResourceCostProperties class as Ruby Hash. This will be used for serialization/deserialization.
50 51 52 53 54 55 56 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 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb', line 50 def self.mapper() { required: false, serialized_name: 'LabResourceCostProperties', type: { name: 'Composite', class_name: 'LabResourceCostProperties', model_properties: { resourcename: { required: false, serialized_name: 'resourcename', type: { name: 'String' } }, resource_uid: { required: false, serialized_name: 'resourceUId', type: { name: 'String' } }, resource_cost: { required: false, serialized_name: 'resourceCost', type: { name: 'Double' } }, resource_type: { required: false, serialized_name: 'resourceType', type: { name: 'String' } }, resource_owner: { required: false, serialized_name: 'resourceOwner', type: { name: 'String' } }, resource_pricing_tier: { required: false, serialized_name: 'resourcePricingTier', type: { name: 'String' } }, resource_status: { required: false, serialized_name: 'resourceStatus', type: { name: 'String' } }, resource_id: { required: false, serialized_name: 'resourceId', type: { name: 'String' } }, external_resource_id: { required: false, serialized_name: 'externalResourceId', type: { name: 'String' } } } } } end |