共用方式為


ArmHDInsightModelFactory.QuotaCapability Method

Definition

Initializes a new instance of QuotaCapability.

public static Azure.ResourceManager.HDInsight.Models.QuotaCapability QuotaCapability (long? coresUsed = default, long? maxCoresAllowed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.RegionalQuotaCapability> regionalQuotas = default);
static member QuotaCapability : Nullable<int64> * Nullable<int64> * seq<Azure.ResourceManager.HDInsight.Models.RegionalQuotaCapability> -> Azure.ResourceManager.HDInsight.Models.QuotaCapability
Public Shared Function QuotaCapability (Optional coresUsed As Nullable(Of Long) = Nothing, Optional maxCoresAllowed As Nullable(Of Long) = Nothing, Optional regionalQuotas As IEnumerable(Of RegionalQuotaCapability) = Nothing) As QuotaCapability

Parameters

coresUsed
Nullable<Int64>

The number of cores used in the subscription.

maxCoresAllowed
Nullable<Int64>

The number of cores that the subscription allowed.

regionalQuotas
IEnumerable<RegionalQuotaCapability>

The list of region quota capabilities.

Returns

A new QuotaCapability instance for mocking.

Applies to