Class: Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::TaskStepProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb

Overview

Base properties for any task step.

Direct Known Subclasses

DockerBuildStep, EncodedTaskStep, FileTaskStep

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTaskStepProperties

Returns a new instance of TaskStepProperties.



20
21
22
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 20

def initialize
  @type = "TaskStepProperties"
end

Instance Attribute Details

#base_image_dependenciesArray<BaseImageDependency>

for a step.

Returns:



28
29
30
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 28

def base_image_dependencies
  @base_image_dependencies
end

#context_access_tokenString

blob) associated with the context for a step.

Returns:

  • (String)

    The token (git PAT or SAS token of storage account



36
37
38
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 36

def context_access_token
  @context_access_token
end

#context_pathString

for the task step.

Returns:

  • (String)

    The URL(absolute or relative) of the source context



32
33
34
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 32

def context_path
  @context_path
end

#typeObject

Returns the value of attribute type.



24
25
26
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2019-04-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TaskStepProperties',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'TaskStepProperties',
      class_name: 'TaskStepProperties',
      model_properties: {
        base_image_dependencies: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'baseImageDependencies',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'BaseImageDependencyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'BaseImageDependency'
                }
            }
          }
        },
        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'
          }
        }
      }
    }
  }
end