访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍云原生关系型数据库 PolarDB(PolarDB)为RAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。云原生关系型数据库 PolarDB(PolarDB)的RAM代码(RamCode)为polardb,支持的授权粒度为RESOURCE。
权限策略通用结构
权限策略支持JSON格式,其通用结构如下:
{
"Version": "1",
"Statement": [
{
"Effect": "<Effect>",
"Action": "<Action>",
"Resource": "<Resource>",
"Condition": {
"<Condition_operator>": {
"<Condition_key>": [
"<Condition_value>"
]
}
}
}
]
}
- Effect:权限策略效果。取值:Allow(允许)、Deny(拒绝)。
- Action:授予允许或拒绝权限的具体操作。具体信息,请参见操作(Action)。
- Resource:受操作影响的具体对象,您可以使用资源ARN来描述指定资源。具体信息,请参见资源(Resource)。
- Condition:指授权生效的条件。可选字段。具体信息,请参见条件(Condition)。
- Condition_operator:条件运算符,不同类型的条件对应不同的条件运算符。具体信息,请参见权限策略基本元素。
- Condition_key:条件关键字。
- Condition_value:条件关键字对应的值。
操作(Action)
下表是云原生关系型数据库 PolarDB(PolarDB)定义的操作,这些操作可以在RAM权限策略语句的Action
元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:- 操作:是指具体的权限点。
- API:是指操作对应的API接口。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用背景高亮的方式表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | API | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|---|
polardb:DescribeDBClusterParameters | DescribeDBClusterParameters | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyBackupPolicy | ModifyBackupPolicy | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CheckDBName | CheckDBName | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeAutoRenewAttribute | DescribeAutoRenewAttribute | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:TagResources | TagResources | create | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DescribePendingMaintenanceAction | DescribePendingMaintenanceAction | get | 全部资源 * | 无 | 无 |
polardb:UntagResources | UntagResources | delete | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ManuallyStartDBCluster | ManuallyStartDBCluster | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:RestartDBNode | RestartDBNode | update | DBNode acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeDBNodePerformance | DescribeDBNodePerformance | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateStoragePlan | CreateStoragePlan | create | 全部资源 * | 无 | 无 |
polardb:DescribeGlobalSecurityIPGroup | DescribeGlobalSecurityIPGroup | get | 全部资源 * | 无 | 无 |
polardb:DescribeDBClusterAttribute | DescribeDBClusterAttribute | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:EnableDBClusterServerless | EnableDBClusterServerless | Write | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DeleteParameterGroup | DeleteParameterGroup | delete | 全部资源 * | 无 | 无 |
polardb:ModifyDBNodeClass | ModifyDBNodeClass | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:OpenAITask | OpenAITask | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeScheduleTasks | DescribeScheduleTasks | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeGlobalSecurityIPGroupRelation | DescribeGlobalSecurityIPGroupRelation | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:TempModifyDBNode | TempModifyDBNode | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:CreateDBCluster | CreateDBCluster | create | 全部资源 * | 无 | 无 |
polardb:DescribeDBLinks | DescribeDBLinks | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterConnectivity | DescribeDBClusterConnectivity | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:ModifyGlobalSecurityIPGroupRelation | ModifyGlobalSecurityIPGroupRelation | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DeleteMaskingRules | DeleteMaskingRules | delete | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:TransformDBClusterPayType | TransformDBClusterPayType | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DeleteDBClusterEndpoint | DeleteDBClusterEndpoint | delete | Endpoint acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeAITaskStatus | DescribeAITaskStatus | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBDescription | ModifyDBDescription | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ResetAccount | ResetAccount | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBClusterEndpoint | ModifyDBClusterEndpoint | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateDatabase | CreateDatabase | create | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBClusterMigration | ModifyDBClusterMigration | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeBackupPolicy | DescribeBackupPolicy | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:FailoverDBCluster | FailoverDBCluster | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeMaskingRules | DescribeMaskingRules | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DescribeGlobalDatabaseNetworks | DescribeGlobalDatabaseNetworks | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/* | 无 | 无 |
polardb:DisableDBClusterServerless | DisableDBClusterServerless | Write | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:CancelScheduleTasks | CancelScheduleTasks | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeBackups | DescribeBackups | get | Backup acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DBClusterId}DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:CreateBackup | CreateBackup | create | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ResetGlobalDatabaseNetwork | ResetGlobalDatabaseNetwork | update | GlobalDatabaseNetwork acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:CreateAccount | CreateAccount | create | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyGlobalSecurityIPGroup | ModifyGlobalSecurityIPGroup | update | 全部资源 * | 无 | 无 |
polardb:DescribeDasConfig | DescribeDasConfig | get | DBCluster acs:polardb:{#regionId}:{#AccountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DeleteDBNodes | DeleteDBNodes | delete | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterTDE | DescribeDBClusterTDE | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateGlobalDatabaseNetwork | CreateGlobalDatabaseNetwork | create | GlobalDatabaseNetwork acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:CreateDBClusterEndpoint | CreateDBClusterEndpoint | create | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBClusterServerlessConf | ModifyDBClusterServerlessConf | update | DBCluster acs:polardb:*:{#accountId}:{#resource-type}/* | 无 | 无 |
polardb:CheckKMSAuthorized | CheckKMSAuthorized | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeDBClusterSSL | DescribeDBClusterSSL | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBClusterTDE | ModifyDBClusterTDE | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DeleteDatabase | DeleteDatabase | delete | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:CloseAITask | CloseAITask | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterAccessWhiteList | DescribeDBClusterAccessWhitelist | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DeleteGlobalSecurityIPGroup | DeleteGlobalSecurityIPGroup | delete | 全部资源 * | 无 | 无 |
polardb:DescribeAccounts | DescribeAccounts | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeMetaList | DescribeMetaList | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeBackupLogs | DescribeBackupLogs | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateDBNodes | CreateDBNodes | create | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CheckAccountName | CheckAccountName | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBClusterAccessWhitelist | ModifyDBClusterAccessWhitelist | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterEndpoints | DescribeDBClusterEndpoints | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:UpgradeDBClusterVersion | UpgradeDBClusterVersion | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateGlobalSecurityIPGroup | CreateGlobalSecurityIPGroup | create | 全部资源 * | 无 | 无 |
polardb:DescribeDBClusterMonitor | DescribeDBClusterMonitor | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeSlowLogRecords | DescribeSlowLogRecords | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeClassList | DescribeClassList | get | 全部资源 * | 无 | 无 |
polardb:DeleteDBLink | DeleteDBLink | delete | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeDatabases | DescribeDatabases | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeVSwitches | DescribeVSwitches | get | 全部资源 * | 无 | 无 |
polardb:ModifyDBClusterAndNodesParameters | ModifyDBClusterAndNodesParameters | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterMigration | DescribeDBClusterMigration | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBProxyPerformance | DescribeDBProxyPerformance | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterAuditLogCollector | DescribeDBClusterAuditLogCollector | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateParameterGroup | CreateParameterGroup | create | 全部资源 * | 无 | 无 |
polardb:DescribeDBClusters | DescribeDBClusters | list | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBClusterStorageSpace | ModifyDBClusterStorageSpace | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeDBClusterVersion | DescribeDBClusterVersion | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:RemoveDBClusterFromGDN | RemoveDBClusterFromGDN | delete | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBClusterMonitor | ModifyDBClusterMonitor | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:RestartDBLink | RestartDBLink | none | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DescribeUserEncryptionKeyList | DescribeUserEncryptionKeyList | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeDetachedBackups | DescribeDetachedBackups | get | dbcluster acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:DescribeGlobalDatabaseNetwork | DescribeGlobalDatabaseNetwork | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DeleteDBCluster | DeleteDBCluster | delete | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:RevokeAccountPrivilege | RevokeAccountPrivilege | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeSlowLogs | DescribeSlowLogs | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:RestoreTable | RestoreTable | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyAccountDescription | ModifyAccountDescription | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyAccountPassword | ModifyAccountPassword | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribePendingMaintenanceActions | DescribePendingMaintenanceActions | get | 全部资源 * | 无 | 无 |
polardb:CreateDBEndpointAddress | CreateDBEndpointAddress | create | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeLogBackupPolicy | DescribeLogBackupPolicy | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeBackupTasks | DescribeBackupTasks | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBCluster | ModifyDBCluster | update | DBCluster acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyLogBackupPolicy | ModifyLogBackupPolicy | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:CreateDBLink | CreateDBLink | create | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:ModifyDBClusterMaintainTime | ModifyDBClusterMaintainTime | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DeleteBackup | DeleteBackup | delete | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBInitializeVariable | DescribeDBInitializeVariable | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterPerformance | DescribeDBClusterPerformance | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyAutoRenewAttribute | ModifyAutoRenewAttribute | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBNodeHotReplicaMode | ModifyDBNodeHotReplicaMode | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DeleteAccount | DeleteAccount | delete | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeDBClusterServerlessConf | DescribeDBClusterServerlessConf | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DescribeDBNodesParameters | DescribeDBNodesParameters | get | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:DeleteGlobalDatabaseNetwork | DeleteGlobalDatabaseNetwork | delete | GlobalDatabaseNetwork acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:GrantAccountPrivilege | GrantAccountPrivilege | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribePolarSQLCollectorPolicy | DescribePolarSQLCollectorPolicy | get | 全部资源 * | 无 | 无 |
polardb:ModifyDBNodesParameters | ModifyDBNodesParameters | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:DescribeTasks | DescribeTasks | get | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DeleteDBEndpointAddress | DeleteDBEndpointAddress | delete | Endpoint acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBNodesClass | ModifyDBNodesClass | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:ModifyMaskingRules | ModifyMaskingRules | update | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} | 无 | 无 |
polardb:ModifyDBClusterAuditLogCollector | ModifyDBClusterAuditLogCollector | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBClusterDeletion | ModifyDBClusterDeletion | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyGlobalSecurityIPGroupName | ModifyGlobalSecurityIPGroupName | update | 全部资源 * | 无 | 无 |
polardb:DescribeDBClustersWithBackups | DescribeDBClustersWithBackups | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/* | 无 | 无 |
polardb:ModifyGlobalDatabaseNetwork | ModifyGlobalDatabaseNetwork | update | GlobalDatabaseNetwork acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBClusterSSL | ModifyDBClusterSSL | update | DBCluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} | 无 | 无 |
polardb:ModifyDBClusterDescription | ModifyDBClusterDescription | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyPendingMaintenanceAction | ModifyPendingMaintenanceAction | update | 全部资源 * | 无 | 无 |
polardb:CloseDBClusterMigration | CloseDBClusterMigration | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ModifyDBEndpointAddress | ModifyDBEndpointAddress | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:ListTagResources | ListTagResources | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/* | 无 | 无 |
polardb:ModifyDBClusterPrimaryZone | ModifyDBClusterPrimaryZone | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeParameterGroups | DescribeParameterGroups | get | 全部资源 * | 无 | 无 |
polardb:ModifyDBClusterParameters | ModifyDBClusterParameters | update | dbcluster acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} | 无 | 无 |
polardb:DescribeParameterTemplates | DescribeParameterTemplates | get | DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/* | 无 | 无 |
polardb:DescribeParameterGroup | DescribeParameterGroup | get | 全部资源 * | 无 | 无 |
资源(Resource)
下表是云原生关系型数据库 PolarDB(PolarDB)定义的资源,这些资源可以在RAM权限策略语句的Resource
元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源ARN是资源在阿里云上的唯一标识。具体说明如下:{#}
为变量标识,需要您替换为实际值。例如:{#ramcode}
需要您替换为实际的云服务RAM代码。-
*
表示全部。例如:{#resourceType}
为*
时:表示全部资源。{#regionId}
为*
时:表示全部地域。{#accountId}
为*
时:表示全部阿里云账号。
资源类型 | 资源ARN |
---|---|
dbcluster | acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} |
dbcluster | acs:polardb:{#regionId}:{#accountId}:dbcluster/* |
DBNode | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
DBNode | acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} |
ParameterGroup | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
DBCluster | acs:polardb:*:{#accountId}:dbcluster/{#dbclusterId} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId} |
Endpoint | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:{#resource-type}/* |
ColdStorageInstance | acs:polardb:*:{#accountId}:coldstorageinstance/{#OssClusterId} |
Backup | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DBClusterId} |
GlobalDatabaseNetwork | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
DBCluster | acs:polardb:{#regionId}:{#AccountId}:dbcluster/{#DbClusterId} |
DBCluster | acs:polardb:*:{#accountId}:{#resource-type}/* |
ColdStorageInstance | acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} |
DBCluster | acs:polardb:*:{#accountId}:{#resource-type}/{#resource-id} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DBClusterId} |
dbcluster | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
DBCluster | acs:polardb:{#regionId}:{#accountId}:DBCluster/{#DbClusterId} |
Backup | acs:polardb:{#regionId}:{#accountId}:backup/{#DBClusterId} |
Account | acs:polardb:*:{#accountId}:account/{#AccountId} |
Account | acs:polardb:*:{#accountId}:account/{#AccountName}/{#DBClusterId} |
DBClusterParameter | acs:polardb:*:{#accountId}:dbclusterparameter/{#ParameterGroupId} |
条件(Condition)
云原生关系型数据库 PolarDB(PolarDB)未定义产品级别的条件关键字。如需查看适用于所有云产品的通用条件关键字,请参见通用条件关键字。