ArmRelayModelFactory.RelayNameAvailabilityResult 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 RelayNameAvailabilityResult.
public static Azure.ResourceManager.Relay.Models.RelayNameAvailabilityResult RelayNameAvailabilityResult (string message = default, bool? isNameAvailable = default, Azure.ResourceManager.Relay.Models.RelayNameUnavailableReason? reason = default);
static member RelayNameAvailabilityResult : string * Nullable<bool> * Nullable<Azure.ResourceManager.Relay.Models.RelayNameUnavailableReason> -> Azure.ResourceManager.Relay.Models.RelayNameAvailabilityResult
Public Shared Function RelayNameAvailabilityResult (Optional message As String = Nothing, Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of RelayNameUnavailableReason) = Nothing) As RelayNameAvailabilityResult
Parameters
- message
- String
The detailed info regarding the reason associated with the namespace.
Value indicating namespace is available. Returns true if the namespace is available; otherwise, false.
- reason
- Nullable<RelayNameUnavailableReason>
The reason for unavailability of a namespace.
Returns
A new RelayNameAvailabilityResult 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