published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
function tryOutput_(
...fns: Array<() => pulumi.Input<any>>
): pulumi.Output<any> {
if (fns.length === 0) {
throw new Error("try: all parameters failed");
}
const [fn, ...rest] = fns;
try {
return pulumi.output(fn()).apply(result => result !== undefined ? result : tryOutput_(...rest));
} catch {
return tryOutput_(...rest);
}
throw new Error("try: all parameters failed");
}
// This data source will call the "List" API endpoint
// and return all application filters in the "All" folder.
// 1. Use a single data block to fetch ALL application filters in the "All" folder.
const allShared = scm.getApplicationFilterList({
folder: "All",
});
export const applicationFiltersRawData = tryOutput_(
() => allShared,
() => null
);
// Simplified pagination example with error handling
const paginatedApplicationFiltersExample = scm.getApplicationFilterList({
folder: "All",
limit: 5,
offset: 0,
});
export const paginatedApplicationFilters = tryOutput_(
() => paginatedApplicationFiltersExample.then(paginatedApplicationFiltersExample => .reduce((__obj, applicationFilter) => ({ ...__obj, [applicationFilter.id]: applicationFilter }), {})),
() => {}
);
export const paginationApplicationFiltersDetails = tryOutput_(
() => {
totalObjectsInFolder: paginatedApplicationFiltersExample.then(paginatedApplicationFiltersExample => paginatedApplicationFiltersExample.total),
limitUsed: paginatedApplicationFiltersExample.then(paginatedApplicationFiltersExample => paginatedApplicationFiltersExample.limit),
offsetUsed: paginatedApplicationFiltersExample.then(paginatedApplicationFiltersExample => paginatedApplicationFiltersExample.offset),
},
() => {}
);
import pulumi
import pulumi_scm as scm
def try_(*fns):
for fn in fns:
try:
result = fn()
return result
except:
continue
return None
# This data source will call the "List" API endpoint
# and return all application filters in the "All" folder.
# 1. Use a single data block to fetch ALL application filters in the "All" folder.
all_shared = scm.get_application_filter_list(folder="All")
pulumi.export("applicationFiltersRawData", try_(
lambda: all_shared,
lambda: None
))
# Simplified pagination example with error handling
paginated_application_filters_example = scm.get_application_filter_list(folder="All",
limit=5,
offset=0)
pulumi.export("paginatedApplicationFilters", try_(
lambda: {application_filter.id: application_filter for applicationFilter in paginated_application_filters_example.datas},
lambda: {}
))
pulumi.export("paginationApplicationFiltersDetails", try_(
lambda: {
"totalObjectsInFolder": paginated_application_filters_example.total,
"limitUsed": paginated_application_filters_example.limit,
"offsetUsed": paginated_application_filters_example.offset,
},
lambda: {}
))
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
pulumi {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_getapplicationfilterlist" "allShared" {
folder = "All"
}
data "scm_getapplicationfilterlist" "paginatedApplicationFiltersExample" {
folder = "All"
limit = 5
offset = 0
}
# This data source will call the "List" API endpoint
# and return all application filters in the "All" folder.
# 1. Use a single data block to fetch ALL application filters in the "All" folder.
# Alternative approach - just output the raw data to see what we get
output "applicationFiltersRawData" {
value = try(data.scm_getapplicationfilterlist.allShared, null)
}
# Simplified pagination example with error handling
output "paginatedApplicationFilters" {
value = try({for applicationFilter in data.scm_getapplicationfilterlist.paginatedApplicationFiltersExample.datas : applicationFilter.id => applicationFilter}, {})
}
output "paginationApplicationFiltersDetails" {
value = try({
"totalObjectsInFolder" = data.scm_getapplicationfilterlist.paginatedApplicationFiltersExample.total
"limitUsed" = data.scm_getapplicationfilterlist.paginatedApplicationFiltersExample.limit
"offsetUsed" = data.scm_getapplicationfilterlist.paginatedApplicationFiltersExample.offset
}, {})
}
Using getApplicationFilterList
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 getApplicationFilterList(args: GetApplicationFilterListArgs, opts?: InvokeOptions): Promise<GetApplicationFilterListResult>
function getApplicationFilterListOutput(args: GetApplicationFilterListOutputArgs, opts?: InvokeOptions): Output<GetApplicationFilterListResult>def get_application_filter_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationFilterListResult
def get_application_filter_list_output(device: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[int]] = None,
name: pulumi.Input[Optional[str]] = None,
offset: pulumi.Input[Optional[int]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationFilterListResult]func GetApplicationFilterList(ctx *Context, args *GetApplicationFilterListArgs, opts ...InvokeOption) (*GetApplicationFilterListResult, error)
func GetApplicationFilterListOutput(ctx *Context, args *GetApplicationFilterListOutputArgs, opts ...InvokeOption) GetApplicationFilterListResultOutput> Note: This function is named GetApplicationFilterList in the Go SDK.
public static class GetApplicationFilterList
{
public static Task<GetApplicationFilterListResult> InvokeAsync(GetApplicationFilterListArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationFilterListResult> Invoke(GetApplicationFilterListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApplicationFilterListResult> getApplicationFilterList(GetApplicationFilterListArgs args, InvokeOptions options)
public static Output<GetApplicationFilterListResult> getApplicationFilterList(GetApplicationFilterListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getApplicationFilterList:getApplicationFilterList
arguments:
# arguments dictionarydata "scm_getapplicationfilterlist" "name" {
# arguments
}The following arguments are supported:
getApplicationFilterList Result
The following output properties are available:
- Datas
List<Get
Application Filter List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Application Filter List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas list(object)
- The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
List<Get
Application Filter List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Application Filter List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Application Filter List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- The Terraform ID.
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetApplicationFilterListData
- Categories List<string>
- Category
- Device string
- The device in which the resource is defined
- Evasive bool
- only True is a valid value
- Excessive
Bandwidth boolUse - only True is a valid value
- Excludes List<string>
- Exclude
- Folder string
- The folder of the item. Default: Shared.
- Has
Known boolVulnerabilities - only True is a valid value
- Id string
- UUID of the resource
- Is
Saas bool - only True is a valid value
- Name string
- The name of the item.
- New
Appid bool - only True is a valid value
- Pervasive bool
- only True is a valid value
- Prone
To boolMisuse - only True is a valid value
- Risks List<int>
- Risk
- Saas
Certifications List<string> - Saas certifications
- Saas
Risks List<string> - Saas risk
- Snippet string
- The snippet of the item.
- Subcategories List<string>
- Subcategory
- Tagging
Get
Application Filter List Data Tagging - Tagging
- Technologies List<string>
- Technology
- Tfid string
- The Terraform ID.
- Transfers
Files bool - only True is a valid value
- Tunnels
Other boolApps - only True is a valid value
- Used
By boolMalware - only True is a valid value
- Categories []string
- Category
- Device string
- The device in which the resource is defined
- Evasive bool
- only True is a valid value
- Excessive
Bandwidth boolUse - only True is a valid value
- Excludes []string
- Exclude
- Folder string
- The folder of the item. Default: Shared.
- Has
Known boolVulnerabilities - only True is a valid value
- Id string
- UUID of the resource
- Is
Saas bool - only True is a valid value
- Name string
- The name of the item.
- New
Appid bool - only True is a valid value
- Pervasive bool
- only True is a valid value
- Prone
To boolMisuse - only True is a valid value
- Risks []int
- Risk
- Saas
Certifications []string - Saas certifications
- Saas
Risks []string - Saas risk
- Snippet string
- The snippet of the item.
- Subcategories []string
- Subcategory
- Tagging
Get
Application Filter List Data Tagging - Tagging
- Technologies []string
- Technology
- Tfid string
- The Terraform ID.
- Transfers
Files bool - only True is a valid value
- Tunnels
Other boolApps - only True is a valid value
- Used
By boolMalware - only True is a valid value
- categories list(string)
- Category
- device string
- The device in which the resource is defined
- evasive bool
- only True is a valid value
- excessive_
bandwidth_ booluse - only True is a valid value
- excludes list(string)
- Exclude
- folder string
- The folder of the item. Default: Shared.
- has_
known_ boolvulnerabilities - only True is a valid value
- id string
- UUID of the resource
- is_
saas bool - only True is a valid value
- name string
- The name of the item.
- new_
appid bool - only True is a valid value
- pervasive bool
- only True is a valid value
- prone_
to_ boolmisuse - only True is a valid value
- risks list(number)
- Risk
- saas_
certifications list(string) - Saas certifications
- saas_
risks list(string) - Saas risk
- snippet string
- The snippet of the item.
- subcategories list(string)
- Subcategory
- tagging object
- Tagging
- technologies list(string)
- Technology
- tfid string
- The Terraform ID.
- transfers_
files bool - only True is a valid value
- tunnels_
other_ boolapps - only True is a valid value
- used_
by_ boolmalware - only True is a valid value
- categories List<String>
- Category
- device String
- The device in which the resource is defined
- evasive Boolean
- only True is a valid value
- excessive
Bandwidth BooleanUse - only True is a valid value
- excludes List<String>
- Exclude
- folder String
- The folder of the item. Default: Shared.
- has
Known BooleanVulnerabilities - only True is a valid value
- id String
- UUID of the resource
- is
Saas Boolean - only True is a valid value
- name String
- The name of the item.
- new
Appid Boolean - only True is a valid value
- pervasive Boolean
- only True is a valid value
- prone
To BooleanMisuse - only True is a valid value
- risks List<Integer>
- Risk
- saas
Certifications List<String> - Saas certifications
- saas
Risks List<String> - Saas risk
- snippet String
- The snippet of the item.
- subcategories List<String>
- Subcategory
- tagging
Get
Application Filter List Data Tagging - Tagging
- technologies List<String>
- Technology
- tfid String
- The Terraform ID.
- transfers
Files Boolean - only True is a valid value
- tunnels
Other BooleanApps - only True is a valid value
- used
By BooleanMalware - only True is a valid value
- categories string[]
- Category
- device string
- The device in which the resource is defined
- evasive boolean
- only True is a valid value
- excessive
Bandwidth booleanUse - only True is a valid value
- excludes string[]
- Exclude
- folder string
- The folder of the item. Default: Shared.
- has
Known booleanVulnerabilities - only True is a valid value
- id string
- UUID of the resource
- is
Saas boolean - only True is a valid value
- name string
- The name of the item.
- new
Appid boolean - only True is a valid value
- pervasive boolean
- only True is a valid value
- prone
To booleanMisuse - only True is a valid value
- risks number[]
- Risk
- saas
Certifications string[] - Saas certifications
- saas
Risks string[] - Saas risk
- snippet string
- The snippet of the item.
- subcategories string[]
- Subcategory
- tagging
Get
Application Filter List Data Tagging - Tagging
- technologies string[]
- Technology
- tfid string
- The Terraform ID.
- transfers
Files boolean - only True is a valid value
- tunnels
Other booleanApps - only True is a valid value
- used
By booleanMalware - only True is a valid value
- categories Sequence[str]
- Category
- device str
- The device in which the resource is defined
- evasive bool
- only True is a valid value
- excessive_
bandwidth_ booluse - only True is a valid value
- excludes Sequence[str]
- Exclude
- folder str
- The folder of the item. Default: Shared.
- has_
known_ boolvulnerabilities - only True is a valid value
- id str
- UUID of the resource
- is_
saas bool - only True is a valid value
- name str
- The name of the item.
- new_
appid bool - only True is a valid value
- pervasive bool
- only True is a valid value
- prone_
to_ boolmisuse - only True is a valid value
- risks Sequence[int]
- Risk
- saas_
certifications Sequence[str] - Saas certifications
- saas_
risks Sequence[str] - Saas risk
- snippet str
- The snippet of the item.
- subcategories Sequence[str]
- Subcategory
- tagging
Get
Application Filter List Data Tagging - Tagging
- technologies Sequence[str]
- Technology
- tfid str
- The Terraform ID.
- transfers_
files bool - only True is a valid value
- tunnels_
other_ boolapps - only True is a valid value
- used_
by_ boolmalware - only True is a valid value
- categories List<String>
- Category
- device String
- The device in which the resource is defined
- evasive Boolean
- only True is a valid value
- excessive
Bandwidth BooleanUse - only True is a valid value
- excludes List<String>
- Exclude
- folder String
- The folder of the item. Default: Shared.
- has
Known BooleanVulnerabilities - only True is a valid value
- id String
- UUID of the resource
- is
Saas Boolean - only True is a valid value
- name String
- The name of the item.
- new
Appid Boolean - only True is a valid value
- pervasive Boolean
- only True is a valid value
- prone
To BooleanMisuse - only True is a valid value
- risks List<Number>
- Risk
- saas
Certifications List<String> - Saas certifications
- saas
Risks List<String> - Saas risk
- snippet String
- The snippet of the item.
- subcategories List<String>
- Subcategory
- tagging Property Map
- Tagging
- technologies List<String>
- Technology
- tfid String
- The Terraform ID.
- transfers
Files Boolean - only True is a valid value
- tunnels
Other BooleanApps - only True is a valid value
- used
By BooleanMalware - only True is a valid value
GetApplicationFilterListDataTagging
- No
Tag bool - No tag
- List<string>
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- No
Tag bool - No tag
- []string
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- no_
tag bool - No tag
- list(string)
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- no
Tag Boolean - No tag
- List<String>
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- no
Tag boolean - No tag
- string[]
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- no_
tag bool - No tag
- Sequence[str]
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
- no
Tag Boolean - No tag
- List<String>
Tag
ℹ️ Note: You must specify exactly one of
noTagandtag.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
published on Friday, May 29, 2026 by Pulumi