1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getIncidents
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty

    Using getIncidents

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIncidents(args: GetIncidentsArgs, opts?: InvokeOptions): Promise<GetIncidentsResult>
    function getIncidentsOutput(args: GetIncidentsOutputArgs, opts?: InvokeOutputOptions): Output<GetIncidentsResult>
    def get_incidents(id: Optional[str] = None,
                      limit: Optional[float] = None,
                      number: Optional[str] = None,
                      status: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIncidentsResult
    def get_incidents_output(id: pulumi.Input[Optional[str]] = None,
                      limit: pulumi.Input[Optional[float]] = None,
                      number: pulumi.Input[Optional[str]] = None,
                      status: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetIncidentsResult]
    func LookupIncidents(ctx *Context, args *LookupIncidentsArgs, opts ...InvokeOption) (*LookupIncidentsResult, error)
    func LookupIncidentsOutput(ctx *Context, args *LookupIncidentsOutputArgs, opts ...InvokeOption) LookupIncidentsResultOutput

    > Note: This function is named LookupIncidents in the Go SDK.

    public static class GetIncidents 
    {
        public static Task<GetIncidentsResult> InvokeAsync(GetIncidentsArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentsResult> Invoke(GetIncidentsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentsResult> Invoke(GetIncidentsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIncidentsResult> getIncidents(GetIncidentsArgs args, InvokeOptions options)
    public static Output<GetIncidentsResult> getIncidents(GetIncidentsArgs args, InvokeOptions options)
    public static Output<GetIncidentsResult> getIncidents(GetIncidentsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: zenduty:index/getIncidents:getIncidents
      arguments:
        # arguments dictionary
    data "zenduty_get_incidents" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The ID of this resource.
    Limit double
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    Number string
    Fetch a single incident by its incident number.
    Status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    Id string
    The ID of this resource.
    Limit float64
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    Number string
    Fetch a single incident by its incident number.
    Status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id string
    The ID of this resource.
    limit number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number string
    Fetch a single incident by its incident number.
    status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id String
    The ID of this resource.
    limit Double
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number String
    Fetch a single incident by its incident number.
    status String
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id string
    The ID of this resource.
    limit number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number string
    Fetch a single incident by its incident number.
    status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id str
    The ID of this resource.
    limit float
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number str
    Fetch a single incident by its incident number.
    status str
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id String
    The ID of this resource.
    limit Number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number String
    Fetch a single incident by its incident number.
    status String
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.

    getIncidents Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Results List<GetIncidentsResult>
    Limit double
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    Number string
    Fetch a single incident by its incident number.
    Status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    Id string
    The ID of this resource.
    Results []GetIncidentsResult
    Limit float64
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    Number string
    Fetch a single incident by its incident number.
    Status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id string
    The ID of this resource.
    results list(object)
    limit number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number string
    Fetch a single incident by its incident number.
    status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id String
    The ID of this resource.
    results List<GetIncidentsResult>
    limit Double
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number String
    Fetch a single incident by its incident number.
    status String
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id string
    The ID of this resource.
    results GetIncidentsResult[]
    limit number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number string
    Fetch a single incident by its incident number.
    status string
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id str
    The ID of this resource.
    results Sequence[GetIncidentsResult]
    limit float
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number str
    Fetch a single incident by its incident number.
    status str
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.
    id String
    The ID of this resource.
    results List<Property Map>
    limit Number
    Maximum number of incidents to fetch; the API pages 10 at a time and pages are fetched until the limit is reached. Defaults to 100. 0 fetches every incident — use with care on accounts with a large incident history.
    number String
    Fetch a single incident by its incident number.
    status String
    Filter incidents by status, applied server-side: -1 open (triggered + acknowledged), 1 triggered, 2 acknowledged, 3 resolved.

    Supporting Types

    GetIncidentsResult

    AcknowledgedDate string
    AssignedTo string
    AssignedToName string
    ContextWindowEnd string
    ContextWindowStart string
    CreationDate string
    EscalationPolicy string
    EscalationPolicyObjectName string
    EscalationPolicyObjectUniqueId string
    IncidentKey string
    IncidentNumber double
    MergedWith string
    ResolvedDate string
    Service string
    ServiceObjectAcknowledgementTimeout double
    ServiceObjectAutoResolveTimeout double
    ServiceObjectCollation double
    ServiceObjectCollationTime double
    ServiceObjectCreatedBy string
    ServiceObjectCreationDate string
    ServiceObjectDescription string
    ServiceObjectEscalationPolicy string
    ServiceObjectName string
    ServiceObjectSla string
    ServiceObjectStatus double
    ServiceObjectSummary string
    ServiceObjectTaskTemplate string
    ServiceObjectTeam string
    ServiceObjectTeamPriority string
    ServiceObjectUniqueId string
    Sla string
    Status double
    Summary string
    TeamPriority string
    TeamPriorityObject string
    Title string
    UniqueId string
    Urgency double
    AcknowledgedDate string
    AssignedTo string
    AssignedToName string
    ContextWindowEnd string
    ContextWindowStart string
    CreationDate string
    EscalationPolicy string
    EscalationPolicyObjectName string
    EscalationPolicyObjectUniqueId string
    IncidentKey string
    IncidentNumber float64
    MergedWith string
    ResolvedDate string
    Service string
    ServiceObjectAcknowledgementTimeout float64
    ServiceObjectAutoResolveTimeout float64
    ServiceObjectCollation float64
    ServiceObjectCollationTime float64
    ServiceObjectCreatedBy string
    ServiceObjectCreationDate string
    ServiceObjectDescription string
    ServiceObjectEscalationPolicy string
    ServiceObjectName string
    ServiceObjectSla string
    ServiceObjectStatus float64
    ServiceObjectSummary string
    ServiceObjectTaskTemplate string
    ServiceObjectTeam string
    ServiceObjectTeamPriority string
    ServiceObjectUniqueId string
    Sla string
    Status float64
    Summary string
    TeamPriority string
    TeamPriorityObject string
    Title string
    UniqueId string
    Urgency float64
    acknowledged_date string
    assigned_to string
    assigned_to_name string
    context_window_end string
    context_window_start string
    creation_date string
    escalation_policy string
    escalation_policy_object_name string
    escalation_policy_object_unique_id string
    incident_key string
    incident_number number
    merged_with string
    resolved_date string
    service string
    service_object_acknowledgement_timeout number
    service_object_auto_resolve_timeout number
    service_object_collation number
    service_object_collation_time number
    service_object_created_by string
    service_object_creation_date string
    service_object_description string
    service_object_escalation_policy string
    service_object_name string
    service_object_sla string
    service_object_status number
    service_object_summary string
    service_object_task_template string
    service_object_team string
    service_object_team_priority string
    service_object_unique_id string
    sla string
    status number
    summary string
    team_priority string
    team_priority_object string
    title string
    unique_id string
    urgency number
    acknowledgedDate String
    assignedTo String
    assignedToName String
    contextWindowEnd String
    contextWindowStart String
    creationDate String
    escalationPolicy String
    escalationPolicyObjectName String
    escalationPolicyObjectUniqueId String
    incidentKey String
    incidentNumber Double
    mergedWith String
    resolvedDate String
    service String
    serviceObjectAcknowledgementTimeout Double
    serviceObjectAutoResolveTimeout Double
    serviceObjectCollation Double
    serviceObjectCollationTime Double
    serviceObjectCreatedBy String
    serviceObjectCreationDate String
    serviceObjectDescription String
    serviceObjectEscalationPolicy String
    serviceObjectName String
    serviceObjectSla String
    serviceObjectStatus Double
    serviceObjectSummary String
    serviceObjectTaskTemplate String
    serviceObjectTeam String
    serviceObjectTeamPriority String
    serviceObjectUniqueId String
    sla String
    status Double
    summary String
    teamPriority String
    teamPriorityObject String
    title String
    uniqueId String
    urgency Double
    acknowledgedDate string
    assignedTo string
    assignedToName string
    contextWindowEnd string
    contextWindowStart string
    creationDate string
    escalationPolicy string
    escalationPolicyObjectName string
    escalationPolicyObjectUniqueId string
    incidentKey string
    incidentNumber number
    mergedWith string
    resolvedDate string
    service string
    serviceObjectAcknowledgementTimeout number
    serviceObjectAutoResolveTimeout number
    serviceObjectCollation number
    serviceObjectCollationTime number
    serviceObjectCreatedBy string
    serviceObjectCreationDate string
    serviceObjectDescription string
    serviceObjectEscalationPolicy string
    serviceObjectName string
    serviceObjectSla string
    serviceObjectStatus number
    serviceObjectSummary string
    serviceObjectTaskTemplate string
    serviceObjectTeam string
    serviceObjectTeamPriority string
    serviceObjectUniqueId string
    sla string
    status number
    summary string
    teamPriority string
    teamPriorityObject string
    title string
    uniqueId string
    urgency number
    acknowledged_date str
    assigned_to str
    assigned_to_name str
    context_window_end str
    context_window_start str
    creation_date str
    escalation_policy str
    escalation_policy_object_name str
    escalation_policy_object_unique_id str
    incident_key str
    incident_number float
    merged_with str
    resolved_date str
    service str
    service_object_acknowledgement_timeout float
    service_object_auto_resolve_timeout float
    service_object_collation float
    service_object_collation_time float
    service_object_created_by str
    service_object_creation_date str
    service_object_description str
    service_object_escalation_policy str
    service_object_name str
    service_object_sla str
    service_object_status float
    service_object_summary str
    service_object_task_template str
    service_object_team str
    service_object_team_priority str
    service_object_unique_id str
    sla str
    status float
    summary str
    team_priority str
    team_priority_object str
    title str
    unique_id str
    urgency float
    acknowledgedDate String
    assignedTo String
    assignedToName String
    contextWindowEnd String
    contextWindowStart String
    creationDate String
    escalationPolicy String
    escalationPolicyObjectName String
    escalationPolicyObjectUniqueId String
    incidentKey String
    incidentNumber Number
    mergedWith String
    resolvedDate String
    service String
    serviceObjectAcknowledgementTimeout Number
    serviceObjectAutoResolveTimeout Number
    serviceObjectCollation Number
    serviceObjectCollationTime Number
    serviceObjectCreatedBy String
    serviceObjectCreationDate String
    serviceObjectDescription String
    serviceObjectEscalationPolicy String
    serviceObjectName String
    serviceObjectSla String
    serviceObjectStatus Number
    serviceObjectSummary String
    serviceObjectTaskTemplate String
    serviceObjectTeam String
    serviceObjectTeamPriority String
    serviceObjectUniqueId String
    sla String
    status Number
    summary String
    teamPriority String
    teamPriorityObject String
    title String
    uniqueId String
    urgency Number

    Package Details

    Repository
    zenduty zenduty/terraform-provider-zenduty
    License
    Notes
    This Pulumi package is based on the zenduty Terraform Provider.
    Viewing docs for zenduty 2.0.0
    published on Friday, Aug 14, 2026 by zenduty

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial