Class: Azure::ServiceFabric::V6_5_0_36::Models::PartitionReconfiguredEvent

Inherits:
PartitionEvent show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb

Overview

Partition Reconfiguration event.

Instance Attribute Summary collapse

Attributes inherited from PartitionEvent

#partition_id

Attributes inherited from FabricEvent

#category, #event_instance_id, #has_correlated_events, #time_stamp

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePartitionReconfiguredEvent

Returns a new instance of PartitionReconfiguredEvent.



16
17
18
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 16

def initialize
  @Kind = "PartitionReconfigured"
end

Instance Attribute Details

#cc_epoch_config_versionInteger

Returns CcEpochConfig version.

Returns:

  • (Integer)

    CcEpochConfig version.



35
36
37
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 35

def cc_epoch_config_version
  @cc_epoch_config_version
end

#cc_epoch_data_loss_versionInteger

Returns CcEpochDataLoss version.

Returns:

  • (Integer)

    CcEpochDataLoss version.



32
33
34
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 32

def cc_epoch_data_loss_version
  @cc_epoch_data_loss_version
end

#KindObject

Returns the value of attribute Kind.



20
21
22
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 20

def Kind
  @Kind
end

#node_instance_idString

Returns Id of Node instance.

Returns:

  • (String)

    Id of Node instance.



26
27
28
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 26

def node_instance_id
  @node_instance_id
end

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



23
24
25
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 23

def node_name
  @node_name
end

#phase0duration_msFloat

Returns Duration of Phase0 in milli-seconds.

Returns:

  • (Float)

    Duration of Phase0 in milli-seconds.



44
45
46
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 44

def phase0duration_ms
  @phase0duration_ms
end

#phase1duration_msFloat

Returns Duration of Phase1 in milli-seconds.

Returns:

  • (Float)

    Duration of Phase1 in milli-seconds.



47
48
49
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 47

def phase1duration_ms
  @phase1duration_ms
end

#phase2duration_msFloat

Returns Duration of Phase2 in milli-seconds.

Returns:

  • (Float)

    Duration of Phase2 in milli-seconds.



50
51
52
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 50

def phase2duration_ms
  @phase2duration_ms
end

#phase3duration_msFloat

Returns Duration of Phase3 in milli-seconds.

Returns:

  • (Float)

    Duration of Phase3 in milli-seconds.



53
54
55
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 53

def phase3duration_ms
  @phase3duration_ms
end

#phase4duration_msFloat

Returns Duration of Phase4 in milli-seconds.

Returns:

  • (Float)

    Duration of Phase4 in milli-seconds.



56
57
58
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 56

def phase4duration_ms
  @phase4duration_ms
end

#reconfig_typeString

Returns Type of reconfiguration.

Returns:

  • (String)

    Type of reconfiguration.



38
39
40
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 38

def reconfig_type
  @reconfig_type
end

#resultString

Returns Describes reconfiguration result.

Returns:

  • (String)

    Describes reconfiguration result.



41
42
43
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 41

def result
  @result
end

#service_typeString

Returns Type of Service.

Returns:

  • (String)

    Type of Service.



29
30
31
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 29

def service_type
  @service_type
end

#total_duration_msFloat

Returns Total duration in milli-seconds.

Returns:

  • (Float)

    Total duration in milli-seconds.



59
60
61
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 59

def total_duration_ms
  @total_duration_ms
end

Class Method Details

.mapperObject

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



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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb', line 66

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartitionReconfigured',
    type: {
      name: 'Composite',
      class_name: 'PartitionReconfiguredEvent',
      model_properties: {
        event_instance_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'EventInstanceId',
          type: {
            name: 'String'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Category',
          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'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        node_instance_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'NodeInstanceId',
          type: {
            name: 'String'
          }
        },
        service_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceType',
          type: {
            name: 'String'
          }
        },
        cc_epoch_data_loss_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'CcEpochDataLossVersion',
          type: {
            name: 'Number'
          }
        },
        cc_epoch_config_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'CcEpochConfigVersion',
          type: {
            name: 'Number'
          }
        },
        reconfig_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ReconfigType',
          type: {
            name: 'String'
          }
        },
        result: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Result',
          type: {
            name: 'String'
          }
        },
        phase0duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Phase0DurationMs',
          type: {
            name: 'Double'
          }
        },
        phase1duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Phase1DurationMs',
          type: {
            name: 'Double'
          }
        },
        phase2duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Phase2DurationMs',
          type: {
            name: 'Double'
          }
        },
        phase3duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Phase3DurationMs',
          type: {
            name: 'Double'
          }
        },
        phase4duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Phase4DurationMs',
          type: {
            name: 'Double'
          }
        },
        total_duration_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TotalDurationMs',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end