class Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationPropertiesServiceSpecification

Specification of the all the metrics provided for a resource type.

Attributes

metric_specifications[RW]

@return [Array<MetricSpecification>] Details about operations related to metrics.

Private Class Methods

mapper() click to toggle source

Mapper for ApiOperationPropertiesServiceSpecification class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApiOperation_properties_serviceSpecification',
    type: {
      name: 'Composite',
      class_name: 'ApiOperationPropertiesServiceSpecification',
      model_properties: {
        metric_specifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'metricSpecifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MetricSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MetricSpecification'
                }
            }
          }
        }
      }
    }
  }
end