ArmIotHubModelFactory.IotHubNameAvailabilityResponse Method

Definition

Initializes a new instance of IotHubNameAvailabilityResponse.

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

Parameters

isNameAvailable
Nullable<Boolean>

The value which indicates whether the provided name is available.

reason
Nullable<IotHubNameUnavailableReason>

The reason for unavailability.

message
String

The detailed reason message.

Returns

A new IotHubNameAvailabilityResponse instance for mocking.

Applies to