Шаблоны краткого руководства по Azure сейчас доступны на английском языке
This template creates a PostgreSQL datastore in Azure Machine Learning workspace.
Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.
Параметры
Имя параметра | Описание |
---|---|
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 |
serverName | The PostgreSQL server name. |
databaseName | The database name. |
userId | The user ID. |
password | The password. |
port | Optional : The port number. Defaults to 5432 |
endpoint | Optional : The endpoint of the server. Defaults to postgres.database.azure.com. |
enforceSSL | Optional : This sets the ssl value of the server. Defaults to true if not set. |
skipValidation | Optional : If set to true, the call will skip Datastore validation. Defaults to false |
location | The location of the Azure Machine Learning Workspace. |
Использование шаблона
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Установка и настройка служб Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.machinelearningservices/machine-learning-datastore-create-psql/azuredeploy.json
Командная строка
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Установка и настройка кросс-платформенного интерфейса командной стройки Azure
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-psql/azuredeploy.json