1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. getManagementDataAddressRange
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw

    Use this data source to get information on an existing Check Point Address Range.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const addressRange = new checkpoint.ManagementAddressRange("address_range", {
        name: "My Address Range",
        ipv4AddressFirst: "1.1.1.1",
        ipv4AddressLast: "2.2.2.2",
    });
    const dataAddressRange = checkpoint.getManagementDataAddressRangeOutput({
        name: addressRange.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    address_range = checkpoint.ManagementAddressRange("address_range",
        name="My Address Range",
        ipv4_address_first="1.1.1.1",
        ipv4_address_last="2.2.2.2")
    data_address_range = checkpoint.get_management_data_address_range_output(name=address_range.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		addressRange, err := checkpoint.NewManagementAddressRange(ctx, "address_range", &checkpoint.ManagementAddressRangeArgs{
    			Name:             pulumi.String("My Address Range"),
    			Ipv4AddressFirst: pulumi.String("1.1.1.1"),
    			Ipv4AddressLast:  pulumi.String("2.2.2.2"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.GetManagementDataAddressRangeOutput(ctx, checkpoint.GetManagementDataAddressRangeOutputArgs{
    			Name: addressRange.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var addressRange = new Checkpoint.ManagementAddressRange("address_range", new()
        {
            Name = "My Address Range",
            Ipv4AddressFirst = "1.1.1.1",
            Ipv4AddressLast = "2.2.2.2",
        });
    
        var dataAddressRange = Checkpoint.GetManagementDataAddressRange.Invoke(new()
        {
            Name = addressRange.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementAddressRange;
    import com.pulumi.checkpoint.ManagementAddressRangeArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementDataAddressRangeArgs;
    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 addressRange = new ManagementAddressRange("addressRange", ManagementAddressRangeArgs.builder()
                .name("My Address Range")
                .ipv4AddressFirst("1.1.1.1")
                .ipv4AddressLast("2.2.2.2")
                .build());
    
            final var dataAddressRange = CheckpointFunctions.getManagementDataAddressRange(GetManagementDataAddressRangeArgs.builder()
                .name(addressRange.name())
                .build());
    
        }
    }
    
    resources:
      addressRange:
        type: checkpoint:ManagementAddressRange
        name: address_range
        properties:
          name: My Address Range
          ipv4AddressFirst: 1.1.1.1
          ipv4AddressLast: 2.2.2.2
    variables:
      dataAddressRange:
        fn::invoke:
          function: checkpoint:getManagementDataAddressRange
          arguments:
            name: ${addressRange.name}
    

    Using getManagementDataAddressRange

    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 getManagementDataAddressRange(args: GetManagementDataAddressRangeArgs, opts?: InvokeOptions): Promise<GetManagementDataAddressRangeResult>
    function getManagementDataAddressRangeOutput(args: GetManagementDataAddressRangeOutputArgs, opts?: InvokeOptions): Output<GetManagementDataAddressRangeResult>
    def get_management_data_address_range(id: Optional[str] = None,
                                          name: Optional[str] = None,
                                          uid: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetManagementDataAddressRangeResult
    def get_management_data_address_range_output(id: Optional[pulumi.Input[str]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          uid: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataAddressRangeResult]
    func GetManagementDataAddressRange(ctx *Context, args *GetManagementDataAddressRangeArgs, opts ...InvokeOption) (*GetManagementDataAddressRangeResult, error)
    func GetManagementDataAddressRangeOutput(ctx *Context, args *GetManagementDataAddressRangeOutputArgs, opts ...InvokeOption) GetManagementDataAddressRangeResultOutput

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

    public static class GetManagementDataAddressRange 
    {
        public static Task<GetManagementDataAddressRangeResult> InvokeAsync(GetManagementDataAddressRangeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataAddressRangeResult> Invoke(GetManagementDataAddressRangeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementDataAddressRangeResult> getManagementDataAddressRange(GetManagementDataAddressRangeArgs args, InvokeOptions options)
    public static Output<GetManagementDataAddressRangeResult> getManagementDataAddressRange(GetManagementDataAddressRangeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementDataAddressRange:getManagementDataAddressRange
      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.

    getManagementDataAddressRange Result

    The following output properties are available:

    color String
    comments String
    groups List<String>
    id String
    ipv4AddressFirst String
    ipv4AddressLast String
    ipv6AddressFirst String
    ipv6AddressLast String
    natSettings List<Property Map>
    tags List<String>
    name String
    uid String

    Supporting Types

    GetManagementDataAddressRangeNatSetting

    AutoRule bool
    Whether to add automatic address translation rules.
    HideBehind string
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    InstallOn string
    Which gateway should apply the NAT translation.
    Ipv4Address string
    IPv4 address.
    Ipv6Address string
    IPv6 address.
    Method string
    NAT translation method.
    AutoRule bool
    Whether to add automatic address translation rules.
    HideBehind string
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    InstallOn string
    Which gateway should apply the NAT translation.
    Ipv4Address string
    IPv4 address.
    Ipv6Address string
    IPv6 address.
    Method string
    NAT translation method.
    autoRule Boolean
    Whether to add automatic address translation rules.
    hideBehind String
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    installOn String
    Which gateway should apply the NAT translation.
    ipv4Address String
    IPv4 address.
    ipv6Address String
    IPv6 address.
    method String
    NAT translation method.
    autoRule boolean
    Whether to add automatic address translation rules.
    hideBehind string
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    installOn string
    Which gateway should apply the NAT translation.
    ipv4Address string
    IPv4 address.
    ipv6Address string
    IPv6 address.
    method string
    NAT translation method.
    auto_rule bool
    Whether to add automatic address translation rules.
    hide_behind str
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    install_on str
    Which gateway should apply the NAT translation.
    ipv4_address str
    IPv4 address.
    ipv6_address str
    IPv6 address.
    method str
    NAT translation method.
    autoRule Boolean
    Whether to add automatic address translation rules.
    hideBehind String
    Hide behind method. This parameter is not required in case "method" parameter is "static".
    installOn String
    Which gateway should apply the NAT translation.
    ipv4Address String
    IPv4 address.
    ipv6Address String
    IPv6 address.
    method String
    NAT translation method.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    Viewing docs for checkpoint 3.0.0
    published on Monday, Mar 30, 2026 by checkpointsw
      Try Pulumi Cloud free. Your team will thank you.