actionProxy

enable_proxy

Enables a disabled proxy

Activity as code

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

Typeaction
Modulechaostoxi.proxy.actions
Nameenable_proxy
ReturnNone

Usage

JSON

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

YAML

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

Arguments

NameTypeDefaultRequiredTitleDescription
proxy_namestringYesProxy NameName of the proxy to enable

Signature

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