ToxiProxy
enable_proxy
Enables a disabled proxy
Below are the details and signature of the activity Python module.
Type | action |
Module | chaostoxi.proxy.actions |
Name | enable_proxy |
Return | str |
Usage
JSON
{
"name": "get-proxy-attribute",
"type": "probe",
"provider": {
"type": "python",
"module": "chaostoxi.proxy.probes",
"func": "get_proxy_attribute",
"arguments": {
"proxy_name": "",
"attribute": ""
}
}
}
YAML
name: get-proxy-attribute
provider:
arguments:
attribute: ""
proxy_name: ""
func: get_proxy_attribute
module: chaostoxi.proxy.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
proxy_name | string | Yes | Proxy Name | Name of the proxy | |
attribute | string | Yes | Attribute | Name of the attribute to fetch a value for |
Signature
def get_proxy_attribute(proxy_name: str,
attribute: str,
configuration: Dict[str, Dict[str, str]] = None) -> str:
pass