Skip to content

Commit b89c2be

Browse files
ArcturusZhangjosuh
authored andcommitted
add api-version of guest configuration to go SDK (Azure#12217)
1 parent 847ba6c commit b89c2be

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Go
2+
3+
These settings apply only when `--go` is specified on the command line.
4+
5+
``` yaml $(go)
6+
go:
7+
license-header: MICROSOFT_APACHE_NO_VERSION
8+
namespace: guestconfiguration
9+
clear-output-folder: true
10+
```
11+
12+
### Go multi-api
13+
14+
``` yaml $(go) && $(multiapi)
15+
batch:
16+
- tag: package-2020-06-25
17+
```
18+
19+
### Tag: package-2020-06-25 and go
20+
21+
These settings apply only when `--tag=package-2020-06-25 --go` is specified on the command line.
22+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
23+
24+
``` yaml $(tag) == 'package-2020-06-25' && $(go)
25+
output-folder: $(go-sdk-folder)/services/$(namespace)/2020-06-25/$(namespace)
26+
```

specification/guestconfiguration/resource-manager/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ This is not used by Autorest itself.
112112

113113
``` yaml $(swagger-to-sdk)
114114
swagger-to-sdk:
115+
- repo: azure-sdk-for-go
115116
- repo: azure-cli-extensions
116117
- repo: azure-resource-manager-schemas
117118
after_scripts:

0 commit comments

Comments
 (0)