复制安全组

接口说明

面向政企版租户开放复制安全组接口 限流:根据租户实现用户级别的限流,限制为10次每秒


推荐使用API Explorer调试

API Explorer支持接口在线可视化调用,同时自动生成动态代码示例,搭配OpenAPI SDK无需计算签名实现接口快速集成。

URL

POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-securityGroup/copySecurityGroup

请求参数

Body

参数名称
类型
必填
描述
reqDto
CcempCopySecurityGroupReqDto
是

reqDto

createSecurityGroupInfo
CcempCreateSecurityGroupReqDto
否

创建信息

securityGroupName
string
是

安全组名称

description
string
否

安全组描述

poolCode
string
是

资源池编码

region
string
是

可用区编码, 例如:CIDC-RP-30-AZ1

securityGroupUid
string
是

安全组UUID

请求示例

POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-securityGroup/copySecurityGroup
{
	"createSecurityGroupInfo":{
		"securityGroupName":"secGroup3",
		"description":"",
		"poolCode":"CIDC-RP-25",
		"region":"CIDC-RP-25-AZ2"
	},
	"securityGroupUid":"sg-835d20f1e8ec485ebfc4acd0be0c1ab0"
}

返回参数

返回码:200
OK
参数名称
类型
描述
body
string
errorCode
string
errorMessage
string
requestId
string
state
enum(OK,ERROR,EXCEPTION,FORBIDDEN,REMAINING,TIMEOUT)

返回示例

返回码:200
OK
{
	"body":"ok",
	"errorCode":"200",
	"errorMessage":"",
	"requestId":"53db1b19d0fba8e0",
	"state":"OK"
}
本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。