-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
BatchLinuxUserConfiguration.cs
36 lines (31 loc) · 2.61 KB
/
BatchLinuxUserConfiguration.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
namespace Azure.ResourceManager.Batch.Models
{
/// <summary> Properties used to create a user account on a Linux node. </summary>
public partial class BatchLinuxUserConfiguration
{
/// <summary> Initializes a new instance of <see cref="BatchLinuxUserConfiguration"/>. </summary>
public BatchLinuxUserConfiguration()
{
}
/// <summary> Initializes a new instance of <see cref="BatchLinuxUserConfiguration"/>. </summary>
/// <param name="uid"> The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid. </param>
/// <param name="gid"> The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid. </param>
/// <param name="sshPrivateKey"> The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done). </param>
internal BatchLinuxUserConfiguration(int? uid, int? gid, string sshPrivateKey)
{
Uid = uid;
Gid = gid;
SshPrivateKey = sshPrivateKey;
}
/// <summary> The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid. </summary>
public int? Uid { get; set; }
/// <summary> The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid. </summary>
public int? Gid { get; set; }
/// <summary> The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done). </summary>
public string SshPrivateKey { get; set; }
}
}