最近更新时间:2021-10-19 16:38:20
克隆实例安全组
注意:
GET
| 英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
|---|---|---|---|---|
| Action | 调用接口名称 | String | 是 | 取固定值:CloneSecurityGroup |
| Version | API版本号 | String | 是 | 取固定值:2020-08-25 |
| SecurityGroupId | 被克隆安全组ID | String | 是 | |
| SecurityGroupName | 安全组名称 | String | 是 | 不超过256个字节,仅支持中文、大小写字母、数字、减号和下划线 |
| SecurityGroupDescription | 安全组描述 | String | 是 | 不超过256个字节,仅支持中文、大小写字母、数字、减号和下划线 |
| 英文名称 | 中文名称 | 类型 | 备注 |
|---|---|---|---|
| RequestId | 请求ID | String | – |
| Data.SecurityGroups | 安全组列表 | List | 返回安全组详细信息 |
SecurityGroups:
| 英文名称 | 中文名称 | 类型 | 备注 |
|---|---|---|---|
| SecurityGroupId | 安全组ID | String | |
| SecurityGroupName | 安全组名称 | String | |
| SecurityGroupDescription | 安全组描述 | String | |
| SecurityGroupType | 安全组类型 | String | |
| Created | 安全组创建时间 | String | |
| Instances | 绑定实例列表 | List | |
| SecurityGroupRules | 绑定规则列表 | List |
SecurityGroupRules:
| 英文名称 | 中文名称 | 类型 | 备注 |
|---|---|---|---|
| SecurityGroupRuleId | 规则ID | String | |
| SecurityGroupRuleName | 规则名称 | String | |
| SecurityGroupRuleProtocol | 规则协议 | String | |
| SecurityGroupRuleCidr | 规则CIDR | String | |
| Created | 创建时间 | String |
Instances:
| 英文名称 | 中文名称 | 类型 | 备注 |
|---|---|---|---|
| DBInstanceIdentifier | 实例ID | String | |
| DBInstanceName | 实例名称 | String | |
| Vip | 实例VIP | String | |
| Created | 创建时间 | String |
http://krds.{{region}}.api.ksyun.com/?Action=CloneSecurityGroup&Version=2020-08-25&SecurityGroupId=64599&SecurityGroupName=Kingsoft_clone&SecurityGroupDescription=金山云克隆
{
"Data": {
"SecurityGroups": [
{
"SecurityGroupId": "64603",
"SecurityGroupName": "Kingsoft_clone",
"SecurityGroupDescription": "金山云克隆",
"SecurityGroupType": "IPV4",
"Created": "2021-09-08T16:12:47+0800",
"Instances": [],
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "130239",
"SecurityGroupRuleProtocol": "TCP/IP",
"SecurityGroupRuleCidr": "10.111.0.88/24",
"Created": "2021-09-08T16:12:47+0800"
},
{
"SecurityGroupRuleId": "130240",
"SecurityGroupRuleName": "金山云测试",
"SecurityGroupRuleProtocol": "TCP/IP",
"SecurityGroupRuleCidr": "49.233.68.33/32",
"Created": "2021-09-08T16:12:47+0800"
}
]
}
]
},
"RequestId": "5eec73be-197e-4b49-9230-7173a3db6086"
}
纯净模式
