-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SearchServiceLimits.cs
44 lines (39 loc) · 2.72 KB
/
SearchServiceLimits.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Represents various service level limits. </summary>
public partial class SearchServiceLimits
{
/// <summary> Initializes a new instance of <see cref="SearchServiceLimits"/>. </summary>
internal SearchServiceLimits()
{
}
/// <summary> Initializes a new instance of <see cref="SearchServiceLimits"/>. </summary>
/// <param name="maxFieldsPerIndex"> The maximum allowed fields per index. </param>
/// <param name="maxFieldNestingDepthPerIndex"> The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3. </param>
/// <param name="maxComplexCollectionFieldsPerIndex"> The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index. </param>
/// <param name="maxComplexObjectsInCollectionsPerDocument"> The maximum number of objects in complex collections allowed per document. </param>
/// <param name="maxStoragePerIndexInBytes"> The maximum amount of storage in bytes allowed per index. </param>
internal SearchServiceLimits(int? maxFieldsPerIndex, int? maxFieldNestingDepthPerIndex, int? maxComplexCollectionFieldsPerIndex, int? maxComplexObjectsInCollectionsPerDocument, long? maxStoragePerIndexInBytes)
{
MaxFieldsPerIndex = maxFieldsPerIndex;
MaxFieldNestingDepthPerIndex = maxFieldNestingDepthPerIndex;
MaxComplexCollectionFieldsPerIndex = maxComplexCollectionFieldsPerIndex;
MaxComplexObjectsInCollectionsPerDocument = maxComplexObjectsInCollectionsPerDocument;
MaxStoragePerIndexInBytes = maxStoragePerIndexInBytes;
}
/// <summary> The maximum allowed fields per index. </summary>
public int? MaxFieldsPerIndex { get; }
/// <summary> The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3. </summary>
public int? MaxFieldNestingDepthPerIndex { get; }
/// <summary> The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index. </summary>
public int? MaxComplexCollectionFieldsPerIndex { get; }
/// <summary> The maximum number of objects in complex collections allowed per document. </summary>
public int? MaxComplexObjectsInCollectionsPerDocument { get; }
/// <summary> The maximum amount of storage in bytes allowed per index. </summary>
public long? MaxStoragePerIndexInBytes { get; }
}
}