网络
虚拟私有云 VPC
弹性公网IP EIP
弹性负载均衡 ELB
NAT网关 NAT
云专线 DC
虚拟专用网络 VPN
云连接 CC
VPC终端节点 VPCEP
企业路由器 ER
企业交换机 ESW
全球加速 GA
企业连接 EC
云原生应用网络 ANC
安全与合规
安全技术与应用
Web应用防火墙 WAF
企业主机安全 HSS
云防火墙 CFW
安全云脑 SecMaster
DDoS防护 AAD
数据加密服务 DEW
数据库安全服务 DBSS
云堡垒机 CBH
数据安全中心 DSC
云证书管理服务 CCM
威胁检测服务 MTD
态势感知 SA
认证测试中心 CTC
边缘安全 EdgeSec
应用中间件
微服务引擎 CSE
分布式消息服务Kafka版
分布式消息服务RabbitMQ版
分布式消息服务RocketMQ版
API网关 APIG
分布式缓存服务 DCS
多活高可用服务 MAS
事件网格 EG
管理与监管
统一身份认证服务 IAM
消息通知服务 SMN
云监控服务 CES
应用运维管理 AOM
应用性能管理 APM
云日志服务 LTS
云审计服务 CTS
标签管理服务 TMS
配置审计 Config
应用身份管理服务 OneAccess
资源访问管理 RAM
组织 Organizations
资源编排服务 RFS
优化顾问 OA
IAM 身份中心
云运维中心 COC
资源治理中心 RGC
解决方案
高性能计算 HPC
SAP
混合云灾备
开天工业工作台 MIW
Haydn解决方案工厂
数字化诊断治理专家服务
云生态
云商店
合作伙伴中心
华为云开发者学堂
华为云慧通差旅
开发与运维
软件开发生产线 CodeArts
需求管理 CodeArts Req
流水线 CodeArts Pipeline
代码检查 CodeArts Check
编译构建 CodeArts Build
部署 CodeArts Deploy
测试计划 CodeArts TestPlan
制品仓库 CodeArts Artifact
移动应用测试 MobileAPPTest
CodeArts IDE Online
开源镜像站 Mirrors
性能测试 CodeArts PerfTest
应用管理与运维平台 ServiceStage
云应用引擎 CAE
开源治理服务 CodeArts Governance
华为云Astro轻应用
CodeArts IDE
Astro工作流 AstroFlow
代码托管 CodeArts Repo
漏洞管理服务 CodeArts Inspector
联接 CodeArtsLink
软件建模 CodeArts Modeling
Astro企业应用 AstroPro
CodeArts盘古助手
华为云Astro大屏应用
计算
弹性云服务器 ECS
Flexus云服务
裸金属服务器 BMS
云手机服务器 CPH
专属主机 DeH
弹性伸缩 AS
镜像服务 IMS
函数工作流 FunctionGraph
云耀云服务器(旧版)
VR云渲游平台 CVR
Huawei Cloud EulerOS
云化数据中心 CloudDC
网络
虚拟私有云 VPC
弹性公网IP EIP
弹性负载均衡 ELB
NAT网关 NAT
云专线 DC
虚拟专用网络 VPN
云连接 CC
VPC终端节点 VPCEP
企业路由器 ER
企业交换机 ESW
全球加速 GA
企业连接 EC
云原生应用网络 ANC
CDN与智能边缘
内容分发网络 CDN
智能边缘云 IEC
智能边缘平台 IEF
CloudPond云服务
安全与合规
安全技术与应用
Web应用防火墙 WAF
企业主机安全 HSS
云防火墙 CFW
安全云脑 SecMaster
DDoS防护 AAD
数据加密服务 DEW
数据库安全服务 DBSS
云堡垒机 CBH
数据安全中心 DSC
云证书管理服务 CCM
威胁检测服务 MTD
态势感知 SA
认证测试中心 CTC
边缘安全 EdgeSec
大数据
MapReduce服务 MRS
数据湖探索 DLI
表格存储服务 CloudTable
可信智能计算服务 TICS
推荐系统 RES
云搜索服务 CSS
数据可视化 DLV
数据接入服务 DIS
数据仓库服务 GaussDB(DWS)
数据治理中心 DataArts Studio
湖仓构建 LakeFormation
智能数据洞察 DataArts Insight
应用中间件
微服务引擎 CSE
分布式消息服务Kafka版
分布式消息服务RabbitMQ版
分布式消息服务RocketMQ版
API网关 APIG
分布式缓存服务 DCS
多活高可用服务 MAS
事件网格 EG
开天aPaaS
应用平台 AppStage
开天企业工作台 MSSE
开天集成工作台 MSSI
API中心 API Hub
云消息服务 KooMessage
交换数据空间 EDS
云地图服务 KooMap
云手机服务 KooPhone
组织成员账号 OrgID
云空间服务 KooDrive
管理与监管
统一身份认证服务 IAM
消息通知服务 SMN
云监控服务 CES
应用运维管理 AOM
应用性能管理 APM
云日志服务 LTS
云审计服务 CTS
标签管理服务 TMS
配置审计 Config
应用身份管理服务 OneAccess
资源访问管理 RAM
组织 Organizations
资源编排服务 RFS
优化顾问 OA
IAM 身份中心
云运维中心 COC
资源治理中心 RGC
区块链
区块链服务 BCS
数字资产链 DAC
华为云区块链引擎服务 HBS
解决方案
高性能计算 HPC
SAP
混合云灾备
开天工业工作台 MIW
Haydn解决方案工厂
数字化诊断治理专家服务
价格
成本优化最佳实践
专属云商业逻辑
云生态
云商店
合作伙伴中心
华为云开发者学堂
华为云慧通差旅
其他
管理控制台
消息中心
产品价格详情
系统权限
客户关联华为云合作伙伴须知
公共问题
宽限期保留期
奖励推广计划
活动
云服务信任体系能力说明
开发与运维
软件开发生产线 CodeArts
需求管理 CodeArts Req
流水线 CodeArts Pipeline
代码检查 CodeArts Check
编译构建 CodeArts Build
部署 CodeArts Deploy
测试计划 CodeArts TestPlan
制品仓库 CodeArts Artifact
移动应用测试 MobileAPPTest
CodeArts IDE Online
开源镜像站 Mirrors
性能测试 CodeArts PerfTest
应用管理与运维平台 ServiceStage
云应用引擎 CAE
开源治理服务 CodeArts Governance
华为云Astro轻应用
CodeArts IDE
Astro工作流 AstroFlow
代码托管 CodeArts Repo
漏洞管理服务 CodeArts Inspector
联接 CodeArtsLink
软件建模 CodeArts Modeling
Astro企业应用 AstroPro
CodeArts盘古助手
华为云Astro大屏应用
存储
对象存储服务 OBS
云硬盘 EVS
云备份 CBR
高性能弹性文件服务 SFS Turbo
弹性文件服务 SFS
存储容灾服务 SDRS
云硬盘备份 VBS
云服务器备份 CSBS
数据快递服务 DES
云存储网关 CSG
专属分布式存储服务 DSS
数据工坊 DWR
地图数据 MapDS
键值存储服务 KVS
容器
云容器引擎 CCE
云容器实例 CCI
容器镜像服务 SWR
云原生服务中心 OSC
应用服务网格 ASM
华为云UCS
数据库
云数据库 RDS
数据复制服务 DRS
文档数据库服务 DDS
分布式数据库中间件 DDM
云数据库 GaussDB
云数据库 GeminiDB
数据管理服务 DAS
数据库和应用迁移 UGO
云数据库 TaurusDB
人工智能
AI开发平台ModelArts
华为HiLens
图引擎服务 GES
图像识别 Image
文字识别 OCR
自然语言处理 NLP
内容审核 Moderation
图像搜索 ImageSearch
医疗智能体 EIHealth
企业级AI应用开发专业套件 ModelArts Pro
人脸识别服务 FRS
对话机器人服务 CBS
语音交互服务 SIS
人证核身服务 IVS
视频智能分析服务 VIAS
城市智能体
自动驾驶云服务 Octopus
盘古大模型 PanguLargeModels
IoT物联网
设备接入 IoTDA
全球SIM联接 GSL
IoT数据分析 IoTA
路网数字化服务 DRIS
IoT边缘 IoTEdge
设备发放 IoTDP
企业应用
域名注册服务 Domains
云解析服务 DNS
企业门户 EWP
ICP备案
商标注册
华为云WeLink
华为云会议 Meeting
隐私保护通话 PrivateNumber
语音通话 VoiceCall
消息&短信 MSGSMS
云管理网络
SD-WAN 云服务
边缘数据中心管理 EDCM
云桌面 Workspace
应用与数据集成平台 ROMA Connect
ROMA资产中心 ROMA Exchange
API全生命周期管理 ROMA API
政企自服务管理 ESM
视频
实时音视频 SparkRTC
视频直播 Live
视频点播 VOD
媒体处理 MPC
视频接入服务 VIS
数字内容生产线 MetaStudio
迁移
主机迁移服务 SMS
对象存储迁移服务 OMS
云数据迁移 CDM
迁移中心 MGC
专属云
专属计算集群 DCC
开发者工具
SDK开发指南
API签名指南
DevStar
华为云命令行工具服务 KooCLI
Huawei Cloud Toolkit
CodeArts API
云化转型
云架构中心
云采用框架
用户服务
账号中心
费用中心
成本中心
资源中心
企业管理
工单管理
客户运营能力
国际站常见问题
支持计划
专业服务
合作伙伴支持计划
我的凭证
华为云公共事业服务云平台
工业软件
工业数字模型驱动引擎
硬件开发工具链平台云服务
工业数据转换引擎云服务
更新时间:2024-08-16 GMT+08:00
分享

