| | 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.Storage.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"> Gets a boolean value that indicates whether the name is available for you to us |
| | 20 | | /// <param name="reason"> Gets the reason that a storage account name could not be used. The Reason element is o |
| | 21 | | /// <param name="message"> Gets an error message explaining the Reason value in more detail. </param> |
| 12 | 22 | | internal CheckNameAvailabilityResult(bool? nameAvailable, Reason? reason, string message) |
| | 23 | | { |
| 12 | 24 | | NameAvailable = nameAvailable; |
| 12 | 25 | | Reason = reason; |
| 12 | 26 | | Message = message; |
| 12 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Gets a boolean value that indicates whether the name is available for you to use. If true, the nam |
| 12 | 30 | | public bool? NameAvailable { get; } |
| | 31 | | /// <summary> Gets the reason that a storage account name could not be used. The Reason element is only returned |
| 12 | 32 | | public Reason? Reason { get; } |
| | 33 | | /// <summary> Gets an error message explaining the Reason value in more detail. </summary> |
| 12 | 34 | | public string Message { get; } |
| | 35 | | } |
| | 36 | | } |