Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Create an Azure ADLS Gen2 Datastore

oleh Achal Jain
Terakhir diperbarui: 11/05/2021

This template creates a ADLS Gen2 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
accountName The name of the storage account.
fileSystem The file system name of the ADLS Gen2.
tenantId The service principal Tenant ID.
clientId The service principal's client/application ID.
clientSecret The service principal's secret.
storageAccountSubscriptionId Optional : The subscription ID of the storage account. Defaults to selected subscription
storageAccountResourceGroup Optional : The resource group of the storage account. Defaults to selected resource group
resourceUrl Optional : Determines what operations will be performed on the data lake store.
authorityUrl Optional : Authority url used to authenticate the user.
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-adls-gen2/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-adls-gen2/azuredeploy.json
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface