From 07c045bb9d602c8993704223bb326ba93717ad5d Mon Sep 17 00:00:00 2001 From: v-sadafm <101547194+v-sadafm@users.noreply.github.com> Date: Tue, 29 Mar 2022 12:42:16 +0530 Subject: [PATCH] Adding Microsoft.Elastic 2022-03-01 to fix swagger linting s360 (#6756) * Updated for swagger linting issue * Removed new apiversion and updated existing with s-ms-identifiers --- .../preview/2020-07-01-preview/elastic.json | 7 +++++++ .../preview/2021-09-01-preview/elastic.json | 8 ++++++++ .../preview/2021-10-01-preview/elastic.json | 9 +++++++++ specification/elastic/resource-manager/readme.md | 2 +- specification/elastic/resource-manager/readme.python.md | 2 +- 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/elastic.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/elastic.json index f86884a05375..edf4b52c9c9e 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/elastic.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/elastic.json @@ -823,6 +823,7 @@ "details": { "description": "Error details.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ErrorResponseBody" } @@ -891,6 +892,7 @@ "value": { "description": "List of operations supported by the Microsoft.Elastic provider.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/OperationResult" } @@ -1225,6 +1227,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ElasticMonitorResource" } @@ -1286,6 +1289,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoredResource" } @@ -1345,6 +1349,7 @@ "filteringTags": { "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/FilteringTag" } @@ -1404,6 +1409,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoringTagRules" } @@ -1459,6 +1465,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/VMResources" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-09-01-preview/elastic.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-09-01-preview/elastic.json index e50249e05cf7..d0ebbc878df6 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-09-01-preview/elastic.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-09-01-preview/elastic.json @@ -876,6 +876,7 @@ "details": { "description": "Error details.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ErrorResponseBody" } @@ -944,6 +945,7 @@ "value": { "description": "List of operations supported by the Microsoft.Elastic provider.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/OperationResult" } @@ -1278,6 +1280,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ElasticMonitorResource" } @@ -1339,6 +1342,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoredResource" } @@ -1398,6 +1402,7 @@ "filteringTags": { "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/FilteringTag" } @@ -1457,6 +1462,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoringTagRules" } @@ -1540,6 +1546,7 @@ "roles": { "description": "Roles to be assigned for created or updated user", "type": "array", + "x-ms-identifiers": [], "items": { "type": "string" } @@ -1553,6 +1560,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/VMResources" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/elastic.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/elastic.json index 886b7cfd78f6..b02a4cef988f 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/elastic.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/elastic.json @@ -975,6 +975,7 @@ "details": { "description": "Error details.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ErrorResponseBody" } @@ -1043,6 +1044,7 @@ "value": { "description": "List of operations supported by the Microsoft.Elastic provider.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/OperationResult" } @@ -1381,6 +1383,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/ElasticMonitorResource" } @@ -1442,6 +1445,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoredResource" } @@ -1501,6 +1505,7 @@ "filteringTags": { "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/FilteringTag" } @@ -1560,6 +1565,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/MonitoringTagRules" } @@ -1643,6 +1649,7 @@ "roles": { "description": "Roles to be assigned for created or updated user", "type": "array", + "x-ms-identifiers": [], "items": { "type": "string" } @@ -1656,6 +1663,7 @@ "value": { "description": "Results of a list operation.", "type": "array", + "x-ms-identifiers": [], "items": { "$ref": "#/definitions/VMResources" } @@ -1729,6 +1737,7 @@ }, "upgradableVersions": { "type": "array", + "x-ms-identifiers": [], "description": "Stack Versions that this version can upgrade to", "items": { "type": "string" diff --git a/specification/elastic/resource-manager/readme.md b/specification/elastic/resource-manager/readme.md index 677d628e8ab3..aa2820901529 100644 --- a/specification/elastic/resource-manager/readme.md +++ b/specification/elastic/resource-manager/readme.md @@ -134,4 +134,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp -See configuration in [readme.csharp.md](./readme.csharp.md) +See configuration in [readme.csharp.md](./readme.csharp.md) \ No newline at end of file diff --git a/specification/elastic/resource-manager/readme.python.md b/specification/elastic/resource-manager/readme.python.md index 2b08162c2f5f..a9a61433e382 100644 --- a/specification/elastic/resource-manager/readme.python.md +++ b/specification/elastic/resource-manager/readme.python.md @@ -25,4 +25,4 @@ python: python: basic-setup-py: true output-folder: $(python-sdks-folder)/azure-mgmt-elastic -``` +``` \ No newline at end of file