Skip to content

Commit 9508122

Browse files
committed
Pause Process fault and NSG Rule error
1 parent 32cab5a commit 9508122

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

articles/chaos-studio/chaos-studio-fault-library.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Agent-based faults are injected into **Azure Virtual Machines** or **Virtual Mac
2323
|---------------------|-----------------------------------------------------------------------------|-------------------------------------------------------------|
2424
| Windows, Linux | [CPU Pressure](#cpu-pressure) | Compute capacity loss, resource pressure |
2525
| Windows, Linux | [Kill Process](#kill-process) | Dependency disruption |
26+
| Windows | [Pause Process](#pause-process) | Dependency disruption, service disruption |
2627
| Windows, Linux | [Network Disconnect](#network-disconnect) | Network disruption |
2728
| Windows, Linux | [Network Latency](#network-latency) | Network performance degradation |
2829
| Windows, Linux | [Network Packet Loss](#network-packet-loss) | Network reliability issues |
@@ -765,6 +766,50 @@ These sample values produced ~100% disk pressure when tested on a `Standard_D2s_
765766
}
766767
```
767768

769+
### Pause Process
770+
771+
| Property | Value |
772+
|-|-|
773+
| Capability name | PauseProcess-1.0 |
774+
| Target type | Microsoft-Agent |
775+
| Supported OS types | Windows. |
776+
| Description | Pauses (suspends) the specified processes for the specified duration. If there are multiple processes with the same name, this fault suspends all of those processes. Within the fault's duration, the processes are paused repetitively at the specified interval. At the end of the duration or if the experiment is canceled, the processes will resume. |
777+
| Prerequisites | None. |
778+
| Urn | urn:csci:microsoft:agent:pauseProcess/1.0 |
779+
| Parameters (key, value) | |
780+
| processNames | Delimited JSON array of process names defining which processes are to be paused. Maximum of 4. The process name can optionally include the ".exe" extension. |
781+
| pauseIntervalInMilliseconds | Amount of time the fault waits between successive pausing attempts, in milliseconds. |
782+
| virtualMachineScaleSetInstances | An array of instance IDs when you apply this fault to a virtual machine scale set. Required for virtual machine scale sets in uniform orchestration mode. [Learn more about instance IDs](../virtual-machine-scale-sets/virtual-machine-scale-sets-instance-ids.md#scale-set-instance-id-for-uniform-orchestration-mode). |
783+
784+
#### Sample JSON
785+
786+
```json
787+
{
788+
"name": "branchOne",
789+
"actions": [
790+
{
791+
"type": "continuous",
792+
"name": "urn:csci:microsoft:agent:pauseProcess/1.0",
793+
"parameters": [
794+
{
795+
"key": "processNames",
796+
"value": "[ \"test-0\", \"test-1.exe\" ]"
797+
},
798+
{
799+
"key": "pauseIntervalInMilliseconds",
800+
"value": "1000"
801+
}
802+
],
803+
"duration": "PT10M",
804+
"selectorid": "myResources"
805+
}
806+
]
807+
}
808+
```
809+
810+
#### Limitations
811+
812+
Currently, a maximum of 4 process names can be listed in the processNames parameter.
768813

769814
### Time Change
770815

0 commit comments

Comments
 (0)