| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.AppConfiguration.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> The result of a request to check the availability of a resource name. </summary> |
| | | 11 | | public partial class NameAvailabilityStatus |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of NameAvailabilityStatus. </summary> |
| | 0 | 14 | | internal NameAvailabilityStatus() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of NameAvailabilityStatus. </summary> |
| | | 19 | | /// <param name="nameAvailable"> The value indicating whether the resource name is available. </param> |
| | | 20 | | /// <param name="message"> If any, the error message that provides more detail for the reason that the name is n |
| | | 21 | | /// <param name="reason"> If any, the reason that the name is not available. </param> |
| | 4 | 22 | | internal NameAvailabilityStatus(bool? nameAvailable, string message, string reason) |
| | | 23 | | { |
| | 4 | 24 | | NameAvailable = nameAvailable; |
| | 4 | 25 | | Message = message; |
| | 4 | 26 | | Reason = reason; |
| | 4 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> The value indicating whether the resource name is available. </summary> |
| | 0 | 30 | | public bool? NameAvailable { get; } |
| | | 31 | | /// <summary> If any, the error message that provides more detail for the reason that the name is not available. |
| | 0 | 32 | | public string Message { get; } |
| | | 33 | | /// <summary> If any, the reason that the name is not available. </summary> |
| | 0 | 34 | | public string Reason { get; } |
| | | 35 | | } |
| | | 36 | | } |