-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
SearchServiceStatistics.cs
33 lines (27 loc) · 1.3 KB
/
SearchServiceStatistics.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Response from a get service statistics request. If successful, it includes service level counters and limits. </summary>
public partial class SearchServiceStatistics
{
/// <summary> Initializes a new instance of <see cref="SearchServiceStatistics"/>. </summary>
/// <param name="counters"> Service level resource counters. </param>
/// <param name="limits"> Service level general limits. </param>
/// <exception cref="ArgumentNullException"> <paramref name="counters"/> or <paramref name="limits"/> is null. </exception>
internal SearchServiceStatistics(SearchServiceCounters counters, SearchServiceLimits limits)
{
Argument.AssertNotNull(counters, nameof(counters));
Argument.AssertNotNull(limits, nameof(limits));
Counters = counters;
Limits = limits;
}
/// <summary> Service level resource counters. </summary>
public SearchServiceCounters Counters { get; }
/// <summary> Service level general limits. </summary>
public SearchServiceLimits Limits { get; }
}
}