Compartilhar via


ArmEventHubsModelFactory.EventHubsNameAvailabilityResult Method

Definition

Initializes a new instance of EventHubsNameAvailabilityResult.

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

Parameters

message
String

The detailed info regarding the reason associated with the Namespace.

nameAvailable
Nullable<Boolean>

Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.

reason
Nullable<EventHubsNameUnavailableReason>

The reason for unavailability of a Namespace.

Returns

A new EventHubsNameAvailabilityResult instance for mocking.

Applies to