云搜索服务 CSS

Organizations服务中的服务控制策略(Service Control Policy,以下简称SCP)可以使用以下授权项元素设置访问控制策略。

SCP不直接进行授权,只划定权限边界。将SCP绑定到组织单元或者成员账号时,并没有直接对组织单元或成员账号授予操作权限,而是规定了成员账号或组织单元包含的成员账号的授权范围。

本章节介绍组织服务中SCP使用的元素,这些元素包含了操作(Action)、资源(Resource)和条件(Condition)。

如何使用这些元素编辑SCP自定义策略,请参考创建SCP

操作(Action)

操作(Action)即为SCP中支持的授权项。

  • “访问级别”列描述如何对操作进行分类(list、read和write等)。此分类可帮助您了解在SCP中相应操作对应的访问级别。
  • “资源类型”列指每个操作是否支持资源级权限。
    • 资源类型支持通配符号*表示所有。如果此列没有值(-),则必须在SCP语句的Resource元素中指定所有资源类型(“*”)。
    • 如果该列包含资源类型,则必须在具有该操作的语句中指定该资源的URN。
    • 资源类型列中必需资源在表中用星号(*)标识,表示使用此操作必须指定该资源类型。

    关于CSS定义的资源类型的详细信息请参见资源类型(Resource)

  • “条件键”列包括了可以在SCP语句的Condition元素中支持指定的键值。
    • 如果该授权项资源类型列存在值,则表示条件键仅对列举的资源类型生效。
    • 如果该授权项资源类型列没有值(-),则表示条件键对整个授权项生效。
    • 如果此列条件键没有值(-),表示此操作不支持指定条件键。

    关于CSS定义的条件键的详细信息请参见条件(Condition)

