-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
VaultUsage.cs
50 lines (44 loc) · 1.85 KB
/
VaultUsage.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.RecoveryServices.Models
{
/// <summary> Usages of a vault. </summary>
public partial class VaultUsage
{
/// <summary> Initializes a new instance of <see cref="VaultUsage"/>. </summary>
internal VaultUsage()
{
}
/// <summary> Initializes a new instance of <see cref="VaultUsage"/>. </summary>
/// <param name="unit"> Unit of the usage. </param>
/// <param name="quotaPeriod"> Quota period of usage. </param>
/// <param name="nextResetOn"> Next reset time of usage. </param>
/// <param name="currentValue"> Current value of usage. </param>
/// <param name="limit"> Limit of usage. </param>
/// <param name="name"> Name of usage. </param>
internal VaultUsage(VaultUsageUnit? unit, string quotaPeriod, DateTimeOffset? nextResetOn, long? currentValue, long? limit, VaultUsageNameInfo name)
{
Unit = unit;
QuotaPeriod = quotaPeriod;
NextResetOn = nextResetOn;
CurrentValue = currentValue;
Limit = limit;
Name = name;
}
/// <summary> Unit of the usage. </summary>
public VaultUsageUnit? Unit { get; }
/// <summary> Quota period of usage. </summary>
public string QuotaPeriod { get; }
/// <summary> Next reset time of usage. </summary>
public DateTimeOffset? NextResetOn { get; }
/// <summary> Current value of usage. </summary>
public long? CurrentValue { get; }
/// <summary> Limit of usage. </summary>
public long? Limit { get; }
/// <summary> Name of usage. </summary>
public VaultUsageNameInfo Name { get; }
}
}