Partager via


SearchModelFactory.SearchServiceCounters Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

aliasCounter
SearchResourceCounter

Nombre total d’alias.

documentCounter
SearchResourceCounter

Nombre total de documents dans tous les index du service.

indexCounter
SearchResourceCounter

Nombre total d’index.

indexerCounter
SearchResourceCounter

Nombre total d’indexeurs.

dataSourceCounter
SearchResourceCounter

Nombre total de sources de données.

storageSizeCounter
SearchResourceCounter

Taille totale du stockage utilisé en octets.

synonymMapCounter
SearchResourceCounter

Nombre total de mappages de synonymes.

skillsetCounter
SearchResourceCounter

Nombre total d’ensembles de compétences.

vectorIndexSizeCounter
SearchResourceCounter

Consommation totale de mémoire de tous les index vectoriels au sein du service, en octets.

Retours

Une nouvelle SearchServiceCounters instance de moqueries.

Exceptions

aliasCounter, documentCounter, indexCounter, indexerCounter, dataSourceCounter, storageSizeCounter, synonymMapCounter, , ou skillsetCountervectorIndexSizeCounter a la valeur null.

S’applique à