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

checkpoint.getManagementServiceCompoundTcp

Explore with Pulumi AI

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

    This resource allows you to execute Check Point Service Compound Tcp.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const serviceCompoundTcp = new checkpoint.ManagementServiceCompoundTcp("serviceCompoundTcp", {
        compoundService: "pointcast",
        keepConnectionsOpenAfterPolicyInstallation: true,
    });
    const test = checkpoint.getManagementServiceCompoundTcpOutput({
        name: serviceCompoundTcp.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    service_compound_tcp = checkpoint.ManagementServiceCompoundTcp("serviceCompoundTcp",
        compound_service="pointcast",
        keep_connections_open_after_policy_installation=True)
    test = checkpoint.get_management_service_compound_tcp_output(name=service_compound_tcp.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 {
    		serviceCompoundTcp, err := checkpoint.NewManagementServiceCompoundTcp(ctx, "serviceCompoundTcp", &checkpoint.ManagementServiceCompoundTcpArgs{
    			CompoundService: pulumi.String("pointcast"),
    			KeepConnectionsOpenAfterPolicyInstallation: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementServiceCompoundTcpOutput(ctx, checkpoint.GetManagementServiceCompoundTcpOutputArgs{
    			Name: serviceCompoundTcp.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceCompoundTcp = new Checkpoint.ManagementServiceCompoundTcp("serviceCompoundTcp", new()
        {
            CompoundService = "pointcast",
            KeepConnectionsOpenAfterPolicyInstallation = true,
        });
    
        var test = Checkpoint.GetManagementServiceCompoundTcp.Invoke(new()
        {
            Name = serviceCompoundTcp.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementServiceCompoundTcp;
    import com.pulumi.checkpoint.ManagementServiceCompoundTcpArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementServiceCompoundTcpArgs;
    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 serviceCompoundTcp = new ManagementServiceCompoundTcp("serviceCompoundTcp", ManagementServiceCompoundTcpArgs.builder()
                .compoundService("pointcast")
                .keepConnectionsOpenAfterPolicyInstallation(true)
                .build());
    
            final var test = CheckpointFunctions.getManagementServiceCompoundTcp(GetManagementServiceCompoundTcpArgs.builder()
                .name(serviceCompoundTcp.name())
                .build());
    
        }
    }
    
    resources:
      serviceCompoundTcp:
        type: checkpoint:ManagementServiceCompoundTcp
        properties:
          compoundService: pointcast
          keepConnectionsOpenAfterPolicyInstallation: true
    variables:
      test:
        fn::invoke:
          function: checkpoint:getManagementServiceCompoundTcp
          arguments:
            name: ${serviceCompoundTcp.name}
    

    Using getManagementServiceCompoundTcp

    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 getManagementServiceCompoundTcp(args: GetManagementServiceCompoundTcpArgs, opts?: InvokeOptions): Promise<GetManagementServiceCompoundTcpResult>
    function getManagementServiceCompoundTcpOutput(args: GetManagementServiceCompoundTcpOutputArgs, opts?: InvokeOptions): Output<GetManagementServiceCompoundTcpResult>
    def get_management_service_compound_tcp(id: Optional[str] = None,
                                            name: Optional[str] = None,
                                            uid: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetManagementServiceCompoundTcpResult
    def get_management_service_compound_tcp_output(id: Optional[pulumi.Input[str]] = None,
                                            name: Optional[pulumi.Input[str]] = None,
                                            uid: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetManagementServiceCompoundTcpResult]
    func LookupManagementServiceCompoundTcp(ctx *Context, args *LookupManagementServiceCompoundTcpArgs, opts ...InvokeOption) (*LookupManagementServiceCompoundTcpResult, error)
    func LookupManagementServiceCompoundTcpOutput(ctx *Context, args *LookupManagementServiceCompoundTcpOutputArgs, opts ...InvokeOption) LookupManagementServiceCompoundTcpResultOutput

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

    public static class GetManagementServiceCompoundTcp 
    {
        public static Task<GetManagementServiceCompoundTcpResult> InvokeAsync(GetManagementServiceCompoundTcpArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementServiceCompoundTcpResult> Invoke(GetManagementServiceCompoundTcpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementServiceCompoundTcpResult> getManagementServiceCompoundTcp(GetManagementServiceCompoundTcpArgs args, InvokeOptions options)
    public static Output<GetManagementServiceCompoundTcpResult> getManagementServiceCompoundTcp(GetManagementServiceCompoundTcpArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementServiceCompoundTcp:getManagementServiceCompoundTcp
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getManagementServiceCompoundTcp Result

    The following output properties are available:

    Color string
    Comments string
    CompoundService string
    Id string
    KeepConnectionsOpenAfterPolicyInstallation bool
    Tags List<string>
    Name string
    Uid string
    Color string
    Comments string
    CompoundService string
    Id string
    KeepConnectionsOpenAfterPolicyInstallation bool
    Tags []string
    Name string
    Uid string
    color String
    comments String
    compoundService String
    id String
    keepConnectionsOpenAfterPolicyInstallation Boolean
    tags List<String>
    name String
    uid String
    color string
    comments string
    compoundService string
    id string
    keepConnectionsOpenAfterPolicyInstallation boolean
    tags string[]
    name string
    uid string
    color String
    comments String
    compoundService String
    id String
    keepConnectionsOpenAfterPolicyInstallation Boolean
    tags List<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