Skip to content

Commit

Permalink
[Azure Stack] Updates to Azs.InfrastructuresInsights.Admin spec (Azur…
Browse files Browse the repository at this point in the history
…e#8975)

* cumulative commit message:
commit 9e551f0
Author: bganapa <[email protected]>
Date:   Tue Nov 12 11:44:22 2019 -0800

    Reset to Stackadmin2 (Azure#7766)

* Add autorest generation info to readme.md

* Fix readme.md
  • Loading branch information
viananth authored and 00Kai0 committed Oct 12, 2020
1 parent 57107f8 commit f99f278
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AutoRest v3 generators

> see https://aka.ms/autorest
``` yaml
input-file:
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/InfrastructureInsights.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/Alert.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/RegionHealth.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ResourceHealth.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ServiceHealth.json
```
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,18 @@ csharp:
clear-output-folder: true
```

## Multi-API/Profile support for AutoRest v3 generators
## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

> see https://aka.ms/autorest

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

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
Expand All @@ -77,14 +81,12 @@ input-file:
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/RegionHealth.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ResourceHealth.json
- $(this-folder)/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/ServiceHealth.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

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

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

0 comments on commit f99f278

Please sign in to comment.