ArmCostManagementModelFactory.CostManagementNameAvailabilityResult 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 CostManagementNameAvailabilityResult.
public static Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityResult CostManagementNameAvailabilityResult(bool? nameAvailable = default, Azure.ResourceManager.CostManagement.Models.CostManagementUnavailabilityReason? reason = default, string message = default);
static member CostManagementNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.CostManagement.Models.CostManagementUnavailabilityReason> * string -> Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityResult
Public Shared Function CostManagementNameAvailabilityResult (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of CostManagementUnavailabilityReason) = Nothing, Optional message As String = Nothing) As CostManagementNameAvailabilityResult
Parameters
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is available.
Returns
A new CostManagementNameAvailabilityResult 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