您可以在SCP语句的Action元素中指定以下CSS的相关操作。

表1 CSS支持的授权项

授权项

描述

访问级别

资源类型(*为必须)

条件键

css:VPCEndpoint:updateWhitelist

授予权限更新已存在的终端节点白名单。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:updateBackupPolicy

授予权限日志备份修改或删除。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:setSnapshotPolicy

授予权限操作备份策略。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:getSnapshotPolicy

授予权限查询备份策略。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:restore

授予权限恢复快照。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:create

授予权限创建快照。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:publicIPAddress:associates

授予权限开启或关闭公网访问。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:publicIPAddress:setAccessControl

授予权限对白名单列表进行操作。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:tag:get

授予权限查询资源标签。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:publicIPAddress:modifyBandwidth

授予权限修改带宽大小。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:VPCEndpoint:enableOrDisable

授予权限创建或删除VPCEP。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:getBasicConfigurations

授予权限日志基础配置查询。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:list

授予权限查看快照列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:list

授予权限查看日志。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:setSnapshotContiguration

授予权限设置快照基础配置。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listFlavors

授予权限查询规格ID列表。

list

-

-

css:cluster:listDiskType

授予权限列举可用磁盘类型。

list

-

-

css:tag:list

授予权限查询项目标签。

list

cluster *

