Sdílet prostřednictvím


ArmDevCenterModelFactory.DevCenterNameAvailabilityResult Method

Definition

Initializes a new instance of DevCenterNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<DevCenterNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new DevCenterNameAvailabilityResult instance for mocking.

Applies to