Skip to content

Commit 02aa7ac

Browse files
authored
Remove deprecated all-api-versions in readme.md (#10863)
* run multiapi * Remove deprecated all-api-versions * Manual remove
1 parent 58aa6f7 commit 02aa7ac

File tree

176 files changed

+272
-6121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+272
-6121
lines changed

specification/EnterpriseKnowledgeGraph/resource-manager/readme.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,3 @@ csharp:
9898

9999
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
100100

101-
## Multi-API/Profile support for AutoRest v3 generators
102-
103-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
104-
105-
This block is updated by an automatic script. Edits may be lost!
106-
107-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
108-
# include the azure profile definitions from the standard location
109-
require: $(this-folder)/../../../profiles/readme.md
110-
111-
# all the input files across all versions
112-
input-file:
113-
- $(this-folder)/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/EnterpriseKnowledgeGraphSwagger.json
114-
115-
```
116-
117-
If there are files that should not be in the `all-api-versions` set,
118-
uncomment the `exclude-file` section below and add the file paths.
119-
120-
``` yaml $(tag) == 'all-api-versions'
121-
#exclude-file:
122-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
123-
```
124-

specification/addons/resource-manager/readme.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -197,28 +197,3 @@ generate-interface: true
197197

198198
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
199199

200-
## Multi-API/Profile support for AutoRest v3 generators
201-
202-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
203-
204-
This block is updated by an automatic script. Edits may be lost!
205-
206-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
207-
# include the azure profile definitions from the standard location
208-
require: $(this-folder)/../../../profiles/readme.md
209-
210-
# all the input files across all versions
211-
input-file:
212-
- $(this-folder)/Microsoft.Addons/preview/2018-03-01/addons-swagger.json
213-
- $(this-folder)/Microsoft.Addons/preview/2017-05-15/Addons.json
214-
215-
```
216-
217-
If there are files that should not be in the `all-api-versions` set,
218-
uncomment the `exclude-file` section below and add the file paths.
219-
220-
``` yaml $(tag) == 'all-api-versions'
221-
#exclude-file:
222-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
223-
```
224-

specification/adhybridhealthservice/resource-manager/readme.azureresourceschema.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,20 @@ These settings apply only when `--azureresourceschema` is specified on the comma
55
### AzureResourceSchema multi-api
66

77
``` yaml $(azureresourceschema) && $(multiapi)
8-
batch: []
8+
batch:
9+
- tag: schema-adhybridhealthservice-2014-01-01
910

1011
```
1112

1213
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.
14+
15+
### Tag: schema-adhybridhealthservice-2014-01-01 and azureresourceschema
16+
17+
``` yaml $(tag) == 'schema-adhybridhealthservice-2014-01-01' && $(azureresourceschema)
18+
output-folder: $(azureresourceschema-folder)/schemas
19+
20+
# all the input files in this apiVersion
21+
input-file:
22+
- Microsoft.ADHybridHealthService\stable\2014-01-01\ADHybridHealthService.json
23+
24+
```

specification/adhybridhealthservice/resource-manager/readme.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,27 +101,3 @@ See configuration in [readme.java.md](./readme.java.md)
101101

102102
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
103103

104-
## Multi-API/Profile support for AutoRest v3 generators
105-
106-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
107-
108-
This block is updated by an automatic script. Edits may be lost!
109-
110-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
111-
# include the azure profile definitions from the standard location
112-
require: $(this-folder)/../../../profiles/readme.md
113-
114-
# all the input files across all versions
115-
input-file:
116-
- $(this-folder)/Microsoft.ADHybridHealthService\stable\2014-01-01\ADHybridHealthService.json
117-
118-
```
119-
120-
If there are files that should not be in the `all-api-versions` set,
121-
uncomment the `exclude-file` section below and add the file paths.
122-
123-
``` yaml $(tag) == 'all-api-versions'
124-
#exclude-file:
125-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
126-
```
127-

specification/advisor/resource-manager/readme.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -152,30 +152,3 @@ See configuration in [readme.java.md](./readme.java.md)
152152

153153
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
154154

155-
## Multi-API/Profile support for AutoRest v3 generators
156-
157-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
158-
159-
This block is updated by an automatic script. Edits may be lost!
160-
161-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
162-
# include the azure profile definitions from the standard location
163-
require: $(this-folder)/../../../profiles/readme.md
164-
165-
# all the input files across all versions
166-
input-file:
167-
- $(this-folder)/Microsoft.Advisor/preview/2020-07-01-preview/advisor.json
168-
- $(this-folder)/Microsoft.Advisor/stable/2020-01-01/advisor.json
169-
- $(this-folder)/Microsoft.Advisor/stable/2017-04-19/advisor.json
170-
- $(this-folder)/Microsoft.Advisor/stable/2017-03-31/advisor.json
171-
- $(this-folder)/Microsoft.Advisor/preview/2016-07-12-preview/advisor.json
172-
173-
```
174-
175-
If there are files that should not be in the `all-api-versions` set,
176-
uncomment the `exclude-file` section below and add the file paths.
177-
178-
``` yaml $(tag) == 'all-api-versions'
179-
#exclude-file:
180-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
181-
```

specification/alertsmanagement/resource-manager/readme.azureresourceschema.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ These settings apply only when `--azureresourceschema` is specified on the comma
66

77
``` yaml $(azureresourceschema) && $(multiapi)
88
batch:
9+
- tag: schema-alertsmanagement-2020-08-04-preview
910
- tag: schema-alertsmanagement-2019-06-01
1011
- tag: schema-alertsmanagement-2019-05-05-preview
1112
- tag: schema-alertsmanagement-2019-03-01
@@ -16,6 +17,17 @@ batch:
1617

1718
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.
1819

20+
### Tag: schema-alertsmanagement-2020-08-04-preview and azureresourceschema
21+
22+
``` yaml $(tag) == 'schema-alertsmanagement-2020-08-04-preview' && $(azureresourceschema)
23+
output-folder: $(azureresourceschema-folder)/schemas
24+
25+
# all the input files in this apiVersion
26+
input-file:
27+
- Microsoft.AlertsManagement/preview/2020-08-04-preview/AlertsManagement.json
28+
29+
```
30+
1931
### Tag: schema-alertsmanagement-2019-06-01 and azureresourceschema
2032

2133
``` yaml $(tag) == 'schema-alertsmanagement-2019-06-01' && $(azureresourceschema)

specification/alertsmanagement/resource-manager/readme.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -190,35 +190,3 @@ See configuration in [readme.java.md](./readme.java.md)
190190

191191
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
192192

193-
## Multi-API/Profile support for AutoRest v3 generators
194-
195-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
196-
197-
This block is updated by an automatic script. Edits may be lost!
198-
199-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
200-
# include the azure profile definitions from the standard location
201-
require: $(this-folder)/../../../profiles/readme.md
202-
203-
# all the input files across all versions
204-
input-file:
205-
- $(this-folder)/Microsoft.AlertsManagement/preview/2019-05-05-preview/ActionRules.json
206-
- $(this-folder)/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json
207-
- $(this-folder)/Microsoft.AlertsManagement/preview/2019-05-05-preview/SmartGroups.json
208-
- $(this-folder)/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
209-
- $(this-folder)/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json
210-
- $(this-folder)/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json
211-
- $(this-folder)/Microsoft.AlertsManagement/stable/2018-05-05/AlertsManagement.json
212-
- $(this-folder)/Microsoft.AlertsManagement/preview/2018-05-05-preview/AlertsManagement.json
213-
- $(this-folder)/Microsoft.AlertsManagement/preview/2020-08-04-preview/AlertsManagement.json
214-
215-
```
216-
217-
If there are files that should not be in the `all-api-versions` set,
218-
uncomment the `exclude-file` section below and add the file paths.
219-
220-
``` yaml $(tag) == 'all-api-versions'
221-
#exclude-file:
222-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
223-
```
224-

specification/analysisservices/resource-manager/readme.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -190,30 +190,3 @@ generate-interface: true
190190

191191
See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
192192

193-
## Multi-API/Profile support for AutoRest v3 generators
194-
195-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
196-
197-
This block is updated by an automatic script. Edits may be lost!
198-
199-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
200-
# include the azure profile definitions from the standard location
201-
require: $(this-folder)/../../../profiles/readme.md
202-
203-
# all the input files across all versions
204-
input-file:
205-
- $(this-folder)/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json
206-
- $(this-folder)/Microsoft.AnalysisServices/preview/2017-08-01-beta/analysisservices.json
207-
- $(this-folder)/Microsoft.AnalysisServices/stable/2017-07-14/analysisservices.json
208-
- $(this-folder)/Microsoft.AnalysisServices/stable/2016-05-16/analysisservices.json
209-
210-
```
211-
212-
If there are files that should not be in the `all-api-versions` set,
213-
uncomment the `exclude-file` section below and add the file paths.
214-
215-
``` yaml $(tag) == 'all-api-versions'
216-
#exclude-file:
217-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
218-
```
219-

0 commit comments

Comments
 (0)