Share via


ArmStorageModelFactory.LocalUserKeys Method

Definition

Initializes a new instance of LocalUserKeys.

public static Azure.ResourceManager.Storage.Models.LocalUserKeys LocalUserKeys (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageSshPublicKey> sshAuthorizedKeys = default, string sharedKey = default);
static member LocalUserKeys : seq<Azure.ResourceManager.Storage.Models.StorageSshPublicKey> * string -> Azure.ResourceManager.Storage.Models.LocalUserKeys
Public Shared Function LocalUserKeys (Optional sshAuthorizedKeys As IEnumerable(Of StorageSshPublicKey) = Nothing, Optional sharedKey As String = Nothing) As LocalUserKeys

Parameters

sshAuthorizedKeys
IEnumerable<StorageSshPublicKey>

Optional, local user ssh authorized keys for SFTP.

sharedKey
String

Auto generated by the server for SMB authentication.

Returns

A new LocalUserKeys instance for mocking.

Applies to