Compartilhar via


ArmFabricModelFactory.FabricNameAvailabilityResult Method

Definition

Initializes a new instance of FabricNameAvailabilityResult.

public static Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityResult FabricNameAvailabilityResult (bool? isNameAvailable = default, Azure.ResourceManager.Fabric.Models.FabricNameUnavailableReason? reason = default, string message = default);
static member FabricNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.Fabric.Models.FabricNameUnavailableReason> * string -> Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityResult
Public Shared Function FabricNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of FabricNameUnavailableReason) = Nothing, Optional message As String = Nothing) As FabricNameAvailabilityResult

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<FabricNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is not available.

Returns

A new FabricNameAvailabilityResult instance for mocking.

Applies to