class Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus

An alert status.

Attributes

id[RW]

@return [String] The alert rule arm id.

name[RW]

@return [String] The status name.

properties[RW]

@return [MetricAlertStatusProperties] The alert status properties of the metric alert status.

type[RW]

@return [String] The extended resource type name.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_status.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MetricAlertStatus',
    type: {
      name: 'Composite',
      class_name: 'MetricAlertStatus',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Composite',
            class_name: 'MetricAlertStatusProperties'
          }
        }
      }
    }
  }
end