Class: Azure::ServiceFabric::V6_4_0_36::Models::ClusterUpgradeRollbackStartedEvent
- Inherits:
-
ClusterEvent
- Object
- FabricEvent
- ClusterEvent
- Azure::ServiceFabric::V6_4_0_36::Models::ClusterUpgradeRollbackStartedEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb
Overview
Cluster Upgrade Rollback Started event.
Instance Attribute Summary collapse
-
#failure_reason ⇒ String
Describes failure.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#overall_upgrade_elapsed_time_in_ms ⇒ Float
Overall duration of upgrade in milli-seconds.
-
#target_cluster_version ⇒ String
Target Cluster version.
Attributes inherited from FabricEvent
#category, #event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterUpgradeRollbackStartedEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ClusterUpgradeRollbackStartedEvent
constructor
A new instance of ClusterUpgradeRollbackStartedEvent.
Constructor Details
#initialize ⇒ ClusterUpgradeRollbackStartedEvent
Returns a new instance of ClusterUpgradeRollbackStartedEvent.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 16 def initialize @Kind = "ClusterUpgradeRollbackStarted" end |
Instance Attribute Details
#failure_reason ⇒ String
Returns Describes failure.
26 27 28 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 26 def failure_reason @failure_reason end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 20 def Kind @Kind end |
#overall_upgrade_elapsed_time_in_ms ⇒ Float
Returns Overall duration of upgrade in milli-seconds.
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 29 def overall_upgrade_elapsed_time_in_ms @overall_upgrade_elapsed_time_in_ms end |
#target_cluster_version ⇒ String
Returns Target Cluster version.
23 24 25 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 23 def target_cluster_version @target_cluster_version end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterUpgradeRollbackStartedEvent class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterUpgradeRollbackStarted', type: { name: 'Composite', class_name: 'ClusterUpgradeRollbackStartedEvent', 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' } }, target_cluster_version: { client_side_validation: true, required: true, serialized_name: 'TargetClusterVersion', type: { name: 'String' } }, failure_reason: { client_side_validation: true, required: true, serialized_name: 'FailureReason', type: { name: 'String' } }, overall_upgrade_elapsed_time_in_ms: { client_side_validation: true, required: true, serialized_name: 'OverallUpgradeElapsedTimeInMs', type: { name: 'Double' } } } } } end |