-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
LocalUserKeys.cs
36 lines (30 loc) · 1.32 KB
/
LocalUserKeys.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Storage.Models
{
/// <summary> The Storage Account Local User keys. </summary>
public partial class LocalUserKeys
{
/// <summary> Initializes a new instance of LocalUserKeys. </summary>
internal LocalUserKeys()
{
SshAuthorizedKeys = new ChangeTrackingList<StorageSshPublicKey>();
}
/// <summary> Initializes a new instance of LocalUserKeys. </summary>
/// <param name="sshAuthorizedKeys"> Optional, local user ssh authorized keys for SFTP. </param>
/// <param name="sharedKey"> Auto generated by the server for SMB authentication. </param>
internal LocalUserKeys(IReadOnlyList<StorageSshPublicKey> sshAuthorizedKeys, string sharedKey)
{
SshAuthorizedKeys = sshAuthorizedKeys;
SharedKey = sharedKey;
}
/// <summary> Optional, local user ssh authorized keys for SFTP. </summary>
public IReadOnlyList<StorageSshPublicKey> SshAuthorizedKeys { get; }
/// <summary> Auto generated by the server for SMB authentication. </summary>
public string SharedKey { get; }
}
}