1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementDataServiceOther
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.getManagementDataServiceOther

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    Use this data source to get information on an existing Check Point Service Other.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const serviceOther = new checkpoint.ManagementServiceOther("serviceOther", {
        aggressiveAging: {
            default_timeout: "600",
            enable: "true",
            timeout: "600",
            use_default_timeout: "true",
        },
        ipProtocol: 51,
        keepConnectionsOpenAfterPolicyInstallation: false,
        matchForAny: true,
        sessionTimeout: 100,
        syncConnectionsOnCluster: true,
    });
    const dataServiceOther = checkpoint.getManagementDataServiceOtherOutput({
        name: serviceOther.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    service_other = checkpoint.ManagementServiceOther("serviceOther",
        aggressive_aging={
            "default_timeout": "600",
            "enable": "true",
            "timeout": "600",
            "use_default_timeout": "true",
        },
        ip_protocol=51,
        keep_connections_open_after_policy_installation=False,
        match_for_any=True,
        session_timeout=100,
        sync_connections_on_cluster=True)
    data_service_other = checkpoint.get_management_data_service_other_output(name=service_other.name)
    
    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 {
    		serviceOther, err := checkpoint.NewManagementServiceOther(ctx, "serviceOther", &checkpoint.ManagementServiceOtherArgs{
    			AggressiveAging: pulumi.StringMap{
    				"default_timeout":     pulumi.String("600"),
    				"enable":              pulumi.String("true"),
    				"timeout":             pulumi.String("600"),
    				"use_default_timeout": pulumi.String("true"),
    			},
    			IpProtocol: pulumi.Float64(51),
    			KeepConnectionsOpenAfterPolicyInstallation: pulumi.Bool(false),
    			MatchForAny:              pulumi.Bool(true),
    			SessionTimeout:           pulumi.Float64(100),
    			SyncConnectionsOnCluster: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.GetManagementDataServiceOtherOutput(ctx, checkpoint.GetManagementDataServiceOtherOutputArgs{
    			Name: serviceOther.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceOther = new Checkpoint.ManagementServiceOther("serviceOther", new()
        {
            AggressiveAging = 
            {
                { "default_timeout", "600" },
                { "enable", "true" },
                { "timeout", "600" },
                { "use_default_timeout", "true" },
            },
            IpProtocol = 51,
            KeepConnectionsOpenAfterPolicyInstallation = false,
            MatchForAny = true,
            SessionTimeout = 100,
            SyncConnectionsOnCluster = true,
        });
    
        var dataServiceOther = Checkpoint.GetManagementDataServiceOther.Invoke(new()
        {
            Name = serviceOther.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementServiceOther;
    import com.pulumi.checkpoint.ManagementServiceOtherArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementDataServiceOtherArgs;
    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) {
            var serviceOther = new ManagementServiceOther("serviceOther", ManagementServiceOtherArgs.builder()
                .aggressiveAging(Map.ofEntries(
                    Map.entry("default_timeout", 600),
                    Map.entry("enable", true),
                    Map.entry("timeout", 600),
                    Map.entry("use_default_timeout", true)
                ))
                .ipProtocol(51)
                .keepConnectionsOpenAfterPolicyInstallation(false)
                .matchForAny(true)
                .sessionTimeout(100)
                .syncConnectionsOnCluster(true)
                .build());
    
            final var dataServiceOther = CheckpointFunctions.getManagementDataServiceOther(GetManagementDataServiceOtherArgs.builder()
                .name(serviceOther.name())
                .build());
    
        }
    }
    
    resources:
      serviceOther:
        type: checkpoint:ManagementServiceOther
        properties:
          aggressiveAging:
            default_timeout: 600
            enable: true
            timeout: 600
            use_default_timeout: true
          ipProtocol: 51
          keepConnectionsOpenAfterPolicyInstallation: false
          matchForAny: true
          sessionTimeout: 100
          syncConnectionsOnCluster: true
    variables:
      dataServiceOther:
        fn::invoke:
          function: checkpoint:getManagementDataServiceOther
          arguments:
            name: ${serviceOther.name}
    

    Using getManagementDataServiceOther

    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 getManagementDataServiceOther(args: GetManagementDataServiceOtherArgs, opts?: InvokeOptions): Promise<GetManagementDataServiceOtherResult>
    function getManagementDataServiceOtherOutput(args: GetManagementDataServiceOtherOutputArgs, opts?: InvokeOptions): Output<GetManagementDataServiceOtherResult>
    def get_management_data_service_other(comments: Optional[str] = None,
                                          id: Optional[str] = None,
                                          name: Optional[str] = None,
                                          uid: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetManagementDataServiceOtherResult
    def get_management_data_service_other_output(comments: Optional[pulumi.Input[str]] = None,
                                          id: Optional[pulumi.Input[str]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          uid: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataServiceOtherResult]
    func GetManagementDataServiceOther(ctx *Context, args *GetManagementDataServiceOtherArgs, opts ...InvokeOption) (*GetManagementDataServiceOtherResult, error)
    func GetManagementDataServiceOtherOutput(ctx *Context, args *GetManagementDataServiceOtherOutputArgs, opts ...InvokeOption) GetManagementDataServiceOtherResultOutput

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

    public static class GetManagementDataServiceOther 
    {
        public static Task<GetManagementDataServiceOtherResult> InvokeAsync(GetManagementDataServiceOtherArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataServiceOtherResult> Invoke(GetManagementDataServiceOtherInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementDataServiceOtherResult> getManagementDataServiceOther(GetManagementDataServiceOtherArgs args, InvokeOptions options)
    public static Output<GetManagementDataServiceOtherResult> getManagementDataServiceOther(GetManagementDataServiceOtherArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementDataServiceOther:getManagementDataServiceOther
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Comments string
    Comments string.
    Id string
    Name string
    Object name.
    Uid string
    Object unique identifier.
    Comments string
    Comments string.
    Id string
    Name string
    Object name.
    Uid string
    Object unique identifier.
    comments String
    Comments string.
    id String
    name String
    Object name.
    uid String
    Object unique identifier.
    comments string
    Comments string.
    id string
    name string
    Object name.
    uid string
    Object unique identifier.
    comments str
    Comments string.
    id str
    name str
    Object name.
    uid str
    Object unique identifier.
    comments String
    Comments string.
    id String
    name String
    Object name.
    uid String
    Object unique identifier.

    getManagementDataServiceOther Result

    The following output properties are available:

    AcceptReplies bool
    Action string
    AggressiveAging Dictionary<string, string>
    Color string
    Groups List<string>
    Id string
    IpProtocol double
    KeepConnectionsOpenAfterPolicyInstallation bool
    Match string
    MatchForAny bool
    OverrideDefaultSettings bool
    SessionTimeout double
    SyncConnectionsOnCluster bool
    Tags List<string>
    UseDefaultSessionTimeout bool
    Comments string
    Name string
    Uid string
    acceptReplies Boolean
    action String
    aggressiveAging Map<String,String>
    color String
    groups List<String>
    id String
    ipProtocol Double
    keepConnectionsOpenAfterPolicyInstallation Boolean
    match String
    matchForAny Boolean
    overrideDefaultSettings Boolean
    sessionTimeout Double
    syncConnectionsOnCluster Boolean
    tags List<String>
    useDefaultSessionTimeout Boolean
    comments String
    name String
    uid String
    acceptReplies boolean
    action string
    aggressiveAging {[key: string]: string}
    color string
    groups string[]
    id string
    ipProtocol number
    keepConnectionsOpenAfterPolicyInstallation boolean
    match string
    matchForAny boolean
    overrideDefaultSettings boolean
    sessionTimeout number
    syncConnectionsOnCluster boolean
    tags string[]
    useDefaultSessionTimeout boolean
    comments string
    name string
    uid string
    acceptReplies Boolean
    action String
    aggressiveAging Map<String>
    color String
    groups List<String>
    id String
    ipProtocol Number
    keepConnectionsOpenAfterPolicyInstallation Boolean
    match String
    matchForAny Boolean
    overrideDefaultSettings Boolean
    sessionTimeout Number
    syncConnectionsOnCluster Boolean
    tags List<String>
    useDefaultSessionTimeout Boolean
    comments 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.9.0 published on Monday, Apr 14, 2025 by checkpointsw