swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Servicestats API schemes: - https tags: - name: Servicestats paths: /servicestats: get: tags: - Servicestats operationId: microsoftAzureGetservicestatistics x-ms-examples: SearchServiceGetServiceStatistics: $ref: ./examples/SearchServiceGetServiceStatistics.json description: Gets service level statistics for a search service. parameters: - $ref: '#/parameters/ClientRequestIdParameter' - $ref: '#/parameters/ApiVersionParameter' x-ms-request-id: request-id responses: '200': description: '' schema: $ref: '#/definitions/ServiceStatistics' default: description: Error response. schema: $ref: '#/definitions/SearchError' summary: Microsoft Azure Get Servicestats definitions: ServiceLimits: properties: maxFieldsPerIndex: type: integer format: int32 x-nullable: true description: The maximum allowed fields per index. maxFieldNestingDepthPerIndex: type: integer format: int32 x-nullable: true description: 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. maxComplexCollectionFieldsPerIndex: type: integer format: int32 x-nullable: true description: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index. maxComplexObjectsInCollectionsPerDocument: type: integer format: int32 x-nullable: true description: The maximum number of objects in complex collections allowed per document. description: Represents various service level limits. ServiceCounters: properties: documentCount: x-ms-client-name: documentCounter $ref: '#/definitions/ResourceCounter' description: Total number of documents across all indexes in the service. indexesCount: x-ms-client-name: indexCounter $ref: '#/definitions/ResourceCounter' description: Total number of indexes. indexersCount: x-ms-client-name: indexerCounter $ref: '#/definitions/ResourceCounter' description: Total number of indexers. dataSourcesCount: x-ms-client-name: dataSourceCounter $ref: '#/definitions/ResourceCounter' description: Total number of data sources. storageSize: x-ms-client-name: storageSizeCounter $ref: '#/definitions/ResourceCounter' description: Total size of used storage in bytes. synonymMaps: x-ms-client-name: synonymMapCounter $ref: '#/definitions/ResourceCounter' description: Total number of synonym maps. skillsetCount: x-ms-client-name: skillsetCounter $ref: '#/definitions/ResourceCounter' description: Total number of skillsets. required: - documentCount - indexesCount - indexersCount - dataSourcesCount - storageSize - synonymMaps description: Represents service-level resource counters and quotas. SearchError: properties: code: type: string readOnly: true description: One of a server-defined set of error codes. message: type: string readOnly: true description: A human-readable representation of the error. details: type: array items: $ref: '#/definitions/SearchError' readOnly: true description: An array of details about specific errors that led to this reported error. required: - message description: Describes an error condition for the Azure Cognitive Search API. ResourceCounter: properties: usage: type: integer format: int64 x-nullable: false description: The resource usage amount. quota: type: integer format: int64 x-nullable: true description: The resource amount quota. required: - usage description: Represents a resource's usage and quota. ServiceStatistics: properties: counters: $ref: '#/definitions/ServiceCounters' description: Service level resource counters. limits: $ref: '#/definitions/ServiceLimits' description: Service level general limits. required: - counters - limits description: Response from a get service statistics request. If successful, it includes service level counters and limits. parameters: ClientRequestIdParameter: name: x-ms-client-request-id in: header required: false type: string format: uuid description: The tracking ID sent with the request to help with debugging. x-ms-client-request-id: true x-ms-parameter-grouping: name: request-options x-ms-parameter-location: method ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'