Viewing docs for incident 5.38.1
published on Friday, May 22, 2026 by incident-io
published on Friday, May 22, 2026 by incident-io
Viewing docs for incident 5.38.1
published on Friday, May 22, 2026 by incident-io
published on Friday, May 22, 2026 by incident-io
This data source provides a list of catalog entries for a specific catalog type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// List catalog entries for a specific catalog type
const services = incident.getCatalogEntries({
catalogTypeId: "01FCNDV6P870EA6S7TK1DSYDG0",
});
export const serviceNames = services.then(services => .map(entry => (entry.name)));
export const servicesWithExternalId = services.then(services => .filter(entry => entry.externalId != "").map(entry => ({
name: entry.name,
externalId: entry.externalId,
})));
export const serviceAliases = services.then(services => .filter(entry => entry.aliases.length > 0).reduce((__obj, entry) => ({ ...__obj, [entry.name]: entry.aliases })));
import pulumi
import pulumi_incident as incident
# List catalog entries for a specific catalog type
services = incident.get_catalog_entries(catalog_type_id="01FCNDV6P870EA6S7TK1DSYDG0")
pulumi.export("serviceNames", [entry.name for entry in services.catalog_entries])
pulumi.export("servicesWithExternalId", [{
"name": entry.name,
"externalId": entry.external_id,
} for entry in services.catalog_entries if entry.external_id != ""])
pulumi.export("serviceAliases", {entry.name: entry.aliases for entry in services.catalog_entries if len(entry.aliases) > 0})
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// List catalog entries for a specific catalog type
var services = Incident.GetCatalogEntries.Invoke(new()
{
CatalogTypeId = "01FCNDV6P870EA6S7TK1DSYDG0",
});
return new Dictionary<string, object?>
{
["serviceNames"] = .Select(entry =>
{
return entry.Name;
}).ToList(),
["servicesWithExternalId"] = .Where(entry => entry.ExternalId != "").Select(entry =>
{
return
{
{ "name", entry.Name },
{ "externalId", entry.ExternalId },
};
}).ToList(),
["serviceAliases"] = .ToDictionary(item => {
var entry = item.Value;
return entry.Name;
}, item => {
var entry = item.Value;
return entry.Aliases;
}),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCatalogEntries
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 getCatalogEntries(args: GetCatalogEntriesArgs, opts?: InvokeOptions): Promise<GetCatalogEntriesResult>
function getCatalogEntriesOutput(args: GetCatalogEntriesOutputArgs, opts?: InvokeOptions): Output<GetCatalogEntriesResult>def get_catalog_entries(catalog_type_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogEntriesResult
def get_catalog_entries_output(catalog_type_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogEntriesResult]func LookupCatalogEntries(ctx *Context, args *LookupCatalogEntriesArgs, opts ...InvokeOption) (*LookupCatalogEntriesResult, error)
func LookupCatalogEntriesOutput(ctx *Context, args *LookupCatalogEntriesOutputArgs, opts ...InvokeOption) LookupCatalogEntriesResultOutput> Note: This function is named LookupCatalogEntries in the Go SDK.
public static class GetCatalogEntries
{
public static Task<GetCatalogEntriesResult> InvokeAsync(GetCatalogEntriesArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogEntriesResult> Invoke(GetCatalogEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCatalogEntriesResult> getCatalogEntries(GetCatalogEntriesArgs args, InvokeOptions options)
public static Output<GetCatalogEntriesResult> getCatalogEntries(GetCatalogEntriesArgs args, InvokeOptions options)
fn::invoke:
function: incident:index/getCatalogEntries:getCatalogEntries
arguments:
# arguments dictionarydata "incident_getcatalogentries" "name" {
# arguments
}The following arguments are supported:
- Catalog
Type stringId - The catalog type ID to list entries for.
- Catalog
Type stringId - The catalog type ID to list entries for.
- catalog_
type_ stringid - The catalog type ID to list entries for.
- catalog
Type StringId - The catalog type ID to list entries for.
- catalog
Type stringId - The catalog type ID to list entries for.
- catalog_
type_ strid - The catalog type ID to list entries for.
- catalog
Type StringId - The catalog type ID to list entries for.
getCatalogEntries Result
The following output properties are available:
- Catalog
Entries List<GetCatalog Entries Catalog Entry> - List of catalog entries for the specified catalog type.
- Catalog
Type stringId - The catalog type ID to list entries for.
- Id string
- The provider-assigned unique ID for this managed resource.
- Catalog
Entries []GetCatalog Entries Catalog Entry - List of catalog entries for the specified catalog type.
- Catalog
Type stringId - The catalog type ID to list entries for.
- Id string
- The provider-assigned unique ID for this managed resource.
- catalog_
entries list(object) - List of catalog entries for the specified catalog type.
- catalog_
type_ stringid - The catalog type ID to list entries for.
- id string
- The provider-assigned unique ID for this managed resource.
- catalog
Entries List<GetCatalog Entries Catalog Entry> - List of catalog entries for the specified catalog type.
- catalog
Type StringId - The catalog type ID to list entries for.
- id String
- The provider-assigned unique ID for this managed resource.
- catalog
Entries GetCatalog Entries Catalog Entry[] - List of catalog entries for the specified catalog type.
- catalog
Type stringId - The catalog type ID to list entries for.
- id string
- The provider-assigned unique ID for this managed resource.
- catalog_
entries Sequence[GetCatalog Entries Catalog Entry] - List of catalog entries for the specified catalog type.
- catalog_
type_ strid - The catalog type ID to list entries for.
- id str
- The provider-assigned unique ID for this managed resource.
- catalog
Entries List<Property Map> - List of catalog entries for the specified catalog type.
- catalog
Type StringId - The catalog type ID to list entries for.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetCatalogEntriesCatalogEntry
- Aliases List<string>
- Optional aliases that can be used to reference this entry
- Attribute
Values List<GetCatalog Entries Catalog Entry Attribute Value> - Catalog
Type stringId - ID of this catalog type
- External
Id string - An optional alternative ID for this entry, which is ensured to be unique for the type
- Id string
- ID of this catalog entry
- Name string
- Name is the human readable name of this entry
- Rank double
- When catalog type is ranked, this is used to help order things
- Aliases []string
- Optional aliases that can be used to reference this entry
- Attribute
Values []GetCatalog Entries Catalog Entry Attribute Value - Catalog
Type stringId - ID of this catalog type
- External
Id string - An optional alternative ID for this entry, which is ensured to be unique for the type
- Id string
- ID of this catalog entry
- Name string
- Name is the human readable name of this entry
- Rank float64
- When catalog type is ranked, this is used to help order things
- aliases list(string)
- Optional aliases that can be used to reference this entry
- attribute_
values list(object) - catalog_
type_ stringid - ID of this catalog type
- external_
id string - An optional alternative ID for this entry, which is ensured to be unique for the type
- id string
- ID of this catalog entry
- name string
- Name is the human readable name of this entry
- rank number
- When catalog type is ranked, this is used to help order things
- aliases List<String>
- Optional aliases that can be used to reference this entry
- attribute
Values List<GetCatalog Entries Catalog Entry Attribute Value> - catalog
Type StringId - ID of this catalog type
- external
Id String - An optional alternative ID for this entry, which is ensured to be unique for the type
- id String
- ID of this catalog entry
- name String
- Name is the human readable name of this entry
- rank Double
- When catalog type is ranked, this is used to help order things
- aliases string[]
- Optional aliases that can be used to reference this entry
- attribute
Values GetCatalog Entries Catalog Entry Attribute Value[] - catalog
Type stringId - ID of this catalog type
- external
Id string - An optional alternative ID for this entry, which is ensured to be unique for the type
- id string
- ID of this catalog entry
- name string
- Name is the human readable name of this entry
- rank number
- When catalog type is ranked, this is used to help order things
- aliases Sequence[str]
- Optional aliases that can be used to reference this entry
- attribute_
values Sequence[GetCatalog Entries Catalog Entry Attribute Value] - catalog_
type_ strid - ID of this catalog type
- external_
id str - An optional alternative ID for this entry, which is ensured to be unique for the type
- id str
- ID of this catalog entry
- name str
- Name is the human readable name of this entry
- rank float
- When catalog type is ranked, this is used to help order things
- aliases List<String>
- Optional aliases that can be used to reference this entry
- attribute
Values List<Property Map> - catalog
Type StringId - ID of this catalog type
- external
Id String - An optional alternative ID for this entry, which is ensured to be unique for the type
- id String
- ID of this catalog entry
- name String
- Name is the human readable name of this entry
- rank Number
- When catalog type is ranked, this is used to help order things
GetCatalogEntriesCatalogEntryAttributeValue
- Array
Values List<string> - The value of this element of the array, in a format suitable for this attribute type.
- Attribute string
- The ID of this attribute.
- Value string
- The value of this attribute, in a format suitable for this attribute type.
- Array
Values []string - The value of this element of the array, in a format suitable for this attribute type.
- Attribute string
- The ID of this attribute.
- Value string
- The value of this attribute, in a format suitable for this attribute type.
- array_
values list(string) - The value of this element of the array, in a format suitable for this attribute type.
- attribute string
- The ID of this attribute.
- value string
- The value of this attribute, in a format suitable for this attribute type.
- array
Values List<String> - The value of this element of the array, in a format suitable for this attribute type.
- attribute String
- The ID of this attribute.
- value String
- The value of this attribute, in a format suitable for this attribute type.
- array
Values string[] - The value of this element of the array, in a format suitable for this attribute type.
- attribute string
- The ID of this attribute.
- value string
- The value of this attribute, in a format suitable for this attribute type.
- array_
values Sequence[str] - The value of this element of the array, in a format suitable for this attribute type.
- attribute str
- The ID of this attribute.
- value str
- The value of this attribute, in a format suitable for this attribute type.
- array
Values List<String> - The value of this element of the array, in a format suitable for this attribute type.
- attribute String
- The ID of this attribute.
- value String
- The value of this attribute, in a format suitable for this attribute type.
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
Viewing docs for incident 5.38.1
published on Friday, May 22, 2026 by incident-io
published on Friday, May 22, 2026 by incident-io