Adds member accounts to Cloud Firewall.
Operation description
This operation is used to add member accounts to Cloud Firewall.
QPS limit
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. We recommend that you take note of the limit when you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:AddInstanceMembers |
create |
*InstanceMember
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Members |
array<object> |
Yes |
The members that you want to add to Cloud Firewall. |
|
|
object |
No |
The list of the members that you want to add. |
||
| MemberDesc |
string |
No |
The remarks of the member. The remarks must be 1 to 256 characters in length. You can add up to 20 members at a time. |
renewal |
| MemberUid |
integer |
Yes |
The UID of the member. You can add up to 20 members at a time. |
258039427902**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B40A54DF-C142-44F7-8441-B31C1EADB36E |
Examples
Success response
JSON format
{
"RequestId": "B40A54DF-C142-44F7-8441-B31C1EADB36E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParamsNotEnough | Parameters are insufficient. | Parameters are insufficient. |
| 400 | ErrorParamsInvalid | Invalid Params | The parameter is invalid. |
| 400 | ErrotMaxInstanceMemberNumExceed | The maximum number of firewall instance members is exceeded. | The maximum number of firewall instance members is exceeded. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorInstanceTooManyMembersOnce | too many members once. | The number of members to be added or deleted at a time exceeds the limit. |
| 400 | ErrorDbFailed | Query db failed. | DB access error. |
| 400 | ErrorInstanceMemberAlreadyExist | instance member is already exist. | The member is already added to Cloud Firewall. |
| 400 | ErrorInstanceMemberIsMaster | instance member is master account. | A firewall is enabled for an asset of the member. |
| 400 | ErrorInstanceAliuidNotDaMa | instance aliuid not DA or MA. | The Alibaba Cloud account to which Cloud Firewall belongs is not specified as a delegated administrator account or management account. |
| 400 | ErrorDBInsert | internal error: sql insert. | Request error, database insert failed |
| 400 | ErrorInstanceMemberNotBelongRd | instance member not belong rd. | The member to be added does not belong to the resource directory. |
| 400 | ErrorInstanceMemberNotStsGrant | instance member is not sts grant. | The member of the Cloud Firewall instance to be added is not authorized. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.