ArmCostManagementModelFactory.CostManagementNameAvailabilityResult Method

Definition

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

nameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<CostManagementUnavailabilityReason>

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