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 | 3*** | The ID of the tenant. |
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 failed. |
| ErrorCode | String | 403 | The error code returned if the request failed. |
| 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 of financial instances in the production environment. | The description of the security rule set. |
| DbType | String | mysql | The type of database engine. For more information about the valid values of this parameter, see DbType parameter. |
| LastMenderId | Long | 51**** | The ID of the user who made the most recent modification to the security set. |
| GroupMode | String | COMMON | The control mode. Valid values:
|
| GroupId | Long | 41**** | The ID of the security rule set. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=ListStandardGroups
&Tid=3***
&Common request parameters
Sample 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 of financial instances in the production environment.</Description>
<DbType>mysql</DbType>
<LastMenderId>51****</LastMenderId>
<GroupMode>COMMON</GroupMode>
<GroupId>41****</GroupId>
</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 of financial instances in the production environment.",
"DbType" : "mysql",
"LastMenderId" : "51****",
"GroupMode" : "COMMON",
"GroupId" : "41****"
} ]
}
Error codes
For a list of error codes, see Service error codes.