| | 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.KeyVault.Models |
| | 9 | | { |
| | 10 | | /// <summary> The CheckNameAvailability operation response. </summary> |
| | 11 | | public partial class CheckNameAvailabilityResult |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of CheckNameAvailabilityResult. </summary> |
| 0 | 14 | | internal CheckNameAvailabilityResult() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of CheckNameAvailabilityResult. </summary> |
| | 19 | | /// <param name="nameAvailable"> A boolean value that indicates whether the name is available for you to use. If |
| | 20 | | /// <param name="reason"> The reason that a vault name could not be used. The Reason element is only returned if |
| | 21 | | /// <param name="message"> An error message explaining the Reason value in more detail. </param> |
| 0 | 22 | | internal CheckNameAvailabilityResult(bool? nameAvailable, Reason? reason, string message) |
| | 23 | | { |
| 0 | 24 | | NameAvailable = nameAvailable; |
| 0 | 25 | | Reason = reason; |
| 0 | 26 | | Message = message; |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> A boolean value that indicates whether the name is available for you to use. If true, the name is |
| 0 | 30 | | public bool? NameAvailable { get; } |
| | 31 | | /// <summary> The reason that a vault name could not be used. The Reason element is only returned if NameAvailab |
| 0 | 32 | | public Reason? Reason { get; } |
| | 33 | | /// <summary> An error message explaining the Reason value in more detail. </summary> |
| 0 | 34 | | public string Message { get; } |
| | 35 | | } |
| | 36 | | } |