/
SapSshKeyPair.cs
32 lines (27 loc) · 1.26 KB
/
SapSshKeyPair.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Workloads.Models
{
/// <summary> The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). </summary>
public partial class SapSshKeyPair
{
/// <summary> Initializes a new instance of <see cref="SapSshKeyPair"/>. </summary>
public SapSshKeyPair()
{
}
/// <summary> Initializes a new instance of <see cref="SapSshKeyPair"/>. </summary>
/// <param name="publicKey"> SSH public key. </param>
/// <param name="privateKey"> SSH private key. </param>
internal SapSshKeyPair(string publicKey, string privateKey)
{
PublicKey = publicKey;
PrivateKey = privateKey;
}
/// <summary> SSH public key. </summary>
public string PublicKey { get; set; }
/// <summary> SSH private key. </summary>
public string PrivateKey { get; set; }
}
}