1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getLldpProfile
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

    LldpProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const profileData = scm.getLldpProfile({
        id: "e46f6246-fd4a-4211-a18f-948b09f474bd",
    });
    export const fetchedProfile = profileData;
    
    import pulumi
    import pulumi_scm as scm
    
    profile_data = scm.get_lldp_profile(id="e46f6246-fd4a-4211-a18f-948b09f474bd")
    pulumi.export("fetchedProfile", profile_data)
    
    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 {
    		profileData, err := scm.LookupLldpProfile(ctx, &scm.LookupLldpProfileArgs{
    			Id: "e46f6246-fd4a-4211-a18f-948b09f474bd",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedProfile", profileData)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var profileData = Scm.GetLldpProfile.Invoke(new()
        {
            Id = "e46f6246-fd4a-4211-a18f-948b09f474bd",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedProfile"] = profileData,
        };
    });
    
    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.GetLldpProfileArgs;
    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 profileData = ScmFunctions.getLldpProfile(GetLldpProfileArgs.builder()
                .id("e46f6246-fd4a-4211-a18f-948b09f474bd")
                .build());
    
            ctx.export("fetchedProfile", profileData);
        }
    }
    
    variables:
      profileData:
        fn::invoke:
          function: scm:getLldpProfile
          arguments:
            id: e46f6246-fd4a-4211-a18f-948b09f474bd
    outputs:
      fetchedProfile: ${profileData}
    

    Using getLldpProfile

    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 getLldpProfile(args: GetLldpProfileArgs, opts?: InvokeOptions): Promise<GetLldpProfileResult>
    function getLldpProfileOutput(args: GetLldpProfileOutputArgs, opts?: InvokeOptions): Output<GetLldpProfileResult>
    def get_lldp_profile(device: Optional[str] = None,
                         folder: Optional[str] = None,
                         id: Optional[str] = None,
                         name: Optional[str] = None,
                         snippet: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetLldpProfileResult
    def get_lldp_profile_output(device: Optional[pulumi.Input[str]] = None,
                         folder: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         snippet: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetLldpProfileResult]
    func LookupLldpProfile(ctx *Context, args *LookupLldpProfileArgs, opts ...InvokeOption) (*LookupLldpProfileResult, error)
    func LookupLldpProfileOutput(ctx *Context, args *LookupLldpProfileOutputArgs, opts ...InvokeOption) LookupLldpProfileResultOutput

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

    public static class GetLldpProfile 
    {
        public static Task<GetLldpProfileResult> InvokeAsync(GetLldpProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetLldpProfileResult> Invoke(GetLldpProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLldpProfileResult> getLldpProfile(GetLldpProfileArgs args, InvokeOptions options)
    public static Output<GetLldpProfileResult> getLldpProfile(GetLldpProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getLldpProfile:getLldpProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getLldpProfile Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    Mode string
    Name string
    OptionTlvs GetLldpProfileOptionTlvs
    Snippet string
    SnmpSyslogNotification bool
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    Mode string
    Name string
    OptionTlvs GetLldpProfileOptionTlvs
    Snippet string
    SnmpSyslogNotification bool
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    mode String
    name String
    optionTlvs GetLldpProfileOptionTlvs
    snippet String
    snmpSyslogNotification Boolean
    tfid String
    device string
    The device in which the resource is defined
    folder string
    id string
    UUID of the resource
    mode string
    name string
    optionTlvs GetLldpProfileOptionTlvs
    snippet string
    snmpSyslogNotification boolean
    tfid string
    device str
    The device in which the resource is defined
    folder str
    id str
    UUID of the resource
    mode str
    name str
    option_tlvs GetLldpProfileOptionTlvs
    snippet str
    snmp_syslog_notification bool
    tfid str
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    mode String
    name String
    optionTlvs Property Map
    snippet String
    snmpSyslogNotification Boolean
    tfid String

    Supporting Types

    GetLldpProfileOptionTlvs

    ManagementAddress GetLldpProfileOptionTlvsManagementAddress
    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 GetLldpProfileOptionTlvsManagementAddress
    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 GetLldpProfileOptionTlvsManagementAddress
    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 GetLldpProfileOptionTlvsManagementAddress
    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 GetLldpProfileOptionTlvsManagementAddress
    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

    GetLldpProfileOptionTlvsManagementAddress

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

    GetLldpProfileOptionTlvsManagementAddressIplist

    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