Skip to content

Commit 5f9965c

Browse files
fix readme and add track 2 configurations (#14582)
1 parent d793656 commit 5f9965c

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

specification/privatedns/resource-manager/readme.go.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22

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

5-
``` yaml $(go)
5+
``` yaml $(go) && !$(track2)
66
go:
77
license-header: MICROSOFT_MIT_NO_VERSION
88
namespace: privatedns
99
clear-output-folder: true
1010
```
1111
12+
``` yaml $(go) && $(track2)
13+
license-header: MICROSOFT_MIT_NO_VERSION
14+
module-name: sdk/privatedns/armprivatedns
15+
module: github.com/Azure/azure-sdk-for-go/$(module-name)
16+
output-folder: $(go-sdk-folder)/$(module-name)
17+
azure-arm: true
18+
```
19+
1220
### Go multi-api
1321
14-
``` yaml $(go) && $(multiapi)
22+
``` yaml $(go) && $(multiapi)
1523
batch:
1624
- tag: package-2018-09
1725
```

specification/privatedns/resource-manager/readme.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ These are the global settings for the Private DNS API.
2626

2727
``` yaml
2828
openapi-type: arm
29-
tag: package-2018-09
29+
tag: package-2020-06
3030
```
3131
3232
### Tag: package-2018-09
@@ -38,11 +38,6 @@ input-file:
3838
- Microsoft.Network/stable/2018-09-01/privatedns.json
3939
```
4040

41-
``` yaml
42-
openapi-type: arm
43-
tag: package-2020-01
44-
```
45-
4641
### Tag: package-2020-01
4742

4843
These settings apply only when `--tag=package-2020-01` is specified on the command line.
@@ -52,11 +47,6 @@ input-file:
5247
- Microsoft.Network/stable/2020-01-01/privatedns.json
5348
```
5449

55-
``` yaml
56-
openapi-type: arm
57-
tag: package-2020-06
58-
```
59-
6050
### Tag: package-2020-06
6151

6252
These settings apply only when `--tag=package-2020-06` is specified on the command line.

0 commit comments

Comments
 (0)