ArmNetworkCloudModelFactory.KeySetUser(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NetworkCloud.Models.KeySetUser KeySetUser(string azureUserName = default, string description = default, string keyData = default, string userPrincipalName = default);
static member KeySetUser : string * string * string * string -> Azure.ResourceManager.NetworkCloud.Models.KeySetUser
Public Shared Function KeySetUser (Optional azureUserName As String = Nothing, Optional description As String = Nothing, Optional keyData As String = Nothing, Optional userPrincipalName As String = Nothing) As KeySetUser
Parameters
- azureUserName
- String
The user name that will be used for access.
- description
- String
The free-form description for this user.
- keyData
- String
The SSH public key data.
- userPrincipalName
- String
The user principal name (email format) used to validate this user's group membership.
Returns
A new KeySetUser instance for mocking.
Exceptions
keyData is null.