Class: Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildTaskUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildTaskUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb
Overview
The parameters for updating a build task.
Instance Attribute Summary collapse
-
#alias_property ⇒ String
The alternative updatable name for a build task.
-
#platform ⇒ PlatformProperties
build has to happen.
-
#source_repository ⇒ SourceRepositoryUpdateParameters
describes the source(code) for the build task.
-
#status ⇒ BuildTaskStatus
values include: ‘Disabled’, ‘Enabled’.
-
#tags ⇒ Hash{String => String}
The ARM resource tags.
-
#timeout ⇒ Integer
Build timeout in seconds.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BuildTaskUpdateParameters class as Ruby Hash.
Instance Attribute Details
#alias_property ⇒ String
Returns The alternative updatable name for a build task.
16 17 18 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 16 def alias_property @alias_property end |
#platform ⇒ PlatformProperties
build has to happen.
24 25 26 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 24 def platform @platform end |
#source_repository ⇒ SourceRepositoryUpdateParameters
describes the source(code) for the build task.
31 32 33 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 31 def source_repository @source_repository end |
#status ⇒ BuildTaskStatus
values include: ‘Disabled’, ‘Enabled’
20 21 22 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 20 def status @status end |
#tags ⇒ Hash{String => String}
Returns The ARM resource tags.
34 35 36 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 34 def end |
#timeout ⇒ Integer
Returns Build timeout in seconds.
27 28 29 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 27 def timeout @timeout end |
Class Method Details
.mapper ⇒ Object
Mapper for BuildTaskUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 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 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BuildTaskUpdateParameters', type: { name: 'Composite', class_name: 'BuildTaskUpdateParameters', model_properties: { alias_property: { client_side_validation: true, required: false, serialized_name: 'properties.alias', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, platform: { client_side_validation: true, required: false, serialized_name: 'properties.platform', type: { name: 'Composite', class_name: 'PlatformProperties' } }, timeout: { client_side_validation: true, required: false, serialized_name: 'properties.timeout', constraints: { InclusiveMaximum: 28800, InclusiveMinimum: 300 }, type: { name: 'Number' } }, source_repository: { client_side_validation: true, required: false, serialized_name: 'properties.sourceRepository', type: { name: 'Composite', class_name: 'SourceRepositoryUpdateParameters' } }, 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' } } } } } } } end |