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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET