Compartilhar via


ArmAppServiceModelFactory.CsmUsageQuota Method

Definition

Initializes a new instance of CsmUsageQuota.

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

Parameters

unit
String

Units of measurement for the quota resource.

nextResetOn
Nullable<DateTimeOffset>

Next reset time for the resource counter.

currentValue
Nullable<Int64>

The current value of the resource counter.

limit
Nullable<Int64>

The resource limit.

name
LocalizableString

Quota name.

Returns

A new CsmUsageQuota instance for mocking.

Applies to