Microsoft.MachineLearningServices workspaces/datastores 2020-05-01-preview

The workspaces/datastores resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.MachineLearningServices/workspaces/datastores resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/datastores@2020-05-01-preview' = {
  name: 'string'
  accountKey: 'string'
  accountName: 'string'
  adlsResourceGroup: 'string'
  adlsSubscriptionId: 'string'
  authorityUrl: 'string'
  clientId: 'string'
  clientSecret: 'string'
  containerName: 'string'
  databaseName: 'string'
  dataStoreType: 'string'
  description: 'string'
  endpoint: 'string'
  enforceSSL: bool
  fileSystem: 'string'
  includeSecret: bool
  password: 'string'
  port: 'string'
  protocol: 'string'
  resourceUrl: 'string'
  sasToken: 'string'
  serverName: 'string'
  shareName: 'string'
  skipValidation: bool
  storageAccountResourceGroup: 'string'
  storageAccountSubscriptionId: 'string'
  storeName: 'string'
  tenantId: 'string'
  userId: 'string'
  userName: 'string'
  workspaceSystemAssignedIdentity: bool
}

Property values

workspaces/datastores

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.MachineLearningServices/workspaces/datastores'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-05-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
accountKey Account Key of storage account. string
accountName The name of the storage account. string
adlsResourceGroup The resource group the ADLS store belongs to. Defaults to selected resource group. string
adlsSubscriptionId The ID of the subscription the ADLS store belongs to. Defaults to selected subscription. string
authorityUrl Authority url used to authenticate the user. string
clientId The service principal's client/application ID. string
clientSecret The service principal's secret. string
containerName The name of the azure blob container. string
databaseName The database name. string
dataStoreType Specifies datastore type. 'adls'
'adls-gen2'
'blob'
'dbfs'
'file'
'mysqldb'
'psqldb'
'sqldb'
description The description of the datastore. string
endpoint The endpoint of the server. string
enforceSSL This sets the ssl value of the server. Defaults to true if not set. bool
fileSystem The file system name of the ADLS Gen2. string
includeSecret Include datastore secret in response. bool
password The password. string
port The port number. string
protocol The protocol to be used string
resourceUrl Determines what operations will be performed. string
sasToken Sas Token of storage account. string
serverName The SQL/MySQL/PostgreSQL server name string
shareName The name of the file share. string
skipValidation Skip validation that ensures data can be loaded from the dataset before registration. bool
storageAccountResourceGroup The resource group of the storage account. Defaults to selected resource group string
storageAccountSubscriptionId The subscription ID of the storage account. Defaults to selected subscription string
storeName The ADLS store name. string
tenantId The service principal Tenant ID. string
userId The user ID. string
userName The username of the database user. string
workspaceSystemAssignedIdentity If set to true, datastore support data access authenticated with Workspace MSI. bool

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create AML workspace with multiple Datasets & Datastores

Deploy to Azure
This template creates Azure Machine Learning workspace with multiple datasets & datastores.
Create an Azure ADLS Datastore

Deploy to Azure
This template creates a ADLS datastore in Azure Machine Learning workspace.
Create an Azure ADLS Gen2 Datastore

Deploy to Azure
This template creates a ADLS Gen2 datastore in Azure Machine Learning workspace.
Create a Blob Storage Datastore

Deploy to Azure
This template creates a blob storage datastore in Azure Machine Learning workspace.
Create a Databricks File System Datastore

Deploy to Azure
This template creates a Databricks File System datastore in Azure Machine Learning workspace.
Create a File Share Datastore

Deploy to Azure
This template creates a file share datastore in Azure Machine Learning workspace.
Create an Azure MySQL Datastore

Deploy to Azure
This template creates a MySQL datastore in Azure Machine Learning workspace.
Create an Azure PostgreSQL Datastore

Deploy to Azure
This template creates a PostgreSQL datastore in Azure Machine Learning workspace.
Create an Azure SQL Datastore

Deploy to Azure
This template creates a SQL datastore in Azure Machine Learning workspace.