1. Packages
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getDeviceList
Viewing docs for Strata Cloud Manager v1.0.6
published on Saturday, Apr 25, 2026 by Pulumi
scm logo
Viewing docs for Strata Cloud Manager v1.0.6
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";
    
    // List all devices
    const allDevices = scm.getDeviceList({
        limit: 200,
        offset: 0,
    });
    export const allDeviceNames = allDevices.then(allDevices => .map(d => (d.name)));
    export const deviceDetails = allDevices.then(allDevices => .map(d => ({
        id: d.id,
        name: d.name,
        model: d.model,
        family: d.family,
        isConnected: d.isConnected,
        softwareVersion: d.softwareVersion,
        ipAddress: d.ipAddress,
    })));
    
    import pulumi
    import pulumi_scm as scm
    
    # List all devices
    all_devices = scm.get_device_list(limit=200,
        offset=0)
    pulumi.export("allDeviceNames", [d.name for d in all_devices.datas])
    pulumi.export("deviceDetails", [{
        "id": d.id,
        "name": d.name,
        "model": d.model,
        "family": d.family,
        "isConnected": d.is_connected,
        "softwareVersion": d.software_version,
        "ipAddress": d.ip_address,
    } for d in all_devices.datas])
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // List all devices
        var allDevices = Scm.Index.GetDeviceList.Invoke(new()
        {
            Limit = 200,
            Offset = 0,
        });
    
        return new Dictionary<string, object?>
        {
            ["allDeviceNames"] = .Select(d => 
            {
                return d.Name;
            }).ToList(),
            ["deviceDetails"] = .Select(d => 
            {
                return 
                {
                    { "id", d.Id },
                    { "name", d.Name },
                    { "model", d.Model },
                    { "family", d.Family },
                    { "isConnected", d.IsConnected },
                    { "softwareVersion", d.SoftwareVersion },
                    { "ipAddress", d.IpAddress },
                };
            }).ToList(),
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    

    Using getDeviceList

    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 getDeviceList(args: GetDeviceListArgs, opts?: InvokeOptions): Promise<GetDeviceListResult>
    function getDeviceListOutput(args: GetDeviceListOutputArgs, opts?: InvokeOptions): Output<GetDeviceListResult>
    def get_device_list(device: Optional[str] = None,
                        folder: Optional[str] = None,
                        limit: Optional[int] = None,
                        name: Optional[str] = None,
                        offset: Optional[int] = None,
                        pagination: Optional[bool] = None,
                        snippet: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDeviceListResult
    def get_device_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,
                        pagination: pulumi.Input[Optional[bool]] = None,
                        snippet: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDeviceListResult]
    func GetDeviceList(ctx *Context, args *GetDeviceListArgs, opts ...InvokeOption) (*GetDeviceListResult, error)
    func GetDeviceListOutput(ctx *Context, args *GetDeviceListOutputArgs, opts ...InvokeOption) GetDeviceListResultOutput

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

    public static class GetDeviceList 
    {
        public static Task<GetDeviceListResult> InvokeAsync(GetDeviceListArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceListResult> Invoke(GetDeviceListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeviceListResult> getDeviceList(GetDeviceListArgs args, InvokeOptions options)
    public static Output<GetDeviceListResult> getDeviceList(GetDeviceListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getDeviceList:getDeviceList
      arguments:
        # arguments dictionary
    data "scm_getdevicelist" "name" {
        # arguments
    }

    The following arguments are supported:

    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.
    Pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    Snippet string
    The snippet of the item.
    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.
    Pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    Snippet string
    The snippet of the item.
    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.
    pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet string
    The snippet of the item.
    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.
    pagination Boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet String
    The snippet of the item.
    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.
    pagination boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet string
    The snippet of the item.
    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.
    pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet str
    The snippet of the item.
    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.
    pagination Boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet String
    The snippet of the item.

    getDeviceList Result

    The following output properties are available:

    Datas List<GetDeviceListData>
    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.
    Pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    Snippet string
    The snippet of the item.
    Datas []GetDeviceListData
    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.
    Pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    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.
    pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet string
    The snippet of the item.
    datas List<GetDeviceListData>
    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.
    pagination Boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet String
    The snippet of the item.
    datas GetDeviceListData[]
    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.
    pagination boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet string
    The snippet of the item.
    datas Sequence[GetDeviceListData]
    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.
    pagination bool
    The parameter to mention if the response should be paginated. By default, its set to false
    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.
    pagination Boolean
    The parameter to mention if the response should be paginated. By default, its set to false
    snippet String
    The snippet of the item.

    Supporting Types

    GetDeviceListData

    AntiVirusVersion string
    Anti virus version
    AppReleaseDate string
    App release date
    AppVersion string
    App version
    AvReleaseDate string
    Av release date
    AvailableLicensesses List<GetDeviceListDataAvailableLicensess>
    Available licensess
    ConnectedSince string
    Connected since
    Description string
    The description of the device
    DevCertDetail string
    Dev cert detail
    DevCertExpiryDate string
    Dev cert expiry date
    DisplayName string
    The display name of the device
    Family string
    The product family of the device
    Folder string
    The folder containing the device
    GpClientVerion string
    Gp client verion
    GpDataVersion string
    Gp data version
    HaPeerSerial string
    Ha peer serial
    HaPeerState string
    Ha peer state
    HaState string
    Ha state
    Hostname string
    The hostname of the device
    Id string
    The UUID of the device
    InstalledLicenses List<GetDeviceListDataInstalledLicense>
    Installed licenses
    IotReleaseDate string
    Iot release date
    IotVersion string
    Iot version
    IpAddress string
    The IPv4 address of the device
    IpV6Address string
    Ip v6 address
    IsConnected bool
    Is connected
    Labels List<string>
    Labels assigned to the device
    LicenseMatch bool
    License match
    LogDbVersion string
    Log db version
    MacAddress string
    The MAC address of the device
    Model string
    The model of the device
    Name string
    The name of the device
    Snippets List<string>
    Snippets associated with the device
    SoftwareVersion string
    Software version
    Tfid string
    The Terraform ID.
    ThreatReleaseDate string
    Threat release date
    ThreatVersion string
    Threat version
    Uptime string
    Uptime
    UrlDbType string
    Url db type
    UrlDbVer string
    Url db ver
    VmState string
    Vm state
    WfReleaseDate string
    Wf release date
    WfVer string
    Wf ver
    AntiVirusVersion string
    Anti virus version
    AppReleaseDate string
    App release date
    AppVersion string
    App version
    AvReleaseDate string
    Av release date
    AvailableLicensesses []GetDeviceListDataAvailableLicensess
    Available licensess
    ConnectedSince string
    Connected since
    Description string
    The description of the device
    DevCertDetail string
    Dev cert detail
    DevCertExpiryDate string
    Dev cert expiry date
    DisplayName string
    The display name of the device
    Family string
    The product family of the device
    Folder string
    The folder containing the device
    GpClientVerion string
    Gp client verion
    GpDataVersion string
    Gp data version
    HaPeerSerial string
    Ha peer serial
    HaPeerState string
    Ha peer state
    HaState string
    Ha state
    Hostname string
    The hostname of the device
    Id string
    The UUID of the device
    InstalledLicenses []GetDeviceListDataInstalledLicense
    Installed licenses
    IotReleaseDate string
    Iot release date
    IotVersion string
    Iot version
    IpAddress string
    The IPv4 address of the device
    IpV6Address string
    Ip v6 address
    IsConnected bool
    Is connected
    Labels []string
    Labels assigned to the device
    LicenseMatch bool
    License match
    LogDbVersion string
    Log db version
    MacAddress string
    The MAC address of the device
    Model string
    The model of the device
    Name string
    The name of the device
    Snippets []string
    Snippets associated with the device
    SoftwareVersion string
    Software version
    Tfid string
    The Terraform ID.
    ThreatReleaseDate string
    Threat release date
    ThreatVersion string
    Threat version
    Uptime string
    Uptime
    UrlDbType string
    Url db type
    UrlDbVer string
    Url db ver
    VmState string
    Vm state
    WfReleaseDate string
    Wf release date
    WfVer string
    Wf ver
    anti_virus_version string
    Anti virus version
    app_release_date string
    App release date
    app_version string
    App version
    av_release_date string
    Av release date
    available_licensesses list(object)
    Available licensess
    connected_since string
    Connected since
    description string
    The description of the device
    dev_cert_detail string
    Dev cert detail
    dev_cert_expiry_date string
    Dev cert expiry date
    display_name string
    The display name of the device
    family string
    The product family of the device
    folder string
    The folder containing the device
    gp_client_verion string
    Gp client verion
    gp_data_version string
    Gp data version
    ha_peer_serial string
    Ha peer serial
    ha_peer_state string
    Ha peer state
    ha_state string
    Ha state
    hostname string
    The hostname of the device
    id string
    The UUID of the device
    installed_licenses list(object)
    Installed licenses
    iot_release_date string
    Iot release date
    iot_version string
    Iot version
    ip_address string
    The IPv4 address of the device
    ip_v6_address string
    Ip v6 address
    is_connected bool
    Is connected
    labels list(string)
    Labels assigned to the device
    license_match bool
    License match
    log_db_version string
    Log db version
    mac_address string
    The MAC address of the device
    model string
    The model of the device
    name string
    The name of the device
    snippets list(string)
    Snippets associated with the device
    software_version string
    Software version
    tfid string
    The Terraform ID.
    threat_release_date string
    Threat release date
    threat_version string
    Threat version
    uptime string
    Uptime
    url_db_type string
    Url db type
    url_db_ver string
    Url db ver
    vm_state string
    Vm state
    wf_release_date string
    Wf release date
    wf_ver string
    Wf ver
    antiVirusVersion String
    Anti virus version
    appReleaseDate String
    App release date
    appVersion String
    App version
    avReleaseDate String
    Av release date
    availableLicensesses List<GetDeviceListDataAvailableLicensess>
    Available licensess
    connectedSince String
    Connected since
    description String
    The description of the device
    devCertDetail String
    Dev cert detail
    devCertExpiryDate String
    Dev cert expiry date
    displayName String
    The display name of the device
    family String
    The product family of the device
    folder String
    The folder containing the device
    gpClientVerion String
    Gp client verion
    gpDataVersion String
    Gp data version
    haPeerSerial String
    Ha peer serial
    haPeerState String
    Ha peer state
    haState String
    Ha state
    hostname String
    The hostname of the device
    id String
    The UUID of the device
    installedLicenses List<GetDeviceListDataInstalledLicense>
    Installed licenses
    iotReleaseDate String
    Iot release date
    iotVersion String
    Iot version
    ipAddress String
    The IPv4 address of the device
    ipV6Address String
    Ip v6 address
    isConnected Boolean
    Is connected
    labels List<String>
    Labels assigned to the device
    licenseMatch Boolean
    License match
    logDbVersion String
    Log db version
    macAddress String
    The MAC address of the device
    model String
    The model of the device
    name String
    The name of the device
    snippets List<String>
    Snippets associated with the device
    softwareVersion String
    Software version
    tfid String
    The Terraform ID.
    threatReleaseDate String
    Threat release date
    threatVersion String
    Threat version
    uptime String
    Uptime
    urlDbType String
    Url db type
    urlDbVer String
    Url db ver
    vmState String
    Vm state
    wfReleaseDate String
    Wf release date
    wfVer String
    Wf ver
    antiVirusVersion string
    Anti virus version
    appReleaseDate string
    App release date
    appVersion string
    App version
    avReleaseDate string
    Av release date
    availableLicensesses GetDeviceListDataAvailableLicensess[]
    Available licensess
    connectedSince string
    Connected since
    description string
    The description of the device
    devCertDetail string
    Dev cert detail
    devCertExpiryDate string
    Dev cert expiry date
    displayName string
    The display name of the device
    family string
    The product family of the device
    folder string
    The folder containing the device
    gpClientVerion string
    Gp client verion
    gpDataVersion string
    Gp data version
    haPeerSerial string
    Ha peer serial
    haPeerState string
    Ha peer state
    haState string
    Ha state
    hostname string
    The hostname of the device
    id string
    The UUID of the device
    installedLicenses GetDeviceListDataInstalledLicense[]
    Installed licenses
    iotReleaseDate string
    Iot release date
    iotVersion string
    Iot version
    ipAddress string
    The IPv4 address of the device
    ipV6Address string
    Ip v6 address
    isConnected boolean
    Is connected
    labels string[]
    Labels assigned to the device
    licenseMatch boolean
    License match
    logDbVersion string
    Log db version
    macAddress string
    The MAC address of the device
    model string
    The model of the device
    name string
    The name of the device
    snippets string[]
    Snippets associated with the device
    softwareVersion string
    Software version
    tfid string
    The Terraform ID.
    threatReleaseDate string
    Threat release date
    threatVersion string
    Threat version
    uptime string
    Uptime
    urlDbType string
    Url db type
    urlDbVer string
    Url db ver
    vmState string
    Vm state
    wfReleaseDate string
    Wf release date
    wfVer string
    Wf ver
    anti_virus_version str
    Anti virus version
    app_release_date str
    App release date
    app_version str
    App version
    av_release_date str
    Av release date
    available_licensesses Sequence[GetDeviceListDataAvailableLicensess]
    Available licensess
    connected_since str
    Connected since
    description str
    The description of the device
    dev_cert_detail str
    Dev cert detail
    dev_cert_expiry_date str
    Dev cert expiry date
    display_name str
    The display name of the device
    family str
    The product family of the device
    folder str
    The folder containing the device
    gp_client_verion str
    Gp client verion
    gp_data_version str
    Gp data version
    ha_peer_serial str
    Ha peer serial
    ha_peer_state str
    Ha peer state
    ha_state str
    Ha state
    hostname str
    The hostname of the device
    id str
    The UUID of the device
    installed_licenses Sequence[GetDeviceListDataInstalledLicense]
    Installed licenses
    iot_release_date str
    Iot release date
    iot_version str
    Iot version
    ip_address str
    The IPv4 address of the device
    ip_v6_address str
    Ip v6 address
    is_connected bool
    Is connected
    labels Sequence[str]
    Labels assigned to the device
    license_match bool
    License match
    log_db_version str
    Log db version
    mac_address str
    The MAC address of the device
    model str
    The model of the device
    name str
    The name of the device
    snippets Sequence[str]
    Snippets associated with the device
    software_version str
    Software version
    tfid str
    The Terraform ID.
    threat_release_date str
    Threat release date
    threat_version str
    Threat version
    uptime str
    Uptime
    url_db_type str
    Url db type
    url_db_ver str
    Url db ver
    vm_state str
    Vm state
    wf_release_date str
    Wf release date
    wf_ver str
    Wf ver
    antiVirusVersion String
    Anti virus version
    appReleaseDate String
    App release date
    appVersion String
    App version
    avReleaseDate String
    Av release date
    availableLicensesses List<Property Map>
    Available licensess
    connectedSince String
    Connected since
    description String
    The description of the device
    devCertDetail String
    Dev cert detail
    devCertExpiryDate String
    Dev cert expiry date
    displayName String
    The display name of the device
    family String
    The product family of the device
    folder String
    The folder containing the device
    gpClientVerion String
    Gp client verion
    gpDataVersion String
    Gp data version
    haPeerSerial String
    Ha peer serial
    haPeerState String
    Ha peer state
    haState String
    Ha state
    hostname String
    The hostname of the device
    id String
    The UUID of the device
    installedLicenses List<Property Map>
    Installed licenses
    iotReleaseDate String
    Iot release date
    iotVersion String
    Iot version
    ipAddress String
    The IPv4 address of the device
    ipV6Address String
    Ip v6 address
    isConnected Boolean
    Is connected
    labels List<String>
    Labels assigned to the device
    licenseMatch Boolean
    License match
    logDbVersion String
    Log db version
    macAddress String
    The MAC address of the device
    model String
    The model of the device
    name String
    The name of the device
    snippets List<String>
    Snippets associated with the device
    softwareVersion String
    Software version
    tfid String
    The Terraform ID.
    threatReleaseDate String
    Threat release date
    threatVersion String
    Threat version
    uptime String
    Uptime
    urlDbType String
    Url db type
    urlDbVer String
    Url db ver
    vmState String
    Vm state
    wfReleaseDate String
    Wf release date
    wfVer String
    Wf ver

    GetDeviceListDataAvailableLicensess

    Authcode string
    Authcode
    Expires string
    Expires
    Feature string
    Feature
    Issued string
    Issued
    Authcode string
    Authcode
    Expires string
    Expires
    Feature string
    Feature
    Issued string
    Issued
    authcode string
    Authcode
    expires string
    Expires
    feature string
    Feature
    issued string
    Issued
    authcode String
    Authcode
    expires String
    Expires
    feature String
    Feature
    issued String
    Issued
    authcode string
    Authcode
    expires string
    Expires
    feature string
    Feature
    issued string
    Issued
    authcode str
    Authcode
    expires str
    Expires
    feature str
    Feature
    issued str
    Issued
    authcode String
    Authcode
    expires String
    Expires
    feature String
    Feature
    issued String
    Issued

    GetDeviceListDataInstalledLicense

    Authcode string
    Authcode
    Expired string
    Expired
    Expires string
    Expires
    Feature string
    Feature
    Issued string
    Issued
    Authcode string
    Authcode
    Expired string
    Expired
    Expires string
    Expires
    Feature string
    Feature
    Issued string
    Issued
    authcode string
    Authcode
    expired string
    Expired
    expires string
    Expires
    feature string
    Feature
    issued string
    Issued
    authcode String
    Authcode
    expired String
    Expired
    expires String
    Expires
    feature String
    Feature
    issued String
    Issued
    authcode string
    Authcode
    expired string
    Expired
    expires string
    Expires
    feature string
    Feature
    issued string
    Issued
    authcode str
    Authcode
    expired str
    Expired
    expires str
    Expires
    feature str
    Feature
    issued str
    Issued
    authcode String
    Authcode
    expired String
    Expired
    expires String
    Expires
    feature String
    Feature
    issued String
    Issued

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Viewing docs for Strata Cloud Manager v1.0.6
    published on Saturday, Apr 25, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.