actionProxy

delete_toxic

Deletes the given toxic

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaostoxi.toxic.actions
Namedelete_toxic
ReturnNone

Usage

JSON

{
  "name": "delete-toxic",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaostoxi.toxic.actions",
    "func": "delete_toxic",
    "arguments": {
      "for_proxy": "",
      "toxic_name": ""
    }
  }
}

YAML

name: delete-toxic
provider:
  arguments:
    for_proxy: ""
    toxic_name: ""
  func: delete_toxic
  module: chaostoxi.toxic.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
for_proxystringYesTarget ProxyProxy to remove toxic from
toxic_namestringYesToxic NameName of the toxic to remove

Signature

def delete_toxic(for_proxy: str,
                 toxic_name: str,
                 configuration: Dict[str, Dict[str, str]] = None):
    pass