Class: Azure::ARM::Logic::Models::WorkflowRun
- Inherits:
-
MsRestAzure::SubResource
- Object
- MsRestAzure::SubResource
- Azure::ARM::Logic::Models::WorkflowRun
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_logic/models/workflow_run.rb
Overview
The workflow run.
Instance Attribute Summary collapse
-
#code ⇒ String
Gets the code.
-
#correlation ⇒ Correlation
The run correlation.
-
#correlation_id ⇒ String
Gets the correlation id.
-
#end_time ⇒ DateTime
Gets the end time.
-
#error ⇒ Object
Gets the error.
-
#name ⇒ String
Gets the workflow run name.
-
#outputs ⇒ Hash{String => WorkflowOutputParameter}
Gets the outputs.
-
#response ⇒ WorkflowRunTrigger
Gets the response of the flow run.
-
#start_time ⇒ DateTime
Gets the start time.
-
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’.
-
#trigger ⇒ WorkflowRunTrigger
Gets the fired trigger.
-
#type ⇒ String
Gets the workflow run type.
-
#workflow ⇒ ResourceReference
Gets the reference to workflow version.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WorkflowRun class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns Gets the code.
29 30 31 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 29 def code @code end |
#correlation ⇒ Correlation
Returns The run correlation.
38 39 40 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 38 def correlation @correlation end |
#correlation_id ⇒ String
Returns Gets the correlation id.
35 36 37 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 35 def correlation_id @correlation_id end |
#end_time ⇒ DateTime
Returns Gets the end time.
20 21 22 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 20 def end_time @end_time end |
#error ⇒ Object
Returns Gets the error.
32 33 34 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 32 def error @error end |
#name ⇒ String
Returns Gets the workflow run name.
53 54 55 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 53 def name @name end |
#outputs ⇒ Hash{String => WorkflowOutputParameter}
Returns Gets the outputs.
47 48 49 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 47 def outputs @outputs end |
#response ⇒ WorkflowRunTrigger
Returns Gets the response of the flow run.
50 51 52 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 50 def response @response end |
#start_time ⇒ DateTime
Returns Gets the start time.
17 18 19 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 17 def start_time @start_time end |
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’
26 27 28 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 26 def status @status end |
#trigger ⇒ WorkflowRunTrigger
Returns Gets the fired trigger.
44 45 46 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 44 def trigger @trigger end |
#type ⇒ String
Returns Gets the workflow run type.
56 57 58 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 56 def type @type end |
#workflow ⇒ ResourceReference
Returns Gets the reference to workflow version.
41 42 43 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 41 def workflow @workflow end |
Class Method Details
.mapper ⇒ Object
Mapper for WorkflowRun 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 |
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 63 def self.mapper() { required: false, serialized_name: 'WorkflowRun', type: { name: 'Composite', class_name: 'WorkflowRun', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, start_time: { required: false, read_only: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { required: false, read_only: true, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, status: { required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'Enum', module: 'WorkflowStatus' } }, code: { required: false, read_only: true, serialized_name: 'properties.code', type: { name: 'String' } }, error: { required: false, read_only: true, serialized_name: 'properties.error', type: { name: 'Object' } }, correlation_id: { required: false, read_only: true, serialized_name: 'properties.correlationId', type: { name: 'String' } }, correlation: { required: false, serialized_name: 'properties.correlation', type: { name: 'Composite', class_name: 'Correlation' } }, workflow: { required: false, read_only: true, serialized_name: 'properties.workflow', type: { name: 'Composite', class_name: 'ResourceReference' } }, trigger: { required: false, read_only: true, serialized_name: 'properties.trigger', type: { name: 'Composite', class_name: 'WorkflowRunTrigger' } }, outputs: { required: false, read_only: true, serialized_name: 'properties.outputs', type: { name: 'Dictionary', value: { required: false, serialized_name: 'WorkflowOutputParameterElementType', type: { name: 'Composite', class_name: 'WorkflowOutputParameter' } } } }, response: { required: false, read_only: true, serialized_name: 'properties.response', type: { name: 'Composite', class_name: 'WorkflowRunTrigger' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |