Class: Azure::ARM::Logic::Models::WorkflowRun

Inherits:
MsRestAzure::SubResource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_logic/models/workflow_run.rb

Overview

The workflow run.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns Gets the code.

Returns:

  • (String)

    Gets the code.



29
30
31
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 29

def code
  @code
end

#correlationCorrelation

Returns The run correlation.

Returns:



38
39
40
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 38

def correlation
  @correlation
end

#correlation_idString

Returns Gets the correlation id.

Returns:

  • (String)

    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_timeDateTime

Returns Gets the end time.

Returns:

  • (DateTime)

    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

#errorObject

Returns Gets the error.

Returns:

  • Gets the error.



32
33
34
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 32

def error
  @error
end

#nameString

Returns Gets the workflow run name.

Returns:

  • (String)

    Gets the workflow run name.



53
54
55
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 53

def name
  @name
end

#outputsHash{String => WorkflowOutputParameter}

Returns Gets the outputs.

Returns:



47
48
49
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 47

def outputs
  @outputs
end

#responseWorkflowRunTrigger

Returns Gets the response of the flow run.

Returns:



50
51
52
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 50

def response
  @response
end

#start_timeDateTime

Returns Gets the start time.

Returns:

  • (DateTime)

    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

#statusWorkflowStatus

‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’

Returns:



26
27
28
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 26

def status
  @status
end

#triggerWorkflowRunTrigger

Returns Gets the fired trigger.

Returns:



44
45
46
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 44

def trigger
  @trigger
end

#typeString

Returns Gets the workflow run type.

Returns:

  • (String)

    Gets the workflow run type.



56
57
58
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 56

def type
  @type
end

#workflowResourceReference

Returns Gets the reference to workflow version.

Returns:



41
42
43
# File 'lib/generated/azure_mgmt_logic/models/workflow_run.rb', line 41

def workflow
  @workflow
end

Class Method Details

.mapperObject

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