-

css:VPCEndpoint:manageConnection

授予权限操作终端节点的连接。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:listJob

授予权限查询作业列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:downloadCert

授予权限获取证书内容。

read

-

-

css:cluster:get

授予权限查询集群详情。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:enableAtomaticSnapsot

授予权限设置快照自动备份的基础配置。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:delete

授予权限删除指定快照。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:IKThesaurus:get

授予权限查看自定义词库配置。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:restart

授予权限重启ElasticSearch集群。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:modifySecurityGroup

授予权限修改集群安全组。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:configurations:list

授予权限查询获取参数配置的任务操作列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:delete

授予权限删除集群。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:modifySpecifications

授予权限修改集群规格。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:list

授予权限列举集群信息。

list

cluster *

-

css:cluster:scaleOut

授予权限扩容集群。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:IKThesaurus:load

授予权限加载自定义词库。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:configurations:modify

授予权限更新参数配置。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:configurations:get

授予权限列举参数配置列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:IKThesaurus:delete

授予权限删除词库。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:expand

授予权限扩容实例的数量和存储容量。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:snapshot:disableSnapshotFuction

授予权限关闭集群快照功能。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:upgradeCluster

授予权限升级集群或节点替换。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:VPCEndpoint:listConnection

授予权限查询VPCEP的连接。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:scaleIn

授予权限对集群缩容。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:setBasicConfigurations

授予权限日志基础配置设置。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:tag:addOrDelete

授予权限批量添加删除资源标签。

tagging

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

css:publicKibana:close

授予权限关闭公网访问。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:tag:edit

授予权限修改集群标签。

tagging

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

css:cluster:create

授予权限创建集群。

write

cluster *

-

-

  • g:EnterpriseProjectId
  • g:RequestTag/<tag-key>
  • g:TagKeys

css:cluster:toPeriod

授予权限对集群转包周期。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:modifyName

授予权限修改集群名称。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:log:backup

授予权限对日志备份。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:closeLogSetting

授予权限关闭日志功能。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:openLogSetting

授予权限开启日志功能。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:modifyPassword

授予权限修改集群密码。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:publicIPAddress:disassociates

授予权限解绑公网。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:publicKibana:open

授予权限绑定公网。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:tag:delete

授予权限删除标签。

tagging

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

g:TagKeys

css:cluster:shrinkNodes

授予权限指定节点缩容。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:changeMode

授予权限修改安全模式。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:addIndependenceNodes

授予权限添加独立master,client。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:rollingReboot

授予权限滚动重启ElasticSearch集群。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:listActions

授予权限查询操作记录。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:uploadCerts

授予权限上传证书。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:deleteCerts

授予权限删除证书。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listCerts

授予权限查询证书列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:getCertsDetail

授予权限查询证书详情。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:deleteConfTemplate

授予权限删除自定义模板。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:listConfigTemplate

授予权限查询模板列表。

list

-

-

css:logstash:confStop

授予权限停止或热停止pipeline迁移数据。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:checkConnection

授予权限连通性测试。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:confDelete

授予权限删除配置文件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:confStart

授予权限启动或热启动pipeline迁移数据。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:getConfDetail

授予权限用于查询配置文件内容。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:azmigrate

授予权限进行可用区切换。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:confUpdate

授予权限更新配置文件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:listPipelines

授予权限查询pipeline列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:retryAction

授予权限重试该任务或终止该任务的影响。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:listConfs

授予权限查询配置文件列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:configFavorites

授予权限添加到自定义模板。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listUpgradeCluster

授予权限获取升级镜像id及升级详情。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:submitConf

授予权限创建配置文件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:list

