Class: Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildTask
- Inherits:
-
Resource
- Object
- Resource
- Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildTask
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb
Overview
The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it.
Instance Attribute Summary collapse
-
#alias_property ⇒ String
The alternative updatable name for a build task.
-
#creation_date ⇒ DateTime
The creation date of build task.
-
#platform ⇒ PlatformProperties
build has to happen.
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
-
#source_repository ⇒ SourceRepositoryProperties
source(code) for the build task.
-
#status ⇒ BuildTaskStatus
values include: ‘Disabled’, ‘Enabled’.
-
#timeout ⇒ Integer
Build timeout in seconds.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BuildTask class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#alias_property ⇒ String
Returns The alternative updatable name for a build task.
25 26 27 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 25 def alias_property @alias_property end |
#creation_date ⇒ DateTime
Returns The creation date of build task.
22 23 24 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 22 def creation_date @creation_date end |
#platform ⇒ PlatformProperties
build has to happen.
37 38 39 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 37 def platform @platform end |
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’
19 20 21 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 19 def provisioning_state @provisioning_state end |
#source_repository ⇒ SourceRepositoryProperties
source(code) for the build task.
33 34 35 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 33 def source_repository @source_repository end |
#status ⇒ BuildTaskStatus
values include: ‘Disabled’, ‘Enabled’
29 30 31 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 29 def status @status end |
#timeout ⇒ Integer
Returns Build timeout in seconds. Default value: 3600 .
40 41 42 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 40 def timeout @timeout end |
Class Method Details
.mapper ⇒ Object
Mapper for BuildTask class as Ruby Hash. This will be used for serialization/deserialization.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 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 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BuildTask', type: { name: 'Composite', class_name: 'BuildTask', 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' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, creation_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', type: { name: 'DateTime' } }, alias_property: { client_side_validation: true, required: true, serialized_name: 'properties.alias', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, source_repository: { client_side_validation: true, required: true, serialized_name: 'properties.sourceRepository', type: { name: 'Composite', class_name: 'SourceRepositoryProperties' } }, platform: { client_side_validation: true, required: true, serialized_name: 'properties.platform', type: { name: 'Composite', class_name: 'PlatformProperties' } }, timeout: { client_side_validation: true, required: false, serialized_name: 'properties.timeout', default_value: 3600, constraints: { InclusiveMaximum: 28800, InclusiveMinimum: 300 }, type: { name: 'Number' } } } } } end |