-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SearchResourceCounter.cs
34 lines (29 loc) · 1.13 KB
/
SearchResourceCounter.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Represents a resource's usage and quota. </summary>
public partial class SearchResourceCounter
{
/// <summary> Initializes a new instance of <see cref="SearchResourceCounter"/>. </summary>
/// <param name="usage"> The resource usage amount. </param>
internal SearchResourceCounter(long usage)
{
Usage = usage;
}
/// <summary> Initializes a new instance of <see cref="SearchResourceCounter"/>. </summary>
/// <param name="usage"> The resource usage amount. </param>
/// <param name="quota"> The resource amount quota. </param>
internal SearchResourceCounter(long usage, long? quota)
{
Usage = usage;
Quota = quota;
}
/// <summary> The resource usage amount. </summary>
public long Usage { get; }
/// <summary> The resource amount quota. </summary>
public long? Quota { get; }
}
}