Skip to content

Commit d43b10e

Browse files
Refactor readme for workloadmonitor (#11217)
1 parent 81429fa commit d43b10e

File tree

2 files changed

+37
-35
lines changed

2 files changed

+37
-35
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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: workloadmonitor
9+
clear-output-folder: true
10+
```
11+
12+
### Go multi-api
13+
14+
``` yaml $(go) && $(multiapi)
15+
batch:
16+
- tag: package-2020-01-13-preview
17+
- tag: package-2018-08-31-preview
18+
```
19+
20+
### Tag: package-2018-08-31-preview and go
21+
22+
These settings apply only when `--tag=package-2018-08-31-preview --go` is specified on the command line.
23+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
24+
25+
``` yaml $(tag) == 'package-2018-08-31-preview' && $(go)
26+
output-folder: $(go-sdk-folder)/services/preview/workloadmonitor/mgmt/2018-08-31-preview/workloadmonitor
27+
```
28+
29+
### Tag: package-2020-01-13-preview and go
30+
31+
These settings apply only when `--tag=package-2020-01-13-preview --go` is specified on the command line.
32+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
33+
34+
``` yaml $(tag) == 'package-2020-01-13-preview' && $(go)
35+
output-folder: $(go-sdk-folder)/services/preview/workloadmonitor/mgmt/2020-01-13-preview/workloadmonitor
36+
```

specification/workloadmonitor/resource-manager/readme.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -124,41 +124,7 @@ python:
124124

125125
## Go
126126

127-
These settings apply only when `--go` is specified on the command line.
128-
129-
``` yaml $(go)
130-
go:
131-
license-header: MICROSOFT_APACHE_NO_VERSION
132-
namespace: workloadmonitor
133-
clear-output-folder: true
134-
```
135-
136-
### Go multi-api
137-
138-
``` yaml $(go) && $(multiapi)
139-
batch:
140-
- tag: package-2020-01-13-preview
141-
- tag: package-2018-08-31-preview
142-
```
143-
144-
### Tag: package-2018-08-31-preview and go
145-
146-
These settings apply only when `--tag=package-2018-08-31-preview --go` is specified on the command line.
147-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
148-
149-
``` yaml $(tag) == 'package-2018-08-31-preview' && $(go)
150-
output-folder: $(go-sdk-folder)/services/preview/workloadmonitor/mgmt/2018-08-31-preview/workloadmonitor
151-
```
152-
153-
### Tag: package-2020-01-13-preview and go
154-
155-
These settings apply only when `--tag=package-2020-01-13-preview --go` is specified on the command line.
156-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
157-
158-
``` yaml $(tag) == 'package-2020-01-13-preview' && $(go)
159-
output-folder: $(go-sdk-folder)/services/preview/workloadmonitor/mgmt/2020-01-13-preview/workloadmonitor
160-
```
161-
127+
See configuration in [readme.go.md](./readme.go.md)
162128

163129
## Java
164130

0 commit comments

Comments
 (0)