0

我很想知道Databricks ARM 模板中的uiDefinitionUri是做什么用的,应该提供什么样的文件。我可以看到一个字符串是输入类型,值是“UI 定义文件所在的 blob URI”。,但是这不是很具描述性,也不提供任何指导。

4

1 回答 1

0

您可以尝试以下 REST API,以获取 Azure Databricks 的 uiDefinitionUri。

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces?api-version=2018-04-01

示例响应:

{
  "value": [
    {
      "name": "myWorkspace1",
      "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace1",
      "type": "Microsoft.Databricks/workspaces",
      "location": "East US 2",
      "tags": null,
      "sku": {
        "name": "skuName"
      },
      "properties": {
        "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
        "parameters": null,
        "provisioningState": "Created",
        "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
      }
    },
    {
      "name": "myWorkspace2",
      "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace2",
      "type": "Microsoft.Databricks/workspaces",
      "location": "East US 2",
      "tags": null,
      "sku": {
        "name": "skuName"
      },
      "properties": {
        "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
        "parameters": null,
        "provisioningState": "Created",
        "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
      }
    }
  ]
}

有关详细信息,请参阅“工作区 - 按资源组列出”。

希望这可以帮助。

于 2019-03-12T10:55:41.297 回答