Skip to content

Commit ba194ec

Browse files
authored
[Azure Stack] Updates to Azs.InfrastructuresInsights.Admin spec (#8975)
* cumulative commit message: commit 9e551f0 Author: bganapa <[email protected]> Date: Tue Nov 12 11:44:22 2019 -0800 Reset to Stackadmin2 (#7766) * Add autorest generation info to readme.md * Fix readme.md
1 parent 0ea15aa commit ba194ec

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AutoRest v3 generators
2+
3+
> see https://aka.ms/autorest
4+
5+
``` yaml
6+
input-file:
7+
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/InfrastructureInsights.json
8+
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/Alert.json
9+
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/RegionHealth.json
10+
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ResourceHealth.json
11+
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ServiceHealth.json
12+
```

specification/azsadmin/resource-manager/infrastructureinsights/readme.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,18 @@ csharp:
6060
clear-output-folder: true
6161
```
6262

63-
## Multi-API/Profile support for AutoRest v3 generators
63+
## Multi-API/Profile support for AutoRest v3 generators
6464

65-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
65+
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
66+
67+
> see https://aka.ms/autorest
6668

6769
This block is updated by an automatic script. Edits may be lost!
6870

69-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
70-
# include the azure profile definitions from the standard location
71+
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
72+
73+
# include the azure profile definitions from the standard location
74+
7175
require: $(this-folder)/../../../../profiles/readme.md
7276
7377
# all the input files across all versions
@@ -77,14 +81,12 @@ input-file:
7781
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/RegionHealth.json
7882
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ResourceHealth.json
7983
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ServiceHealth.json
80-
8184
```
8285

83-
If there are files that should not be in the `all-api-versions` set,
84-
uncomment the `exclude-file` section below and add the file paths.
85-
86-
``` yaml $(tag) == 'all-api-versions'
87-
#exclude-file:
88-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
89-
```
86+
If there are files that should not be in the `all-api-versions` set,
87+
uncomment the `exclude-file` section below and add the file paths.
9088

89+
``` yaml $(tag) == 'all-api-versions'
90+
#exclude-file:
91+
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
92+
```

0 commit comments

Comments
 (0)