-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StorageCacheActiveDirectorySettingsCredentials.cs
36 lines (30 loc) · 1.75 KB
/
StorageCacheActiveDirectorySettingsCredentials.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;
using Azure.Core;
using System.ComponentModel;
namespace Azure.ResourceManager.StorageCache.Models
{
/// <summary> Active Directory admin credentials used to join the HPC Cache to a domain. </summary>
public partial class StorageCacheActiveDirectorySettingsCredentials
{
/// <summary> Initializes a new instance of StorageCacheActiveDirectorySettingsCredentials. </summary>
/// <param name="username"> Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response. </param>
/// <param name="password"> Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response. </param>
/// <exception cref="ArgumentNullException"> <paramref name="username"/> or <paramref name="password"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
public StorageCacheActiveDirectorySettingsCredentials(string username, string password)
{
Argument.AssertNotNull(username, nameof(username));
Argument.AssertNotNull(password, nameof(password));
Username = username;
Password = password;
}
/// <summary> Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response. </summary>
public string Username { get; set; }
/// <summary> Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response. </summary>
public string Password { get; set; }
}
}