LocalUser Constructors
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.
Overloads
LocalUser() |
Initializes a new instance of the LocalUser class. |
LocalUser(String, String, String, IList<PermissionScope>, String, IList<SshPublicKey>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SystemData) |
Initializes a new instance of the LocalUser class. |
LocalUser()
Initializes a new instance of the LocalUser class.
public LocalUser ();
Public Sub New ()
Applies to
LocalUser(String, String, String, IList<PermissionScope>, String, IList<SshPublicKey>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SystemData)
Initializes a new instance of the LocalUser class.
public LocalUser (string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.PermissionScope> permissionScopes = default, string homeDirectory = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SshPublicKey> sshAuthorizedKeys = default, string sid = default, bool? hasSharedKey = default, bool? hasSshKey = default, bool? hasSshPassword = default, Microsoft.Azure.Management.Storage.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Storage.Models.LocalUser : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.PermissionScope> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SshPublicKey> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.SystemData -> Microsoft.Azure.Management.Storage.Models.LocalUser
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional permissionScopes As IList(Of PermissionScope) = Nothing, Optional homeDirectory As String = Nothing, Optional sshAuthorizedKeys As IList(Of SshPublicKey) = Nothing, Optional sid As String = Nothing, Optional hasSharedKey As Nullable(Of Boolean) = Nothing, Optional hasSshKey As Nullable(Of Boolean) = Nothing, Optional hasSshPassword As Nullable(Of Boolean) = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- permissionScopes
- IList<PermissionScope>
The permission scopes of the local user.
- homeDirectory
- String
Optional, local user home directory.
- sshAuthorizedKeys
- IList<SshPublicKey>
- sid
- String
A unique Security Identifier that is generated by the server.
Indicates whether shared key exists. Set it to false to remove existing shared key.
Indicates whether ssh key exists. Set it to false to remove existing SSH key.
Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- systemData
- SystemData
Applies to
Azure SDK for .NET