Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::FileTaskStepUpdateParameters

Inherits:
TaskStepUpdateParameters show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb

Overview

The properties of updating a task step.

Instance Attribute Summary collapse

Attributes inherited from TaskStepUpdateParameters

#context_access_token, #context_path

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileTaskStepUpdateParameters

Returns a new instance of FileTaskStepUpdateParameters.



16
17
18
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 16

def initialize
  @type = "FileTask"
end

Instance Attribute Details

#task_file_pathString

source context.

Returns:

  • (String)

    The task template/definition file path relative to the



24
25
26
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 24

def task_file_path
  @task_file_path
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 20

def type
  @type
end

#valuesArray<SetValue>

be passed when running a task.

Returns:

  • (Array<SetValue>)

    The collection of overridable values that can



32
33
34
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 32

def values
  @values
end

#values_file_pathString

context.

Returns:

  • (String)

    The values/parameters file path relative to the source



28
29
30
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 28

def values_file_path
  @values_file_path
end

Class Method Details

.mapperObject

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



39
40
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
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileTask',
    type: {
      name: 'Composite',
      class_name: 'FileTaskStepUpdateParameters',
      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'
          }
        },
        task_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'taskFilePath',
          type: {
            name: 'String'
          }
        },
        values_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'valuesFilePath',
          type: {
            name: 'String'
          }
        },
        values: {
          client_side_validation: true,
          required: false,
          serialized_name: 'values',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SetValueElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SetValue'
                }
            }
          }
        }
      }
    }
  }
end