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

data_location
DataLocation
default value: None

The location of the data.

create_output_directories
bool
default value: None

Indcates whether to create new folder.

mechanism
str
default value: direct

Direct, mount, download, or upload.

environment_variable_name
str
default value: None

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

path_on_compute
str
default value: None

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

overwrite
bool
default value: False

Whether to overwrite existing data.

options
default value: None

Methods

create

Create a DataConfiguration from a DatasetConsumptionConfig.

create

Create a DataConfiguration from a DatasetConsumptionConfig.

static create(data)

Parameters

data
DatasetConsumptionConfig
Required

the DatasetConsumptionConfig to create the DataConfiguration from.

Returns

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

Return type

<xref:DataConfiguration>