class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Alert

Alert on the data box edge/gateway device.

Attributes

alert_type[RW]

@return [String] Alert type.

appeared_at_date_time[RW]

@return [DateTime] UTC time when the alert appeared.

detailed_information[RW]

@return [Hash{String => String}] Alert details.

error_details[RW]

@return [AlertErrorDetails] Error details of the alert.

recommendation[RW]

@return [String] Alert recommendation.

severity[RW]

@return [AlertSeverity] Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'

title[RW]

@return [String] Alert title.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Alert',
    type: {
      name: 'Composite',
      class_name: 'Alert',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.title',
          type: {
            name: 'String'
          }
        },
        alert_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.alertType',
          type: {
            name: 'String'
          }
        },
        appeared_at_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.appearedAtDateTime',
          type: {
            name: 'DateTime'
          }
        },
        recommendation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recommendation',
          type: {
            name: 'String'
          }
        },
        severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.severity',
          type: {
            name: 'String'
          }
        },
        error_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorDetails',
          type: {
            name: 'Composite',
            class_name: 'AlertErrorDetails'
          }
        },
        detailed_information: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.detailedInformation',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end