ArmServiceBusModelFactory.ServiceBusNameAvailabilityResult 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 ServiceBusNameAvailabilityResult.
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult ServiceBusNameAvailabilityResult (string message = default, bool? isNameAvailable = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusNameUnavailableReason? reason = default);
static member ServiceBusNameAvailabilityResult : string * Nullable<bool> * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameUnavailableReason> -> Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult
Public Shared Function ServiceBusNameAvailabilityResult (Optional message As String = Nothing, Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of ServiceBusNameUnavailableReason) = Nothing) As ServiceBusNameAvailabilityResult
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 ServiceBusNameAvailabilityResult instance for mocking.
Applies to
Azure SDK for .NET