All Products
Search
Document Center

Data Management:UpdateStandardGroup

Last Updated:Nov 28, 2024

Modifies the name and description of a specific security rule set.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dms:UpdateStandardGroupupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdlongYes

The security rule set ID. You can call the ListStandardGroups operation to obtain the ID of the security rule set.

242***
GroupNamestringYes

The name of the security rule set.

poc_test
DescriptionstringYes

The description of the security rule set.

Production Environment test rules
TidlongNo

The tenant ID.

Note To view the tenant ID, go to the Data Management (DMS) console and move the pointer 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 parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID. You can use the request ID to locate logs and troubleshoot issues.

4E1D2B4D-3E53-4ABC-999D-1D2520B3471A
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
ErrorMessagestring

The error message returned if the request failed.

UnknownError
ErrorCodestring

The error code returned if the request failed.

UnknownError
StandardGroupobject

The information about the security rule set.

GroupNamestring

The name of the security rule set.

poc_test
Descriptionstring

The description of the security rule set.

Production Environment test rules
DbTypestring

The type of the database for which the security rules are used.

mysql
LastMenderIdlong

The ID of the user who last modified the security rules.

51****
GroupModestring

The control mode. Valid values:

  • NONE_CONTROL: Flexible Management
  • STABLE: Stable Change
  • COMMON: Security Collaboration
COMMON
GroupIdlong

The security rule set ID.

41****

Examples

Sample success responses

JSONformat

{
  "RequestId": "4E1D2B4D-3E53-4ABC-999D-1D2520B3471A",
  "Success": true,
  "ErrorMessage": "UnknownError",
  "ErrorCode": "UnknownError",
  "StandardGroup": {
    "GroupName": "poc_test",
    "Description": "Production Environment test rules",
    "DbType": "mysql",
    "LastMenderId": 0,
    "GroupMode": "COMMON",
    "GroupId": 0
  }
}

Error codes

For a list of error codes, visit the Service error codes.