The Azure Quickstart templates are currently available in English

User assigned identity role assignment template

por zhaomuzhi
Última atualização: 14/05/2021

A template that creates role assignments of user assigned identity on resources that Azure Machine Learning workspace depends on

Este modelo de Gestor de Recursos do Azure (Azure Resource Manager, ARM) foi criado por um membro da comunidade e não pela Microsoft. Cada modelo de ARM está licenciado para si ao abrigo de um contrato de licença pelo respetivo proprietário e não pela Microsoft. A Microsoft não é responsável por modelos de ARM fornecidos e licenciados por membros da comunidade e não os analisa quanto a a segurança, compatibilidade ou desempenho. Os modelos de ARM da comunidade não são suportados ao abrigo de nenhum programa de suporte ou serviço da Microsoft e são disponibilizados TAL COMO ESTÃO sem qualquer tipo de garantia.

Parâmetros

Nome do Parâmetro Descrição
primaryUserAssignedIdentityResourceGroup Resource group of User Assigned Identity passed in workspace.properties.primaryUserAssignedIdentity.
primaryUserAssignedIdentityName Resource name of User Assigned Identity passed in workspace.properties.primaryUserAssignedIdentity.
assignWorkspaceResourceGroup If assign AML workspace resource group permissions.
workspaceResourceGroup Resource group of AML workspace resource group.
assignWorkspaceKeyVault If assign AML workspace keyvault permissions.
workspaceKeyVaultResourceGroup Resource group of AML workspace key vault.
workspaceKeyVaultName Resource name of AML workspace key vault.
assignWorkspaceStorageAccount If assign AML workspace storage account permissions.
workspaceStorageAccountResourceGroup Resource group of AML workspace storage account.
workspaceStorageAccountName Resource name of AML workspace storage account.
assignWorkspaceContainerRegistry If assign AML workspace container registry permissions.
workspaceContainerRegistryResourceGroup Resource group of AML workspace container registry.
workspaceContainerRegistryName Resource name of AML workspace container registry.
assignWorkspaceDataBrick If assign AML workspace linked Azure DataBrick permissions.
workspaceDataBrickResourceGroup Resource group of AML workspace linked Azure DataBrick.
workspaceDataBrickName Resource name of AML workspace linked Azure DataBrick.
assignWorkspaceCMKKeyVault If assign keyvault that hosts data encryption key of cmk workspace permissions.
workspaceCMKKeyVaultResourceGroup Resource group of keyvault that hosts data encryption key of cmk workspace.
workspaceCMKKeyVaultName Resource name of keyvault that hosts data encryption key of cmk workspace.

Utilizar o modelo

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-dependencies-role-assignment/azuredeploy.json
Instalar e configurar o PowerShell para Azure

Linha de comandos

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-dependencies-role-assignment/azuredeploy.json
Instalar e Configurar a Interface de Linha de Comandos para Várias Plataformas do Azure