-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StorageUsage.cs
40 lines (35 loc) · 1.63 KB
/
StorageUsage.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.Storage.Models
{
/// <summary> Describes Storage Resource Usage. </summary>
public partial class StorageUsage
{
/// <summary> Initializes a new instance of StorageUsage. </summary>
internal StorageUsage()
{
}
/// <summary> Initializes a new instance of StorageUsage. </summary>
/// <param name="unit"> Gets the unit of measurement. </param>
/// <param name="currentValue"> Gets the current count of the allocated resources in the subscription. </param>
/// <param name="limit"> Gets the maximum count of the resources that can be allocated in the subscription. </param>
/// <param name="name"> Gets the name of the type of usage. </param>
internal StorageUsage(StorageUsageUnit? unit, int? currentValue, int? limit, StorageUsageName name)
{
Unit = unit;
CurrentValue = currentValue;
Limit = limit;
Name = name;
}
/// <summary> Gets the unit of measurement. </summary>
public StorageUsageUnit? Unit { get; }
/// <summary> Gets the current count of the allocated resources in the subscription. </summary>
public int? CurrentValue { get; }
/// <summary> Gets the maximum count of the resources that can be allocated in the subscription. </summary>
public int? Limit { get; }
/// <summary> Gets the name of the type of usage. </summary>
public StorageUsageName Name { get; }
}
}