Delen via


ArmQuotaModelFactory.GroupQuotaUsagesBase Method

Definition

Initializes a new instance of GroupQuotaUsagesBase.

public static Azure.ResourceManager.Quota.Models.GroupQuotaUsagesBase GroupQuotaUsagesBase (long? limit = default, long? usages = default, string unit = default, string value = default, string localizedValue = default);
static member GroupQuotaUsagesBase : Nullable<int64> * Nullable<int64> * string * string * string -> Azure.ResourceManager.Quota.Models.GroupQuotaUsagesBase
Public Shared Function GroupQuotaUsagesBase (Optional limit As Nullable(Of Long) = Nothing, Optional usages As Nullable(Of Long) = Nothing, Optional unit As String = Nothing, Optional value As String = Nothing, Optional localizedValue As String = Nothing) As GroupQuotaUsagesBase

Parameters

limit
Nullable<Int64>

Quota/limits for the resource.

usages
Nullable<Int64>

Usages for the resource.

unit
String

Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values.

value
String

Resource name.

localizedValue
String

Resource display name.

Returns

A new GroupQuotaUsagesBase instance for mocking.

Applies to