授予权限查询集群插件列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:getOperationRecords

授予权限查询插件的操作记录。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:delete

授予权限删除插件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:installOrUninstall

授予权限安装或卸载插件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:upload

授予权限上传插件。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:plugin:getDefault

授予权限查询默认插件。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:getAgencies

授予权限获取代理。

read

-

-

css:cluster:modifyRoute

授予权限修改集群路由。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:getRoutes

授予权限获取集群路由。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:logstash:actionList

授予权限查询集群任务列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:createUserInfo

授予权限查创建用户信息。

write

cluster *

-

css:VPCEndpoint:modifyConnections

授予权限修改连接大小。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:queryNeedDeleteInstances

授予权限查询需要删除的节点。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:queryKey

授予权限获得密钥。

read

-

-

css:cluster:queryKeys

授予权限获得密钥列表。

list

-

-

css:cluster:getPubliczonePice

授予权限获取带宽价格。

read

cluster *

-

css:datastore:get

授予权限获取数据引擎。

read

cluster *

-

css:datastore:list

授予权限获取数据引擎列表。

list

cluster *

-

css:cluster:getDiskUsage

授予权限获取集群存储容量状态。

read

cluster *

-

css:snapshot:showDetail

授予权限获得快照详情。

read

cluster *

-

css:cluster:getAvailableBuckets

授予权限获取可用OBS桶。

list

-

-

css:cluster:checkCssName

授予权限检查集群名称。

write

cluster *

-

css:snapshot:deleteAllFailedTask

授予权限删除所有的失败任务。

write

-

-

css:snapshot:deleteSingleFailedTask

授予权限删除指定失败任务。

write

-

-

css:snapshot:getAllFailedTask

授予权限查看备份失败任务。

list

-

-

css::createServiceAgency

授予权限创建委托。

write

-

-

css:cluster:createAiOps

授予权限创建检测任务。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listAiOps

授予权限获取检测任务列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:deleteAiOps

授予权限删除检测任务。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listSmnTopics

授予权限获取SMN主题列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listElbs

授予权限下获取当前集群可用的负载均衡器列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:elbSwitch

授予权限打开或关闭负载均衡功能。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:createElbListener

授予权限为当前集群创建监听器。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:updateElbListener

授予权限修改当前集群的监听器。

write

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:getElbDetail

授予权限查询当前集群使用的负载均衡器信息。

read

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

css:cluster:listElbCerts

授予权限获取负载均衡器证书列表。

list

cluster *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

CSS的API通常对应着一个或多个授权项。表2展示了API与授权项的关系,以及该API需要依赖的授权项。

表2 API与授权项的关系

API

对应的授权项

依赖的授权项

POST /v1.0/{project_id}/clusters

css:cluster:create

  • ecs:cloudServerFlavors:get
  • evs:types:get
  • vpc:vpcs:list
  • vpc:securityGroups:list
  • vpc:securityGroups:get
  • vpc:subnets:list
  • vpc:subnets:get
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:delete
  • vpc:ports:get
  • css:cluster:getAgencies
  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject
  • iam:agencies:pass

POST /v2.0/{project_id}/clusters

css:cluster:create

  • ecs:cloudServerFlavors:get
  • evs:types:get
  • vpc:vpcs:list
  • vpc:securityGroups:list
  • vpc:securityGroups:get
  • vpc:subnets:list
  • vpc:subnets:get
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:delete
  • vpc:ports:get
  • css:cluster:getAgencies
  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject
  • iam:agencies:pass

POST /v1.0/{project_id}/clusters/{cluster_id}/sg/change

css:cluster:modifySecurityGroup

  • vpc:securityGroups:list
  • vpc:ports:update

GET /v1.0/{project_id}/clusters

css:cluster:list

-

GET /v1.0/{project_id}/clusters/{cluster_id}

css:cluster:get

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}

css:cluster:delete

-

POST /v1.0/{project_id}/cluster/{cluster_id}/period

css:cluster:toPeriod

-

POST /v1.0/{project_id}/clusters/{cluster_id}/changename

css:cluster:modifyName

-

