ArmMongoClusterModelFactory.MongoClusterNameAvailabilityResult 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 MongoClusterNameAvailabilityResult.
public static Azure.ResourceManager.MongoCluster.Models.MongoClusterNameAvailabilityResult MongoClusterNameAvailabilityResult (bool? isNameAvailable = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterNameUnavailableReason? reason = default, string message = default);
static member MongoClusterNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterNameUnavailableReason> * string -> Azure.ResourceManager.MongoCluster.Models.MongoClusterNameAvailabilityResult
Public Shared Function MongoClusterNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of MongoClusterNameUnavailableReason) = Nothing, Optional message As String = Nothing) As MongoClusterNameAvailabilityResult
Parameters
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is not available.
Returns
A new MongoClusterNameAvailabilityResult instance for mocking.