class Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty
Resource
metric property.
Attributes
key[RW]
@return [String] Key for resource metric property.
value[RW]
@return [String] Value of pair.
Private Class Methods
mapper()
click to toggle source
Mapper for ResourceMetricProperty
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceMetricProperty', type: { name: 'Composite', class_name: 'ResourceMetricProperty', model_properties: { key: { client_side_validation: true, required: false, serialized_name: 'key', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'String' } } } } } end