-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
readme.go.md
59 lines (45 loc) · 1.99 KB
/
readme.go.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
## Go
These settings apply only when `--go` is specified on the command line.
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: insights
clear-output-folder: true
```
```yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/applicationinsights/armapplicationinsights
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
directive:
# Duplicate OperationId Operations_List is detected in Microsoft.Insights/stable/2015-05-01/aiOperations_API.json and Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json
from: aiOperations_API.json
where: $.paths
transform: delete $["/providers/Microsoft.Insights/operations"]
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2015-05
- tag: package-2020-02-02
- tag: package-2021-11-01
```
### Tag: package-2015-05 and go
These settings apply only when `--tag=package-2015-05 --go` is specified on he command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
``` yaml $(tag) == 'package-2015-05' && $(go)
output-folder: $(go-sdk-folder)/services/appinsights/mgmt/2015-05-01/$(namespace)
```
### Tag: package-2020-02-02 and go
These settings apply only when `--tag=package-2020-02-02 --go` is specified on he command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
``` yaml $(tag) == 'package-2020-02-02' && $(go)
output-folder: $(go-sdk-folder)/services/appinsights/mgmt/2020-02-02/$(namespace)
```
### Tag: package-2021-11-01 and go
These settings apply only when `--tag=package-2021-11-01 --go` is specified on he command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
``` yaml $(tag) == 'package-2021-11-01' && $(go)
output-folder: $(go-sdk-folder)/services/preview/appinsights/mgmt/2021-11-01-preview/$(namespace)
```