1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getLldpProfile
Viewing docs for Strata Cloud Manager v1.2.0
published on Wednesday, Oct 7, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.0
published on Wednesday, Oct 7, 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.GetLldpProfile(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.ArrayList;
    import java.util.Arrays;
    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}
    
    pulumi {
      required_providers {
        scm = {
          source = "pulumi/scm"
        }
      }
    }
    
    data "scm_getlldpprofile" "profileData" {
      id = "e46f6246-fd4a-4211-a18f-948b09f474bd"
    }
    
    output "fetchedProfile" {
      value = data.scm_getlldpprofile.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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                         folder: pulumi.Input[Optional[str]] = None,
                         id: pulumi.Input[Optional[str]] = None,
                         name: pulumi.Input[Optional[str]] = None,
                         snippet: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = 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 Output<GetLldpProfileResult> Invoke(GetLldpProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLldpProfileResult> getLldpProfile(GetLldpProfileArgs args, InvokeOptions options)
    public static Output<GetLldpProfileResult> getLldpProfile(GetLldpProfileArgs args, InvokeOptions options)
    public static Output<GetLldpProfileResult> getLldpProfile(GetLldpProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scm:index/getLldpProfile:getLldpProfile
      arguments:
        # arguments dictionary
    data "scm_get_lldp_profile" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getLldpProfile Result

    The following output properties are available:

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

    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
    management_address object
    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 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 bool
    Management address enabled
    iplists list(object)
    Iplist
    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 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
    Viewing docs for Strata Cloud Manager v1.2.0
    published on Wednesday, Oct 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial