C# Класс Amazon.IdentityManagement.Model.DeactivateMFADeviceRequest

Container for the parameters to the DeactivateMFADevice operation. Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.

For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.

Наследование: AmazonIdentityManagementServiceRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeactivateMFADeviceRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System

Instantiates DeactivateMFADeviceRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetSerialNumber ( ) : bool
IsSetUserName ( ) : bool

Описание методов

DeactivateMFADeviceRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public DeactivateMFADeviceRequest ( ) : System
Результат System

DeactivateMFADeviceRequest() публичный Метод

Instantiates DeactivateMFADeviceRequest with the parameterized properties
public DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System
userName string The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
serialNumber string The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =/:,.@-
Результат System