1. Registry
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. getManagementDataGroupWithExclusion
Viewing docs for checkpoint 3.4.0
published on Wednesday, Sep 16, 2026 by checkpointsw
checkpoint
Viewing docs for checkpoint 3.4.0
published on Wednesday, Sep 16, 2026 by checkpointsw

    Use this data source to get information on an existing Check Point Group With Exclusion.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const group1 = new checkpoint.ManagementGroup("group1", {name: "group1"});
    const group2 = new checkpoint.ManagementGroup("group2", {name: "group2"});
    const groupWithExclusion = new checkpoint.ManagementGroupWithExclusion("group_with_exclusion", {
        name: "Group with exclusion",
        include: group1.name,
        except: group2.name,
    });
    const dataGroupWithExclusion = checkpoint.getManagementDataGroupWithExclusionOutput({
        name: groupWithExclusion.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    group1 = checkpoint.ManagementGroup("group1", name="group1")
    group2 = checkpoint.ManagementGroup("group2", name="group2")
    group_with_exclusion = checkpoint.ManagementGroupWithExclusion("group_with_exclusion",
        name="Group with exclusion",
        include=group1.name,
        except_=group2.name)
    data_group_with_exclusion = checkpoint.get_management_data_group_with_exclusion_output(name=group_with_exclusion.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 {
    		group1, err := checkpoint.NewManagementGroup(ctx, "group1", &checkpoint.ManagementGroupArgs{
    			Name: pulumi.String("group1"),
    		})
    		if err != nil {
    			return err
    		}
    		group2, err := checkpoint.NewManagementGroup(ctx, "group2", &checkpoint.ManagementGroupArgs{
    			Name: pulumi.String("group2"),
    		})
    		if err != nil {
    			return err
    		}
    		groupWithExclusion, err := checkpoint.NewManagementGroupWithExclusion(ctx, "group_with_exclusion", &checkpoint.ManagementGroupWithExclusionArgs{
    			Name:    pulumi.String("Group with exclusion"),
    			Include: group1.Name,
    			Except:  group2.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.GetManagementDataGroupWithExclusionOutput(ctx, checkpoint.GetManagementDataGroupWithExclusionOutputArgs{
    			Name: groupWithExclusion.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var group1 = new Checkpoint.ManagementGroup("group1", new()
        {
            Name = "group1",
        });
    
        var group2 = new Checkpoint.ManagementGroup("group2", new()
        {
            Name = "group2",
        });
    
        var groupWithExclusion = new Checkpoint.ManagementGroupWithExclusion("group_with_exclusion", new()
        {
            Name = "Group with exclusion",
            Include = group1.Name,
            Except = group2.Name,
        });
    
        var dataGroupWithExclusion = Checkpoint.GetManagementDataGroupWithExclusion.Invoke(new()
        {
            Name = groupWithExclusion.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementGroup;
    import com.pulumi.checkpoint.ManagementGroupArgs;
    import com.pulumi.checkpoint.ManagementGroupWithExclusion;
    import com.pulumi.checkpoint.ManagementGroupWithExclusionArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementDataGroupWithExclusionArgs;
    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 group1 = new ManagementGroup("group1", ManagementGroupArgs.builder()
                .name("group1")
                .build());
    
            var group2 = new ManagementGroup("group2", ManagementGroupArgs.builder()
                .name("group2")
                .build());
    
            var groupWithExclusion = new ManagementGroupWithExclusion("groupWithExclusion", ManagementGroupWithExclusionArgs.builder()
                .name("Group with exclusion")
                .include(group1.name())
                .except(group2.name())
                .build());
    
            final var dataGroupWithExclusion = CheckpointFunctions.getManagementDataGroupWithExclusion(GetManagementDataGroupWithExclusionArgs.builder()
                .name(groupWithExclusion.name())
                .build());
    
        }
    }
    
    resources:
      group1:
        type: checkpoint:ManagementGroup
        properties:
          name: group1
      group2:
        type: checkpoint:ManagementGroup
        properties:
          name: group2
      groupWithExclusion:
        type: checkpoint:ManagementGroupWithExclusion
        name: group_with_exclusion
        properties:
          name: Group with exclusion
          include: ${group1.name}
          except: ${group2.name}
    variables:
      dataGroupWithExclusion:
        fn::invoke:
          function: checkpoint:getManagementDataGroupWithExclusion
          arguments:
            name: ${groupWithExclusion.name}
    
    Example coming soon!
    

    Using getManagementDataGroupWithExclusion

    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 getManagementDataGroupWithExclusion(args: GetManagementDataGroupWithExclusionArgs, opts?: InvokeOptions): Promise<GetManagementDataGroupWithExclusionResult>
    function getManagementDataGroupWithExclusionOutput(args: GetManagementDataGroupWithExclusionOutputArgs, opts?: InvokeOutputOptions): Output<GetManagementDataGroupWithExclusionResult>
    def get_management_data_group_with_exclusion(id: Optional[str] = None,
                                                 name: Optional[str] = None,
                                                 uid: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetManagementDataGroupWithExclusionResult
    def get_management_data_group_with_exclusion_output(id: pulumi.Input[Optional[str]] = None,
                                                 name: pulumi.Input[Optional[str]] = None,
                                                 uid: pulumi.Input[Optional[str]] = None,
                                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetManagementDataGroupWithExclusionResult]
    func GetManagementDataGroupWithExclusion(ctx *Context, args *GetManagementDataGroupWithExclusionArgs, opts ...InvokeOption) (*GetManagementDataGroupWithExclusionResult, error)
    func GetManagementDataGroupWithExclusionOutput(ctx *Context, args *GetManagementDataGroupWithExclusionOutputArgs, opts ...InvokeOption) GetManagementDataGroupWithExclusionResultOutput

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

    public static class GetManagementDataGroupWithExclusion 
    {
        public static Task<GetManagementDataGroupWithExclusionResult> InvokeAsync(GetManagementDataGroupWithExclusionArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataGroupWithExclusionResult> Invoke(GetManagementDataGroupWithExclusionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataGroupWithExclusionResult> Invoke(GetManagementDataGroupWithExclusionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetManagementDataGroupWithExclusionResult> getManagementDataGroupWithExclusion(GetManagementDataGroupWithExclusionArgs args, InvokeOptions options)
    public static Output<GetManagementDataGroupWithExclusionResult> getManagementDataGroupWithExclusion(GetManagementDataGroupWithExclusionArgs args, InvokeOptions options)
    public static Output<GetManagementDataGroupWithExclusionResult> getManagementDataGroupWithExclusion(GetManagementDataGroupWithExclusionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementDataGroupWithExclusion:getManagementDataGroupWithExclusion
      arguments:
        # arguments dictionary
    data "checkpoint_get_management_data_group_with_exclusion" "name" {
        # arguments
    }

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

    getManagementDataGroupWithExclusion Result

    The following output properties are available:

    Color string
    Comments string
    Except string
    Groups List<string>
    Id string
    Include string
    Ranges List<GetManagementDataGroupWithExclusionRange>
    Tags List<string>
    Name string
    Uid string
    Color string
    Comments string
    Except string
    Groups []string
    Id string
    Include string
    Ranges []GetManagementDataGroupWithExclusionRange
    Tags []string
    Name string
    Uid string
    color string
    comments string
    except string
    groups list(string)
    id string
    include string
    ranges list(object)
    tags list(string)
    name string
    uid string
    color String
    comments String
    except String
    groups List<String>
    id String
    include String
    ranges List<GetManagementDataGroupWithExclusionRange>
    tags List<String>
    name String
    uid String
    color string
    comments string
    except string
    groups string[]
    id string
    include string
    ranges GetManagementDataGroupWithExclusionRange[]
    tags string[]
    name string
    uid string
    color String
    comments String
    except String
    groups List<String>
    id String
    include String
    ranges List<Property Map>
    tags List<String>
    name String
    uid String

    Supporting Types

    GetManagementDataGroupWithExclusionRange

    ExcludedOthers List<string>
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    Ipv4s List<GetManagementDataGroupWithExclusionRangeIpv4>
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    Ipv6s List<GetManagementDataGroupWithExclusionRangeIpv6>
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    Others List<string>
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    ExcludedOthers []string
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    Ipv4s []GetManagementDataGroupWithExclusionRangeIpv4
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    Ipv6s []GetManagementDataGroupWithExclusionRangeIpv6
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    Others []string
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    excluded_others list(string)
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    ipv4s list(object)
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    ipv6s list(object)
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    others list(string)
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    excludedOthers List<String>
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    ipv4s List<GetManagementDataGroupWithExclusionRangeIpv4>
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    ipv6s List<GetManagementDataGroupWithExclusionRangeIpv6>
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    others List<String>
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    excludedOthers string[]
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    ipv4s GetManagementDataGroupWithExclusionRangeIpv4[]
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    ipv6s GetManagementDataGroupWithExclusionRangeIpv6[]
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    others string[]
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    excluded_others Sequence[str]
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    ipv4s Sequence[GetManagementDataGroupWithExclusionRangeIpv4]
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    ipv6s Sequence[GetManagementDataGroupWithExclusionRangeIpv6]
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    others Sequence[str]
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...
    excludedOthers List<String>
    Objects which are not represented as IP addresses and are negated in the given rule - for example if negate is set for the source or destination of th...
    ipv4s List<Property Map>
    Range of IPv4 addresses that match in the given rule.ipv4 blocks are documented below.
    ipv6s List<Property Map>
    Range of IPv6 addresses that match in the given rule.ipv6 blocks are documented below.
    others List<String>
    Objects which are not represented as IP addresses and match the given rule. The details-level parameter of the request determines whether they are dis...

    GetManagementDataGroupWithExclusionRangeIpv4

    End string
    N/A.
    Start string
    N/A.
    End string
    N/A.
    Start string
    N/A.
    end string
    N/A.
    start string
    N/A.
    end String
    N/A.
    start String
    N/A.
    end string
    N/A.
    start string
    N/A.
    end str
    N/A.
    start str
    N/A.
    end String
    N/A.
    start String
    N/A.

    GetManagementDataGroupWithExclusionRangeIpv6

    End string
    N/A.
    Start string
    N/A.
    End string
    N/A.
    Start string
    N/A.
    end string
    N/A.
    start string
    N/A.
    end String
    N/A.
    start String
    N/A.
    end string
    N/A.
    start string
    N/A.
    end str
    N/A.
    start str
    N/A.
    end String
    N/A.
    start String
    N/A.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint
    Viewing docs for checkpoint 3.4.0
    published on Wednesday, Sep 16, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial