CheckNameAvailabilityResult Constructors
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.
Overloads
CheckNameAvailabilityResult() |
Initializes a new instance of the CheckNameAvailabilityResult class. |
CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<NameAvailabilityReason>, String) |
Initializes a new instance of the CheckNameAvailabilityResult class. |
CheckNameAvailabilityResult()
Initializes a new instance of the CheckNameAvailabilityResult class.
public CheckNameAvailabilityResult ();
Public Sub New ()
Applies to
CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<NameAvailabilityReason>, String)
Initializes a new instance of the CheckNameAvailabilityResult class.
public CheckNameAvailabilityResult (bool? nameAvailable = default, Microsoft.Azure.Management.StorageSync.Models.NameAvailabilityReason? reason = default, string message = default);
new Microsoft.Azure.Management.StorageSync.Models.CheckNameAvailabilityResult : Nullable<bool> * Nullable<Microsoft.Azure.Management.StorageSync.Models.NameAvailabilityReason> * string -> Microsoft.Azure.Management.StorageSync.Models.CheckNameAvailabilityResult
Public Sub New (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of NameAvailabilityReason) = Nothing, Optional message As String = Nothing)
Parameters
Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used.
- reason
- Nullable<NameAvailabilityReason>
Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'Invalid', 'AlreadyExists'
- message
- String
Gets an error message explaining the Reason value in more detail.
Applies to
Azure SDK for .NET