Data class

Definition

Represents data available during a run execution.

This class is used in the RunConfiguration class.

Data(data_location=None, create_output_directories=None, mechanism='direct', environment_variable_name=None, path_on_compute=None, overwrite=None)
Inheritance
builtins.object
azureml._base_sdk_common.abstract_run_config_element._AbstractRunConfigElement
Data

Parameters

data_location
DataLocation

The location of the data.

create_output_directories
bool

Indcates whether to create new folder.

mechanism
str

Direct, mount, download, or upload.

environment_variable_name
str

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

path_on_compute
str

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

overwrite
bool

Whether to overwrite existing data.

Methods

create(data)

Create a DataConfiguration from a DatasetConsumptionConfig.

create(data)

Create a DataConfiguration from a DatasetConsumptionConfig.

create(data)

Parameters

data
DatasetConsumptionConfig

the DatasetConsumptionConfig to create the DataConfiguration from.

Returns

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

Return type

DataConfiguration