-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
KustoNameAvailabilityResult.cs
40 lines (35 loc) · 1.88 KB
/
KustoNameAvailabilityResult.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Kusto.Models
{
/// <summary> The result returned from a check name availability request. </summary>
public partial class KustoNameAvailabilityResult
{
/// <summary> Initializes a new instance of <see cref="KustoNameAvailabilityResult"/>. </summary>
internal KustoNameAvailabilityResult()
{
}
/// <summary> Initializes a new instance of <see cref="KustoNameAvailabilityResult"/>. </summary>
/// <param name="nameAvailable"> Specifies a Boolean value that indicates if the name is available. </param>
/// <param name="name"> The name that was checked. </param>
/// <param name="message"> Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. </param>
/// <param name="reason"> Message providing the reason why the given name is invalid. </param>
internal KustoNameAvailabilityResult(bool? nameAvailable, string name, string message, KustoNameUnavailableReason? reason)
{
NameAvailable = nameAvailable;
Name = name;
Message = message;
Reason = reason;
}
/// <summary> Specifies a Boolean value that indicates if the name is available. </summary>
public bool? NameAvailable { get; }
/// <summary> The name that was checked. </summary>
public string Name { get; }
/// <summary> Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. </summary>
public string Message { get; }
/// <summary> Message providing the reason why the given name is invalid. </summary>
public KustoNameUnavailableReason? Reason { get; }
}
}