
Azure RegisterModel
CertifiedRegister a model version in the Azure Machine Learning model registry
Azure RegisterModel
Register a model version in the Azure Machine Learning model registry
Creates a new version of a model, capturing lineage back to the training job (JOB_OUTPUT), a file uploaded to the workspace's default datastore (INTERNAL_STORAGE), or an existing datastore path (DATASTORE_URI). Model versions are immutable: set modelVersion explicitly to control it, or leave it empty to auto-increment from the model's latest version.
type: io.kestra.plugin.azure.ml.RegisterModelExamples
Register a model produced by a training job.
id: azure_ml_register_model_from_job
namespace: company.team
tasks:
- id: train
type: io.kestra.plugin.azure.ml.SubmitCommandJob
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
computeName: cpu-cluster
environmentId: "azureml:AzureML-sklearn-1.5:1"
command: "python train.py"
outputs:
model_dir: "azureml://datastores/workspaceblobstore/paths/outputs/model"
- id: register
type: io.kestra.plugin.azure.ml.RegisterModel
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
modelName: fraud-detector
source: JOB_OUTPUT
jobName: "{{ outputs.train.jobName }}"
jobOutputName: model_dir
Register a model file stored in Kestra's internal storage.
id: azure_ml_register_model_from_storage
namespace: company.team
inputs:
- id: model_file
type: FILE
tasks:
- id: register
type: io.kestra.plugin.azure.ml.RegisterModel
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
modelName: fraud-detector
source: INTERNAL_STORAGE
from: "{{ inputs.model_file }}"
Properties
modelName *Requiredstring
Model name
Name of the model to register a new version for
resourceGroupName *Requiredstring
Resource group name
Resource group containing the Machine Learning workspace
source *Requiredstring
JOB_OUTPUTINTERNAL_STORAGEDATASTORE_URIModel source
Origin of the model artifact being registered
subscriptionId *Requiredstring
Subscription ID
Azure subscription GUID that owns the Machine Learning workspace
tenantId *Requiredstring
Azure AD tenant ID (GUID)
workspaceName *Requiredstring
Workspace name
Name of the Azure Machine Learning workspace
clientId 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.
datastoreUri string
Datastore URI
Required when source=DATASTORE_URI: an existing azureml://datastores/<name>/paths/<path> (or plain storage) URI for the model artifact
from string
Internal storage file
Required when source=INTERNAL_STORAGE: a kestra:// internal storage URI for the model artifact to upload
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
jobName string
Job name
Required when source=JOB_OUTPUT: the Azure Machine Learning job that produced the model artifact
jobOutputName string
Job output name
Required when source=JOB_OUTPUT: the named job output pointing to the model artifact
modelDescription string
Description
Free-text description stored with the model version
modelType string
custom_modelModel type
Model framework flavor, e.g. custom_model, mlflow_model, triton_model; defaults to custom_model
modelVersion string
Model version
Explicit version to register; when not set, the next version is computed automatically from the model's current latest version
pemCertificate string
PEM-encoded certificate content for client authentication
PEM text for certificate-based auth; alternative to clientSecret.
Outputs
modelName string
Model name
modelUri string
uriModel URI
Storage URI backing this model version
studioUrl string
Studio URL
Deep link to the model version in Azure ML Studio
version string
Model version
Version registered, either the explicit version or the auto-incremented one