Class: Azure::Automation::Mgmt::V2015_10_31::Models::Job
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::Job
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb
Overview
Definition of the job.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
Gets or sets the creation time of the job.
-
#end_time ⇒ DateTime
Gets or sets the end time of the job.
-
#exception ⇒ String
Gets or sets the exception of the job.
-
#id ⇒ String
Id of the resource.
-
#job_id ⇒ Object
Gets or sets the id of the job.
-
#job_schedule_id ⇒ String
Gets or sets the id of job schedule.
-
#last_modified_time ⇒ DateTime
Gets or sets the last modified time of the job.
-
#last_status_modified_time ⇒ DateTime
job.
-
#parameters ⇒ Hash{String => String}
job.
-
#provisioning_state ⇒ JobProvisioningState
Possible values include: ‘Failed’, ‘Succeeded’, ‘Suspended’, ‘Processing’.
-
#run_on ⇒ String
where the job is to be executed.
-
#runbook ⇒ RunbookAssociationProperty
Gets or sets the runbook.
-
#schedule ⇒ ScheduleAssociationProperty
Gets or sets the runbook.
-
#start_time ⇒ DateTime
Gets or sets the start time of the job.
-
#started_by ⇒ String
Gets or sets the job started by.
-
#status ⇒ JobStatus
include: ‘New’, ‘Activating’, ‘Running’, ‘Completed’, ‘Failed’, ‘Stopped’, ‘Blocked’, ‘Suspended’, ‘Disconnected’, ‘Suspending’, ‘Stopping’, ‘Resuming’, ‘Removing’.
-
#status_details ⇒ String
Gets or sets the status details of the job.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Job class as Ruby Hash.
Instance Attribute Details
#creation_time ⇒ DateTime
Returns Gets or sets the creation time of the job.
32 33 34 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 32 def creation_time @creation_time end |
#end_time ⇒ DateTime
Returns Gets or sets the end time of the job.
47 48 49 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 47 def end_time @end_time end |
#exception ⇒ String
Returns Gets or sets the exception of the job.
50 51 52 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 50 def exception @exception end |
#id ⇒ String
Returns Id of the resource.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 16 def id @id end |
#job_id ⇒ Object
Returns Gets or sets the id of the job.
29 30 31 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 29 def job_id @job_id end |
#job_schedule_id ⇒ String
Returns Gets or sets the id of job schedule.
69 70 71 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 69 def job_schedule_id @job_schedule_id end |
#last_modified_time ⇒ DateTime
Returns Gets or sets the last modified time of the job.
53 54 55 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 53 def last_modified_time @last_modified_time end |
#last_status_modified_time ⇒ DateTime
job.
57 58 59 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 57 def last_status_modified_time @last_status_modified_time end |
#parameters ⇒ Hash{String => String}
job.
61 62 63 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 61 def parameters @parameters end |
#provisioning_state ⇒ JobProvisioningState
Possible values include: ‘Failed’, ‘Succeeded’, ‘Suspended’, ‘Processing’
66 67 68 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 66 def provisioning_state @provisioning_state end |
#run_on ⇒ String
where the job is to be executed.
26 27 28 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 26 def run_on @run_on end |
#runbook ⇒ RunbookAssociationProperty
Returns Gets or sets the runbook.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 19 def runbook @runbook end |
#schedule ⇒ ScheduleAssociationProperty
Returns Gets or sets the runbook.
72 73 74 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 72 def schedule @schedule end |
#start_time ⇒ DateTime
Returns Gets or sets the start time of the job.
44 45 46 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 44 def start_time @start_time end |
#started_by ⇒ String
Returns Gets or sets the job started by.
22 23 24 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 22 def started_by @started_by end |
#status ⇒ JobStatus
include: ‘New’, ‘Activating’, ‘Running’, ‘Completed’, ‘Failed’, ‘Stopped’, ‘Blocked’, ‘Suspended’, ‘Disconnected’, ‘Suspending’, ‘Stopping’, ‘Resuming’, ‘Removing’
38 39 40 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 38 def status @status end |
#status_details ⇒ String
Returns Gets or sets the status details of the job.
41 42 43 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 41 def status_details @status_details end |
Class Method Details
.mapper ⇒ Object
Mapper for Job class as Ruby Hash. This will be used for serialization/deserialization.
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 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb', line 79 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Job', type: { name: 'Composite', class_name: 'Job', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, runbook: { client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { name: 'Composite', class_name: 'RunbookAssociationProperty' } }, started_by: { client_side_validation: true, required: false, serialized_name: 'properties.startedBy', type: { name: 'String' } }, run_on: { client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { name: 'String' } }, job_id: { client_side_validation: true, required: false, serialized_name: 'properties.jobId', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, serialized_name: 'properties.statusDetails', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, exception: { client_side_validation: true, required: false, serialized_name: 'properties.exception', type: { name: 'String' } }, last_modified_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, last_status_modified_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastStatusModifiedTime', type: { name: 'DateTime' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, job_schedule_id: { client_side_validation: true, required: false, serialized_name: 'properties.jobScheduleId', type: { name: 'String' } }, schedule: { client_side_validation: true, required: false, serialized_name: 'properties.schedule', type: { name: 'Composite', class_name: 'ScheduleAssociationProperty' } } } } } end |