Class: Azure::DataFactory::Mgmt::V2018_06_01::Models::AzureMLExecutePipelineActivity

Inherits:
ExecutionActivity show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb

Overview

Azure ML Execute Pipeline activity.

Instance Attribute Summary collapse

Attributes inherited from ExecutionActivity

#linked_service_name, #policy

Attributes inherited from Activity

#additional_properties, #depends_on, #description, #name, #user_properties

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureMLExecutePipelineActivity

Returns a new instance of AzureMLExecutePipelineActivity.



16
17
18
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 16

def initialize
  @type = "AzureMLExecutePipeline"
end

Instance Attribute Details

#continue_on_step_failureObject

if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean).

Returns:

  • Whether to continue execution of other steps in the PipelineRun



49
50
51
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 49

def continue_on_step_failure
  @continue_on_step_failure
end

#experiment_nameObject

information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string).

Returns:

  • Run history experiment name of the pipeline run. This



30
31
32
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 30

def experiment_name
  @experiment_name
end

#ml_parent_run_idObject

will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string).

Returns:

  • The parent Azure ML Service pipeline run id. This information



43
44
45
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 43

def ml_parent_run_id
  @ml_parent_run_id
end

#ml_pipeline_idObject

Expression with resultType string).

Returns:

  • ID of the published Azure ML pipeline. Type: string (or



24
25
26
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 24

def ml_pipeline_id
  @ml_pipeline_id
end

#ml_pipeline_parametersObject

endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object).

Returns:

  • Key,Value pairs to be passed to the published Azure ML pipeline



38
39
40
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 38

def ml_pipeline_parameters
  @ml_pipeline_parameters
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb', line 56

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureMLExecutePipeline',
    type: {
      name: 'Composite',
      class_name: 'AzureMLExecutePipelineActivity',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        depends_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dependsOn',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ActivityDependencyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ActivityDependency'
                }
            }
          }
        },
        user_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userProperties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'UserPropertyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'UserProperty'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        linked_service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkedServiceName',
          type: {
            name: 'Composite',
            class_name: 'LinkedServiceReference'
          }
        },
        policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policy',
          type: {
            name: 'Composite',
            class_name: 'ActivityPolicy'
          }
        },
        ml_pipeline_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.mlPipelineId',
          type: {
            name: 'Object'
          }
        },
        experiment_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.experimentName',
          type: {
            name: 'Object'
          }
        },
        ml_pipeline_parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.mlPipelineParameters',
          type: {
            name: 'Object'
          }
        },
        ml_parent_run_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.mlParentRunId',
          type: {
            name: 'Object'
          }
        },
        continue_on_step_failure: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.continueOnStepFailure',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end