Role definition for Azure Marketplace images
Using Azure Marketplace images requires granting the service principal additional Azure permissions on the scope of your Azure subscription. The following policy includes these permissions:
{
"properties": {
"roleName": "Cloudera Management Console Azure Operator for Azure Marketplace",
"description": "Can use Azure Marketplace images read and accept image terms if the corresponding setting is enabled in Management Console -> Global Settings -> Azure Settings-> Terms & Conditions auto acceptance. Scope must be subscription level.",
"assignableScopes": [
"/subscriptions/{SUBSCRIPTION-ID}"
],
"permissions": [
{
"actions": [
"Microsoft.MarketplaceOrdering/offertypes/publishers/offers/plans/agreements/read",
"Microsoft.MarketplaceOrdering/offertypes/publishers/offers/plans/agreements/write"
],
"notActions": [],
"dataActions": [],
"notDataActions": []
}
]
}
}
When creating the role definition:
- Replace
{SUBSCRIPTION-ID}with your actual subscription ID.
