Partilhar via


ArmPlaywrightTestingModelFactory.PlaywrightTestingNameAvailabilityResult Method

Definition

Initializes a new instance of PlaywrightTestingNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<PlaywrightTestingNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is not available.

Returns

A new PlaywrightTestingNameAvailabilityResult instance for mocking.

Applies to