Class: Azure::ServiceFabric::V6_2_0_9::Models::ApplicationUpgradeRollbackStartEvent
- Inherits:
-
ApplicationEvent
- Object
- FabricEvent
- ApplicationEvent
- Azure::ServiceFabric::V6_2_0_9::Models::ApplicationUpgradeRollbackStartEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb
Overview
Application Upgrade Rollback Start event.
Instance Attribute Summary collapse
-
#application_type_name ⇒ String
Application type name.
-
#application_type_version ⇒ String
Target Application type version.
-
#current_application_type_version ⇒ String
Current Application type version.
-
#failure_reason ⇒ String
Describes reason of failure.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#overall_upgrade_elapsed_time_in_ms ⇒ Float
Overall upgrade time in milli-seconds.
Attributes inherited from ApplicationEvent
Attributes inherited from FabricEvent
#event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationUpgradeRollbackStartEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ApplicationUpgradeRollbackStartEvent
constructor
A new instance of ApplicationUpgradeRollbackStartEvent.
Constructor Details
#initialize ⇒ ApplicationUpgradeRollbackStartEvent
Returns a new instance of ApplicationUpgradeRollbackStartEvent.
16 17 18 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 16 def initialize @Kind = "ApplicationUpgradeRollbackStart" end |
Instance Attribute Details
#application_type_name ⇒ String
Returns Application type name.
23 24 25 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 23 def application_type_name @application_type_name end |
#application_type_version ⇒ String
Returns Target Application type version.
29 30 31 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 29 def application_type_version @application_type_version end |
#current_application_type_version ⇒ String
Returns Current Application type version.
26 27 28 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 26 def current_application_type_version @current_application_type_version end |
#failure_reason ⇒ String
Returns Describes reason of failure.
32 33 34 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 32 def failure_reason @failure_reason end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 20 def Kind @Kind end |
#overall_upgrade_elapsed_time_in_ms ⇒ Float
Returns Overall upgrade time in milli-seconds.
35 36 37 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 35 def overall_upgrade_elapsed_time_in_ms @overall_upgrade_elapsed_time_in_ms end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationUpgradeRollbackStartEvent class as Ruby Hash. This will be used for serialization/deserialization.
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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/application_upgrade_rollback_start_event.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationUpgradeRollbackStart', type: { name: 'Composite', class_name: 'ApplicationUpgradeRollbackStartEvent', 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' } }, application_type_name: { client_side_validation: true, required: false, serialized_name: 'ApplicationTypeName', type: { name: 'String' } }, current_application_type_version: { client_side_validation: true, required: false, serialized_name: 'CurrentApplicationTypeVersion', type: { name: 'String' } }, application_type_version: { client_side_validation: true, required: false, serialized_name: 'ApplicationTypeVersion', type: { name: 'String' } }, failure_reason: { client_side_validation: true, required: false, serialized_name: 'FailureReason', type: { name: 'String' } }, overall_upgrade_elapsed_time_in_ms: { client_side_validation: true, required: false, serialized_name: 'OverallUpgradeElapsedTimeInMs', type: { name: 'Double' } } } } } end |