Share via


ArmCommunicationModelFactory.CommunicationNameAvailabilityResult Method

Definition

Initializes a new instance of CommunicationNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<CommunicationNameAvailabilityReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new CommunicationNameAvailabilityResult instance for mocking.

Applies to