Queries security rule sets.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListStandardGroups |
The operation that you want to perform. Set the value to ListStandardGroups. |
Tid | Long | No | 3000 |
The ID of the tenant. |
RegionId | String | No | cn-hangzhou |
The region in which Data Management Service (DMS) is activated. For more information, see RegionID parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 34E01EDD-6A16-4CF0-9541-C644D1BE01AA |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request was successful. Valid values:
|
ErrorMessage | String | xxx |
The error message returned if the request fails. |
ErrorCode | String | 403 |
The error code returned if the request fails. |
StandardGroupList | Array of StandardGroupList |
The security rule sets returned. |
|
GroupName | String | Finance - Production environment |
The name of the security rule set. |
Description | String | The security rule set for financial instances in the production environment. |
The description of the security rule set. |
DbType | String | mysql |
The type of the database engine. For more information about the valid values of this parameter, see DbType parameter. |
LastMenderId | Long | 51**** |
The ID of the user who queries the security sets. |
GroupMode | String | COMMON |
The control mode. Valid values:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=ListStandardGroups
&Tid=3***
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListStandardGroupsResponse>
<RequestId>34E01EDD-6A16-4CF0-9541-C644D1BE01AA</RequestId>
<Success>true</Success>
<StandardGroupList>
<GroupName>Finance - Production environment</GroupName>
<Description>The security rule set for financial instances in the production environment.</Description>
<DbType>mysql</DbType>
<LastMenderId>51****</LastMenderId>
<GroupMode>COMMON</GroupMode>
</StandardGroupList>
</ListStandardGroupsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "34E01EDD-6A16-4CF0-9541-C644D1BE01AA",
"Success" : true,
"StandardGroupList" : [ {
"GroupName" : "Finance - Production environment",
"Description" : "The security rule set for financial instances in the production environment.",
"DbType" : "mysql",
"LastMenderId" : "51****",
"GroupMode" : "COMMON"
} ]
}
Error codes
For a list of error codes, visit the API Error Center.