POST /v1.0/{project_id}/clusters/{cluster_id}/password/reset

css:cluster:modifyPassword

-

POST /v1.0/{project_id}/clusters/{cluster_id}/restart

css:cluster:restart

-

POST /v2.0/{project_id}/clusters/{cluster_id}/restart

css:cluster:restart

-

POST /v1.0/{project_id}/clusters/{cluster_id}/extend

css:cluster:scaleOut

  • ecs:cloudServerFlavors:get
  • evs:types:get
  • vpc:vpcs:list
  • vpc:subnets:list
  • vpc:subnets:get
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:delete
  • vpc:ports:get

POST /v1.0/{project_id}/clusters/{cluster_id}/role_extend

css:cluster:expand

  • ecs:cloudServerFlavors:get
  • evs:types:get
  • vpc:vpcs:list
  • vpc:subnets:list
  • vpc:subnets:get
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:delete
  • vpc:ports:get

POST /v1.0/{project_id}/clusters/{cluster_id}/flavor

css:cluster:modifySpecifications

ecs:cloudServerFlavors:get

GET /v1.0/{project_id}/es-flavors

css:cluster:listFlavors

ecs:cloudServerFlavors:get

GET /v1.0/{project_id}/{resource_type}/tags

css:tag:list

-

GET /v1.0/{project_id}/{resource_type}/{cluster_id}/tags

css:tag:get

-

POST /v1.0/{project_id}/{resource_type}/{cluster_id}/tags

css:tag:edit

-

DELETE /v1.0/{project_id}/{resource_type}/{cluster_id}/tags/{key}

css:tag:delete

-

POST /v1.0/{project_id}/{resource_type}/{cluster_id}/tags/action

css:tag:addOrDelete

-

POST /v1.0/{project_id}/clusters/{cluster_id}/{types}/flavor

css:cluster:modifySpecifications

ecs:cloudServerFlavors:get

POST /v1.0/extend/{project_id}/clusters/{cluster_id}/role/shrink

css:cluster:scaleIn

  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject

GET /v1.0/{project_id}/cer/download

css:cluster:downloadCert

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/instance/{instance_id}/replace

css:cluster:upgradeCluster

  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject

POST /v1.0/{project_id}/clusters/{cluster_id}/node/offline

css:cluster:shrinkNodes

  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject

POST /v1.0/{project_id}/clusters/{cluster_id}/mode/change

css:cluster:changeMode

-

POST /v1.0/{project_id}/clusters/{cluster_id}/type/{type}/independent

css:cluster:addIndependenceNodes

  • ecs:cloudServerFlavors:get
  • evs:types:get
  • vpc:vpcs:list
  • vpc:subnets:list
  • vpc:subnets:get
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:delete
  • vpc:ports:get

POST /v1.0/{project_id}/clusters/{cluster_id}/inst-type/{inst_type}/image/upgrade

css:cluster:upgradeCluster

-

POST /v1.0/{project_id}/clusters/{cluster_id}/inst-type/{inst_type}/azmigrate

css:cluster:azmigrate

  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject

GET /v1.0/{project_id}/clusters/{cluster_id}/upgrade/detail

css:cluster:listUpgradeCluster

-

GET /v1.0/{project_id}/clusters/{cluster_id}/target/{upgrade_type}/images

css:cluster:listUpgradeCluster

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/upgrade/{action_id}/retry

css:cluster:retryAction

-

POST /v1.0/{project_id}/clusters/{cluster_id}/thesaurus

css:IKThesaurus:load

  • obs:bucket:listAllMyBuckets
  • obs:bucket:getBucketLocation
  • obs:bucket:getBucketStoragePolicy
  • obs:object:getObject

GET /v1.0/{project_id}/clusters/{cluster_id}/thesaurus

css:IKThesaurus:get

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/thesaurus

css:IKThesaurus:delete

-

POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/open

css:publicKibana:open

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/publickibana/close

css:publicKibana:close

-

POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/bandwidth

css:publicIPAddress:modifyBandwidth

-

POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/whitelist/update

css:publicIPAddress:setAccessControl

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/publickibana/whitelist/close

css:publicIPAddress:setAccessControl

