DataTransferCopyComponent Class
Note
This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
DataTransfer copy component version, used to define a data transfer copy component.
- Inheritance
-
azure.ai.ml.entities._component.datatransfer_component.DataTransferComponentDataTransferCopyComponent
Constructor
DataTransferCopyComponent(*, data_copy_mode: str | None = None, inputs: Dict | None = None, outputs: Dict | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
data_copy_mode
Required
|
Data copy mode in the copy task. Possible values are "merge_with_overwrite" and "fail_if_conflict". |
inputs
Required
|
Mapping of input data bindings used in the job. |
outputs
Required
|
Mapping of output data bindings used in the job. |
kwargs
Required
|
Additional parameters for the data transfer copy component. |
Methods
dump |
Dump the component content into a file in yaml format. |
dump
Dump the component content into a file in yaml format.
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
dest
Required
|
The destination to receive this component's content. Must be either a path to a local file, or an already-open file stream. If dest is a file path, a new file will be created, and an exception is raised if the file exists. If dest is an open file, the file will be written to directly, and an exception will be raised if the file is not writable. |
Attributes
base_path
creation_context
The creation context of the resource.
Returns
Type | Description |
---|---|
The creation metadata for the resource. |
data_copy_mode
display_name
id
The resource ID.
Returns
Type | Description |
---|---|
The global ID of the resource, an Azure Resource Manager (ARM) ID. |
inputs
is_deterministic
Whether the component is deterministic.
Returns
Type | Description |
---|---|
Whether the component is deterministic |
outputs
task
type
version
Azure SDK for Python