Class: Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::DockerBuildStepUpdateParameters

Inherits:
TaskStepUpdateParameters
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb

Overview

The properties for updating a docker build step.

Instance Attribute Summary collapse

Attributes inherited from TaskStepUpdateParameters

#context_access_token, #context_path

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDockerBuildStepUpdateParameters

Returns a new instance of DockerBuildStepUpdateParameters.



16
17
18
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 16

def initialize
  @type = "Docker"
end

Instance Attribute Details

#argumentsArray<Argument>

used when executing this build step.

Returns:

  • (Array<Argument>)

    The collection of override arguments to be



39
40
41
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 39

def arguments
  @arguments
end

#docker_file_pathString

Returns The Docker file path relative to the source context.

Returns:

  • (String)

    The Docker file path relative to the source context.



35
36
37
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 35

def docker_file_path
  @docker_file_path
end

#image_namesArray<String>

repository and tag.

Returns:

  • (Array<String>)

    The fully qualified image names including the



24
25
26
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 24

def image_names
  @image_names
end

#is_push_enabledBoolean

image built should be pushed to the registry or not.

Returns:

  • (Boolean)

    The value of this property indicates whether the



28
29
30
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 28

def is_push_enabled
  @is_push_enabled
end

#no_cacheBoolean

image cache is enabled or not.

Returns:

  • (Boolean)

    The value of this property indicates whether the



32
33
34
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 32

def no_cache
  @no_cache
end

#targetString

build.

Returns:

  • (String)

    The name of the target build stage for the docker



43
44
45
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 43

def target
  @target
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

Mapper for DockerBuildStepUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Docker',
    type: {
      name: 'Composite',
      class_name: 'DockerBuildStepUpdateParameters',
      model_properties: {
        context_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contextPath',
          type: {
            name: 'String'
          }
        },
        context_access_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contextAccessToken',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        image_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'imageNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        is_push_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isPushEnabled',
          type: {
            name: 'Boolean'
          }
        },
        no_cache: {
          client_side_validation: true,
          required: false,
          serialized_name: 'noCache',
          type: {
            name: 'Boolean'
          }
        },
        docker_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dockerFilePath',
          type: {
            name: 'String'
          }
        },
        arguments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'arguments',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArgumentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Argument'
                }
            }
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end