class Azure::ServiceFabric::V6_2_0_9::Models::ClusterHealthReportExpiredEvent

Cluster Health Report Expired event.

Attributes

Kind[RW]
description[RW]

@return [String] Description of report.

health_state[RW]

@return [String] Describes the property health state.

property[RW]

@return [String] Describes the property.

remove_when_expired[RW]

@return [Boolean] Indicates the removal when it expires.

sequence_number[RW]

@return [Integer] Sequence number of report.

source_id[RW]

@return [String] Id of report source.

source_utc_timestamp[RW]

@return [DateTime] Source time.

time_to_live_ms[RW]

@return [Integer] Time to live in milli-seconds.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/cluster_health_report_expired_event.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterHealthReportExpired',
    type: {
      name: 'Composite',
      class_name: 'ClusterHealthReportExpiredEvent',
      model_properties: {
        event_instance_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'EventInstanceId',
          type: {
            name: 'String'
          }
        },
        time_stamp: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeStamp',
          type: {
            name: 'DateTime'
          }
        },
        has_correlated_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HasCorrelatedEvents',
          type: {
            name: 'Boolean'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        source_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SourceId',
          type: {
            name: 'String'
          }
        },
        property: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Property',
          type: {
            name: 'String'
          }
        },
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        time_to_live_ms: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TimeToLiveMs',
          type: {
            name: 'Number'
          }
        },
        sequence_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SequenceNumber',
          type: {
            name: 'Number'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Description',
          type: {
            name: 'String'
          }
        },
        remove_when_expired: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RemoveWhenExpired',
          type: {
            name: 'Boolean'
          }
        },
        source_utc_timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SourceUtcTimestamp',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/cluster_health_report_expired_event.rb, line 16
def initialize
  @Kind = "ClusterHealthReportExpired"
end