Skip to content

Commit b51dc6b

Browse files
committed
chore: update example for lint issue
1 parent 76b1cb2 commit b51dc6b

File tree

3 files changed

+76
-74
lines changed

3 files changed

+76
-74
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
11
{
2-
"parameters": {
3-
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
4-
"resourceGroupName": "exampleRG",
5-
"experimentName": "exampleExperiment",
6-
"api-version": "2023-04-01-preview",
7-
"experiment": {
2+
"parameters": {
3+
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
4+
"resourceGroupName": "exampleRG",
5+
"experimentName": "exampleExperiment",
6+
"api-version": "2023-04-01-preview",
7+
"experiment": {
8+
"identity": {
9+
"type": "UserAssigned",
10+
"userAssignedIdentities": {
11+
"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentity/exampleUMI": {}
12+
}
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"headers": {},
19+
"body": {
20+
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment",
21+
"type": "Microsoft.Chaos/experiments",
22+
"name": "exampleExperiment",
23+
"location": "centraluseuap",
824
"identity": {
925
"type": "UserAssigned",
1026
"userAssignedIdentities": {
1127
"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentity/exampleUMI": {}
12-
}
13-
}
14-
}
15-
},
16-
"responses": {
17-
"200": {
18-
"headers": {},
19-
"body": {
20-
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment",
21-
"type": "Microsoft.Chaos/experiments",
22-
"name": "exampleExperiment",
23-
"location": "centraluseuap",
24-
"identity": {
25-
"type": "UserAssigned",
26-
"userAssignedIdentities": {
27-
"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentity/exampleUMI": {}
28-
},
29-
"principalId": "d04ab567-2c07-43ef-a7f4-4527626b7f56",
30-
"tenantId": "8c3e2fb2-fe7a-4bf1-b779-d73990782fe6"
31-
},
32-
"properties": {
33-
"steps": [
34-
{
35-
"name": "step1",
36-
"branches": [
37-
{
38-
"name": "branch1",
39-
"actions": [
40-
{
41-
"type": "continuous",
42-
"name": "urn:csci:provider:providername:Shutdown/1.0",
43-
"selectorId": "selector1",
44-
"duration": "PT10M",
45-
"parameters": [
46-
{
47-
"key": "abruptShutdown",
48-
"value": "false"
49-
}
50-
]
51-
}
52-
]
53-
}
54-
]
55-
}
56-
],
57-
"selectors": [
58-
{
59-
"type": "List",
60-
"id": "selector1",
61-
"targets": [
62-
{
63-
"type": "ChaosTarget",
64-
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine"
65-
}
66-
]
67-
}
68-
]
6928
},
70-
"systemData": {
71-
"createdAt": "2021-07-01T00:00:00.0Z",
72-
"createdBy": "User",
73-
"createdByType": "b3a41dba-4415-4d36-9ee8-e5eaa86db976",
74-
"lastModifiedAt": "2021-07-01T00:00:00.0Z",
75-
"lastModifiedBy": "User",
76-
"lastModifiedByType": "b3a41dba-4415-4d36-9ee8-e5eaa86db976"
77-
}
29+
"principalId": "d04ab567-2c07-43ef-a7f4-4527626b7f56",
30+
"tenantId": "8c3e2fb2-fe7a-4bf1-b779-d73990782fe6"
31+
},
32+
"properties": {
33+
"steps": [
34+
{
35+
"name": "step1",
36+
"branches": [
37+
{
38+
"name": "branch1",
39+
"actions": [
40+
{
41+
"type": "continuous",
42+
"name": "urn:csci:provider:providername:Shutdown/1.0",
43+
"selectorId": "selector1",
44+
"duration": "PT10M",
45+
"parameters": [
46+
{
47+
"key": "abruptShutdown",
48+
"value": "false"
49+
}
50+
]
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"selectors": [
58+
{
59+
"type": "List",
60+
"id": "selector1",
61+
"targets": [
62+
{
63+
"type": "ChaosTarget",
64+
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine"
65+
}
66+
]
67+
}
68+
]
69+
},
70+
"systemData": {
71+
"createdAt": "2021-07-01T00:00:00.0Z",
72+
"createdBy": "User",
73+
"createdByType": "b3a41dba-4415-4d36-9ee8-e5eaa86db976",
74+
"lastModifiedAt": "2021-07-01T00:00:00.0Z",
75+
"lastModifiedBy": "User",
76+
"lastModifiedByType": "b3a41dba-4415-4d36-9ee8-e5eaa86db976"
7877
}
7978
}
8079
}
8180
}
81+
}
8282

specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-04-01-preview/types/capabilityTypes.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,18 @@
7777
"properties": {
7878
"actions": {
7979
"type": "array",
80+
"description": "Control plane actions necessary to execute capability type.",
8081
"items": {
8182
"type": "string",
82-
"description": "Control plane actions necessary to execute capability type."
83+
"description": "Control plane action necessary to execute capability type."
8384
}
8485
},
8586
"dataActions": {
8687
"type": "array",
88+
"description": "Control plane actions necessary to execute capability type.",
8789
"items": {
8890
"type": "string",
89-
"description": "Data plane actions necessary to execute capability type.."
91+
"description": "Data plane action necessary to execute capability type."
9092
}
9193
}
9294
},

0 commit comments

Comments
 (0)