The Azure Quickstart templates are currently available in English

Create an Azure SQL Datastore

podle Achal Jain
Poslední aktualizace: 27.05.2021

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

Tuto šablonu Azure Resource Manageru (ARM) vytvořil člen komunity a ne Microsoft. Licenci na každou šablonu ARM vám na základě licenční smlouvy uděluje její vlastník, ne Microsoft. Za šablony ARM poskytované a licencované členy komunity nenese Microsoft žádnou odpovědnost ani neprověřuje jejich zabezpečení, kompatibilitu nebo výkon. Šablony ARM komunity nejsou podporované v rámci žádné služby nebo programu podpory Microsoftu a jsou dostupné TAK JAK JSOU, bez jakékoliv záruky.

Parametry

Název parametru Popis
workspaceName Specifies the name of the Azure Machine Learning workspace which will hold this datastore target.
datastoreName The name of the datastore, case insensitive, can only contain alphanumeric characters and underscore
sqlServerName The SQL server name.
authenticationType Authentication type
userNameOrClientId The username of the database user or service principal/application ID.
passwordOrClientSecret The password of the database user or service principal's secret.
tenantId This is ignored if SQL Authentication is selected.
databaseName The database name.
authorityUrl Optional : Authority url used to authenticate the user. Defaults to https://login.microsoftonline.com
resourceUrl Optional : Determines what operations will be performed on the database. Defaults to https://database.windows.net/
endpoint Optional : The endpoint of the sql server. Defaults to database.windows.net.
skipValidation Optional : If set to true, the call will skip datastore validation. Defaults to false
location The location of the Azure Machine Learning Workspace.

Použití šablony

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.machinelearningservices/machine-learning-datastore-create-sql/azuredeploy.json
Instalace a konfigurace Azure PowerShell

Příkazový řádek

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.machinelearningservices/machine-learning-datastore-create-sql/azuredeploy.json
Instalace a konfigurace rozhraní Azure Cross-Platform Command-Line Interface