Creates a security rule set.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:CreateStandardGroup |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupName |
string |
Yes |
The name of the security rule set. |
Finance-production |
| Description |
string |
Yes |
The description of the security rule set. |
Finance production environment instance rule |
| DbType |
string |
Yes |
The database engine type of the instance. For valid values, see DbType parameter description. |
mysql |
| Tid |
integer |
No |
The tenant ID. |
3000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The project. |
||
| 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. |
xxx |
| ErrorCode |
string |
The error code. |
403 |
| StandardGroup |
object |
The newly created security rule set. |
|
| GroupName |
string |
The name of the security rule set. |
Finance-production |
| Description |
string |
The description of the security rule set. |
Finance production environment instance rule |
| DbType |
string |
The database engine type of the instance. For valid values, see DbType parameter description. |
mysql |
| LastMenderId |
integer |
The 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": "xxx",
"ErrorCode": "403",
"StandardGroup": {
"GroupName": "Finance-production",
"Description": "Finance production environment instance rule",
"DbType": "mysql",
"LastMenderId": 0,
"GroupMode": "COMMON",
"GroupId": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.