1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getSyslogServerProfile
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi

    SyslogServerProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM Syslog Server Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
    const scmSyslogServerProf = scm.getSyslogServerProfile({
        id: "69f7ee97-7c0a-416d-a28d-d45929851f6e",
    });
    export const scmSyslogServerProfileDetails = {
        profileId: scmSyslogServerProf.then(scmSyslogServerProf => scmSyslogServerProf.id),
        folder: scmSyslogServerProf.then(scmSyslogServerProf => scmSyslogServerProf.folder),
        name: scmSyslogServerProf.then(scmSyslogServerProf => scmSyslogServerProf.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM Syslog Server Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
    scm_syslog_server_prof = scm.get_syslog_server_profile(id="69f7ee97-7c0a-416d-a28d-d45929851f6e")
    pulumi.export("scmSyslogServerProfileDetails", {
        "profileId": scm_syslog_server_prof.id,
        "folder": scm_syslog_server_prof.folder,
        "name": scm_syslog_server_prof.name,
    })
    
    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 {
    		// Data source to retrieve a single SCM Syslog Server Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
    		scmSyslogServerProf, err := scm.GetSyslogServerProfile(ctx, &scm.LookupSyslogServerProfileArgs{
    			Id: "69f7ee97-7c0a-416d-a28d-d45929851f6e",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmSyslogServerProfileDetails", pulumi.StringMap{
    			"profileId": scmSyslogServerProf.Id,
    			"folder":    scmSyslogServerProf.Folder,
    			"name":      scmSyslogServerProf.Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a single SCM Syslog Server Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
        var scmSyslogServerProf = Scm.GetSyslogServerProfile.Invoke(new()
        {
            Id = "69f7ee97-7c0a-416d-a28d-d45929851f6e",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmSyslogServerProfileDetails"] = new Dictionary<string, object?>
            {
                ["profileId"] = scmSyslogServerProf.Apply(getSyslogServerProfileResult => getSyslogServerProfileResult.Id),
                ["folder"] = scmSyslogServerProf.Apply(getSyslogServerProfileResult => getSyslogServerProfileResult.Folder),
                ["name"] = scmSyslogServerProf.Apply(getSyslogServerProfileResult => getSyslogServerProfileResult.Name),
            },
        };
    });
    
    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.GetSyslogServerProfileArgs;
    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) {
            //
            // Data source to retrieve a single SCM Syslog Server Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
            final var scmSyslogServerProf = ScmFunctions.getSyslogServerProfile(GetSyslogServerProfileArgs.builder()
                .id("69f7ee97-7c0a-416d-a28d-d45929851f6e")
                .build());
    
            ctx.export("scmSyslogServerProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmSyslogServerProf.id()),
                Map.entry("folder", scmSyslogServerProf.folder()),
                Map.entry("name", scmSyslogServerProf.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM Syslog Server Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
      scmSyslogServerProf:
        fn::invoke:
          function: scm:getSyslogServerProfile
          arguments:
            id: 69f7ee97-7c0a-416d-a28d-d45929851f6e
    outputs:
      # Output the details of the single SCM Syslog Server Profile object found.
      scmSyslogServerProfileDetails:
        profileId: ${scmSyslogServerProf.id}
        folder: ${scmSyslogServerProf.folder}
        name: ${scmSyslogServerProf.name}
    
    terraform {
      required_providers {
        scm = {
          source = "pulumi/scm"
        }
      }
    }
    
    data "scm_syslog_server_profile" "scmSyslogServerProf" {
      id = "69f7ee97-7c0a-416d-a28d-d45929851f6e"
    }
    
    #
    # Data source to retrieve a single SCM Syslog Server Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM Syslog Server Profile you want to find.
    # Output the details of the single SCM Syslog Server Profile object found.
    output "scmSyslogServerProfileDetails" {
      value = {
        "profileId" = data.scm_syslog_server_profile.scmSyslogServerProf.id
        "folder"    = data.scm_syslog_server_profile.scmSyslogServerProf.folder
        "name"      = data.scm_syslog_server_profile.scmSyslogServerProf.name
      }
    }
    

    Using getSyslogServerProfile

    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 getSyslogServerProfile(args: GetSyslogServerProfileArgs, opts?: InvokeOptions): Promise<GetSyslogServerProfileResult>
    function getSyslogServerProfileOutput(args: GetSyslogServerProfileOutputArgs, opts?: InvokeOutputOptions): Output<GetSyslogServerProfileResult>
    def get_syslog_server_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) -> GetSyslogServerProfileResult
    def get_syslog_server_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[GetSyslogServerProfileResult]
    func LookupSyslogServerProfile(ctx *Context, args *LookupSyslogServerProfileArgs, opts ...InvokeOption) (*LookupSyslogServerProfileResult, error)
    func LookupSyslogServerProfileOutput(ctx *Context, args *LookupSyslogServerProfileOutputArgs, opts ...InvokeOption) LookupSyslogServerProfileResultOutput

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

    public static class GetSyslogServerProfile 
    {
        public static Task<GetSyslogServerProfileResult> InvokeAsync(GetSyslogServerProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetSyslogServerProfileResult> Invoke(GetSyslogServerProfileInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSyslogServerProfileResult> Invoke(GetSyslogServerProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSyslogServerProfileResult> getSyslogServerProfile(GetSyslogServerProfileArgs args, InvokeOptions options)
    public static Output<GetSyslogServerProfileResult> getSyslogServerProfile(GetSyslogServerProfileArgs args, InvokeOptions options)
    public static Output<GetSyslogServerProfileResult> getSyslogServerProfile(GetSyslogServerProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scm:index/getSyslogServerProfile:getSyslogServerProfile
      arguments:
        # arguments dictionary
    data "scm_get_syslog_server_profile" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getSyslogServerProfile 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
    Format GetSyslogServerProfileFormat
    Format
    Id string
    The UUID of the syslog server profile
    Name string
    The name of the syslog server profile
    Servers List<GetSyslogServerProfileServer>
    A list of syslog server configurations. At least one server is required.
    Snippet string
    The snippet in which the resource is defined
    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
    Format GetSyslogServerProfileFormat
    Format
    Id string
    The UUID of the syslog server profile
    Name string
    The name of the syslog server profile
    Servers []GetSyslogServerProfileServer
    A list of syslog server configurations. At least one server is required.
    Snippet string
    The snippet in which the resource is defined
    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
    format object
    Format
    id string
    The UUID of the syslog server profile
    name string
    The name of the syslog server profile
    servers list(object)
    A list of syslog server configurations. At least one server is required.
    snippet string
    The snippet in which the resource is defined
    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
    format GetSyslogServerProfileFormat
    Format
    id String
    The UUID of the syslog server profile
    name String
    The name of the syslog server profile
    servers List<GetSyslogServerProfileServer>
    A list of syslog server configurations. At least one server is required.
    snippet String
    The snippet in which the resource is defined
    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
    format GetSyslogServerProfileFormat
    Format
    id string
    The UUID of the syslog server profile
    name string
    The name of the syslog server profile
    servers GetSyslogServerProfileServer[]
    A list of syslog server configurations. At least one server is required.
    snippet string
    The snippet in which the resource is defined
    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
    format GetSyslogServerProfileFormat
    Format
    id str
    The UUID of the syslog server profile
    name str
    The name of the syslog server profile
    servers Sequence[GetSyslogServerProfileServer]
    A list of syslog server configurations. At least one server is required.
    snippet str
    The snippet in which the resource is defined
    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
    format Property Map
    Format
    id String
    The UUID of the syslog server profile
    name String
    The name of the syslog server profile
    servers List<Property Map>
    A list of syslog server configurations. At least one server is required.
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.

    Supporting Types

    GetSyslogServerProfileFormat

    Auth string
    Auth
    Config string
    Config
    Correlation string
    Correlation
    Data string
    Data
    Decryption string
    Decryption
    Escaping GetSyslogServerProfileFormatEscaping
    Escaping
    Globalprotect string
    Globalprotect
    Gtp string
    Gtp
    HipMatch string
    Hip match
    Iptag string
    Iptag
    Sctp string
    Sctp
    System string
    System
    Threat string
    Threat
    Traffic string
    Traffic
    Tunnel string
    Tunnel
    Url string
    Url
    Userid string
    Userid
    Wildfire string
    Wildfire
    Auth string
    Auth
    Config string
    Config
    Correlation string
    Correlation
    Data string
    Data
    Decryption string
    Decryption
    Escaping GetSyslogServerProfileFormatEscaping
    Escaping
    Globalprotect string
    Globalprotect
    Gtp string
    Gtp
    HipMatch string
    Hip match
    Iptag string
    Iptag
    Sctp string
    Sctp
    System string
    System
    Threat string
    Threat
    Traffic string
    Traffic
    Tunnel string
    Tunnel
    Url string
    Url
    Userid string
    Userid
    Wildfire string
    Wildfire
    auth string
    Auth
    config string
    Config
    correlation string
    Correlation
    data string
    Data
    decryption string
    Decryption
    escaping object
    Escaping
    globalprotect string
    Globalprotect
    gtp string
    Gtp
    hip_match string
    Hip match
    iptag string
    Iptag
    sctp string
    Sctp
    system string
    System
    threat string
    Threat
    traffic string
    Traffic
    tunnel string
    Tunnel
    url string
    Url
    userid string
    Userid
    wildfire string
    Wildfire
    auth String
    Auth
    config String
    Config
    correlation String
    Correlation
    data String
    Data
    decryption String
    Decryption
    escaping GetSyslogServerProfileFormatEscaping
    Escaping
    globalprotect String
    Globalprotect
    gtp String
    Gtp
    hipMatch String
    Hip match
    iptag String
    Iptag
    sctp String
    Sctp
    system String
    System
    threat String
    Threat
    traffic String
    Traffic
    tunnel String
    Tunnel
    url String
    Url
    userid String
    Userid
    wildfire String
    Wildfire
    auth string
    Auth
    config string
    Config
    correlation string
    Correlation
    data string
    Data
    decryption string
    Decryption
    escaping GetSyslogServerProfileFormatEscaping
    Escaping
    globalprotect string
    Globalprotect
    gtp string
    Gtp
    hipMatch string
    Hip match
    iptag string
    Iptag
    sctp string
    Sctp
    system string
    System
    threat string
    Threat
    traffic string
    Traffic
    tunnel string
    Tunnel
    url string
    Url
    userid string
    Userid
    wildfire string
    Wildfire
    auth str
    Auth
    config str
    Config
    correlation str
    Correlation
    data str
    Data
    decryption str
    Decryption
    escaping GetSyslogServerProfileFormatEscaping
    Escaping
    globalprotect str
    Globalprotect
    gtp str
    Gtp
    hip_match str
    Hip match
    iptag str
    Iptag
    sctp str
    Sctp
    system str
    System
    threat str
    Threat
    traffic str
    Traffic
    tunnel str
    Tunnel
    url str
    Url
    userid str
    Userid
    wildfire str
    Wildfire
    auth String
    Auth
    config String
    Config
    correlation String
    Correlation
    data String
    Data
    decryption String
    Decryption
    escaping Property Map
    Escaping
    globalprotect String
    Globalprotect
    gtp String
    Gtp
    hipMatch String
    Hip match
    iptag String
    Iptag
    sctp String
    Sctp
    system String
    System
    threat String
    Threat
    traffic String
    Traffic
    tunnel String
    Tunnel
    url String
    Url
    userid String
    Userid
    wildfire String
    Wildfire

    GetSyslogServerProfileFormatEscaping

    EscapeCharacter string
    Escape sequence delimiter
    EscapedCharacters string
    A list of all the characters to be escaped (without spaces).
    EscapeCharacter string
    Escape sequence delimiter
    EscapedCharacters string
    A list of all the characters to be escaped (without spaces).
    escape_character string
    Escape sequence delimiter
    escaped_characters string
    A list of all the characters to be escaped (without spaces).
    escapeCharacter String
    Escape sequence delimiter
    escapedCharacters String
    A list of all the characters to be escaped (without spaces).
    escapeCharacter string
    Escape sequence delimiter
    escapedCharacters string
    A list of all the characters to be escaped (without spaces).
    escape_character str
    Escape sequence delimiter
    escaped_characters str
    A list of all the characters to be escaped (without spaces).
    escapeCharacter String
    Escape sequence delimiter
    escapedCharacters String
    A list of all the characters to be escaped (without spaces).

    GetSyslogServerProfileServer

    Facility string
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    Format string
    Syslog format. Possible values are BSD and IETF.
    Name string
    Syslog server name
    Port int
    Syslog server port
    Server string
    Syslog server address
    Transport string
    Transport protocol. Possible values are UDP and TCP.
    Facility string
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    Format string
    Syslog format. Possible values are BSD and IETF.
    Name string
    Syslog server name
    Port int
    Syslog server port
    Server string
    Syslog server address
    Transport string
    Transport protocol. Possible values are UDP and TCP.
    facility string
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    format string
    Syslog format. Possible values are BSD and IETF.
    name string
    Syslog server name
    port number
    Syslog server port
    server string
    Syslog server address
    transport string
    Transport protocol. Possible values are UDP and TCP.
    facility String
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    format String
    Syslog format. Possible values are BSD and IETF.
    name String
    Syslog server name
    port Integer
    Syslog server port
    server String
    Syslog server address
    transport String
    Transport protocol. Possible values are UDP and TCP.
    facility string
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    format string
    Syslog format. Possible values are BSD and IETF.
    name string
    Syslog server name
    port number
    Syslog server port
    server string
    Syslog server address
    transport string
    Transport protocol. Possible values are UDP and TCP.
    facility str
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    format str
    Syslog format. Possible values are BSD and IETF.
    name str
    Syslog server name
    port int
    Syslog server port
    server str
    Syslog server address
    transport str
    Transport protocol. Possible values are UDP and TCP.
    facility String
    Syslog facility. Possible values are LOG_USER, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6 and LOG_LOCAL7.
    format String
    Syslog format. Possible values are BSD and IETF.
    name String
    Syslog server name
    port Number
    Syslog server port
    server String
    Syslog server address
    transport String
    Transport protocol. Possible values are UDP and TCP.

    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.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial