1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getLldpProfileList
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const allProfiles = scm.getLldpProfileList({
        folder: "All",
    });
    export const fetchedProfilesListSummary = {
        countOfSettingsFetched: allProfiles.then(allProfiles => allProfiles.total),
        firstProfile: allProfiles.then(allProfiles => allProfiles.datas?.[0]),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    all_profiles = scm.get_lldp_profile_list(folder="All")
    pulumi.export("fetchedProfilesListSummary", {
        "countOfSettingsFetched": all_profiles.total,
        "firstProfile": all_profiles.datas[0],
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		allProfiles, err := scm.GetLldpProfileList(ctx, &scm.GetLldpProfileListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedProfilesListSummary", pulumi.Map{
    			"countOfSettingsFetched": allProfiles.Total,
    			"firstProfile":           allProfiles.Datas[0],
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var allProfiles = Scm.GetLldpProfileList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedProfilesListSummary"] = 
            {
                { "countOfSettingsFetched", allProfiles.Apply(getLldpProfileListResult => getLldpProfileListResult.Total) },
                { "firstProfile", allProfiles.Apply(getLldpProfileListResult => getLldpProfileListResult.Datas[0]) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetLldpProfileListArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var allProfiles = ScmFunctions.getLldpProfileList(GetLldpProfileListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("fetchedProfilesListSummary", Map.ofEntries(
                Map.entry("countOfSettingsFetched", allProfiles.total()),
                Map.entry("firstProfile", allProfiles.datas()[0])
            ));
        }
    }
    
    variables:
      allProfiles:
        fn::invoke:
          function: scm:getLldpProfileList
          arguments:
            folder: All
    outputs:
      # -----------------------------------------------------------------------------
      # OUTPUT: Display the fetched list data
      # -----------------------------------------------------------------------------
      fetchedProfilesListSummary:
        countOfSettingsFetched: ${allProfiles.total}
        firstProfile: ${allProfiles.datas[0]}
    

    Using getLldpProfileList

    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 getLldpProfileList(args: GetLldpProfileListArgs, opts?: InvokeOptions): Promise<GetLldpProfileListResult>
    function getLldpProfileListOutput(args: GetLldpProfileListOutputArgs, opts?: InvokeOptions): Output<GetLldpProfileListResult>
    def get_lldp_profile_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) -> GetLldpProfileListResult
    def get_lldp_profile_list_output(device: Optional[pulumi.Input[str]] = None,
                              folder: Optional[pulumi.Input[str]] = None,
                              limit: Optional[pulumi.Input[int]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              offset: Optional[pulumi.Input[int]] = None,
                              snippet: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLldpProfileListResult]
    func GetLldpProfileList(ctx *Context, args *GetLldpProfileListArgs, opts ...InvokeOption) (*GetLldpProfileListResult, error)
    func GetLldpProfileListOutput(ctx *Context, args *GetLldpProfileListOutputArgs, opts ...InvokeOption) GetLldpProfileListResultOutput

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

    public static class GetLldpProfileList 
    {
        public static Task<GetLldpProfileListResult> InvokeAsync(GetLldpProfileListArgs args, InvokeOptions? opts = null)
        public static Output<GetLldpProfileListResult> Invoke(GetLldpProfileListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLldpProfileListResult> getLldpProfileList(GetLldpProfileListArgs args, InvokeOptions options)
    public static Output<GetLldpProfileListResult> getLldpProfileList(GetLldpProfileListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getLldpProfileList:getLldpProfileList
      arguments:
        # arguments dictionary

    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.
    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.
    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.
    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.
    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.
    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.
    snippet String
    The snippet of the item.

    getLldpProfileList Result

    The following output properties are available:

    Datas List<GetLldpProfileListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    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 []GetLldpProfileListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    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<GetLldpProfileListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    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 GetLldpProfileListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    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[GetLldpProfileListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    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
    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

    GetLldpProfileListData

    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    UUID of the resource
    Mode string
    LLDP mode
    Name string
    The name of the item.
    OptionTlvs GetLldpProfileListDataOptionTlvs
    Option tlvs
    Snippet string
    The snippet of the item.
    SnmpSyslogNotification bool
    SNMP syslog notification
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    UUID of the resource
    Mode string
    LLDP mode
    Name string
    The name of the item.
    OptionTlvs GetLldpProfileListDataOptionTlvs
    Option tlvs
    Snippet string
    The snippet of the item.
    SnmpSyslogNotification bool
    SNMP syslog notification
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    UUID of the resource
    mode String
    LLDP mode
    name String
    The name of the item.
    optionTlvs GetLldpProfileListDataOptionTlvs
    Option tlvs
    snippet String
    The snippet of the item.
    snmpSyslogNotification Boolean
    SNMP syslog notification
    tfid String
    device string
    The device in which the resource is defined
    folder string
    The folder of the item. Default: Shared.
    id string
    UUID of the resource
    mode string
    LLDP mode
    name string
    The name of the item.
    optionTlvs GetLldpProfileListDataOptionTlvs
    Option tlvs
    snippet string
    The snippet of the item.
    snmpSyslogNotification boolean
    SNMP syslog notification
    tfid string
    device str
    The device in which the resource is defined
    folder str
    The folder of the item. Default: Shared.
    id str
    UUID of the resource
    mode str
    LLDP mode
    name str
    The name of the item.
    option_tlvs GetLldpProfileListDataOptionTlvs
    Option tlvs
    snippet str
    The snippet of the item.
    snmp_syslog_notification bool
    SNMP syslog notification
    tfid str
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    UUID of the resource
    mode String
    LLDP mode
    name String
    The name of the item.
    optionTlvs Property Map
    Option tlvs
    snippet String
    The snippet of the item.
    snmpSyslogNotification Boolean
    SNMP syslog notification
    tfid String

    GetLldpProfileListDataOptionTlvs

    ManagementAddress GetLldpProfileListDataOptionTlvsManagementAddress
    Management address
    PortDescription bool
    Option TLV Port Description
    SystemCapabilities bool
    Option TLV System Capabilities
    SystemDescription bool
    Option TLV System Description
    SystemName bool
    Option TLV System Name
    ManagementAddress GetLldpProfileListDataOptionTlvsManagementAddress
    Management address
    PortDescription bool
    Option TLV Port Description
    SystemCapabilities bool
    Option TLV System Capabilities
    SystemDescription bool
    Option TLV System Description
    SystemName bool
    Option TLV System Name
    managementAddress GetLldpProfileListDataOptionTlvsManagementAddress
    Management address
    portDescription Boolean
    Option TLV Port Description
    systemCapabilities Boolean
    Option TLV System Capabilities
    systemDescription Boolean
    Option TLV System Description
    systemName Boolean
    Option TLV System Name
    managementAddress GetLldpProfileListDataOptionTlvsManagementAddress
    Management address
    portDescription boolean
    Option TLV Port Description
    systemCapabilities boolean
    Option TLV System Capabilities
    systemDescription boolean
    Option TLV System Description
    systemName boolean
    Option TLV System Name
    management_address GetLldpProfileListDataOptionTlvsManagementAddress
    Management address
    port_description bool
    Option TLV Port Description
    system_capabilities bool
    Option TLV System Capabilities
    system_description bool
    Option TLV System Description
    system_name bool
    Option TLV System Name
    managementAddress Property Map
    Management address
    portDescription Boolean
    Option TLV Port Description
    systemCapabilities Boolean
    Option TLV System Capabilities
    systemDescription Boolean
    Option TLV System Description
    systemName Boolean
    Option TLV System Name

    GetLldpProfileListDataOptionTlvsManagementAddress

    enabled Boolean
    Management address enabled
    iplists List<Property Map>
    Iplist

    GetLldpProfileListDataOptionTlvsManagementAddressIplist

    Interface string
    Interface
    Ipv4 string
    IPv4 Address
    Ipv6 string
    IPv6 Address
    Name string
    Name
    Interface string
    Interface
    Ipv4 string
    IPv4 Address
    Ipv6 string
    IPv6 Address
    Name string
    Name
    interface_ String
    Interface
    ipv4 String
    IPv4 Address
    ipv6 String
    IPv6 Address
    name String
    Name
    interface string
    Interface
    ipv4 string
    IPv4 Address
    ipv6 string
    IPv6 Address
    name string
    Name
    interface str
    Interface
    ipv4 str
    IPv4 Address
    ipv6 str
    IPv6 Address
    name str
    Name
    interface String
    Interface
    ipv4 String
    IPv4 Address
    ipv6 String
    IPv6 Address
    name String
    Name

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate