← cd ~/roles
// roles/azure · analytics
HDInsight on AKS Cluster AdminAzure built-in role
Grants a user/group the ability to create, delete and manage clusters within a given cluster pool. Cluster Admin can also run workloads, monitor, and manage all user activity on these clusters.
| Role ID | fd036e6b-1266-47a0-b0bb-a05d04831731 |
|---|---|
| Category | Analytics |
| Actions | 35 |
| 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/clusters/delete | Delete a HDInsight on AKS cluster |
Microsoft.HDInsight/clusterPools/clusters/resize/action | Resize a HDInsight on AKS Cluster |
Microsoft.HDInsight/clusterpools/clusters/instanceviews/read | Get details about HDInsight on AKS Cluster Instance View |
Microsoft.HDInsight/clusterPools/clusters/jobs/read | List HDInsight on AKS Cluster Jobs |
Microsoft.HDInsight/clusterPools/clusters/runjob/action | Run HDInsight on AKS Cluster Job |
Microsoft.HDInsight/clusterpools/clusters/serviceconfigs/read | Get details about HDInsight on AKS Cluster Service Configurations |
Microsoft.HDInsight/clusterPools/clusters/availableupgrades/read | Get Available Upgrades for HDInsight on AKS Cluster |
Microsoft.HDInsight/clusterPools/clusters/upgrade/action | Upgrade HDInsight on AKS Cluster |
Microsoft.HDInsight/clusterPools/clusters/rollback/action | Rollback HDInsight on AKS Cluster Upgrade |
Microsoft.HDInsight/clusterPools/clusters/upgradehistories/read | Read HDInsight on AKS Cluster Upgrade Histories |
Microsoft.HDInsight/clusterPools/clusters/libraries/read | Read HDInsight on AKS Cluster Libraries |
Microsoft.HDInsight/clusterPools/clusters/managelibraries/action | Manage HDInsight on AKS Cluster Libraries |
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/*/read | Any read operation on anything under Microsoft.Resources/deployments |
Microsoft.Resources/deployments/read | Gets or lists deployments. |
Microsoft.Resources/deployments/validate/action | Validates a deployment. |
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 Admin" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "HDInsight on AKS Cluster Admin" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'fd036e6b-1266-47a0-b0bb-a05d04831731')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'fd036e6b-1266-47a0-b0bb-a05d04831731')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "fd036e6b-1266-47a0-b0bb-a05d04831731"
| 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