actionWebApp

start_webapp

Start a web app at random

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaosazure.webapp.actions
Namestart_webapp
ReturnNone

Usage

JSON

{
  "name": "start-webapp",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosazure.webapp.actions",
    "func": "start_webapp"
  }
}

YAML

name: start-webapp
provider:
  func: start_webapp
  module: chaosazure.webapp.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
filterstringnullNoFilterTarget 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"'

Signature

def start_webapp(filter: str = None,
                 configuration: Dict[str, Dict[str, str]] = None,
                 secrets: Dict[str, Dict[str, str]] = None):
    pass