azureblog.co.uk
← 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 ID7656b436-37d4-490a-a4ab-d39f838f0042
CategoryAnalytics
Actions29
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.HDInsight/clusterPools/clusters/readGet details about HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/clusters/writeCreate or Update HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/deleteDelete a HDInsight on AKS Cluster Pool
Microsoft.HDInsight/clusterPools/readGet details about HDInsight on AKS Cluster Pool
Microsoft.HDInsight/clusterPools/writeCreate or Update HDInsight on AKS Cluster Pool
Microsoft.HDInsight/clusterpools/availableupgrades/readGet Available Upgrades for HDInsight on AKS Cluster Pool
Microsoft.HDInsight/clusterpools/upgrade/actionUpgrade HDInsight on AKS Cluster Pool
Microsoft.HDInsight/clusterPools/upgradehistories/readRead HDInsight on AKS Cluster Pool Upgrade Histories
Microsoft.ResourceHealth/availabilityStatuses/readGets the availability statuses for all resources in the specified scope
Microsoft.Resources/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/deployments/validate/actionValidates a deployment.
Microsoft.Resources/deployments/*/readAny read operation on anything under Microsoft.Resources/deployments
Microsoft.Resources/deployments/readGets or lists deployments.
Microsoft.Resources/deployments/writeCreates or updates an deployment.
Microsoft.Resources/deployments/exportTemplate/actionExport template for a deployment
Microsoft.Resources/subscriptions/resourcegroups/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/subscriptions/resourcegroups/deployments/readGets or lists deployments.
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/subscriptions/operationresults/readGet the subscription operation results.
Microsoft.Insights/AlertRules/WriteCreate or update a classic metric alert
Microsoft.Insights/AlertRules/DeleteDelete a classic metric alert
Microsoft.Insights/AlertRules/ReadRead a classic metric alert
Microsoft.Insights/AlertRules/Activated/ActionClassic metric alert activated
Microsoft.Insights/AlertRules/Resolved/ActionClassic metric alert resolved
Microsoft.Insights/AlertRules/Throttled/ActionClassic metric alert rule throttled
Microsoft.Insights/AlertRules/Incidents/ReadRead a classic metric alert incident
Microsoft.Insights/metrics/readRead metrics
Microsoft.Insights/logs/readReading data from all your logs

Assign it

Scope it as tightly as you can: a resource or resource group rather than the whole subscription.

azure cli
az role assignment create \
  --assignee "jane.doe@contoso.com" \
  --role "HDInsight on AKS Cluster Pool Admin" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "HDInsight on AKS Cluster Pool Admin" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
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?

kql · azure resource graph
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

Find the smallest role for a task →