Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
```

37 changes: 2 additions & 35 deletions specification/addons/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go-track2
- repo: azure-resource-manager-schemas
- repo: azure-powershell
```
Expand Down Expand Up @@ -106,41 +107,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
12 changes: 11 additions & 1 deletion specification/commerce/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@

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

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

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/commerce/armcommerce
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
modelerfour:
lenient-model-deduplication: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
1 change: 1 addition & 0 deletions specification/commerce/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,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-node
- repo: azure-sdk-for-ruby
Expand Down
10 changes: 9 additions & 1 deletion specification/customer-insights/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
namespace: customerinsights
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/customerinsights/armcustomerinsights
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/customer-insights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- 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-ruby
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
10 changes: 9 additions & 1 deletion specification/engagementfabric/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
namespace: engagementfabric
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/engagementfabric/armengagementfabric
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/engagementfabric/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-node
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down
1 change: 0 additions & 1 deletion specification/iotspaces/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
## Go


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

``` yaml $(go)
Expand Down
10 changes: 9 additions & 1 deletion specification/managednetwork/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
namespace: managednetwork
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/managednetwork/armmanagednetwork
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/managednetwork/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,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-net
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
Expand Down
10 changes: 9 additions & 1 deletion specification/migrate/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: migrate
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/migrate/armmigrate
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/migrate/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,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-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
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
Loading