Modifies the name of a global IP whitelist template associated with an ApsaraDB for MongoDB instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyGlobalSecurityIPGroupName |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| GlobalIgName |
string |
Yes |
The name of the IP whitelist template. The name must meet the following requirements:
|
prod_baoxian_k8s |
| GlobalSecurityGroupId |
string |
Yes |
The ID of the IP whitelist template. |
g-xmtncwkrzqqoe59dzljb |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F8CA8312-530A-413A-9129-F2BB32A8D404 |
| GlobalSecurityIPGroup |
array<object> |
The global IP whitelist templates. |
|
|
object |
The global IP whitelist template. |
||
| GlobalSecurityGroupId |
string |
The ID of the IP whitelist template. |
g-qiawi8ec1urcx9swoy37 |
| GlobalIgName |
string |
The name of the IP whitelist template. |
def |
| GIpList |
string |
The IP addresses in the whitelist template. Note
Separate multiple IP addresses with commas (,). You can create up to 1,000 IP addresses or CIDR blocks for all IP address whitelists. |
222.70.197.187 |
| RegionId |
string |
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-shanghai |
Examples
Success response
JSON format
{
"RequestId": "F8CA8312-530A-413A-9129-F2BB32A8D404",
"GlobalSecurityIPGroup": [
{
"GlobalSecurityGroupId": "g-qiawi8ec1urcx9swoy37",
"GlobalIgName": "def",
"GIpList": "222.70.197.187",
"RegionId": "cn-shanghai"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.