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

checkpoint.ManagementGlobalAssignment

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementGlobalAssignment("example", {
        dependentDomain: "domain2",
        globalAccessPolicy: "standard",
        globalDomain: "Global",
        globalThreatPreventionPolicy: "standard",
        manageProtectionActions: true,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementGlobalAssignment("example",
        dependent_domain="domain2",
        global_access_policy="standard",
        global_domain="Global",
        global_threat_prevention_policy="standard",
        manage_protection_actions=True)
    
    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 {
    		_, err := checkpoint.NewManagementGlobalAssignment(ctx, "example", &checkpoint.ManagementGlobalAssignmentArgs{
    			DependentDomain:              pulumi.String("domain2"),
    			GlobalAccessPolicy:           pulumi.String("standard"),
    			GlobalDomain:                 pulumi.String("Global"),
    			GlobalThreatPreventionPolicy: pulumi.String("standard"),
    			ManageProtectionActions:      pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementGlobalAssignment("example", new()
        {
            DependentDomain = "domain2",
            GlobalAccessPolicy = "standard",
            GlobalDomain = "Global",
            GlobalThreatPreventionPolicy = "standard",
            ManageProtectionActions = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementGlobalAssignment;
    import com.pulumi.checkpoint.ManagementGlobalAssignmentArgs;
    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 example = new ManagementGlobalAssignment("example", ManagementGlobalAssignmentArgs.builder()
                .dependentDomain("domain2")
                .globalAccessPolicy("standard")
                .globalDomain("Global")
                .globalThreatPreventionPolicy("standard")
                .manageProtectionActions(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementGlobalAssignment
        properties:
          dependentDomain: domain2
          globalAccessPolicy: standard
          globalDomain: Global
          globalThreatPreventionPolicy: standard
          manageProtectionActions: true
    

    Create ManagementGlobalAssignment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ManagementGlobalAssignment(name: string, args?: ManagementGlobalAssignmentArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementGlobalAssignment(resource_name: str,
                                   args: Optional[ManagementGlobalAssignmentArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementGlobalAssignment(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   dependent_domain: Optional[str] = None,
                                   global_access_policy: Optional[str] = None,
                                   global_domain: Optional[str] = None,
                                   global_threat_prevention_policy: Optional[str] = None,
                                   ignore_errors: Optional[bool] = None,
                                   ignore_warnings: Optional[bool] = None,
                                   manage_protection_actions: Optional[bool] = None,
                                   management_global_assignment_id: Optional[str] = None)
    func NewManagementGlobalAssignment(ctx *Context, name string, args *ManagementGlobalAssignmentArgs, opts ...ResourceOption) (*ManagementGlobalAssignment, error)
    public ManagementGlobalAssignment(string name, ManagementGlobalAssignmentArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementGlobalAssignment(String name, ManagementGlobalAssignmentArgs args)
    public ManagementGlobalAssignment(String name, ManagementGlobalAssignmentArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementGlobalAssignment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ManagementGlobalAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ManagementGlobalAssignmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ManagementGlobalAssignmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementGlobalAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementGlobalAssignmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var managementGlobalAssignmentResource = new Checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource", new()
    {
        DependentDomain = "string",
        GlobalAccessPolicy = "string",
        GlobalDomain = "string",
        GlobalThreatPreventionPolicy = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManageProtectionActions = false,
        ManagementGlobalAssignmentId = "string",
    });
    
    example, err := checkpoint.NewManagementGlobalAssignment(ctx, "managementGlobalAssignmentResource", &checkpoint.ManagementGlobalAssignmentArgs{
    	DependentDomain:              pulumi.String("string"),
    	GlobalAccessPolicy:           pulumi.String("string"),
    	GlobalDomain:                 pulumi.String("string"),
    	GlobalThreatPreventionPolicy: pulumi.String("string"),
    	IgnoreErrors:                 pulumi.Bool(false),
    	IgnoreWarnings:               pulumi.Bool(false),
    	ManageProtectionActions:      pulumi.Bool(false),
    	ManagementGlobalAssignmentId: pulumi.String("string"),
    })
    
    var managementGlobalAssignmentResource = new ManagementGlobalAssignment("managementGlobalAssignmentResource", ManagementGlobalAssignmentArgs.builder()
        .dependentDomain("string")
        .globalAccessPolicy("string")
        .globalDomain("string")
        .globalThreatPreventionPolicy("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .manageProtectionActions(false)
        .managementGlobalAssignmentId("string")
        .build());
    
    management_global_assignment_resource = checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource",
        dependent_domain="string",
        global_access_policy="string",
        global_domain="string",
        global_threat_prevention_policy="string",
        ignore_errors=False,
        ignore_warnings=False,
        manage_protection_actions=False,
        management_global_assignment_id="string")
    
    const managementGlobalAssignmentResource = new checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource", {
        dependentDomain: "string",
        globalAccessPolicy: "string",
        globalDomain: "string",
        globalThreatPreventionPolicy: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        manageProtectionActions: false,
        managementGlobalAssignmentId: "string",
    });
    
    type: checkpoint:ManagementGlobalAssignment
    properties:
        dependentDomain: string
        globalAccessPolicy: string
        globalDomain: string
        globalThreatPreventionPolicy: string
        ignoreErrors: false
        ignoreWarnings: false
        manageProtectionActions: false
        managementGlobalAssignmentId: string
    

    ManagementGlobalAssignment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ManagementGlobalAssignment resource accepts the following input properties:

    DependentDomain string
    N/A
    GlobalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    GlobalDomain string
    N/A
    GlobalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManageProtectionActions bool
    N/A
    ManagementGlobalAssignmentId string
    DependentDomain string
    N/A
    GlobalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    GlobalDomain string
    N/A
    GlobalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManageProtectionActions bool
    N/A
    ManagementGlobalAssignmentId string
    dependentDomain String
    N/A
    globalAccessPolicy String
    Global domain access policy that is assigned to a dependent domain.
    globalDomain String
    N/A
    globalThreatPreventionPolicy String
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    manageProtectionActions Boolean
    N/A
    managementGlobalAssignmentId String
    dependentDomain string
    N/A
    globalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    globalDomain string
    N/A
    globalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    manageProtectionActions boolean
    N/A
    managementGlobalAssignmentId string
    dependent_domain str
    N/A
    global_access_policy str
    Global domain access policy that is assigned to a dependent domain.
    global_domain str
    N/A
    global_threat_prevention_policy str
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    manage_protection_actions bool
    N/A
    management_global_assignment_id str
    dependentDomain String
    N/A
    globalAccessPolicy String
    Global domain access policy that is assigned to a dependent domain.
    globalDomain String
    N/A
    globalThreatPreventionPolicy String
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    manageProtectionActions Boolean
    N/A
    managementGlobalAssignmentId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementGlobalAssignment resource produces the following output properties:

    AssignmentStatus string
    AssignmentUpToDate Dictionary<string, string>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    Id string
    The provider-assigned unique ID for this managed resource.
    AssignmentStatus string
    AssignmentUpToDate map[string]string

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    Id string
    The provider-assigned unique ID for this managed resource.
    assignmentStatus String
    assignmentUpToDate Map<String,String>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    id String
    The provider-assigned unique ID for this managed resource.
    assignmentStatus string
    assignmentUpToDate {[key: string]: string}

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    id string
    The provider-assigned unique ID for this managed resource.
    assignment_status str
    assignment_up_to_date Mapping[str, str]

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    id str
    The provider-assigned unique ID for this managed resource.
    assignmentStatus String
    assignmentUpToDate Map<String>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagementGlobalAssignment Resource

    Get an existing ManagementGlobalAssignment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ManagementGlobalAssignmentState, opts?: CustomResourceOptions): ManagementGlobalAssignment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assignment_status: Optional[str] = None,
            assignment_up_to_date: Optional[Mapping[str, str]] = None,
            dependent_domain: Optional[str] = None,
            global_access_policy: Optional[str] = None,
            global_domain: Optional[str] = None,
            global_threat_prevention_policy: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            manage_protection_actions: Optional[bool] = None,
            management_global_assignment_id: Optional[str] = None) -> ManagementGlobalAssignment
    func GetManagementGlobalAssignment(ctx *Context, name string, id IDInput, state *ManagementGlobalAssignmentState, opts ...ResourceOption) (*ManagementGlobalAssignment, error)
    public static ManagementGlobalAssignment Get(string name, Input<string> id, ManagementGlobalAssignmentState? state, CustomResourceOptions? opts = null)
    public static ManagementGlobalAssignment get(String name, Output<String> id, ManagementGlobalAssignmentState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementGlobalAssignment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssignmentStatus string
    AssignmentUpToDate Dictionary<string, string>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    DependentDomain string
    N/A
    GlobalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    GlobalDomain string
    N/A
    GlobalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManageProtectionActions bool
    N/A
    ManagementGlobalAssignmentId string
    AssignmentStatus string
    AssignmentUpToDate map[string]string

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    DependentDomain string
    N/A
    GlobalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    GlobalDomain string
    N/A
    GlobalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManageProtectionActions bool
    N/A
    ManagementGlobalAssignmentId string
    assignmentStatus String
    assignmentUpToDate Map<String,String>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    dependentDomain String
    N/A
    globalAccessPolicy String
    Global domain access policy that is assigned to a dependent domain.
    globalDomain String
    N/A
    globalThreatPreventionPolicy String
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    manageProtectionActions Boolean
    N/A
    managementGlobalAssignmentId String
    assignmentStatus string
    assignmentUpToDate {[key: string]: string}

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    dependentDomain string
    N/A
    globalAccessPolicy string
    Global domain access policy that is assigned to a dependent domain.
    globalDomain string
    N/A
    globalThreatPreventionPolicy string
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    manageProtectionActions boolean
    N/A
    managementGlobalAssignmentId string
    assignment_status str
    assignment_up_to_date Mapping[str, str]

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    dependent_domain str
    N/A
    global_access_policy str
    Global domain access policy that is assigned to a dependent domain.
    global_domain str
    N/A
    global_threat_prevention_policy str
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    manage_protection_actions bool
    N/A
    management_global_assignment_id str
    assignmentStatus String
    assignmentUpToDate Map<String>

    The time when the assignment was assigned. assignment_up_to_date blocks are documented below.

    assignment_up_to_date supports the follwoing:

    dependentDomain String
    N/A
    globalAccessPolicy String
    Global domain access policy that is assigned to a dependent domain.
    globalDomain String
    N/A
    globalThreatPreventionPolicy String
    Global domain threat prevention policy that is assigned to a dependent domain.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    manageProtectionActions Boolean
    N/A
    managementGlobalAssignmentId 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