Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServiceHealthReportCreatedEvent

Inherits:
ApplicationEvent show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb

Overview

Deployed Service Health Report Created event.

Instance Attribute Summary collapse

Attributes inherited from ApplicationEvent

#application_id

Attributes inherited from FabricEvent

#event_instance_id, #has_correlated_events, #time_stamp

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeployedServiceHealthReportCreatedEvent

Returns a new instance of DeployedServiceHealthReportCreatedEvent.



16
17
18
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 16

def initialize
  @Kind = "DeployedServiceHealthReportCreated"
end

Instance Attribute Details

#descriptionString

Returns Description of report.

Returns:

  • (String)

    Description of report.



50
51
52
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 50

def description
  @description
end

#health_stateString

Returns Describes the property health state.

Returns:

  • (String)

    Describes the property health state.



41
42
43
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 41

def health_state
  @health_state
end

#KindObject

Returns the value of attribute Kind.



20
21
22
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 20

def Kind
  @Kind
end

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



32
33
34
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 32

def node_name
  @node_name
end

#propertyString

Returns Describes the property.

Returns:

  • (String)

    Describes the property.



38
39
40
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 38

def property
  @property
end

#remove_when_expiredBoolean

Returns Indicates the removal when it expires.

Returns:

  • (Boolean)

    Indicates the removal when it expires.



53
54
55
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 53

def remove_when_expired
  @remove_when_expired
end

#sequence_numberInteger

Returns Sequence number of report.

Returns:

  • (Integer)

    Sequence number of report.



47
48
49
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 47

def sequence_number
  @sequence_number
end

#service_manifest_nameString

Returns Service manifest name.

Returns:

  • (String)

    Service manifest name.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 23

def service_manifest_name
  @service_manifest_name
end

#service_package_activation_idString

Returns Id of Service package activation.

Returns:

  • (String)

    Id of Service package activation.



29
30
31
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 29

def service_package_activation_id
  @service_package_activation_id
end

#service_package_instance_idInteger

Returns Id of Service package instance.

Returns:

  • (Integer)

    Id of Service package instance.



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 26

def service_package_instance_id
  @service_package_instance_id
end

#source_idString

Returns Id of report source.

Returns:

  • (String)

    Id of report source.



35
36
37
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 35

def source_id
  @source_id
end

#source_utc_timestampDateTime

Returns Source time.

Returns:

  • (DateTime)

    Source time.



56
57
58
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 56

def source_utc_timestamp
  @source_utc_timestamp
end

#ttltimespanInteger

Returns Time to live in milli-seconds.

Returns:

  • (Integer)

    Time to live in milli-seconds.



44
45
46
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 44

def ttltimespan
  @ttltimespan
end

Class Method Details

.mapperObject

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



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_health_report_created_event.rb', line 63

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServiceHealthReportCreated',
    type: {
      name: 'Composite',
      class_name: 'DeployedServiceHealthReportCreatedEvent',
      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'
          }
        },
        application_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationId',
          type: {
            name: 'String'
          }
        },
        service_manifest_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceManifestName',
          type: {
            name: 'String'
          }
        },
        service_package_instance_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageInstanceId',
          type: {
            name: 'Number'
          }
        },
        service_package_activation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageActivationId',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          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'
          }
        },
        ttltimespan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TTLTimespan',
          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