Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions specification/addons/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
## Go

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

``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
namespace: addons
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/addons/armaddons
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```


### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-03
- tag: package-2017-05
```

### Tag: package-2018-03 and go

These settings apply only when `--tag=package-2018-03 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-2018-03' && $(go)
output-folder: $(go-sdk-folder)/services/preview/addons/mgmt/2018-03-01/addons
```

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

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

``` yaml $(tag)=='package-2017-05' && $(go)
output-folder: $(go-sdk-folder)/services/preview/addons/mgmt/2017-05-15/addons
```

36 changes: 1 addition & 35 deletions specification/addons/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,41 +106,7 @@ python:

## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
namespace: addons
```


### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-03
- tag: package-2017-05
```

### Tag: package-2018-03 and go

These settings apply only when `--tag=package-2018-03 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-2018-03' && $(go)
output-folder: $(go-sdk-folder)/services/preview/addons/mgmt/2018-03-01/addons
```

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

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

``` yaml $(tag)=='package-2017-05' && $(go)
output-folder: $(go-sdk-folder)/services/preview/addons/mgmt/2017-05-15/addons
```
See configuration in [readme.go.md](./readme.go.md)

## Java

Expand Down
10 changes: 9 additions & 1 deletion specification/datamigration/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

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

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
namespace: datamigration
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/datamigration/armdatamigration
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
1 change: 1 addition & 0 deletions specification/datamigration/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-java
Expand Down
10 changes: 9 additions & 1 deletion specification/dnc/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

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

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
namespace: delegatednetwork
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/delegatednetwork/armdelegatednetwork
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
1 change: 1 addition & 0 deletions specification/dnc/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-powershell
```
Expand Down
17 changes: 16 additions & 1 deletion specification/powerplatform/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,27 @@

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

```yaml $(go)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/powerplatform/armpowerplatform
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-10-30-preview
```

### Tag: package-2020-10-30-preview and go

These settings apply only when `--tag=package-2020-10-30-preview --go` is specified on the command line.
Expand Down
1 change: 1 addition & 0 deletions specification/powerplatform/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down
10 changes: 9 additions & 1 deletion specification/resourceconnector/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

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

```yaml $(go)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/resourceconnector/armresourceconnector
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

```yaml $(go) && $(multiapi)
Expand Down
1 change: 1 addition & 0 deletions specification/resourceconnector/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down
10 changes: 9 additions & 1 deletion specification/timeseriesinsights/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

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

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
namespace: timeseriesinsights
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/timeseriesinsights/armtimeseriesinsights
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-python-track2
Expand Down