Mengubah pengaturan logon Konsol untuk Pengguna RAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:UpdateLoginProfile |
update |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserPrincipalName |
string |
Yes |
Nama logon Pengguna RAM. |
test@example.onaliyun.com |
| Password |
string |
No |
Kata sandi logon Konsol baru untuk Pengguna RAM. Kata sandi harus memenuhi kebijakan kata sandi. |
mypassword |
| PasswordResetRequired |
boolean |
No |
Apakah Pengguna RAM harus mengatur ulang kata sandi saat logon berikutnya. Nilai valid:
|
false |
| MFABindRequired |
boolean |
No |
Apakah akan menerapkan Autentikasi Multi-Faktor (MFA) untuk Pengguna RAM. Nilai valid:
|
false |
| Status |
string |
No |
Apakah akan mengaktifkan logon berbasis kata sandi ke Konsol. Nilai valid:
|
Active |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BCDB6A7F-2199-41D9-B577-4FA536A5ADE1 |
| LoginProfile |
object |
The console logon settings. |
|
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example11.onaliyun.com |
| Status |
string |
Indicates whether password logon to the console is enabled or disabled. |
Active |
| UpdateDate |
string |
The time when the logon profile was updated. |
2020-10-14T07:48:41Z |
| PasswordResetRequired |
boolean |
Indicates whether the RAM user must reset the password at the next logon. |
false |
| MFABindRequired |
boolean |
Indicates whether MFA is enforced for the user. |
false |
| AutoDisableLoginStatus |
string |
Indicates whether to automatically disable console logon for an inactive account. This feature is enabled by default and cannot be disabled. |
true |
| PasswordStatus |
string |
The status of the initial password. An initial password is the one set when a logon profile is created or console logon is re-enabled. Valid values:
|
NotInitial |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BCDB6A7F-2199-41D9-B577-4FA536A5ADE1",
"LoginProfile": {
"UserPrincipalName": "test@example11.onaliyun.com",
"Status": "Active",
"UpdateDate": "2020-10-14T07:48:41Z",
"PasswordResetRequired": false,
"MFABindRequired": false,
"AutoDisableLoginStatus": "true",
"PasswordStatus": "NotInitial"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.