Skip to content

Commit

Permalink
Add Go SDK build for sqlvirtualmachine (#4588)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendrixMSFT authored Nov 27, 2018
1 parent 4636b0c commit 248870d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
26 changes: 26 additions & 0 deletions specification/sqlvirtualmachine/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: sqlvirtualmachine
clear-output-folder: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-03-01-preview
```
### Tag: package-2017-03-01-preview and go
These settings apply only when `--tag=package-2017-03-01-preview --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-03-01-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-03-01-preview/$(namespace)
```
5 changes: 5 additions & 0 deletions specification/sqlvirtualmachine/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -99,3 +100,7 @@ python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-sqlvirtualmachine
```

### Go

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

0 comments on commit 248870d

Please sign in to comment.