Data Class

Represents how to consume data in a run configuration.

This class is used in the RunConfiguration class.

Class DataSetPathRunConfiguration constructor.

Inheritance
azureml._base_sdk_common.abstract_run_config_element._AbstractRunConfigElement
Data

Constructor

Data(data_location=None, create_output_directories=None, mechanism='direct', environment_variable_name=None, path_on_compute=None, overwrite=False, options=None)

Parameters

Name Description
data_location

The location of the data.

default value: None
create_output_directories

Indcates whether to create new folder.

default value: None
mechanism
str

Direct, mount, download, or upload.

default value: direct
environment_variable_name
str

The environment variable name which points to the delivered data on the compute target.

default value: None
path_on_compute
str

The target path on the compute to make the data available at.

default value: None
overwrite

Whether to overwrite existing data.

default value: False
options
default value: None

Methods

create

Create a DataConfiguration from a DatasetConsumptionConfig.

create

Create a DataConfiguration from a DatasetConsumptionConfig.

static create(data)

Parameters

Name Description
data
Required

the DatasetConsumptionConfig to create the DataConfiguration from.

Returns

Type Description
<xref:DataConfiguration>

the DataConfiguration representing how to deliver the data to the compute target.