Share via


ArmFrontDoorModelFactory.FrontDoorNameAvailabilityResult Method

Definition

Initializes a new instance of FrontDoorNameAvailabilityResult.

public static Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult FrontDoorNameAvailabilityResult (Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityState? nameAvailability = default, string reason = default, string message = default);
static member FrontDoorNameAvailabilityResult : Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityState> * string * string -> Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult
Public Shared Function FrontDoorNameAvailabilityResult (Optional nameAvailability As Nullable(Of FrontDoorNameAvailabilityState) = Nothing, Optional reason As String = Nothing, Optional message As String = Nothing) As FrontDoorNameAvailabilityResult

Parameters

nameAvailability
Nullable<FrontDoorNameAvailabilityState>

Indicates whether the name is available.

reason
String

The reason why the name is not available.

message
String

The detailed error message describing why the name is not available.

Returns

A new FrontDoorNameAvailabilityResult instance for mocking.

Applies to