Skip to content

Commit

Permalink
Update readme for onboard autorest.schema to sdkautomation (Azure#10358)
Browse files Browse the repository at this point in the history
  • Loading branch information
Descatles authored Aug 13, 2020
1 parent 38dd0db commit d64c8b3
Show file tree
Hide file tree
Showing 310 changed files with 10,632 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2018-12-03
```
### Tag: package-2018-12-03 and azureresourceschema
These settings apply only when `--tag=package-2018-12-03 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-12-03' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js EnterpriseKnowledgeGraph/resource-manager
```

## C#
Expand All @@ -91,6 +94,10 @@ csharp:
clear-output-folder: true
```

## AzureResourceSchema

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

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

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2018-03
- tag: package-2017-05
```
### Tag: package-2018-03 and azureresourceschema
These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-05 and azureresourceschema

These settings apply only when `--tag=package-2017-05 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-05' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

15 changes: 15 additions & 0 deletions specification/addons/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ input-file:
---
# Code Generation

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js addons/resource-manager
```

---
## C#
Expand Down Expand Up @@ -182,6 +193,10 @@ generate-interface: true



## AzureResourceSchema

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

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

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2014-01
```
### Tag: package-2014-01 and azureresourceschema
These settings apply only when `--tag=package-2014-01 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2014-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js adhybridhealthservice/resource-manager
```


Expand Down Expand Up @@ -94,6 +97,10 @@ See configuration in [readme.go.md](./readme.go.md)

See configuration in [readme.java.md](./readme.java.md)

## AzureResourceSchema

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

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

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2020-07-preview
- tag: package-2020-01
- tag: package-2017-04
- tag: package-2017-03
- tag: package-2016-07-preview
```
### Tag: package-2020-07-preview and azureresourceschema
These settings apply only when `--tag=package-2020-07-preview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-07-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01 and azureresourceschema

These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-04 and azureresourceschema

These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-03 and azureresourceschema

These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2016-07-preview and azureresourceschema

These settings apply only when `--tag=package-2016-07-preview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2016-07-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

7 changes: 7 additions & 0 deletions specification/advisor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js advisor/resource-manager
```

## Python
Expand Down Expand Up @@ -145,6 +148,10 @@ csharp:

See configuration in [readme.java.md](./readme.java.md)

## AzureResourceSchema

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

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

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2019-06-preview
- tag: package-2019-06
- tag: package-2019-03
- tag: package-preview-2019-05
- tag: package-2018-05
- tag: package-2018-05-preview
```
### Tag: package-2019-06-preview and azureresourceschema
These settings apply only when `--tag=package-2019-06-preview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2019-06-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2019-06 and azureresourceschema

These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2019-03 and azureresourceschema

These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-preview-2019-05 and azureresourceschema

These settings apply only when `--tag=package-preview-2019-05 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-preview-2019-05' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-05 and azureresourceschema

These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-05-preview and azureresourceschema

These settings apply only when `--tag=package-2018-05-preview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-05-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

7 changes: 7 additions & 0 deletions specification/alertsmanagement/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-go
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js alertsmanagement/resource-manager
```

## C#
Expand Down Expand Up @@ -169,6 +172,10 @@ See configuration in [readme.go.md](./readme.go.md)

See configuration in [readme.java.md](./readme.java.md)

## AzureResourceSchema

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

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

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2017-08
- tag: package-2017-08-beta
- tag: package-2017-07
- tag: package-2016-05
```
### Tag: package-2017-08 and azureresourceschema
These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-08-beta and azureresourceschema

These settings apply only when `--tag=package-2017-08-beta --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-08-beta' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-07 and azureresourceschema

These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2016-05 and azureresourceschema

These settings apply only when `--tag=package-2016-05 --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2016-05' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

7 changes: 7 additions & 0 deletions specification/analysisservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_analysis_services']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js analysisservices/resource-manager
```


Expand Down Expand Up @@ -183,6 +186,10 @@ generate-interface: true



## AzureResourceSchema

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

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

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

0 comments on commit d64c8b3

Please sign in to comment.