Clones a security rule set.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupName |
string |
Yes |
The name of the destination security rule set. |
finance-production |
| Description |
string |
Yes |
The description of the destination security rule set. |
Group for instances in finance production environment |
| SourceGroupId |
string |
Yes |
The ID of the source security rule set. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
34E01EDD-6A16-4CF0-9541-C644D1BE01AA |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message. |
UnknownError |
| ErrorCode |
string |
The error code. |
403 |
| StandardGroup |
object |
The cloned security rule set. |
|
| GroupName |
string |
The name of the security rule set. |
finance-production |
| Description |
string |
The description of the security rule set. |
Group for instances in finance production environment |
| DbType |
string |
The type of the instance DPI engine. For more information about the return values, see DbType metric description. |
mysql |
| LastModifierId |
integer |
The user ID of the user who last modified the security rule set. |
51**** |
| GroupMode |
string |
The control mode. Valid values:
|
COMMON |
| GroupId |
integer |
The ID of the security rule set. |
41**** |
Examples
Success response
JSON format
{
"RequestId": "34E01EDD-6A16-4CF0-9541-C644D1BE01AA",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "403",
"StandardGroup": {
"GroupName": "finance-production",
"Description": "Group for instances in finance production environment",
"DbType": "mysql",
"LastModifierId": 0,
"GroupMode": "COMMON",
"GroupId": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.