class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabResourceCostProperties
The properties of a resource cost item.
Attributes
external_resource_id[RW]
@return [String] The ID of the external resource
resource_cost[RW]
@return [Float] The cost component of the resource cost item.
resource_id[RW]
@return [String] The ID of the resource
resource_owner[RW]
@return [String] The owner of the resource (ex. janedoe@microsoft.com)
resource_pricing_tier[RW]
@return [String] The category of the resource (ex. Premium_LRS, Standard_DS1)
resource_status[RW]
@return [String] The status of the resource (ex. Active)
resource_type[RW]
@return [String] The logical resource type (ex. virtualmachine, storageaccount)
resource_uid[RW]
@return [String] The unique identifier of the resource.
resourcename[RW]
@return [String] The name of the resource.
Public Class Methods
mapper()
click to toggle source
Mapper for LabResourceCostProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LabResourceCostProperties', type: { name: 'Composite', class_name: 'LabResourceCostProperties', model_properties: { resourcename: { client_side_validation: true, required: false, serialized_name: 'resourcename', type: { name: 'String' } }, resource_uid: { client_side_validation: true, required: false, serialized_name: 'resourceUId', type: { name: 'String' } }, resource_cost: { client_side_validation: true, required: false, serialized_name: 'resourceCost', type: { name: 'Double' } }, resource_type: { client_side_validation: true, required: false, serialized_name: 'resourceType', type: { name: 'String' } }, resource_owner: { client_side_validation: true, required: false, serialized_name: 'resourceOwner', type: { name: 'String' } }, resource_pricing_tier: { client_side_validation: true, required: false, serialized_name: 'resourcePricingTier', type: { name: 'String' } }, resource_status: { client_side_validation: true, required: false, serialized_name: 'resourceStatus', type: { name: 'String' } }, resource_id: { client_side_validation: true, required: false, serialized_name: 'resourceId', type: { name: 'String' } }, external_resource_id: { client_side_validation: true, required: false, serialized_name: 'externalResourceId', type: { name: 'String' } } } } } end