Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Create an Azure SQL Datastore

oleh Achal Jain
Terakhir diperbarui: 27/05/2021

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

Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.

Parameter

Nama Parameter Deskripsi
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.
resourceUrl Optional : Determines what operations will be performed on the database.
endpoint Optional : The endpoint of the sql server.
skipValidation Optional : If set to true, the call will skip datastore validation. Defaults to false
location The location of the Azure Machine Learning Workspace.

Menggunakan templat

Windows 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
Menginstal dan mengonfigurasi Azure PowerShell

Baris perintah

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
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface