Skip to content

Commit

Permalink
add api-version of guest configuration to go SDK (#12217)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored Dec 24, 2020
1 parent b2310d6 commit 130a1b5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions specification/guestconfiguration/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: guestconfiguration
clear-output-folder: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-06-25
```
### Tag: package-2020-06-25 and go
These settings apply only when `--tag=package-2020-06-25 --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-2020-06-25' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/2020-06-25/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-cli-extensions
- repo: azure-resource-manager-schemas
after_scripts:
Expand Down

0 comments on commit 130a1b5

Please sign in to comment.