actionWiremock

delete_mappings

Deletes a list of mappings

Activity as code

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

Typeaction
Modulechaoswm.actions
Namedelete_mappings
Returnlist

Usage

JSON

{
  "name": "delete-mappings",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaoswm.actions",
    "func": "delete_mappings",
    "arguments": {
      "filter": []
    }
  }
}

YAML

name: delete-mappings
provider:
  arguments:
    filter: []
  func: delete_mappings
  module: chaoswm.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
filterlistYesFilterServers to remove

Returns the list of ids of the mappings deleted

Signature

def delete_mappings(
        filter: List[Any],
        configuration: Dict[str, Dict[str, str]] = None) -> List[Any]:
    pass