← cd ~/roles
// roles/azure · analytics
HDInsight on AKS Cluster Pool AdminAzure built-in role
Can read, create, modify and delete HDInsight on AKS cluster pools and create clusters
| Role ID | 7656b436-37d4-490a-a4ab-d39f838f0042 |
|---|---|
| Category | Analytics |
| Actions | 29 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
Microsoft.HDInsight/clusterPools/clusters/read | Get details about HDInsight on AKS Cluster |
Microsoft.HDInsight/clusterPools/clusters/write | Create or Update HDInsight on AKS Cluster |
Microsoft.HDInsight/clusterPools/delete | Delete a HDInsight on AKS Cluster Pool |
Microsoft.HDInsight/clusterPools/read | Get details about HDInsight on AKS Cluster Pool |
Microsoft.HDInsight/clusterPools/write | Create or Update HDInsight on AKS Cluster Pool |
Microsoft.HDInsight/clusterpools/availableupgrades/read | Get Available Upgrades for HDInsight on AKS Cluster Pool |
Microsoft.HDInsight/clusterpools/upgrade/action | Upgrade HDInsight on AKS Cluster Pool |
Microsoft.HDInsight/clusterPools/upgradehistories/read | Read HDInsight on AKS Cluster Pool Upgrade Histories |
Microsoft.ResourceHealth/availabilityStatuses/read | Gets the availability statuses for all resources in the specified scope |
Microsoft.Resources/deployments/operations/read | Gets or lists deployment operations. |
Microsoft.Resources/deployments/validate/action | Validates a deployment. |
Microsoft.Resources/deployments/*/read | Any read operation on anything under Microsoft.Resources/deployments |
Microsoft.Resources/deployments/read | Gets or lists deployments. |
Microsoft.Resources/deployments/write | Creates or updates an deployment. |
Microsoft.Resources/deployments/exportTemplate/action | Export template for a deployment |
Microsoft.Resources/subscriptions/resourcegroups/deployments/operations/read | Gets or lists deployment operations. |
Microsoft.Resources/subscriptions/resourcegroups/deployments/read | Gets or lists deployments. |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Resources/subscriptions/operationresults/read | Get the subscription operation results. |
Microsoft.Insights/AlertRules/Write | Create or update a classic metric alert |
Microsoft.Insights/AlertRules/Delete | Delete a classic metric alert |
Microsoft.Insights/AlertRules/Read | Read a classic metric alert |
Microsoft.Insights/AlertRules/Activated/Action | Classic metric alert activated |
Microsoft.Insights/AlertRules/Resolved/Action | Classic metric alert resolved |
Microsoft.Insights/AlertRules/Throttled/Action | Classic metric alert rule throttled |
Microsoft.Insights/AlertRules/Incidents/Read | Read a classic metric alert incident |
Microsoft.Insights/metrics/read | Read metrics |
Microsoft.Insights/logs/read | Reading data from all your logs |
Assign it
Scope it as tightly as you can: a resource or resource group rather than the whole subscription.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "HDInsight on AKS Cluster Pool Admin" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "HDInsight on AKS Cluster Pool Admin" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '7656b436-37d4-490a-a4ab-d39f838f0042')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7656b436-37d4-490a-a4ab-d39f838f0042')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "7656b436-37d4-490a-a4ab-d39f838f0042"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other analytics roles
- Azure Event Hubs Data Owner · 2 permissions
- Azure Event Hubs Data Receiver · 2 permissions
- Azure Event Hubs Data Sender · 2 permissions
- Schema Registry Contributor · 2 permissions
- Schema Registry Reader · 2 permissions
- HDInsight Domain Services Contributor · 3 permissions
- Stream Analytics Query Tester · 4 permissions
- Data Factory Contributor · 9 permissions