1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementSyslogServer
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw

checkpoint.getManagementSyslogServer

Explore with Pulumi AI

checkpoint logo
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw

    Use this data source to get information on an existing Syslog Server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const dataSyslogServer = checkpoint.getManagementSyslogServer({
        name: "syslog_server_example",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    data_syslog_server = checkpoint.get_management_syslog_server(name="syslog_server_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.LookupManagementSyslogServer(ctx, &checkpoint.LookupManagementSyslogServerArgs{
    			Name: pulumi.StringRef("syslog_server_example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var dataSyslogServer = Checkpoint.GetManagementSyslogServer.Invoke(new()
        {
            Name = "syslog_server_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementSyslogServerArgs;
    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 dataSyslogServer = CheckpointFunctions.getManagementSyslogServer(GetManagementSyslogServerArgs.builder()
                .name("syslog_server_example")
                .build());
    
        }
    }
    
    variables:
      dataSyslogServer:
        fn::invoke:
          function: checkpoint:getManagementSyslogServer
          arguments:
            name: syslog_server_example
    

    Using getManagementSyslogServer

    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 getManagementSyslogServer(args: GetManagementSyslogServerArgs, opts?: InvokeOptions): Promise<GetManagementSyslogServerResult>
    function getManagementSyslogServerOutput(args: GetManagementSyslogServerOutputArgs, opts?: InvokeOptions): Output<GetManagementSyslogServerResult>
    def get_management_syslog_server(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     uid: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetManagementSyslogServerResult
    def get_management_syslog_server_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     uid: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagementSyslogServerResult]
    func LookupManagementSyslogServer(ctx *Context, args *LookupManagementSyslogServerArgs, opts ...InvokeOption) (*LookupManagementSyslogServerResult, error)
    func LookupManagementSyslogServerOutput(ctx *Context, args *LookupManagementSyslogServerOutputArgs, opts ...InvokeOption) LookupManagementSyslogServerResultOutput

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

    public static class GetManagementSyslogServer 
    {
        public static Task<GetManagementSyslogServerResult> InvokeAsync(GetManagementSyslogServerArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementSyslogServerResult> Invoke(GetManagementSyslogServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementSyslogServerResult> getManagementSyslogServer(GetManagementSyslogServerArgs args, InvokeOptions options)
    public static Output<GetManagementSyslogServerResult> getManagementSyslogServer(GetManagementSyslogServerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementSyslogServer:getManagementSyslogServer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name.
    Uid string
    Object UID.
    Id string
    Name string
    Object name.
    Uid string
    Object UID.
    id String
    name String
    Object name.
    uid String
    Object UID.
    id string
    name string
    Object name.
    uid string
    Object UID.
    id str
    name str
    Object name.
    uid str
    Object UID.
    id String
    name String
    Object name.
    uid String
    Object UID.

    getManagementSyslogServer Result

    The following output properties are available:

    Color string
    Comments string
    Host string
    Icon string
    Id string
    Port double
    Tags List<string>
    Version string
    Name string
    Uid string
    Color string
    Comments string
    Host string
    Icon string
    Id string
    Port float64
    Tags []string
    Version string
    Name string
    Uid string
    color String
    comments String
    host String
    icon String
    id String
    port Double
    tags List<String>
    version String
    name String
    uid String
    color string
    comments string
    host string
    icon string
    id string
    port number
    tags string[]
    version string
    name string
    uid string
    color str
    comments str
    host str
    icon str
    id str
    port float
    tags Sequence[str]
    version str
    name str
    uid str
    color String
    comments String
    host String
    icon String
    id String
    port Number
    tags List<String>
    version String
    name String
    uid String

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw