1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. getIncidentTypes
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
zenduty
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty

    zenduty.getIncidentTypes lists the active incident types of the account with their form sections and custom fields.

    Using getIncidentTypes

    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 getIncidentTypes(args: GetIncidentTypesArgs, opts?: InvokeOptions): Promise<GetIncidentTypesResult>
    function getIncidentTypesOutput(args: GetIncidentTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetIncidentTypesResult>
    def get_incident_types(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIncidentTypesResult
    def get_incident_types_output(id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetIncidentTypesResult]
    func GetIncidentTypes(ctx *Context, args *GetIncidentTypesArgs, opts ...InvokeOption) (*GetIncidentTypesResult, error)
    func GetIncidentTypesOutput(ctx *Context, args *GetIncidentTypesOutputArgs, opts ...InvokeOption) GetIncidentTypesResultOutput

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

    public static class GetIncidentTypes 
    {
        public static Task<GetIncidentTypesResult> InvokeAsync(GetIncidentTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentTypesResult> Invoke(GetIncidentTypesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentTypesResult> Invoke(GetIncidentTypesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIncidentTypesResult> getIncidentTypes(GetIncidentTypesArgs args, InvokeOptions options)
    public static Output<GetIncidentTypesResult> getIncidentTypes(GetIncidentTypesArgs args, InvokeOptions options)
    public static Output<GetIncidentTypesResult> getIncidentTypes(GetIncidentTypesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: zenduty:index/getIncidentTypes:getIncidentTypes
      arguments:
        # arguments dictionary
    data "zenduty_get_incident_types" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Id string
    id string
    id String
    id string
    id str
    id String

    getIncidentTypes Result

    The following output properties are available:

    Id string
    IncidentTypes List<GetIncidentTypesIncidentType>
    The list of types, each with:
    Id string
    IncidentTypes []GetIncidentTypesIncidentType
    The list of types, each with:
    id string
    incident_types list(object)
    The list of types, each with:
    id String
    incidentTypes List<GetIncidentTypesIncidentType>
    The list of types, each with:
    id string
    incidentTypes GetIncidentTypesIncidentType[]
    The list of types, each with:
    id String
    incidentTypes List<Property Map>
    The list of types, each with:

    Supporting Types

    GetIncidentTypesIncidentType

    CustomFields List<GetIncidentTypesIncidentTypeCustomField>
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    FormToggles Dictionary<string, bool>
    Map of built-in form sections to whether they are shown.
    IsActive bool
    Always true here; deactivated types are not listed.
    IsDefault bool
    Whether it is the account default.
    Name string
    The name.
    UniqueId string
    The unique_id of the type.
    CustomFields []GetIncidentTypesIncidentTypeCustomField
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    FormToggles map[string]bool
    Map of built-in form sections to whether they are shown.
    IsActive bool
    Always true here; deactivated types are not listed.
    IsDefault bool
    Whether it is the account default.
    Name string
    The name.
    UniqueId string
    The unique_id of the type.
    custom_fields list(object)
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    form_toggles map(bool)
    Map of built-in form sections to whether they are shown.
    is_active bool
    Always true here; deactivated types are not listed.
    is_default bool
    Whether it is the account default.
    name string
    The name.
    unique_id string
    The unique_id of the type.
    customFields List<GetIncidentTypesIncidentTypeCustomField>
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    formToggles Map<String,Boolean>
    Map of built-in form sections to whether they are shown.
    isActive Boolean
    Always true here; deactivated types are not listed.
    isDefault Boolean
    Whether it is the account default.
    name String
    The name.
    uniqueId String
    The unique_id of the type.
    customFields GetIncidentTypesIncidentTypeCustomField[]
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    formToggles {[key: string]: boolean}
    Map of built-in form sections to whether they are shown.
    isActive boolean
    Always true here; deactivated types are not listed.
    isDefault boolean
    Whether it is the account default.
    name string
    The name.
    uniqueId string
    The unique_id of the type.
    custom_fields Sequence[GetIncidentTypesIncidentTypeCustomField]
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    form_toggles Mapping[str, bool]
    Map of built-in form sections to whether they are shown.
    is_active bool
    Always true here; deactivated types are not listed.
    is_default bool
    Whether it is the account default.
    name str
    The name.
    unique_id str
    The unique_id of the type.
    customFields List<Property Map>
    The mapped custom fields in display order, each with custom_field (the field's unique_id), field_key, position, required and default_value (the effective default as JSON, the field definition's own when the type sets none).
    formToggles Map<Boolean>
    Map of built-in form sections to whether they are shown.
    isActive Boolean
    Always true here; deactivated types are not listed.
    isDefault Boolean
    Whether it is the account default.
    name String
    The name.
    uniqueId String
    The unique_id of the type.

    GetIncidentTypesIncidentTypeCustomField

    CustomField string
    DefaultValue string
    FieldKey string
    Position double
    Required bool
    CustomField string
    DefaultValue string
    FieldKey string
    Position float64
    Required bool
    customField String
    defaultValue String
    fieldKey String
    position Double
    required Boolean
    customField string
    defaultValue string
    fieldKey string
    position number
    required boolean
    customField String
    defaultValue String
    fieldKey String
    position Number
    required Boolean

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial