-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SshPublicKeyPatch.cs
33 lines (27 loc) · 1.84 KB
/
SshPublicKeyPatch.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> Specifies information about the SSH public key. </summary>
public partial class SshPublicKeyPatch : ComputeResourcePatch
{
/// <summary> Initializes a new instance of <see cref="SshPublicKeyPatch"/>. </summary>
public SshPublicKeyPatch()
{
}
/// <summary> Initializes a new instance of <see cref="SshPublicKeyPatch"/>. </summary>
/// <param name="tags"> Resource tags. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="publicKey"> SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. </param>
internal SshPublicKeyPatch(IDictionary<string, string> tags, IDictionary<string, BinaryData> serializedAdditionalRawData, string publicKey) : base(tags, serializedAdditionalRawData)
{
PublicKey = publicKey;
}
/// <summary> SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. </summary>
public string PublicKey { get; set; }
}
}