Class: Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job
- Inherits:
-
BaseModel
- Object
- BaseModel
- Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb
Overview
The job.
Instance Attribute Summary collapse
-
#backup_point_in_time ⇒ DateTime
The time of the backup used for the failover.
-
#backup_type ⇒ BackupType
Applicable only for backup jobs.
-
#data_stats ⇒ DataStatistics
The data statistics properties of the job.
-
#device_id ⇒ String
The device ID in which the job ran.
-
#end_time ⇒ DateTime
The UTC time at which the job completed.
-
#entity_label ⇒ String
The entity identifier for which the job ran.
-
#entity_type ⇒ String
The entity type for which the job ran.
-
#error ⇒ JobErrorDetails
The error details, if any, for the job.
-
#is_cancellable ⇒ Boolean
Represents whether the job is cancellable or not.
-
#job_stages ⇒ Array<JobStage>
The job stages.
-
#job_type ⇒ JobType
‘ScheduledBackup’, ‘ManualBackup’, ‘RestoreBackup’, ‘CloneVolume’, ‘FailoverVolumeContainers’, ‘CreateLocallyPinnedVolume’, ‘ModifyVolume’, ‘InstallUpdates’, ‘SupportPackageLogs’, ‘CreateCloudAppliance’.
-
#percent_complete ⇒ Integer
The percentage of the job that is already complete.
-
#source_device_id ⇒ String
The source device ID of the failover job.
-
#start_time ⇒ DateTime
The UTC time at which the job was started.
-
#status ⇒ JobStatus
include: ‘Running’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
Attributes inherited from BaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Job class as Ruby Hash.
Instance Attribute Details
#backup_point_in_time ⇒ DateTime
Returns The time of the backup used for the failover.
65 66 67 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 65 def backup_point_in_time @backup_point_in_time end |
#backup_type ⇒ BackupType
Applicable only for backup jobs. Possible values include: ‘LocalSnapshot’, ‘CloudSnapshot’
59 60 61 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 59 def backup_type @backup_type end |
#data_stats ⇒ DataStatistics
Returns The data statistics properties of the job.
39 40 41 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 39 def data_stats @data_stats end |
#device_id ⇒ String
Returns The device ID in which the job ran.
51 52 53 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 51 def device_id @device_id end |
#end_time ⇒ DateTime
Returns The UTC time at which the job completed.
23 24 25 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 23 def end_time @end_time end |
#entity_label ⇒ String
Returns The entity identifier for which the job ran.
42 43 44 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 42 def entity_label @entity_label end |
#entity_type ⇒ String
Returns The entity type for which the job ran.
45 46 47 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 45 def entity_type @entity_type end |
#error ⇒ JobErrorDetails
Returns The error details, if any, for the job.
29 30 31 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 29 def error @error end |
#is_cancellable ⇒ Boolean
Returns Represents whether the job is cancellable or not.
54 55 56 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 54 def is_cancellable @is_cancellable end |
#job_stages ⇒ Array<JobStage>
Returns The job stages.
48 49 50 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 48 def job_stages @job_stages end |
#job_type ⇒ JobType
‘ScheduledBackup’, ‘ManualBackup’, ‘RestoreBackup’, ‘CloneVolume’, ‘FailoverVolumeContainers’, ‘CreateLocallyPinnedVolume’, ‘ModifyVolume’, ‘InstallUpdates’, ‘SupportPackageLogs’, ‘CreateCloudAppliance’
36 37 38 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 36 def job_type @job_type end |
#percent_complete ⇒ Integer
Returns The percentage of the job that is already complete.
26 27 28 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 26 def percent_complete @percent_complete end |
#source_device_id ⇒ String
Returns The source device ID of the failover job.
62 63 64 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 62 def source_device_id @source_device_id end |
#start_time ⇒ DateTime
Returns The UTC time at which the job was started.
20 21 22 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 20 def start_time @start_time end |
#status ⇒ JobStatus
include: ‘Running’, ‘Succeeded’, ‘Failed’, ‘Canceled’
17 18 19 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 17 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for Job class as Ruby Hash. This will be used for serialization/deserialization.
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 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/job.rb', line 72 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, 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' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, status: { client_side_validation: true, required: true, serialized_name: 'status', type: { name: 'Enum', module: 'JobStatus' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, percent_complete: { client_side_validation: true, required: true, serialized_name: 'percentComplete', type: { name: 'Number' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'JobErrorDetails' } }, job_type: { client_side_validation: true, required: true, serialized_name: 'properties.jobType', type: { name: 'Enum', module: 'JobType' } }, data_stats: { client_side_validation: true, required: false, serialized_name: 'properties.dataStats', type: { name: 'Composite', class_name: 'DataStatistics' } }, entity_label: { client_side_validation: true, required: false, serialized_name: 'properties.entityLabel', type: { name: 'String' } }, entity_type: { client_side_validation: true, required: false, serialized_name: 'properties.entityType', type: { name: 'String' } }, job_stages: { client_side_validation: true, required: false, serialized_name: 'properties.jobStages', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'JobStageElementType', type: { name: 'Composite', class_name: 'JobStage' } } } }, device_id: { client_side_validation: true, required: false, serialized_name: 'properties.deviceId', type: { name: 'String' } }, is_cancellable: { client_side_validation: true, required: false, serialized_name: 'properties.isCancellable', type: { name: 'Boolean' } }, backup_type: { client_side_validation: true, required: false, serialized_name: 'properties.backupType', type: { name: 'Enum', module: 'BackupType' } }, source_device_id: { client_side_validation: true, required: false, serialized_name: 'properties.sourceDeviceId', type: { name: 'String' } }, backup_point_in_time: { client_side_validation: true, required: false, serialized_name: 'properties.backupPointInTime', type: { name: 'DateTime' } } } } } end |