ArmPurviewModelFactory.PurviewAccountNameAvailabilityResult 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 PurviewAccountNameAvailabilityResult.
public static Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult PurviewAccountNameAvailabilityResult (string message = default, bool? isNameAvailable = default, Azure.ResourceManager.Purview.Models.PurviewAccountNameUnavailableReason? reason = default);
static member PurviewAccountNameAvailabilityResult : string * Nullable<bool> * Nullable<Azure.ResourceManager.Purview.Models.PurviewAccountNameUnavailableReason> -> Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult
Public Shared Function PurviewAccountNameAvailabilityResult (Optional message As String = Nothing, Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of PurviewAccountNameUnavailableReason) = Nothing) As PurviewAccountNameAvailabilityResult
Parameters
- message
- String
Error message.
The reason the name is not available.
Returns
A new PurviewAccountNameAvailabilityResult instance for mocking.