Skip to content

Commit c7f452d

Browse files
[Go] healthcareapi add batch tag package-preview-2021-06 (#17983)
* [Go] healthcareap add batch tag package-preview-2021-06 * some directive attempt * fix * fix Co-authored-by: ArcturusZhang <[email protected]>
1 parent 9447417 commit c7f452d

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,31 @@ azure-arm: true
2121
2222
``` yaml $(go) && $(multiapi)
2323
batch:
24+
- tag: package-preview-2021-06
2425
- tag: package-2020-03-30
2526
- tag: package-2020-03
2627
- tag: package-2019-09
2728
- tag: package-2018-08-preview
2829
```
2930
31+
### Tag: package-preview-2021-06 and go
32+
33+
These settings apply only when `--tag=package-preview-2021-06 --go` is specified on the command line.
34+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
35+
36+
``` yaml $(tag) == 'package-preview-2021-06' && $(go)
37+
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-06-01-preview/$(namespace)
38+
39+
directive:
40+
- from: healthcare-apis.json
41+
where: $.definitions.ServicesProperties.properties.provisioningState
42+
transform: >-
43+
return {
44+
"description": "The provisioning state.",
45+
"$ref": "#/definitions/ProvisioningState"
46+
}
47+
```
48+
3049
### Tag: package-2020-03-30 and go
3150

3251
These settings apply only when `--tag=package-2020-03-30 --go` is specified on the command line.
@@ -61,4 +80,4 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
6180

6281
``` yaml $(tag) == 'package-2018-08-preview' && $(go)
6382
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-20-preview/$(namespace)
64-
```
83+
```

0 commit comments

Comments
 (0)