最近更新时间:2021-10-19 16:38:19
修改安全组的名称或描述
GET
英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
Action | 调用接口名称 | String | 是 | 取固定值:ModifySecurityGroup |
Version | API版本号 | String | 是 | 取固定值:2020-08-25 |
SecurityGroupId | 安全组ID | String | 是 | |
SecurityGroupName | 安全组名称 | String | 否 | |
SecurityGroupDescription | 安全组描述 | String | 否 |
英文名称 | 中文名称 | 类型 | 备注 |
---|---|---|---|
RequestId | 请求ID | String | – |
Data.SecurityGroups | 安全组列表 | List | 当前安全组简略信息 |
http://krds.{{region}}.api.ksyun.com/?Action=ModifySecurityGroup&Version=2020-08-25&SecurityGroupId=64599&SecurityGroupName=KingSoft_Test&SecurityGroupDescription=金山云测试安全组
{
"Data": {
"SecurityGroups": [
{
"SecurityGroupId": "64599",
"SecurityGroupName": "KingSoft_Test",
"SecurityGroupDescription": "金山云测试安全组",
"SecurityGroupType": "IPV4",
"Created": "2021-09-08T12:05:25+0800",
"Instances": [
{
"DBInstanceIdentifier": "06ecdc79-adb7-455b-a3c4-6e1cf242c758",
"DBInstanceName": "rds_20210909_gyc_test",
"Vip": "10.0.1.195",
"Created": "2021-09-10T14:08:06+0800",
"DBInstanceType": "RR"
}
],
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "130285",
"SecurityGroupRuleName": "asdasd",
"SecurityGroupRuleProtocol": "TCP/IP",
"SecurityGroupRuleCidr": "10.0.0.198/32",
"Created": "2021-09-10T14:09:23+0800"
},
{
"SecurityGroupRuleId": "130286",
"SecurityGroupRuleName": "liujingyan-dragon-test-1",
"SecurityGroupRuleProtocol": "TCP/IP",
"SecurityGroupRuleCidr": "10.0.21.83/32",
"Created": "2021-09-10T14:09:23+0800"
}
]
}
]
},
"RequestId": "6a99f3f3-5bf2-4371-aacb-d050a59d70a8"
}
纯净模式