Share via


ArmHDInsightModelFactory.HDInsightUsage Method

Definition

Initializes a new instance of HDInsightUsage.

public static Azure.ResourceManager.HDInsight.Models.HDInsightUsage HDInsightUsage (string unit = default, long? currentValue = default, long? limit = default, Azure.ResourceManager.HDInsight.Models.HDInsightLocalizedName name = default);
static member HDInsightUsage : string * Nullable<int64> * Nullable<int64> * Azure.ResourceManager.HDInsight.Models.HDInsightLocalizedName -> Azure.ResourceManager.HDInsight.Models.HDInsightUsage
Public Shared Function HDInsightUsage (Optional unit As String = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional name As HDInsightLocalizedName = Nothing) As HDInsightUsage

Parameters

unit
String

The type of measurement for usage.

currentValue
Nullable<Int64>

The current usage.

limit
Nullable<Int64>

The maximum allowed usage.

name
HDInsightLocalizedName

The details about the localizable name of the used resource.

Returns

A new HDInsightUsage instance for mocking.

Applies to