probeCluster

chaos_report

Get Chaos report using the Service Fabric API

Activity as code

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

Typeprobe
Modulechaosservicefabric.cluster.probes
Namechaos_report
Returnmapping

Usage

JSON

{
  "name": "chaos-report",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosservicefabric.cluster.probes",
    "func": "chaos_report"
  }
}

YAML

name: chaos-report
provider:
  func: chaos_report
  module: chaosservicefabric.cluster.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
timeoutinteger60NoTimeoutCall timeout to get report for the Chaos in the cluster
start_time_utcstringnullNoPeriod StartReport period start date (UTC)
end_time_utcstringnullNoPeriod StopReport period stop date (UTC)

Uses the Service Fabric Chaos Parameters API: https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-v60-model-chaosparameters

Please see the chaosazure.fabric.auth function help for more information on authenticating with the service.

Signature

def chaos_report(timeout: int = 60,
                 start_time_utc: str = None,
                 end_time_utc: str = None,
                 configuration: Dict[str, Dict[str, str]] = None,
                 secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any:
    pass