Skip to content

Commit ef6f2f0

Browse files
authored
[GO]add batch directive (#21504)
* [GO]add batch directive * use x-ms-client-name
1 parent 232b858 commit ef6f2f0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

+13
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ module-name: sdk/resourcemanager/batch/armbatch
1616
module: github.com/Azure/azure-sdk-for-go/$(module-name)
1717
output-folder: $(go-sdk-folder)/$(module-name)
1818
azure-arm: true
19+
directive:
20+
- from: BatchManagement.json
21+
where: $.definitions.CIFSMountConfiguration.properties.userName
22+
transform:
23+
$["x-ms-client-name"] = "username"
24+
- from: BatchManagement.json
25+
where: $.definitions.NetworkConfiguration.properties.dynamicVnetAssignmentScope
26+
transform:
27+
$["x-ms-client-name"] = "dynamicVNetAssignmentScope"
28+
- from: BatchManagement.json
29+
where: $.definitions.PrivateLinkServiceConnectionState.properties.actionsRequired
30+
transform:
31+
$["x-ms-client-name"] = "actionRequired"
1932
```
2033
2134
## Go multi-api

0 commit comments

Comments
 (0)