ToxiProxy
modify_proxy
Modify the configuration of a given proxy
Below are the details and signature of the activity Python module.
Type | action |
Module | chaostoxi.proxy.actions |
Name | enable_proxy |
Return | None |
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
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
proxy_name | string | Yes | Proxy Name | Name of the proxy to enable |
Signature
def enable_proxy(proxy_name: str,
configuration: Dict[str, Dict[str, str]] = None):
pass