published on Saturday, Apr 25, 2026 by Pulumi
published on Saturday, Apr 25, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// This data source will call the "ListAddresses" API endpoint
// and return all filters in the "All" folder.
// 1. Use a single data block to fetch ALL addresses in the "All" folder.
const allShared = scm.getAddressList({
folder: "All",
});
export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
const paginatedAddressesExample = scm.getAddressList({
folder: "All",
limit: 5,
offset: 0,
});
export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
export const paginationAddressesDetails = {
totalObjectsInFolder: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.total),
limitUsed: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.limit),
};
import pulumi
import pulumi_scm as scm
# This data source will call the "ListAddresses" API endpoint
# and return all filters in the "All" folder.
# 1. Use a single data block to fetch ALL addresses in the "All" folder.
all_shared = scm.get_address_list(folder="All")
pulumi.export("addressDataSourceResultsFromList", {addr.id: addr for addr in all_shared.datas})
paginated_addresses_example = scm.get_address_list(folder="All",
limit=5,
offset=0)
pulumi.export("paginatedAddresses", {addr.id: addr for addr in paginated_addresses_example.datas})
pulumi.export("paginationAddressesDetails", {
"totalObjectsInFolder": paginated_addresses_example.total,
"limitUsed": paginated_addresses_example.limit,
})
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// This data source will call the "ListAddresses" API endpoint
// and return all filters in the "All" folder.
// 1. Use a single data block to fetch ALL addresses in the "All" folder.
var allShared = Scm.Index.GetAddressList.Invoke(new()
{
Folder = "All",
});
var paginatedAddressesExample = Scm.Index.GetAddressList.Invoke(new()
{
Folder = "All",
Limit = 5,
Offset = 0,
});
return new Dictionary<string, object?>
{
["addressDataSourceResultsFromList"] = ,
["paginatedAddresses"] = ,
["paginationAddressesDetails"] =
{
{ "totalObjectsInFolder", paginatedAddressesExample.Apply(getAddressListResult => getAddressListResult.Total) },
{ "limitUsed", paginatedAddressesExample.Apply(getAddressListResult => getAddressListResult.Limit) },
},
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getAddressList
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 getAddressList(args: GetAddressListArgs, opts?: InvokeOptions): Promise<GetAddressListResult>
function getAddressListOutput(args: GetAddressListOutputArgs, opts?: InvokeOptions): Output<GetAddressListResult>def get_address_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) -> GetAddressListResult
def get_address_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[GetAddressListResult]func GetAddressList(ctx *Context, args *GetAddressListArgs, opts ...InvokeOption) (*GetAddressListResult, error)
func GetAddressListOutput(ctx *Context, args *GetAddressListOutputArgs, opts ...InvokeOption) GetAddressListResultOutput> Note: This function is named GetAddressList in the Go SDK.
public static class GetAddressList
{
public static Task<GetAddressListResult> InvokeAsync(GetAddressListArgs args, InvokeOptions? opts = null)
public static Output<GetAddressListResult> Invoke(GetAddressListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAddressListResult> getAddressList(GetAddressListArgs args, InvokeOptions options)
public static Output<GetAddressListResult> getAddressList(GetAddressListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getAddressList:getAddressList
arguments:
# arguments dictionarydata "scm_getaddresslist" "name" {
# arguments
}The following arguments are supported:
getAddressList Result
The following output properties are available:
- Datas
List<Get
Address 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
Address 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
Address 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
Address 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
Address 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
GetAddressListData
- Description string
- The description of the address object
- Device string
- The device in which the resource is defined
- Folder string
- The folder of the item. Default: Shared.
- Fqdn string
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Id string
- The UUID of the address object
- Ip
Netmask string IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Ip
Range string Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Ip
Wildcard string IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Name string
- The name of the item.
- Snippet string
- The snippet of the item.
- List<string>
- Tags assocaited with the address object
- Tfid string
- The Terraform ID.
- Description string
- The description of the address object
- Device string
- The device in which the resource is defined
- Folder string
- The folder of the item. Default: Shared.
- Fqdn string
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Id string
- The UUID of the address object
- Ip
Netmask string IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Ip
Range string Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Ip
Wildcard string IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- Name string
- The name of the item.
- Snippet string
- The snippet of the item.
- []string
- Tags assocaited with the address object
- Tfid string
- The Terraform ID.
- description string
- The description of the address object
- device string
- The device in which the resource is defined
- folder string
- The folder of the item. Default: Shared.
- fqdn string
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- id string
- The UUID of the address object
- ip_
netmask string IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip_
range string Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip_
wildcard string IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- name string
- The name of the item.
- snippet string
- The snippet of the item.
- list(string)
- Tags assocaited with the address object
- tfid string
- The Terraform ID.
- description String
- The description of the address object
- device String
- The device in which the resource is defined
- folder String
- The folder of the item. Default: Shared.
- fqdn String
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- id String
- The UUID of the address object
- ip
Netmask String IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Range String Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Wildcard String IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- name String
- The name of the item.
- snippet String
- The snippet of the item.
- List<String>
- Tags assocaited with the address object
- tfid String
- The Terraform ID.
- description string
- The description of the address object
- device string
- The device in which the resource is defined
- folder string
- The folder of the item. Default: Shared.
- fqdn string
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- id string
- The UUID of the address object
- ip
Netmask string IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Range string Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Wildcard string IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- name string
- The name of the item.
- snippet string
- The snippet of the item.
- string[]
- Tags assocaited with the address object
- tfid string
- The Terraform ID.
- description str
- The description of the address object
- device str
- The device in which the resource is defined
- folder str
- The folder of the item. Default: Shared.
- fqdn str
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- id str
- The UUID of the address object
- ip_
netmask str IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip_
range str Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip_
wildcard str IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- name str
- The name of the item.
- snippet str
- The snippet of the item.
- Sequence[str]
- Tags assocaited with the address object
- tfid str
- The Terraform ID.
- description String
- The description of the address object
- device String
- The device in which the resource is defined
- folder String
- The folder of the item. Default: Shared.
- fqdn String
Fully qualified domain name
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- id String
- The UUID of the address object
- ip
Netmask String IP address with or without CIDR notation
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Range String Ip range
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- ip
Wildcard String IP wildcard mask
ℹ️ Note: You must specify exactly one of
fqdn,ipNetmask,ipRange, andipWildcard.- name String
- The name of the item.
- snippet String
- The snippet of the item.
- List<String>
- Tags assocaited with the address object
- tfid String
- The Terraform ID.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
published on Saturday, Apr 25, 2026 by Pulumi