你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BuiltInRole 类
- java.
lang. Object - ExpandableStringEnum<T>
- com.
microsoft. azure. management. graphrbac. BuiltInRole
- com.
public class BuiltInRole extends ExpandableStringEnum
定义角色的值。
字段摘要
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Built |
fromString(String name)
根据指定的名称查找或创建角色实例。 |
Collection<Built |
values() |
继承成员
字段详细信息
API_MANAGEMENT_SERVICE_CONTRIBUTOR
public static final BuiltInRole API_MANAGEMENT_SERVICE_CONTRIBUTOR= BuiltInRole.fromString("API Management Service Contributor")
可以管理API 管理服务和 API 的角色。
API_MANAGEMENT_SERVICE_OPERATOR_ROLE
public static final BuiltInRole API_MANAGEMENT_SERVICE_OPERATOR_ROLE= BuiltInRole.fromString("API Management Service Operator Role")
可以管理API 管理服务,但不能管理 API 本身的角色。
API_MANAGEMENT_SERVICE_READER_ROLE
public static final BuiltInRole API_MANAGEMENT_SERVICE_READER_ROLE= BuiltInRole.fromString("API Management Service Reader Role")
对API 管理服务和 API 具有只读访问权限的角色。
APPLICATION_INSIGHTS_COMPONENT_CONTRIBUTOR
public static final BuiltInRole APPLICATION_INSIGHTS_COMPONENT_CONTRIBUTOR= BuiltInRole.fromString("Application Insights Component Contributor")
可以管理 Application Insights 组件的角色。
AUTOMATION_OPERATOR
public static final BuiltInRole AUTOMATION_OPERATOR= BuiltInRole.fromString("Automation Operator")
能够启动、停止、暂停和恢复作业的角色。
AZURE_COSMOS_DB_ACCOUNT_CONTRIBUTOR
public static final BuiltInRole AZURE_COSMOS_DB_ACCOUNT_CONTRIBUTOR= BuiltInRole.fromString("Azure Cosmos DB Account Contributor")
可以管理 Azure Cosmos DB 帐户的角色。
BACKUP_CONTRIBUTOR
public static final BuiltInRole BACKUP_CONTRIBUTOR= BuiltInRole.fromString("Backup Contributor")
可以管理恢复服务保管库中的备份的角色。
BACKUP_OPERATOR
public static final BuiltInRole BACKUP_OPERATOR= BuiltInRole.fromString("Backup Operator")
可以在恢复服务保管库中管理备份(删除备份除外)的角色。
BACKUP_READER
public static final BuiltInRole BACKUP_READER= BuiltInRole.fromString("Backup Reader")
可查看所有备份管理服务的角色。
BILLING_READER
public static final BuiltInRole BILLING_READER= BuiltInRole.fromString("Billing Reader")
可查看所有计费信息的角色。
BIZTALK_CONTRIBUTOR
public static final BuiltInRole BIZTALK_CONTRIBUTOR= BuiltInRole.fromString("BizTalk Contributor")
可以管理 BizTalk 服务的角色。
CLASSIC_NETWORK_CONTRIBUTOR
public static final BuiltInRole CLASSIC_NETWORK_CONTRIBUTOR= BuiltInRole.fromString("Classic Network Contributor")
可以管理经典虚拟网络和保留 IP 的角色。
CLASSIC_STORAGE_ACCOUNT_CONTRIBUTOR
public static final BuiltInRole CLASSIC_STORAGE_ACCOUNT_CONTRIBUTOR= BuiltInRole.fromString("Classic Storage Account Contributor")
可以管理经典存储帐户的角色。
CLASSIC_VIRTUAL_MACHINE_CONTRIBUTOR
public static final BuiltInRole CLASSIC_VIRTUAL_MACHINE_CONTRIBUTOR= BuiltInRole.fromString("Classic Virtual Machine Contributor")
一个角色,可以管理经典虚拟机,但不能管理它们连接到的虚拟网络或存储帐户。
CLEARDB_MYSQL_DB_CONTRIBUTOR
public static final BuiltInRole CLEARDB_MYSQL_DB_CONTRIBUTOR= BuiltInRole.fromString("ClearDB MySQL DB Contributor")
可以管理 ClearDB MySQL 数据库的角色。
CONTRIBUTOR
public static final BuiltInRole CONTRIBUTOR= BuiltInRole.fromString("Contributor")
可以管理除 access 之外的所有内容的角色。
DATA_FACTORY_CONTRIBUTOR
public static final BuiltInRole DATA_FACTORY_CONTRIBUTOR= BuiltInRole.fromString("Data Factory Contributor")
一个角色,可以创建和管理数据工厂及其内的子资源。
DEVTEST_LABS_USER
public static final BuiltInRole DEVTEST_LABS_USER= BuiltInRole.fromString("DevTest Labs User")
可查看所有内容并连接、启动、重启和关闭虚拟机的角色。
DNS_ZONE_CONTRIBUTOR
public static final BuiltInRole DNS_ZONE_CONTRIBUTOR= BuiltInRole.fromString("DNS Zone Contributor")
可以管理 DNS 区域和记录的角色。
INTELLIGENT_SYSTEMS_ACCOUNT_CONTRIBUTOR
public static final BuiltInRole INTELLIGENT_SYSTEMS_ACCOUNT_CONTRIBUTOR= BuiltInRole.fromString("Intelligent Systems Account Contributor")
可以管理智能系统帐户的角色。
MONITORING_CONTRIBUTOR
public static final BuiltInRole MONITORING_CONTRIBUTOR= BuiltInRole.fromString("Monitoring Contributor")
可以读取监视数据和编辑监视设置的角色。
MONITORING_READER
public static final BuiltInRole MONITORING_READER= BuiltInRole.fromString("Monitoring Reader")
可以读取所有监视数据的角色。
NETWORK_CONTRIBUTOR
public static final BuiltInRole NETWORK_CONTRIBUTOR= BuiltInRole.fromString("Network Contributor")
可以管理所有网络资源的角色。
NEW_RELIC_APM_ACCOUNT_CONTRIBUTOR
public static final BuiltInRole NEW_RELIC_APM_ACCOUNT_CONTRIBUTOR= BuiltInRole.fromString("New Relic APM Account Contributor")
可以管理 New Relic 应用程序性能管理帐户和应用程序的角色。
OWNER
public static final BuiltInRole OWNER= BuiltInRole.fromString("Owner")
可以管理所有内容(包括访问权限)的角色。
READER
public static final BuiltInRole READER= BuiltInRole.fromString("Reader")
可查看所有内容但无法进行更改的角色。
REDIS_CACHE_CONTRIBUTOR
public static final BuiltInRole REDIS_CACHE_CONTRIBUTOR= BuiltInRole.fromString("Redis Cache Contributor")
可以管理 Redis 缓存的角色。
SCHEDULER_JOB_COLLECTIONS_CONTRIBUTOR
public static final BuiltInRole SCHEDULER_JOB_COLLECTIONS_CONTRIBUTOR= BuiltInRole.fromString("Scheduler Job Collections Contributor")
可以管理计划程序作业集合的角色。
SEARCH_SERVICE_CONTRIBUTOR
public static final BuiltInRole SEARCH_SERVICE_CONTRIBUTOR= BuiltInRole.fromString("Search Service Contributor")
可以管理搜索服务的角色。
SECURITY_MANAGER
public static final BuiltInRole SECURITY_MANAGER= BuiltInRole.fromString("Security Manager")
可以管理安全组件、安全策略和虚拟机的角色。
SQL_DB_CONTRIBUTOR
public static final BuiltInRole SQL_DB_CONTRIBUTOR= BuiltInRole.fromString("SQL DB Contributor")
可以管理 SQL 数据库,但不能管理其安全相关策略的角色。
SQL_SECURITY_MANAGER
public static final BuiltInRole SQL_SECURITY_MANAGER= BuiltInRole.fromString("SQL Security Manager")
可以管理 SQL 服务器和数据库的安全相关策略的角色。
SQL_SERVER_CONTRIBUTOR
public static final BuiltInRole SQL_SERVER_CONTRIBUTOR= BuiltInRole.fromString("SQL Server Contributor")
可以管理 SQL 服务器和数据库,但不能管理其安全相关策略的角色。
STORAGE_ACCOUNT_CONTRIBUTOR
public static final BuiltInRole STORAGE_ACCOUNT_CONTRIBUTOR= BuiltInRole.fromString("Storage Account Contributor")
可以管理存储帐户的角色。
USER_ACCESS_ADMINISTRATOR
public static final BuiltInRole USER_ACCESS_ADMINISTRATOR= BuiltInRole.fromString("User Access Administrator")
可以管理用户对 Azure 资源的访问权限的角色。
VIRTUAL_MACHINE_CONTRIBUTOR
public static final BuiltInRole VIRTUAL_MACHINE_CONTRIBUTOR= BuiltInRole.fromString("Virtual Machine Contributor")
一个角色,可以管理虚拟机,但不能管理虚拟机连接到的虚拟网络或存储帐户。
WEB_PLAN_CONTRIBUTOR
public static final BuiltInRole WEB_PLAN_CONTRIBUTOR= BuiltInRole.fromString("Web Plan Contributor")
可以管理 Web 计划的角色。
WEBSITE_CONTRIBUTOR
public static final BuiltInRole WEBSITE_CONTRIBUTOR= BuiltInRole.fromString("Website Contributor")
可以管理网站,但不能管理它们所连接到的 Web 计划的角色。
方法详细信息
fromString
public static BuiltInRole fromString(String name)
根据指定的名称查找或创建角色实例。
Parameters:
Returns:
values
public static Collection
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