Azure
count_machines
Return count of Azure virtual machines
Rolls back the subnet(s), EKS instance(s), ASG(s) that were affected by the fail_az action
Below are the details and signature of the activity Python module.
Type | action |
Module | azchaosaws.eks.actions |
Name | recover_az |
Return | bool |
This function rolls back the subnet(s), EC2 instance(s), ASG(s) that were affected by the fail_az action to their previous state. This function is dependent on the state data generated from fail_az. Note that instances that are in terminated state will not be ‘rolled’ back.
Usage
JSON
{
"name": "recover_az",
"type": "action",
"provider": {
"type": "python",
"module": "azchaosaws.eks.actions",
"func": "recover_az"
}
}
YAML
name: recover_az
provider:
func: recover_az
module: azchaosaws.eks.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|
Signature
def recover_az(
state_path: str = "fail_az.{}.json".format(__package__.split(".", 1)[1]),
configuration: Configuration = None,
) -> bool:
pass