Queries the security rule sets of a tenant, including rule names, descriptions, and associated instance types.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetStandardGroup |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
The security rule set ID. You can call the ListStandardGroups operation to obtain the ID of the security rule set. |
242*** |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, log on to the DMS console and hover over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic. |
23**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use the ID to query logs and troubleshoot issues. |
BF7E9543-F431-566A-991A-B5C493EA36C3 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| StandardGroup |
object |
The information about the security rule set. |
|
| GroupName |
string |
The name of the security rule set. |
poc_test |
| Description |
string |
The description of the security rule set. |
Test rules for the production environment |
| DbType |
string |
The engine type. |
mysql |
| LastMenderId |
integer |
The ID of the user who last modified the security rules. |
513*** |
| GroupMode |
string |
The control mode. Valid values:
|
COMMON |
| GroupId |
integer |
The ID of the security rule set. |
41**** |
Examples
Success response
JSON format
{
"RequestId": "BF7E9543-F431-566A-991A-B5C493EA36C3",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError\n",
"StandardGroup": {
"GroupName": "poc_test",
"Description": "Test rules for the production environment",
"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.