Modifies the basic configuration of logon security settings for a single asset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyLoginBaseConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
The type of unusual logon detection for the server. Valid values:
|
login_common_location |
| Config |
string |
Yes |
The detailed configuration of the unusual logon detection rule for the server. This parameter is in JSON format and contains the following fields:
Note
This field is required only when the Type parameter is set to login_common_location.
Note
This field is required only when the Type parameter is set to login_common_ip.
Note
This field is required only when the Type parameter is set to login_common_time.
Note
This field is required only when the Type parameter is set to login_common_time.
Note
This field is required only when the Type parameter is set to login_common_account. |
{"totalCount":174,"uuidCount":4,"location":"黑山","id":0} |
| Target |
string |
Yes |
The configuration of the servers on which the unusual logon detection rule takes effect. This parameter is in JSON format and contains the following fields:
|
[{"target":"inet-7c676676-06fa-442e-90fb-b802e5d6****","targetType":"uuid","flag":"add"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
AB96FDDF-ED29-52B1-9FAE-8203F2808F24 |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The response message. |
successful |
| Success |
boolean |
Indicates whether the API call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "AB96FDDF-ED29-52B1-9FAE-8203F2808F24",
"Code": "200",
"Message": "successful",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DataNotExists | %s data not exist | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.