-

POST /v1.0/{project_id}/clusters/{cluster_id}/logs/open

css:cluster:openLogSetting

  • iam:agencies:pass
  • obs:bucket:listAllMyBuckets
  • obs:bucket:getBucketLocation
  • obs:bucket:getBucketStoragePolicy
  • iam:agencies:listAgencies

PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/close

css:cluster:closeLogSetting

-

GET /v1.0/{project_id}/clusters/{cluster_id}/logs/records

css:log:listJob

-

GET /v1.0/{project_id}/clusters/{cluster_id}/logs/settings

css:log:getBasicConfigurations

-

POST /v1.0/{project_id}/clusters/{cluster_id}/logs/settings

css:log:setBasicConfigurations

  • obs:bucket:listAllMyBuckets
  • obs:bucket:getBucketLocation
  • obs:bucket:getBucketStoragePolicy
  • iam:agencies:listAgencies
  • iam:agencies:pass

POST /v1.0/{project_id}/clusters/{cluster_id}/logs/policy/update

css:log:updateBackupPolicy

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/policy/close

css:log:updateBackupPolicy

-

POST /v1.0/{project_id}/clusters/{cluster_id}/logs/collect

css:log:backup

-

POST /v1.0/{project_id}/clusters/{cluster_id}/logs/search

css:log:list

-

POST /v1.0/{project_id}/clusters/{cluster_id}/public/open

css:publicIPAddress:associates

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/public/close

css:publicIPAddress:disassociates

-

POST /v1.0/{project_id}/clusters/{cluster_id}/public/bandwidth

css:publicIPAddress:modifyBandwidth

-

POST /v1.0/{project_id}/clusters/{cluster_id}/public/whitelist/update

css:publicIPAddress:setAccessControl

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/public/whitelist/close

css:publicIPAddress:setAccessControl

-

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/auto_setting

css:snapshot:enableAtomaticSnapsot

  • obs:bucket:createBucket
  • obs:bucket:headBucket
  • iam:agencies:listAgencies
  • iam:agencies:createAgency
  • iam:permissions:grantRoleToAgency

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/setting

css:snapshot:setSnapshotContiguration

  • obs:bucket:listAllMyBuckets
  • obs:bucket:getBucketLocation
  • obs:bucket:getBucketStoragePolicy
  • iam:agencies:listAgencies
  • iam:agencies:pass

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot

css:snapshot:create

iam:agencies:pass

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/{snapshot_id}/restore

css:snapshot:restore

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/{snapshot_id}

css:snapshot:delete

-

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/policy

css:snapshot:setSnapshotPolicy

-

GET /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/policy

css:snapshot:getSnapshotPolicy

-

GET /v1.0/{project_id}/clusters/{cluster_id}/index_snapshots

css:snapshot:list

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/index_snapshots

css:snapshot:disableSnapshotFuction

-

POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/open

css:VPCEndpoint:enableOrDisable

  • vpcep:endpoints:create
  • vpcep:endpoints:list
  • vpcep:endpoints:get
  • vpcep:endpoints:delete
  • vpcep:endpoints:update

PUT /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/close

css:VPCEndpoint:enableOrDisable

  • vpcep::listQuotas
  • vpcep:endpoints:create
  • vpcep:endpoints:list
  • vpcep:endpoints:get
  • vpcep:endpoints:delete
  • vpcep:endpoints:update

GET /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/connections

css:VPCEndpoint:listConnection

vpcep:endpoints:get

POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/connections

css:VPCEndpoint:manageConnection

-

POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/permissions

css:VPCEndpoint:updateWhitelist

-

POST /v1.0/{project_id}/clusters/{cluster_id}/ymls/update

css:configurations:modify

-

GET /v1.0/{project_id}/clusters/{cluster_id}/ymls/joblists

css:configurations:list

-

GET /v1.0/{project_id}/clusters/{cluster_id}/ymls/template

css:configurations:get

-

POST /v2.0/{project_id}/clusters/{cluster_id}/snapshots/policy/open

css:snapshot:setSnapshotPolicy

-

PUT /v2.0/{project_id}/clusters/{cluster_id}/snapshots/policy/close

