Spring
change_assaults_configuration
Change Assaults configuration on a specific service
Get the current assaults configuration from the specified service
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosspring.probes |
Name | assaults_configuration |
Return | mapping |
Usage
JSON
{
"name": "assaults-configuration",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosspring.probes",
"func": "assaults_configuration",
"arguments": {
"base_url": ""
}
}
}
YAML
name: assaults-configuration
provider:
arguments:
base_url: ''
func: assaults_configuration
module: chaosspring.probes
type: python
type: probe
Arguments
Name | Type | Default | Required |
---|---|---|---|
base_url | string | Yes | |
headers | mapping | null | No |
timeout | number | null | No |
Signature
def assaults_configuration(
base_url: str,
headers: Dict[str, Any] = None,
timeout: float = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass