我需要使用 Powershell 脚本生成 Azure Databricks 令牌。我已经完成了使用 ARM 模板创建 Azure Databricks 的工作,现在我希望使用 powershell 脚本生成 Databricks 令牌。
请让我知道如何使用 Powershell 脚本创建 Databricks 令牌
我需要使用 ARM 模板在 Azure Databricks 中创建一个令牌。我可以使用 ARM 模板创建 Azure Databricks,但无法使用 ARM 模板在 Azure Databricks 中创建令牌
以下是我用来创建 Azure Databricks 的模板
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-
01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspaceName": {
"type": "string",
"metadata": {
"description": "The name of the Azure Databricks workspace to create."
}
},
"pricingTier": {
"type": "string",
"defaultValue": "premium",
"allowedValues": [
"standard",
"premium"
],
"metadata": {
"description": "The pricing tier of workspace."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
} …Run Code Online (Sandbox Code Playgroud) 我想使用 ARM 模板创建 Databricks 集群。支持吗?如果支持,请提供一些参考。以下是使用ARM模板创建Databricks工作区的代码
"resources": [
{
"type": "Microsoft.Databricks/workspaces",
"name": "[parameters('workspaceName')]",
"location": "[parameters('location')]",
"apiVersion": "2018-04-01",
"sku": {
"name": "[parameters('pricingTier')]"
},
"tags": {
"ComponentID": "[parameters('tagComponentID')]",
"Env": "[parameters('tagEnv')]"
},
"properties": {
"ManagedResourceGroupId": "[concat(subscription().id, '/resourceGroups/', variables('managedResourceGroupName'))]"
}
}
]
Run Code Online (Sandbox Code Playgroud)