
Azure GetModel
CertifiedGet an Azure Machine Learning model version
Azure GetModel
Get an Azure Machine Learning model version
Reads the metadata of a specific model version, or the latest one when modelVersion=latest.
type: io.kestra.plugin.azure.ml.GetModelExamples
Get the latest version of a registered model.
id: azure_ml_get_model
namespace: company.team
tasks:
- id: get_model
type: io.kestra.plugin.azure.ml.GetModel
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
modelVersion: latest
Properties
modelName *string
Model 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)
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.
modelVersion string
latestModel version
Specific version to fetch, or latest (default) to resolve the most recent one
pemCertificate string
PEM-encoded certificate content for client authentication
PEM text for certificate-based auth; alternative to clientSecret.
Outputs
modelName string
Model name
modelType string
Model type
Model framework flavor, e.g. custom_model, mlflow_model
modelUri string
uriModel URI
Storage URI backing this model version
version string
Model version
Resolved version, useful when version=latest was requested