ListVirtualMFADevices

Last Updated: Aug 25, 2016

Interface description

 Creates a virtual MFA device.

Request parameters

Action

  • Type: String
  • Required: Yes
  • Description: Operation interface, required. The parameter value is “ListVirtualMFADevices”.

Return parameters

VirtualMFADevices

Required permissions

Action

ram:ListVirtualMFADevices

Resource

acs:ram:*:${AccountId}:mfa/*

Operation examples

Request example

  1. https://ram.aliyuncs.com/?Action=ListVirtualMFADevices
  2. &<Public request parameters>

Return example

XML format

  1. <ListVirtualMFADevicesResponse>
  2. <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
  3. <VirtualMFADevices>
  4. <VirtualMFADevice>
  5. <SerialNumber>acs:ram::1234567890123:mfa/device001</SerialNumber>
  6. </VirtualMFADevice>
  7. <VirtualMFADevice>
  8. <SerialNumber>acs:ram::1234567890123:mfa/device002</MFASerialNumber>
  9. <ActivateDate>2015-02-18T17:22:08Z<Activate>
  10. <User>
  11. <UserId>1227489245380721</UserId>
  12. <UserName>zhangqiang</UserName>
  13. <DisplayName>zhangqiang</DisplayName>
  14. </User>
  15. </VirtualMFADevice>
  16. <VirtualMFADevicess>
  17. </ListVirtualMFADevicesResponse>

JSON format

  1. {
  2. "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  3. "VirtualMFADevices": {
  4. "VirtualMFADevice": [
  5. {
  6. "SerialNumber": "acs:ram::1234567890123:mfa/device001"
  7. },
  8. {
  9. "SerialNumber": "acs:ram::1234567890123:mfa/device002",
  10. "ActivateDate": "2015-02-18T17:22:08Z",
  11. "User": {
  12. "UserId": "1227489245380721",
  13. "UserName": "zhangqiang",
  14. "DisplayName": "zhangqiang"
  15. }
  16. }
  17. ]
  18. }
  19. }
Thank you! We've received your feedback.