sym.sdk.integrations.pagerduty.users_on_call

sym.sdk.integrations.pagerduty.users_on_call(*, escalation_policy_name: Optional[str] = None, escalation_policy_id: Optional[str] = None, schedule_name: Optional[str] = None, schedule_id: Optional[str] = None) List[sym.sdk.user.User]

Get all on-call users for the specified escalation policy or schedule from PagerDuty.

Escalation policy or schedule can be specified by name or ID. If none are provided, returns on-call users for ALL escalation policies + schedules.

Parameters
  • escalation_policy_name – The name of a specific Escalation Policy to check.

  • escalation_policy_id – The ID of a specific Escalation Policy to check.

  • schedule_name – The name of a specific Schedule to check.

  • schedule_id – The ID of a specific Schedule to check.