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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET