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

checkpoint.getManagementDataServiceUdp

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 Udp.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const serviceUdp = new checkpoint.ManagementServiceUdp("serviceUdp", {port: "1123"});
    const dataServiceUdp = checkpoint.getManagementDataServiceUdpOutput({
        name: serviceUdp.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    service_udp = checkpoint.ManagementServiceUdp("serviceUdp", port="1123")
    data_service_udp = checkpoint.get_management_data_service_udp_output(name=service_udp.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 {
    		serviceUdp, err := checkpoint.NewManagementServiceUdp(ctx, "serviceUdp", &checkpoint.ManagementServiceUdpArgs{
    			Port: pulumi.String("1123"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.GetManagementDataServiceUdpOutput(ctx, checkpoint.GetManagementDataServiceUdpOutputArgs{
    			Name: serviceUdp.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceUdp = new Checkpoint.ManagementServiceUdp("serviceUdp", new()
        {
            Port = "1123",
        });
    
        var dataServiceUdp = Checkpoint.GetManagementDataServiceUdp.Invoke(new()
        {
            Name = serviceUdp.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementServiceUdp;
    import com.pulumi.checkpoint.ManagementServiceUdpArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementDataServiceUdpArgs;
    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 serviceUdp = new ManagementServiceUdp("serviceUdp", ManagementServiceUdpArgs.builder()
                .port("1123")
                .build());
    
            final var dataServiceUdp = CheckpointFunctions.getManagementDataServiceUdp(GetManagementDataServiceUdpArgs.builder()
                .name(serviceUdp.name())
                .build());
    
        }
    }
    
    resources:
      serviceUdp:
        type: checkpoint:ManagementServiceUdp
        properties:
          port: '1123'
    variables:
      dataServiceUdp:
        fn::invoke:
          function: checkpoint:getManagementDataServiceUdp
          arguments:
            name: ${serviceUdp.name}
    

    Using getManagementDataServiceUdp

    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 getManagementDataServiceUdp(args: GetManagementDataServiceUdpArgs, opts?: InvokeOptions): Promise<GetManagementDataServiceUdpResult>
    function getManagementDataServiceUdpOutput(args: GetManagementDataServiceUdpOutputArgs, opts?: InvokeOptions): Output<GetManagementDataServiceUdpResult>
    def get_management_data_service_udp(id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        uid: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetManagementDataServiceUdpResult
    def get_management_data_service_udp_output(id: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        uid: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataServiceUdpResult]
    func GetManagementDataServiceUdp(ctx *Context, args *GetManagementDataServiceUdpArgs, opts ...InvokeOption) (*GetManagementDataServiceUdpResult, error)
    func GetManagementDataServiceUdpOutput(ctx *Context, args *GetManagementDataServiceUdpOutputArgs, opts ...InvokeOption) GetManagementDataServiceUdpResultOutput

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

    public static class GetManagementDataServiceUdp 
    {
        public static Task<GetManagementDataServiceUdpResult> InvokeAsync(GetManagementDataServiceUdpArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataServiceUdpResult> Invoke(GetManagementDataServiceUdpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementDataServiceUdpResult> getManagementDataServiceUdp(GetManagementDataServiceUdpArgs args, InvokeOptions options)
    public static Output<GetManagementDataServiceUdpResult> getManagementDataServiceUdp(GetManagementDataServiceUdpArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementDataServiceUdp:getManagementDataServiceUdp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.
    id string
    name string
    Object name. Should be unique in the domain.
    uid string
    Object unique identifier.
    id str
    name str
    Object name. Should be unique in the domain.
    uid str
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.

    getManagementDataServiceUdp Result

    The following output properties are available:

    acceptReplies Boolean
    aggressiveAging Map<String,String>
    color String
    comments String
    groups List<String>
    id String
    keepConnectionsOpenAfterPolicyInstallation Boolean
    matchByProtocolSignature Boolean
    matchForAny Boolean
    overrideDefaultSettings Boolean
    port String
    protocol String
    sessionTimeout Double
    sourcePort String
    syncConnectionsOnCluster Boolean
    tags List<String>
    useDefaultSessionTimeout Boolean
    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