From aa1af232dd9c177c6a1bdeb12bf58637b3066208 Mon Sep 17 00:00:00 2001 From: Sarangan Rajamanickam Date: Fri, 26 Jun 2020 13:33:38 -0700 Subject: [PATCH] Remove SkillSetCounter Py in ServiceCounters model --- sdk/search/search-documents/CHANGELOG.md | 1 + .../search-documents/review/search-documents.api.md | 1 - .../src/generated/service/models/index.ts | 4 ---- .../src/generated/service/models/mappers.ts | 8 -------- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/sdk/search/search-documents/CHANGELOG.md b/sdk/search/search-documents/CHANGELOG.md index d1b9a3830026..680e9bdec9fe 100644 --- a/sdk/search/search-documents/CHANGELOG.md +++ b/sdk/search/search-documents/CHANGELOG.md @@ -5,6 +5,7 @@ - [Breaking] In Suggest API & Search API return values, a new property called `document` is introduced. All user-defined fields are moved inside this `document` property. - [Breaking] In `analyzeText` API, the `text` parameter is moved from method level to inside `options` bag. - [Breaking] In `search` API, `includeTotalResultCount` property is renamed to `includeTotalCount`. +- [Breaking] In `ServiceCounters`, the `skillsetCounter` property has been removed. - [Breaking] Modified the names of several properties. Please refer [#9321](https://github.com/Azure/azure-sdk-for-js/issues/9321) for a detailed list of renames. diff --git a/sdk/search/search-documents/review/search-documents.api.md b/sdk/search/search-documents/review/search-documents.api.md index e31fb8f73fd9..b0d44aad24fe 100644 --- a/sdk/search/search-documents/review/search-documents.api.md +++ b/sdk/search/search-documents/review/search-documents.api.md @@ -1290,7 +1290,6 @@ export interface ServiceCounters { documentCounter: ResourceCounter; indexCounter: ResourceCounter; indexerCounter: ResourceCounter; - skillsetCounter: ResourceCounter; storageSizeCounter: ResourceCounter; synonymMapCounter: ResourceCounter; } diff --git a/sdk/search/search-documents/src/generated/service/models/index.ts b/sdk/search/search-documents/src/generated/service/models/index.ts index 6b6967e655b1..5cbc64f86ae2 100644 --- a/sdk/search/search-documents/src/generated/service/models/index.ts +++ b/sdk/search/search-documents/src/generated/service/models/index.ts @@ -3304,10 +3304,6 @@ export interface ServiceCounters { * Total number of synonym maps. */ synonymMapCounter: ResourceCounter; - /** - * Total number of skillsets. - */ - skillsetCounter: ResourceCounter; } /** diff --git a/sdk/search/search-documents/src/generated/service/models/mappers.ts b/sdk/search/search-documents/src/generated/service/models/mappers.ts index b9e7f3a987f4..7e98b30b55be 100644 --- a/sdk/search/search-documents/src/generated/service/models/mappers.ts +++ b/sdk/search/search-documents/src/generated/service/models/mappers.ts @@ -4202,14 +4202,6 @@ export const ServiceCounters: coreHttp.CompositeMapper = { name: "Composite", className: "ResourceCounter" } - }, - skillsetCounter: { - required: true, - serializedName: "skillsetCount", - type: { - name: "Composite", - className: "ResourceCounter" - } } } }