Queries the virtual MFA devices bound to AD accounts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeVirtualMFADevices |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| MaxResults |
integer |
No |
The maximum number of entries to return. Valid values: 1 to 500. Default value: 100. |
100 |
| NextToken |
string |
No |
The pagination token. Set this parameter to the value of NextToken that was returned from the last call to this operation. |
caeba0bbb2be03f84eb48b699f0a4883 |
| OfficeSiteId |
string |
No |
The office network ID. |
cn-hangzhou+dir-269345**** |
| EndUserId |
array |
No |
The list of AD account usernames. |
testuser |
|
string |
No |
The username of the AD account. |
testuser |
|
| Filter |
string |
No |
The fuzzy match query string character. |
*jin* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| NextToken |
string |
The token for the next query. If NextToken is empty, no more results exist. |
AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as |
| RequestId |
string |
The request ID. |
FB550AAB-FB36-4A91-93F6-F4374AF65403 |
| VirtualMFADevices |
array<object> |
The information about virtual MFA devices. |
|
|
array<object> |
The information about a virtual MFA device. |
||
| SerialNumber |
string |
The serial number of the virtual MFA device. |
a25f297f-f2e1-4a44-bbf1-5f48a6e5**** |
| GmtUnlock |
string |
The automatic unlock time after the virtual MFA device is locked. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2020-12-21T15:21:28Z |
| EndUserId |
string |
The username of the AD account that uses the virtual MFA device. |
usertest |
| ConsecutiveFails |
integer |
The number of consecutive failures to bind or authenticate the virtual MFA device. |
1 |
| OfficeSiteId |
string |
The office network ID. |
cn-hangzhou+dir-269345**** |
| status |
string |
The status of the virtual MFA device. Valid values:
|
NORMAL |
| DirectoryId |
string |
Note
This parameter is in invitational preview and is not publicly available. |
cn-hangzhou+dir-gx2x1dhsmu52rd**** |
| GmtEnabled |
string |
The time when the virtual MFA device was enabled. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2020-12-20T14:52:28Z |
| AdUser |
object |
The AD domain user information. |
|
| EndUser |
string |
aduser |
|
| DisplayName |
string |
aduser |
|
| DisplayNameNew |
string |
张三 |
|
| UserPrincipalName |
string |
alice@example.com |
Examples
Success response
JSON format
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as",
"RequestId": "FB550AAB-FB36-4A91-93F6-F4374AF65403",
"VirtualMFADevices": [
{
"SerialNumber": "a25f297f-f2e1-4a44-bbf1-5f48a6e5****",
"GmtUnlock": "2020-12-21T15:21:28Z",
"EndUserId": "usertest",
"ConsecutiveFails": 1,
"OfficeSiteId": "cn-hangzhou+dir-269345****",
"status": "NORMAL",
"DirectoryId": "cn-hangzhou+dir-gx2x1dhsmu52rd****",
"GmtEnabled": "2020-12-20T14:52:28Z",
"AdUser": {
"EndUser": "aduser",
"DisplayName": "aduser",
"DisplayNameNew": "张三",
"UserPrincipalName": "alice@example.com"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.