Using Console
Using CLI
<resource_group_name>
with the actual name:
<resource_group_name>
with the actual name:
<assignment_id>
with the actual ID:
Using Python
subscription_id
: Azure subscription IDresource_group_name
: Resource group name where the container groups are locatedscope
: The scope of the role assignment (e.g., /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}
)service_principal_id
: The ID of the service principal associated with the container service