Class: Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb
Overview
An execution of a job
Instance Attribute Summary collapse
-
#create_time ⇒ DateTime
The time that the job execution was created.
-
#current_attempt_start_time ⇒ DateTime
Start time of the current attempt.
-
#current_attempts ⇒ Integer
Number of times the job execution has been attempted.
-
#end_time ⇒ DateTime
The time that the job execution completed.
-
#job_execution_id ⇒ Object
The unique identifier of the job execution.
-
#job_version ⇒ Integer
The job version number.
-
#last_message ⇒ String
The last status or error message.
-
#lifecycle ⇒ JobExecutionLifecycle
execution.
-
#provisioning_state ⇒ ProvisioningState
execution.
-
#start_time ⇒ DateTime
The time that the job execution started.
-
#step_id ⇒ Integer
The job step id.
-
#step_name ⇒ String
The job step name.
-
#target ⇒ JobExecutionTarget
on.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobExecution class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#create_time ⇒ DateTime
Returns The time that the job execution was created.
39 40 41 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 39 def create_time @create_time end |
#current_attempt_start_time ⇒ DateTime
Returns Start time of the current attempt.
51 52 53 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 51 def current_attempt_start_time @current_attempt_start_time end |
#current_attempts ⇒ Integer
Returns Number of times the job execution has been attempted.
48 49 50 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 48 def current_attempts @current_attempts end |
#end_time ⇒ DateTime
Returns The time that the job execution completed.
45 46 47 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 45 def end_time @end_time end |
#job_execution_id ⇒ Object
Returns The unique identifier of the job execution.
25 26 27 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 25 def job_execution_id @job_execution_id end |
#job_version ⇒ Integer
Returns The job version number.
16 17 18 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 16 def job_version @job_version end |
#last_message ⇒ String
Returns The last status or error message.
54 55 56 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 54 def @last_message end |
#lifecycle ⇒ JobExecutionLifecycle
execution. Possible values include: ‘Created’, ‘InProgress’, ‘WaitingForChildJobExecutions’, ‘WaitingForRetry’, ‘Succeeded’, ‘SucceededWithSkipped’, ‘Failed’, ‘TimedOut’, ‘Canceled’, ‘Skipped’
31 32 33 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 31 def lifecycle @lifecycle end |
#provisioning_state ⇒ ProvisioningState
execution. Possible values include: ‘Created’, ‘InProgress’, ‘Succeeded’, ‘Failed’, ‘Canceled’
36 37 38 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 36 def provisioning_state @provisioning_state end |
#start_time ⇒ DateTime
Returns The time that the job execution started.
42 43 44 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 42 def start_time @start_time end |
#step_id ⇒ Integer
Returns The job step id.
22 23 24 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 22 def step_id @step_id end |
#step_name ⇒ String
Returns The job step name.
19 20 21 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 19 def step_name @step_name end |
#target ⇒ JobExecutionTarget
on.
58 59 60 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 58 def target @target end |
Class Method Details
.mapper ⇒ Object
Mapper for JobExecution class as Ruby Hash. This will be used for serialization/deserialization.
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 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb', line 65 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobExecution', type: { name: 'Composite', class_name: 'JobExecution', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, job_version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.jobVersion', type: { name: 'Number' } }, step_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.stepName', type: { name: 'String' } }, step_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.stepId', type: { name: 'Number' } }, job_execution_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.jobExecutionId', type: { name: 'String' } }, lifecycle: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lifecycle', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, create_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createTime', type: { name: 'DateTime' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, current_attempts: { client_side_validation: true, required: false, serialized_name: 'properties.currentAttempts', type: { name: 'Number' } }, current_attempt_start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentAttemptStartTime', type: { name: 'DateTime' } }, last_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastMessage', type: { name: 'String' } }, target: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.target', type: { name: 'Composite', class_name: 'JobExecutionTarget' } } } } } end |