ArmAppServiceModelFactory.CsmUsageQuota Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. Serialized Name: CsmUsageQuota.unit
- nextResetOn
- Nullable<DateTimeOffset>
Next reset time for the resource counter. Serialized Name: CsmUsageQuota.nextResetTime
The current value of the resource counter. Serialized Name: CsmUsageQuota.currentValue
- name
- LocalizableString
Quota name. Serialized Name: CsmUsageQuota.name
Returns
A new CsmUsageQuota instance for mocking.