ArmIotHubModelFactory.IotHubNameAvailabilityResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- reason
- Nullable<IotHubNameUnavailableReason>
The reason for unavailability.
- message
- String
The detailed reason message.
Returns
A new IotHubNameAvailabilityResponse instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET