Skip to content

pagerduty list-event-rules

List all Event Rules on a Ruleset.

Description

List all Event Rules on a Ruleset.

Synopsis

pagerduty list-event-rules
    --site <site>
    --id <id>
    [--limit <limit>]
    [--offset <offset>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: required

id - (string)

     The ID of the resource.
     Example: --id "id-1"
     Default: _None_      Attributes: required

limit - (int)

     The number of results per page.
     Example: --limit 10
     Default: 25      Attributes: optional

offset - (int)

     Offset to start pagination search results.
     Example: --offset 10
     Default: _None_      Attributes: optional

Examples

Input:

!pagerduty list-event-rules --id "ae514d98-36f2-48c3-be3e-ce553390487b"
Output:
ID                                      DISABLED    POSITION    ACTION PRIORITY 
0463931d-ce80-44b7-af29-0faed16f073e    false              0    -               

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "pagerduty"
Service Instance
Namespace
Object Type "rules"
Object ID id

Please see Access Control for details.