Class: Azure::ServiceFabric::V6_3_0_9::Models::ProcessDeactivatedEvent
- Inherits:
-
ApplicationEvent
- Object
- FabricEvent
- ApplicationEvent
- Azure::ServiceFabric::V6_3_0_9::Models::ProcessDeactivatedEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb
Overview
Process Deactivated event.
Instance Attribute Summary collapse
-
#code_package_name ⇒ String
Name of Code package.
-
#entry_point_type ⇒ String
Type of EntryPoint.
-
#exe_name ⇒ String
Name of executable.
-
#exit_code ⇒ Integer
Exit code of process.
-
#host_id ⇒ String
Host Id.
-
#is_exclusive ⇒ Boolean
Indicates IsExclusive flag.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#process_id ⇒ Integer
Process Id.
-
#service_name ⇒ String
Name of Service.
-
#service_package_activation_id ⇒ String
Activation Id of Service package.
-
#service_package_name ⇒ String
Name of Service package.
-
#start_time ⇒ DateTime
Start time of process.
-
#unexpected_termination ⇒ Boolean
Indicates if termination is unexpected.
Attributes inherited from ApplicationEvent
Attributes inherited from FabricEvent
#event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProcessDeactivatedEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ProcessDeactivatedEvent
constructor
A new instance of ProcessDeactivatedEvent.
Constructor Details
#initialize ⇒ ProcessDeactivatedEvent
Returns a new instance of ProcessDeactivatedEvent.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 16 def initialize @Kind = "ProcessDeactivated" end |
Instance Attribute Details
#code_package_name ⇒ String
Returns Name of Code package.
35 36 37 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 35 def code_package_name @code_package_name end |
#entry_point_type ⇒ String
Returns Type of EntryPoint.
38 39 40 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 38 def entry_point_type @entry_point_type end |
#exe_name ⇒ String
Returns Name of executable.
41 42 43 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 41 def exe_name @exe_name end |
#exit_code ⇒ Integer
Returns Exit code of process.
50 51 52 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 50 def exit_code @exit_code end |
#host_id ⇒ String
Returns Host Id.
47 48 49 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 47 def host_id @host_id end |
#is_exclusive ⇒ Boolean
Returns Indicates IsExclusive flag.
32 33 34 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 32 def is_exclusive @is_exclusive end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 20 def Kind @Kind end |
#process_id ⇒ Integer
Returns Process Id.
44 45 46 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 44 def process_id @process_id end |
#service_name ⇒ String
Returns Name of Service.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 23 def service_name @service_name end |
#service_package_activation_id ⇒ String
Returns Activation Id of Service package.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 29 def service_package_activation_id @service_package_activation_id end |
#service_package_name ⇒ String
Returns Name of Service package.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 26 def service_package_name @service_package_name end |
#start_time ⇒ DateTime
Returns Start time of process.
56 57 58 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 56 def start_time @start_time end |
#unexpected_termination ⇒ Boolean
Returns Indicates if termination is unexpected.
53 54 55 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/process_deactivated_event.rb', line 53 def unexpected_termination @unexpected_termination end |
Class Method Details
.mapper ⇒ Object
Mapper for ProcessDeactivatedEvent 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/process_deactivated_event.rb', line 63 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProcessDeactivated', type: { name: 'Composite', class_name: 'ProcessDeactivatedEvent', 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_name: { client_side_validation: true, required: false, serialized_name: 'ServiceName', type: { name: 'String' } }, service_package_name: { client_side_validation: true, required: false, serialized_name: 'ServicePackageName', type: { name: 'String' } }, service_package_activation_id: { client_side_validation: true, required: false, serialized_name: 'ServicePackageActivationId', type: { name: 'String' } }, is_exclusive: { client_side_validation: true, required: false, serialized_name: 'IsExclusive', type: { name: 'Boolean' } }, code_package_name: { client_side_validation: true, required: false, serialized_name: 'CodePackageName', type: { name: 'String' } }, entry_point_type: { client_side_validation: true, required: false, serialized_name: 'EntryPointType', type: { name: 'String' } }, exe_name: { client_side_validation: true, required: false, serialized_name: 'ExeName', type: { name: 'String' } }, process_id: { client_side_validation: true, required: false, serialized_name: 'ProcessId', type: { name: 'Number' } }, host_id: { client_side_validation: true, required: false, serialized_name: 'HostId', type: { name: 'String' } }, exit_code: { client_side_validation: true, required: false, serialized_name: 'ExitCode', type: { name: 'Number' } }, unexpected_termination: { client_side_validation: true, required: false, serialized_name: 'UnexpectedTermination', type: { name: 'Boolean' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'StartTime', type: { name: 'DateTime' } } } } } end |