ArmSelfHelpModelFactory.SelfHelpNameAvailabilityResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SelfHelpNameAvailabilityResult.
public static Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityResult SelfHelpNameAvailabilityResult (bool? isNameAvailable = default, string reason = default, string message = default);
static member SelfHelpNameAvailabilityResult : Nullable<bool> * string * string -> Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityResult
Public Shared Function SelfHelpNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As String = Nothing, Optional message As String = Nothing) As SelfHelpNameAvailabilityResult
Parameters
- reason
- String
Reason for why value is not available. This field is returned if nameAvailable is false.
- message
- String
Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false.
Returns
A new SelfHelpNameAvailabilityResult instance for mocking.