-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
CdnUsage.cs
40 lines (35 loc) · 1.52 KB
/
CdnUsage.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> Output of check resource usage API. </summary>
public partial class CdnUsage
{
/// <summary> Initializes a new instance of CdnUsage. </summary>
internal CdnUsage()
{
}
/// <summary> Initializes a new instance of CdnUsage. </summary>
/// <param name="resourceType"> Resource type for which the usage is provided. </param>
/// <param name="unit"> Unit of the usage. e.g. count. </param>
/// <param name="currentValue"> Actual value of usage on the specified resource type. </param>
/// <param name="limit"> Quota of the specified resource type. </param>
internal CdnUsage(string resourceType, CdnUsageUnit? unit, int? currentValue, int? limit)
{
ResourceType = resourceType;
Unit = unit;
CurrentValue = currentValue;
Limit = limit;
}
/// <summary> Resource type for which the usage is provided. </summary>
public string ResourceType { get; }
/// <summary> Unit of the usage. e.g. count. </summary>
public CdnUsageUnit? Unit { get; }
/// <summary> Actual value of usage on the specified resource type. </summary>
public int? CurrentValue { get; }
/// <summary> Quota of the specified resource type. </summary>
public int? Limit { get; }
}
}