The Azure Quickstart templates are currently available in English

Create an Azure SQL Datastore

Sidst opdateret: 27-05-2021

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

Denne ARM-skabelon (Azure Resource Manager) blev oprettet af et medlem af communityet og ikke af Microsoft. Hver ARM-skabelon er givet i licens til dig under en licensaftale med ejeren af skabelonen og ikke med Microsoft. Microsoft kan ikke gøres ansvarlig for de ARM-skabeloner, der leveres og gives i licens af communitymedlemmer, og vi undersøger dem ikke for sikkerhed, kompatibilitet eller ydeevne. ARM-skabeloner fra communytiet understøttes ikke af noget eller nogen Microsoft-supportprogram eller -tjeneste, og de stilles til rådighed, SOM DE ER, uden nogen former for garanti.

Parametre

Parameternavn Beskrivelse
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.

Brug skabelonen

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
Installér og konfigurer Azure PowerShell

Kommandolinje

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
Installér og konfigurer Azure-kommandolinjegrænsefladen til flere platforme