probe Load Balancer

get_backend_service_health

Fetch the health of backend services

Run it now
View details
Typeprobe
Modulechaosgcp.lb.probes
Nameget_backend_service_health
Returnlist

Usage

JSON

{
  "name": "get-backend-service-health",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosgcp.monitoring.probes",
    "func": "get_backend_service_health",
    "arguments": {
      "backend_service": ""
    }
  }
}

YAML

name: get-backend-service-health
provider:
  arguments:
    backend_service: ''
  func: get_backend_service_health
  module: chaosgcp.lb.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
backend_servicestringYesBackend ServiceThe name of the backend service
project_idstringNoProjectName of the GCP project in which the backend service is running

Signature

def get_backend_service_health(
    backend_service: str,
    project_id: str = None,
    region: str = None,
    configuration: Configuration = None,
    secrets: Secrets = None,
) -> List[Dict[str, Any]]:
    pass