Skip to content

Commit e90a221

Browse files
msyyccheukchuen
authored andcommitted
[recoveryservicessiterecovery] update python config (#30330)
* update python config * update python config * Update readme.python.md
1 parent 4eb2688 commit e90a221

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

specification/recoveryservicessiterecovery/resource-manager/readme.python.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,31 @@ clear-output-folder: true
1616
no-namespace-folders: true
1717
output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery
1818
```
19+
20+
``` yaml $(python)
21+
directive:
22+
- from: swagger-document
23+
where: $.parameters.ResourceGroupName
24+
transform: >
25+
$["x-ms-parameter-location"] = "client";
26+
27+
- from: swagger-document
28+
where: $.parameters.ResourceName
29+
transform: >
30+
$["x-ms-parameter-location"] = "client";
31+
32+
- from: swagger-document
33+
where: $.parameters.FabricName
34+
transform: >
35+
$["x-ms-parameter-location"] = "method";
36+
37+
- from: swagger-document
38+
where: $.parameters.ProtectionContainerName
39+
transform: >
40+
$["x-ms-parameter-location"] = "method";
41+
42+
- from: swagger-document
43+
where: $.parameters.ReplicationProtectionClusterName
44+
transform: >
45+
$["x-ms-parameter-location"] = "method";
46+
```

0 commit comments

Comments
 (0)