Class: Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::Run
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::Run
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb
Overview
Run resource properties
Instance Attribute Summary collapse
-
#agent_configuration ⇒ AgentProperties
The machine configuration of the run agent.
-
#create_time ⇒ DateTime
The time the run was scheduled.
-
#custom_registries ⇒ Array<String>
in during this run.
-
#finish_time ⇒ DateTime
The time the run finished.
-
#image_update_trigger ⇒ ImageUpdateTrigger
run.
-
#is_archive_enabled ⇒ Boolean
or not.
-
#last_updated_time ⇒ DateTime
The last updated time for the run.
-
#output_images ⇒ Array<ImageDescriptor>
generated from the run.
-
#platform ⇒ PlatformProperties
run will happen.
-
#provisioning_state ⇒ ProvisioningState
values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
-
#run_error_message ⇒ String
the run is scheduled.
-
#run_id ⇒ String
The unique identifier for the run.
-
#run_type ⇒ RunType
‘QuickBuild’, ‘QuickRun’, ‘AutoBuild’, ‘AutoRun’.
-
#source_registry_auth ⇒ String
to the source registry during this run.
-
#source_trigger ⇒ SourceTriggerDescriptor
run.
-
#start_time ⇒ DateTime
The time the run started.
-
#status ⇒ RunStatus
include: ‘Queued’, ‘Started’, ‘Running’, ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘Error’, ‘Timeout’.
-
#task ⇒ String
The task against which run was scheduled.
-
#timer_trigger ⇒ TimerTriggerDescriptor
The timer trigger that caused the run.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Run class as Ruby Hash.
Instance Attribute Details
#agent_configuration ⇒ AgentProperties
Returns The machine configuration of the run agent.
60 61 62 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 60 def agent_configuration @agent_configuration end |
#create_time ⇒ DateTime
Returns The time the run was scheduled.
31 32 33 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 31 def create_time @create_time end |
#custom_registries ⇒ Array<String>
in during this run.
68 69 70 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 68 def custom_registries @custom_registries end |
#finish_time ⇒ DateTime
Returns The time the run finished.
37 38 39 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 37 def finish_time @finish_time end |
#image_update_trigger ⇒ ImageUpdateTrigger
run. This is applicable if the task has base image trigger configured.
49 50 51 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 49 def image_update_trigger @image_update_trigger end |
#is_archive_enabled ⇒ Boolean
or not. Default value: false .
81 82 83 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 81 def is_archive_enabled @is_archive_enabled end |
#last_updated_time ⇒ DateTime
Returns The last updated time for the run.
24 25 26 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 24 def last_updated_time @last_updated_time end |
#output_images ⇒ Array<ImageDescriptor>
generated from the run. This is applicable if the run generates base image dependencies.
42 43 44 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 42 def output_images @output_images end |
#platform ⇒ PlatformProperties
run will happen.
57 58 59 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 57 def platform @platform end |
#provisioning_state ⇒ ProvisioningState
values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’
77 78 79 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 77 def provisioning_state @provisioning_state end |
#run_error_message ⇒ String
the run is scheduled.
72 73 74 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 72 def @run_error_message end |
#run_id ⇒ String
Returns The unique identifier for the run.
16 17 18 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 16 def run_id @run_id end |
#run_type ⇒ RunType
‘QuickBuild’, ‘QuickRun’, ‘AutoBuild’, ‘AutoRun’
28 29 30 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 28 def run_type @run_type end |
#source_registry_auth ⇒ String
to the source registry during this run.
64 65 66 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 64 def source_registry_auth @source_registry_auth end |
#source_trigger ⇒ SourceTriggerDescriptor
run.
53 54 55 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 53 def source_trigger @source_trigger end |
#start_time ⇒ DateTime
Returns The time the run started.
34 35 36 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 34 def start_time @start_time end |
#status ⇒ RunStatus
include: ‘Queued’, ‘Started’, ‘Running’, ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘Error’, ‘Timeout’
21 22 23 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 21 def status @status end |
#task ⇒ String
Returns The task against which run was scheduled.
45 46 47 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 45 def task @task end |
#timer_trigger ⇒ TimerTriggerDescriptor
Returns The timer trigger that caused the run.
84 85 86 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 84 def timer_trigger @timer_trigger end |
Class Method Details
.mapper ⇒ Object
Mapper for Run class as Ruby Hash. This will be used for serialization/deserialization.
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 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 |
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb', line 91 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Run', type: { name: 'Composite', class_name: 'Run', 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' } }, run_id: { client_side_validation: true, required: false, serialized_name: 'properties.runId', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, last_updated_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastUpdatedTime', type: { name: 'DateTime' } }, run_type: { client_side_validation: true, required: false, serialized_name: 'properties.runType', type: { name: 'String' } }, create_time: { client_side_validation: true, required: false, serialized_name: 'properties.createTime', type: { name: 'DateTime' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, finish_time: { client_side_validation: true, required: false, serialized_name: 'properties.finishTime', type: { name: 'DateTime' } }, output_images: { client_side_validation: true, required: false, serialized_name: 'properties.outputImages', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ImageDescriptorElementType', type: { name: 'Composite', class_name: 'ImageDescriptor' } } } }, task: { client_side_validation: true, required: false, serialized_name: 'properties.task', type: { name: 'String' } }, image_update_trigger: { client_side_validation: true, required: false, serialized_name: 'properties.imageUpdateTrigger', type: { name: 'Composite', class_name: 'ImageUpdateTrigger' } }, source_trigger: { client_side_validation: true, required: false, serialized_name: 'properties.sourceTrigger', type: { name: 'Composite', class_name: 'SourceTriggerDescriptor' } }, platform: { client_side_validation: true, required: false, serialized_name: 'properties.platform', type: { name: 'Composite', class_name: 'PlatformProperties' } }, agent_configuration: { client_side_validation: true, required: false, serialized_name: 'properties.agentConfiguration', type: { name: 'Composite', class_name: 'AgentProperties' } }, source_registry_auth: { client_side_validation: true, required: false, serialized_name: 'properties.sourceRegistryAuth', type: { name: 'String' } }, custom_registries: { client_side_validation: true, required: false, serialized_name: 'properties.customRegistries', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, run_error_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.runErrorMessage', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, is_archive_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isArchiveEnabled', default_value: false, type: { name: 'Boolean' } }, timer_trigger: { client_side_validation: true, required: false, serialized_name: 'properties.timerTrigger', type: { name: 'Composite', class_name: 'TimerTriggerDescriptor' } } } } } end |