ArmEventHubsModelFactory.EventHubsNameAvailabilityResult 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 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.
Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.
The reason for unavailability of a Namespace.
Returns
A new EventHubsNameAvailabilityResult 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