actionProxy

delete_proxy

Removes the proxy from the system

Activity as code

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

Typeaction
Modulechaostoxi.proxy.actions
Namedelete_proxy
ReturnNone

Usage

JSON

{
  "name": "delete-proxy",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaostoxi.proxy.actions",
    "func": "delete_proxy",
    "arguments": {
      "proxy_name": ""
    }
  }
}

YAML

name: delete-proxy
provider:
  arguments:
    proxy_name: ""
  func: delete_proxy
  module: chaostoxi.proxy.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
proxy_namestringYesProxy NameName of the proxy to delete

Signature

def delete_proxy(proxy_name: str,
                 configuration: Dict[str, Dict[str, str]] = None):
    pass