css:snapshot:setSnapshotPolicy

-

POST /v2.0/{project_id}/clusters/{cluster_id}/rolling_restart

css:cluster:rollingReboot

-

GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listactions

css:logstash:listActions

-

DELETE /v1.0/{project_id}/lgsconf/deletetemplate

css:logstash:deleteConfTemplate

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/stop

css:logstash:confStop

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/hot-stop

css:logstash:confStop

-

POST /v1.0/{project_id}/clusters/{cluster_id}/checkconnection

css:logstash:checkConnection

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/delete

css:logstash:confDelete

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/start

css:logstash:confStart

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/hot-start

css:logstash:confStart

-

GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/confdetail

css:logstash:getConfDetail

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/update

css:logstash:confUpdate

-

GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listpipelines

css:logstash:listPipelines

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/submit

css:logstash:submitConf

-

POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/favorite

css:logstash:configFavorites

-

GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listconfs

css:logstash:listConfs

-

GET /v1.0/{project_id}/lgsconf/template

css:logstash:listConfigTemplate

-

POST /v1.0/{project_id}/clusters/{cluster_id}/certs/upload

css:cluster:uploadCerts

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/certs/{cert_id}/delete

css:cluster:deleteCerts

-

GET /v1.0/{project_id}/clusters/{cluster_id}/certs

css:cluster:listCerts

-

GET /v1.0/{project_id}/clusters/{cluster_id}/certs/{cert_id}

css:cluster:getCertsDetail

-

POST /v1.0/{project_id}/clusters/{cluster_id}/route

css:cluster:modifyRoute

-

GET /v1.0/{project_id}/clusters/{cluster_id}/route

css:cluster:getRoutes

-

POST /v1.0/{project_id}/clusters/{cluster_id}/ai-ops

css:cluster:createAiOps

-

GET /v1.0/{project_id}/clusters/{cluster_id}/ai-ops

css:cluster:listAiOps

-

DELETE /v1.0/{project_id}/clusters/{cluster_id}/ai-ops/{aiops_id}

css:cluster:deleteAiOps

-

GET /v1.0/{project_id}/domains/{domain_id}/ai-ops/smn-topics

css:cluster:listSmnTopics

  • css:cluster:getAgencies
  • iam:agencies:list
  • iam:agencies:listAgencies
  • iam:agencies:listAttachedPolicies
  • iam:agencies:pass

GET /v1.0/{project_id}/clusters/{cluster_id}/loadbalancers

css:cluster:listElbs

elb:loadbalancers:list

POST /v1.0/{project_id}/clusters/{cluster_id}/loadbalancers/es-switch

css:cluster:elbSwitch

  • elb:loadbalancers:list
  • iam:agencies:listAgencies
  • iam:permissions:listRolesForAgency
  • iam:permissions:listRolesForAgencyOnProject
  • iam:agencies:pass

POST /v1.0/{project_id}/clusters/{cluster_id}/es-listeners

css:cluster:createElbListener

-

GET /v1.0/{project_id}/clusters/{cluster_id}/es-listeners

css:cluster:getElbDetail

-

GET /v1.0/{project_id}/clusters/{cluster_id}/elb/certificates

css:cluster:listElbCerts

-

PUT /v1.0/{project_id}/clusters/{cluster_id}/es-listeners/{listener_id}

css:cluster:updateElbListener

-

资源类型(Resource)

资源类型(Resource)表示SCP所作用的资源。如表3中的某些操作指定了可以在该操作指定的资源类型,则必须在具有该操作的SCP语句中指定该资源的URN,SCP仅作用于此资源;如未指定,Resource默认为“*”,则SCP将应用到所有资源。您也可以在SCP中设置条件,从而指定资源类型。

CSS定义了以下可以在SCP的Resource元素中使用的资源类型。

表3 CSS支持的资源类型

资源类型

URN

cluster

css:<region>:<account-id>:cluster:<cluster-id>

条件(Condition)

CSS服务不支持在SCP中的条件键中配置服务级的条件键。

CSS可以使用适用于所有服务的全局条件键,请参考全局条件键

相关文档