Class BuiltInRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BuiltInRole>
com.azure.resourcemanager.authorization.models.BuiltInRole
Defines values for roles.
It is not the complete list of roles.
See RoleDefinitions.listByScope(String) for all viable roles,
and RoleDefinition.roleName() as BuiltInRole.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuiltInRoleA role that can manage API Management service and the APIs.static final BuiltInRoleA role that can manage API Management service, but not the APIs themselves.static final BuiltInRoleA role that has read-only access to API Management service and APIs.static final BuiltInRoleA role that can manage Application Insights components.static final BuiltInRoleA role that is able to start, stop, suspend, and resume jobs.static final BuiltInRoleA role that can manage Azure Cosmos DB accounts.static final BuiltInRoleLets you manage all resources under cluster/namespace, except update or delete resource quotas and namespaces.static final BuiltInRoleLets you manage all resources in the cluster.static final BuiltInRoleAllows read-only access to see most objects in a namespace.static final BuiltInRoleAllows read/write access to most objects in a namespace.static final BuiltInRoleA role that can manage backup in Recovery Services vault.static final BuiltInRoleA role that can manage backup except removing backup, in Recovery Services vault.static final BuiltInRoleA role that can view all backup management services.static final BuiltInRoleA role that can view all billing information.static final BuiltInRoleA role that can manage BizTalk services.static final BuiltInRoleA role that can manage classic virtual networks and reserved IPs.static final BuiltInRoleA role that can manage classic storage accounts.static final BuiltInRoleA role that can manage classic virtual machines, but not the virtual network or storage account to which they are connected.static final BuiltInRoleA role that can manage ClearDB MySQL databases.static final BuiltInRoleA role that can manage everything except access..static final BuiltInRoleA role that can create and manage data factories, and child resources within them..static final BuiltInRoleA role that can view everything and connect, start, restart, and shutdown virtual machines.static final BuiltInRoleA role that can manage DNS zones and records.static final BuiltInRoleA role that can manage Intelligent Systems accounts.static final BuiltInRolePerform all data plane operations on a key vault and all objects in it, including certificates, keys, and secrets.static final BuiltInRolePerform any action on the certificates of a key vault, except manage permissions.static final BuiltInRoleA role that can manage key vaults, but not access to them.static final BuiltInRolePerform any action on the keys of a key vault, except manage permissions.static final BuiltInRoleRead metadata of keys and perform wrap/unwrap operations.static final BuiltInRolePerform cryptographic operations using keys.static final BuiltInRoleRead metadata of key vaults and its certificates, keys, and secrets.static final BuiltInRolePerform any action on the secrets of a key vault, except manage permissions.static final BuiltInRoleRead secret contents.static final BuiltInRoleA role that can manage user assigned identities.static final BuiltInRoleA role that can read and assign user assigned identities.static final BuiltInRoleA role that can read monitoring data and edit monitoring settings.static final BuiltInRoleA role that can read all monitoring data.static final BuiltInRoleA role that can manage all network resources.static final BuiltInRoleA role that can manage New Relic Application Performance Management accounts and applications.static final BuiltInRoleA role that can manage everything, including access.static final BuiltInRoleA role that can view everything, but can't make changes.static final BuiltInRoleA role that can manage Redis caches.static final BuiltInRoleA role that can manage scheduler job collections.static final BuiltInRoleA role that can manage search services.static final BuiltInRoleA role that can manage security components, security policies, and virtual machines.static final BuiltInRoleA role that can manage SQL databases, but not their security-related policies.static final BuiltInRoleA role that can manage the security-related policies of SQL servers and databases.static final BuiltInRoleA role that can manage SQL servers and databases, but not their security-related policies.static final BuiltInRoleA role that can manage storage accounts.static final BuiltInRoleStorage Account Key Operators are allowed to list and regenerate keys on Storage Accounts.static final BuiltInRoleAllows for read, write and delete access to Azure Storage blob containers and data.static final BuiltInRoleAllows for full access to Azure Storage blob containers and data, including assigning POSIX access control.static final BuiltInRoleAllows for read access to Azure Storage blob containers and data.static final BuiltInRoleAllows for read, write, and delete access in Azure Storage file shares over SMB.static final BuiltInRoleAllows for read access to Azure File Share over SMB.static final BuiltInRoleAllows for read, write, and delete access to Azure Storage queues and queue messages.static final BuiltInRoleAllows for peek, receive, and delete access to Azure Storage queue messages.static final BuiltInRoleAllows for sending of Azure Storage queue messages.static final BuiltInRoleAllows for read access to Azure Storage queues and queue messages.static final BuiltInRoleA role that can manage user access to Azure resources.static final BuiltInRoleA role that can manage virtual machines, but not the virtual network or storage account to which they are connected.static final BuiltInRoleA role that can manage web plans.static final BuiltInRoleA role that can manage websites, but not the web plans to which they are connected. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BuiltInRolefromString(String name) Finds or creates a role instance based on the specified name.static Collection<BuiltInRole>values()Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
API_MANAGEMENT_SERVICE_CONTRIBUTOR
A role that can manage API Management service and the APIs. -
API_MANAGEMENT_SERVICE_OPERATOR_ROLE
A role that can manage API Management service, but not the APIs themselves. -
API_MANAGEMENT_SERVICE_READER_ROLE
A role that has read-only access to API Management service and APIs. -
APPLICATION_INSIGHTS_COMPONENT_CONTRIBUTOR
A role that can manage Application Insights components. -
AUTOMATION_OPERATOR
A role that is able to start, stop, suspend, and resume jobs. -
BACKUP_CONTRIBUTOR
A role that can manage backup in Recovery Services vault. -
BACKUP_OPERATOR
A role that can manage backup except removing backup, in Recovery Services vault. -
BACKUP_READER
A role that can view all backup management services. -
BILLING_READER
A role that can view all billing information. -
BIZTALK_CONTRIBUTOR
A role that can manage BizTalk services. -
CLEARDB_MYSQL_DB_CONTRIBUTOR
A role that can manage ClearDB MySQL databases. -
CONTRIBUTOR
A role that can manage everything except access.. -
DATA_FACTORY_CONTRIBUTOR
A role that can create and manage data factories, and child resources within them.. -
DEVTEST_LABS_USER
A role that can view everything and connect, start, restart, and shutdown virtual machines. -
DNS_ZONE_CONTRIBUTOR
A role that can manage DNS zones and records. -
AZURE_COSMOS_DB_ACCOUNT_CONTRIBUTOR
A role that can manage Azure Cosmos DB accounts. -
INTELLIGENT_SYSTEMS_ACCOUNT_CONTRIBUTOR
A role that can manage Intelligent Systems accounts. -
MANAGED_IDENTITY_CONTRIBUTOR
A role that can manage user assigned identities. -
MANAGED_IDENTITY_OPERATOR
A role that can read and assign user assigned identities. -
MONITORING_READER
A role that can read all monitoring data. -
MONITORING_CONTRIBUTOR
A role that can read monitoring data and edit monitoring settings. -
NETWORK_CONTRIBUTOR
A role that can manage all network resources. -
NEW_RELIC_APM_ACCOUNT_CONTRIBUTOR
A role that can manage New Relic Application Performance Management accounts and applications. -
OWNER
A role that can manage everything, including access. -
READER
A role that can view everything, but can't make changes. -
REDIS_CACHE_CONTRIBUTOR
A role that can manage Redis caches. -
SCHEDULER_JOB_COLLECTIONS_CONTRIBUTOR
A role that can manage scheduler job collections. -
SEARCH_SERVICE_CONTRIBUTOR
A role that can manage search services. -
SECURITY_MANAGER
A role that can manage security components, security policies, and virtual machines. -
SQL_DB_CONTRIBUTOR
A role that can manage SQL databases, but not their security-related policies. -
SQL_SECURITY_MANAGER
A role that can manage the security-related policies of SQL servers and databases. -
SQL_SERVER_CONTRIBUTOR
A role that can manage SQL servers and databases, but not their security-related policies. -
CLASSIC_STORAGE_ACCOUNT_CONTRIBUTOR
A role that can manage classic storage accounts. -
STORAGE_ACCOUNT_CONTRIBUTOR
A role that can manage storage accounts. -
USER_ACCESS_ADMINISTRATOR
A role that can manage user access to Azure resources. -
CLASSIC_VIRTUAL_MACHINE_CONTRIBUTOR
A role that can manage classic virtual machines, but not the virtual network or storage account to which they are connected. -
VIRTUAL_MACHINE_CONTRIBUTOR
A role that can manage virtual machines, but not the virtual network or storage account to which they are connected. -
CLASSIC_NETWORK_CONTRIBUTOR
A role that can manage classic virtual networks and reserved IPs. -
WEB_PLAN_CONTRIBUTOR
A role that can manage web plans. -
WEBSITE_CONTRIBUTOR
A role that can manage websites, but not the web plans to which they are connected. -
KEY_VAULT_CONTRIBUTOR
A role that can manage key vaults, but not access to them. -
STORAGE_ACCOUNT_KEY_OPERATOR_SERVICE_ROLE
Storage Account Key Operators are allowed to list and regenerate keys on Storage Accounts. -
STORAGE_BLOB_DATA_CONTRIBUTOR
Allows for read, write and delete access to Azure Storage blob containers and data. -
STORAGE_BLOB_DATA_OWNER
Allows for full access to Azure Storage blob containers and data, including assigning POSIX access control. -
STORAGE_BLOB_DATA_READER
Allows for read access to Azure Storage blob containers and data. -
STORAGE_QUEUE_DATA_CONTRIBUTOR
Allows for read, write, and delete access to Azure Storage queues and queue messages. -
STORAGE_QUEUE_DATA_MESSAGE_PROCESSOR
Allows for peek, receive, and delete access to Azure Storage queue messages. -
STORAGE_QUEUE_DATA_MESSAGE_SENDER
Allows for sending of Azure Storage queue messages. -
STORAGE_QUEUE_DATA_READER
Allows for read access to Azure Storage queues and queue messages. -
STORAGE_FILE_DATA_SMB_SHARE_READER
Allows for read access to Azure File Share over SMB. -
STORAGE_FILE_DATA_SMB_SHARE_CONTRIBUTOR
Allows for read, write, and delete access in Azure Storage file shares over SMB. -
KEY_VAULT_ADMINISTRATOR
Perform all data plane operations on a key vault and all objects in it, including certificates, keys, and secrets. -
KEY_VAULT_CRYPTO_OFFICER
Perform any action on the keys of a key vault, except manage permissions. -
KEY_VAULT_CRYPTO_USER
Perform cryptographic operations using keys. -
KEY_VAULT_SECRETS_OFFICER
Perform any action on the secrets of a key vault, except manage permissions. -
KEY_VAULT_SECRETS_USER
Read secret contents. -
KEY_VAULT_CERTIFICATES_OFFICER
Perform any action on the certificates of a key vault, except manage permissions. -
KEY_VAULT_READER
Read metadata of key vaults and its certificates, keys, and secrets. -
KEY_VAULT_CRYPTO_SERVICE_ENCRYPTION_USER
Read metadata of keys and perform wrap/unwrap operations. -
AZURE_KUBERNETES_SERVICE_RBAC_CLUSTER_ADMIN
Lets you manage all resources in the cluster. -
AZURE_KUBERNETES_SERVICE_RBAC_ADMIN
Lets you manage all resources under cluster/namespace, except update or delete resource quotas and namespaces. -
AZURE_KUBERNETES_SERVICE_RBAC_READER
Allows read-only access to see most objects in a namespace. It does not allow viewing roles or role bindings. This role does not allow viewing Secrets, since reading the contents of Secrets enables access to ServiceAccount credentials in the namespace, which would allow API access as any ServiceAccount in the namespace (a form of privilege escalation). Applying this role at cluster scope will give access across all namespaces. -
AZURE_KUBERNETES_SERVICE_RBAC_WRITER
Allows read/write access to most objects in a namespace. This role does not allow viewing or modifying roles or role bindings. However, this role allows accessing Secrets and running Pods as any ServiceAccount in the namespace, so it can be used to gain the API access levels of any ServiceAccount in the namespace. Applying this role at cluster scope will give access across all namespaces.
-
-
Constructor Details
-
BuiltInRole
public BuiltInRole()
-
-
Method Details
-
fromString
Finds or creates a role instance based on the specified name.- Parameters:
name- a name- Returns:
- a BuiltInRole instance
-
values
- Returns:
- known roles
-