-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
HDInsightLinuxOSProfile.cs
48 lines (42 loc) · 1.6 KB
/
HDInsightLinuxOSProfile.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
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.ResourceManager.HDInsight.Models
{
/// <summary> The ssh username, password, and ssh public key. </summary>
public partial class HDInsightLinuxOSProfile
{
/// <summary> Initializes a new instance of <see cref="HDInsightLinuxOSProfile"/>. </summary>
public HDInsightLinuxOSProfile()
{
}
/// <summary> Initializes a new instance of <see cref="HDInsightLinuxOSProfile"/>. </summary>
/// <param name="username"> The username. </param>
/// <param name="password"> The password. </param>
/// <param name="sshProfile"> The SSH profile. </param>
internal HDInsightLinuxOSProfile(string username, string password, SshProfile sshProfile)
{
Username = username;
Password = password;
SshProfile = sshProfile;
}
/// <summary> The username. </summary>
public string Username { get; set; }
/// <summary> The password. </summary>
public string Password { get; set; }
/// <summary> The SSH profile. </summary>
internal SshProfile SshProfile { get; set; }
/// <summary> The list of SSH public keys. </summary>
public IList<HDInsightSshPublicKey> SshPublicKeys
{
get
{
if (SshProfile is null)
SshProfile = new SshProfile();
return SshProfile.PublicKeys;
}
}
}
}