
Azure CreateDataAsset
CertifiedRegister a data asset version in Azure Machine Learning
Azure CreateDataAsset
Register a data asset version in Azure Machine Learning
Creates a new version of a data asset (URI_FILE, URI_FOLDER or MLTABLE) pointing to an existing datastore path. Data asset versions are immutable: set dataVersion explicitly to control it, or leave it empty to auto-increment from the asset's latest version.
type: io.kestra.plugin.azure.ml.CreateDataAssetExamples
id: azure_ml_create_data_asset
namespace: company.team
tasks:
- id: register_dataset
type: io.kestra.plugin.azure.ml.CreateDataAsset
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
subscriptionId: "{{ secret('AZURE_SUBSCRIPTION_ID') }}"
resourceGroupName: ml-rg
workspaceName: ml-workspace
dataName: training-dataset
dataAssetType: URI_FOLDER
uri: "azureml://datastores/workspaceblobstore/paths/data/training"
Properties
dataAssetType *string
URI_FILEURI_FOLDERMLTABLEData asset type
Kind of data referenced by uri
dataName *string
Data asset name
resourceGroupName *string
Resource group name
Resource group containing the Machine Learning workspace
subscriptionId *string
Subscription ID
Azure subscription GUID that owns the Machine Learning workspace
tenantId *string
Azure AD tenant ID (GUID)
uri *string
Data URI
Storage URI for the data, e.g. azureml://datastores/<name>/paths/<path>
workspaceName *string
Workspace name
Name of the Azure Machine Learning workspace
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150clientId string
Client ID of the Azure AD application
Application (client) ID used for service principal authentication.
clientSecret string
Client secret for the Azure AD application
Secret value associated with the client ID; store in a Kestra secret.
dataDescription string
Description
Free-text description stored with the data asset version
dataVersion string
Data asset version
Explicit version to register; when not set, the next version is computed automatically from the asset's current latest version
pemCertificate string
PEM-encoded certificate content for client authentication
PEM text for certificate-based auth; alternative to clientSecret.
Outputs
dataName string
Data asset name
uri string
uriData URI
Storage URI backing this data asset version
version string
Data asset version
Version registered, either the explicit version or the auto-incremented one