Skip to content

Commit

Permalink
Adding Microsoft.Elastic 2022-03-01 to fix swagger linting s360 (Azur…
Browse files Browse the repository at this point in the history
…e#6756)

* Updated for swagger linting issue

* Removed new apiversion and updated existing with s-ms-identifiers
  • Loading branch information
v-sadafm authored Mar 29, 2022
1 parent 9e6ddfa commit 07c045b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@
"details": {
"description": "Error details.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ErrorResponseBody"
}
Expand Down Expand Up @@ -891,6 +892,7 @@
"value": {
"description": "List of operations supported by the Microsoft.Elastic provider.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/OperationResult"
}
Expand Down Expand Up @@ -1225,6 +1227,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ElasticMonitorResource"
}
Expand Down Expand Up @@ -1286,6 +1289,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoredResource"
}
Expand Down Expand Up @@ -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"
}
Expand Down Expand Up @@ -1404,6 +1409,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoringTagRules"
}
Expand Down Expand Up @@ -1459,6 +1465,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/VMResources"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@
"details": {
"description": "Error details.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ErrorResponseBody"
}
Expand Down Expand Up @@ -944,6 +945,7 @@
"value": {
"description": "List of operations supported by the Microsoft.Elastic provider.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/OperationResult"
}
Expand Down Expand Up @@ -1278,6 +1280,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ElasticMonitorResource"
}
Expand Down Expand Up @@ -1339,6 +1342,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoredResource"
}
Expand Down Expand Up @@ -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"
}
Expand Down Expand Up @@ -1457,6 +1462,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoringTagRules"
}
Expand Down Expand Up @@ -1540,6 +1546,7 @@
"roles": {
"description": "Roles to be assigned for created or updated user",
"type": "array",
"x-ms-identifiers": [],
"items": {
"type": "string"
}
Expand All @@ -1553,6 +1560,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/VMResources"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,7 @@
"details": {
"description": "Error details.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ErrorResponseBody"
}
Expand Down Expand Up @@ -1043,6 +1044,7 @@
"value": {
"description": "List of operations supported by the Microsoft.Elastic provider.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/OperationResult"
}
Expand Down Expand Up @@ -1381,6 +1383,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/ElasticMonitorResource"
}
Expand Down Expand Up @@ -1442,6 +1445,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoredResource"
}
Expand Down Expand Up @@ -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"
}
Expand Down Expand Up @@ -1560,6 +1565,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/MonitoringTagRules"
}
Expand Down Expand Up @@ -1643,6 +1649,7 @@
"roles": {
"description": "Roles to be assigned for created or updated user",
"type": "array",
"x-ms-identifiers": [],
"items": {
"type": "string"
}
Expand All @@ -1656,6 +1663,7 @@
"value": {
"description": "Results of a list operation.",
"type": "array",
"x-ms-identifiers": [],
"items": {
"$ref": "#/definitions/VMResources"
}
Expand Down Expand Up @@ -1729,6 +1737,7 @@
},
"upgradableVersions": {
"type": "array",
"x-ms-identifiers": [],
"description": "Stack Versions that this version can upgrade to",
"items": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion specification/elastic/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion specification/elastic/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ python:
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-elastic
```
```

0 comments on commit 07c045b

Please sign in to comment.