SearchModelFactory.SearchServiceCounters メソッド

定義

SearchServiceCounters の新しいインスタンスを初期化します。

public static Azure.Search.Documents.Indexes.Models.SearchServiceCounters SearchServiceCounters (Azure.Search.Documents.Indexes.Models.SearchResourceCounter aliasCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter documentCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter indexCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter indexerCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter dataSourceCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter storageSizeCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter synonymMapCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter skillsetCounter = default, Azure.Search.Documents.Indexes.Models.SearchResourceCounter vectorIndexSizeCounter = default);
static member SearchServiceCounters : Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter * Azure.Search.Documents.Indexes.Models.SearchResourceCounter -> Azure.Search.Documents.Indexes.Models.SearchServiceCounters
Public Shared Function SearchServiceCounters (Optional aliasCounter As SearchResourceCounter = Nothing, Optional documentCounter As SearchResourceCounter = Nothing, Optional indexCounter As SearchResourceCounter = Nothing, Optional indexerCounter As SearchResourceCounter = Nothing, Optional dataSourceCounter As SearchResourceCounter = Nothing, Optional storageSizeCounter As SearchResourceCounter = Nothing, Optional synonymMapCounter As SearchResourceCounter = Nothing, Optional skillsetCounter As SearchResourceCounter = Nothing, Optional vectorIndexSizeCounter As SearchResourceCounter = Nothing) As SearchServiceCounters

パラメーター

aliasCounter
SearchResourceCounter

エイリアスの合計数。

documentCounter
SearchResourceCounter

サービス内のすべてのインデックスにわたるドキュメントの合計数。

indexCounter
SearchResourceCounter

インデックスの合計数。

indexerCounter
SearchResourceCounter

インデクサーの合計数。

dataSourceCounter
SearchResourceCounter

データ ソースの合計数。

storageSizeCounter
SearchResourceCounter

使用されるストレージの合計サイズ (バイト単位)。

synonymMapCounter
SearchResourceCounter

シノニム マップの合計数。

skillsetCounter
SearchResourceCounter

スキルセットの合計数。

vectorIndexSizeCounter
SearchResourceCounter

サービス内のすべてのベクター インデックスのメモリ消費量の合計 (バイト単位)。

戻り値

モック作成用の新しい SearchServiceCounters インスタンス。

例外

aliasCounterdocumentCounterindexCounter、、indexerCounterdataSourceCounterstorageSizeCounterskillsetCountersynonymMapCounterまたは vectorIndexSizeCounter が null です。

適用対象