Skip to content

Commit dc45395

Browse files
MasterRyd3lJames Duan
authored andcommitted
fix readme file (#26409)
Co-authored-by: James Duan <jduan@microsoft.com>
1 parent 5d7b375 commit dc45395

File tree

1 file changed

+54
-2
lines changed
  • specification/chaos/resource-manager

1 file changed

+54
-2
lines changed

specification/chaos/resource-manager/readme.md

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,60 @@ These are the global settings for the chaos.
2828
title: ChaosManagementClient
2929
description: Chaos Management Client
3030
openapi-type: arm
31-
tag: package-preview-2023-10
31+
tag: package-2023-11
3232
```
3333
34+
### Tag: package-2023-11
35+
36+
These settings apply only when `--tag=package-2023-11` is specified on the command line.
37+
38+
```yaml $(tag) == 'package-2023-11'
39+
input-file:
40+
- Microsoft.Chaos/stable/2023-11-01/capabilities.json
41+
- Microsoft.Chaos/stable/2023-11-01/capabilityTypes.json
42+
- Microsoft.Chaos/stable/2023-11-01/experiments.json
43+
- Microsoft.Chaos/stable/2023-11-01/operationStatuses.json
44+
- Microsoft.Chaos/stable/2023-11-01/operations.json
45+
- Microsoft.Chaos/stable/2023-11-01/targetTypes.json
46+
- Microsoft.Chaos/stable/2023-11-01/targets.json
47+
directive:
48+
- from: swagger-document
49+
where: "$.definitions.action"
50+
transform: >
51+
$["x-ms-client-name"] = "ChaosExperimentAction";
52+
- from: swagger-document
53+
where: "$.definitions.branch"
54+
transform: >
55+
$["x-ms-client-name"] = "ChaosExperimentBranch";
56+
- from: swagger-document
57+
where: "$.definitions.step"
58+
transform: >
59+
$["x-ms-client-name"] = "ChaosExperimentStep";
60+
- from: swagger-document
61+
where: "$.definitions.filter"
62+
transform: >
63+
$["x-ms-client-name"] = "ChaosTargetFilter";
64+
- from: swagger-document
65+
where: "$.definitions.simpleFilter"
66+
transform: >
67+
$["x-ms-client-name"] = "ChaosTargetSimpleFilter";
68+
- from: swagger-document
69+
where: "$.definitions.simpleFilterParameters"
70+
transform: >
71+
$["x-ms-client-name"] = "ChaosTargetSimpleFilterParameters";
72+
- from: swagger-document
73+
where: "$.definitions.selector"
74+
transform: >
75+
$["x-ms-client-name"] = "ChaosTargetSelector";
76+
- from: swagger-document
77+
where: "$.definitions.listSelector"
78+
transform: >
79+
$["x-ms-client-name"] = "ChaosTargetListSelector";
80+
- from: swagger-document
81+
where: "$.definitions.querySelector"
82+
transform: >
83+
$["x-ms-client-name"] = "ChaosTargetQuerySelector";
84+
```
3485

3586
### Tag: package-preview-2023-10
3687

@@ -83,6 +134,7 @@ directive:
83134
transform: >
84135
$["x-ms-client-name"] = "ChaosTargetQuerySelector";
85136
```
137+
86138
### Tag: package-preview-2023-09
87139

88140
These settings apply only when `--tag=package-preview-2023-09` is specified on the command line.
@@ -285,4 +337,4 @@ directive:
285337
where: $.definitions.Operation.properties.isDataAction
286338
from: types.json
287339
reason: We are consuming the type model declaration from "common". I don't think our service is responsible for updating this error... Plz push back otherwise.
288-
```
340+
```

0 commit comments

Comments
 (0)