library
turbot/pagerduty
Get Involved
Version
Pipeline: Snooze Incident
Snooze an incident.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run pagerduty.pipeline.snooze_incident \ --arg 'from=<string>' \ --arg 'duration=<number>' \ --arg 'incident_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = pagerduty.pipeline.snooze_incident args = { from = <string> duration = <number> incident_id = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.pagerduty | Yes | Name of PagerDuty connection to use. If not provided, the default PagerDuty connection will be used. | connection.pagerduty.default |
from | string | Yes | The email address of a valid user associated with the account making the request. | - |
duration | number | Yes | The number of seconds to snooze the incident for. After this number of seconds has elapsed, the incident will return to the triggered state. | - |
incident_id | string | Yes | The ID of the incident. | - |
Outputs
Name | Description |
---|---|
incident | The incident that was successfully snoozed. |