-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SelfHelpNameAvailabilityResult.cs
36 lines (31 loc) · 1.75 KB
/
SelfHelpNameAvailabilityResult.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.SelfHelp.Models
{
/// <summary> Response for whether the requested resource name is available or not. </summary>
public partial class SelfHelpNameAvailabilityResult
{
/// <summary> Initializes a new instance of <see cref="SelfHelpNameAvailabilityResult"/>. </summary>
internal SelfHelpNameAvailabilityResult()
{
}
/// <summary> Initializes a new instance of <see cref="SelfHelpNameAvailabilityResult"/>. </summary>
/// <param name="isNameAvailable"> Returns true or false depending on the availability of the name. </param>
/// <param name="reason"> Reason for why value is not available. This field is returned if nameAvailable is false. </param>
/// <param name="message"> Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false. </param>
internal SelfHelpNameAvailabilityResult(bool? isNameAvailable, string reason, string message)
{
IsNameAvailable = isNameAvailable;
Reason = reason;
Message = message;
}
/// <summary> Returns true or false depending on the availability of the name. </summary>
public bool? IsNameAvailable { get; }
/// <summary> Reason for why value is not available. This field is returned if nameAvailable is false. </summary>
public string Reason { get; }
/// <summary> Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false. </summary>
public string Message { get; }
}
}