Azure
restart_webapp
Restart a web app at random
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosazure.vmss.actions |
Name | stop_vmss |
Return | None |
Usage
JSON
{
"name": "delete-webapp",
"type": "action",
"provider": {
"type": "python",
"module": "chaosazure.webapp.actions",
"func": "delete_webapp"
}
}
YAML
name: delete-webapp
provider:
func: delete_webapp
module: chaosazure.webapp.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
filter | string | null | No | Filter | Target filter selector |
If the filter is omitted all virtual machine scale sets in the subscription will be selected as potential chaos candidates.
Filtering example: 'where resourceGroup=="myresourcegroup" and name="myresourcename"'
Be aware: Deleting a web app is an invasive action. You will not be able to recover the web app once you deleted it.
Signature
def delete_webapp(filter: str = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None):
pass