class Azure::Monitor::Mgmt::V2019_03_01::Models::SingleBaseline

The baseline values for a single sensitivity value.

Attributes

high_thresholds[RW]

@return [Array<Float>] The high thresholds of the baseline.

low_thresholds[RW]

@return [Array<Float>] The low thresholds of the baseline.

sensitivity[RW]

@return [BaselineSensitivity] the sensitivity of the baseline. Possible values include: 'Low', 'Medium', 'High'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_monitor/models/single_baseline.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SingleBaseline',
    type: {
      name: 'Composite',
      class_name: 'SingleBaseline',
      model_properties: {
        sensitivity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sensitivity',
          type: {
            name: 'String'
          }
        },
        low_thresholds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'lowThresholds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FloatElementType',
                type: {
                  name: 'Double'
                }
            }
          }
        },
        high_thresholds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'highThresholds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FloatElementType',
                type: {
                  name: 'Double'
                }
            }
          }
        }
      }
    }
  }
end