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

checkpoint.ManagementPackage

Explore with Pulumi AI

This resource allows you to add/update/delete Check Point Package Object.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const example = new checkpoint.ManagementPackage("example", {
    access: true,
    color: "green",
    comments: "My Comments",
    threatPrevention: false,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementPackage("example",
    access=True,
    color="green",
    comments="My Comments",
    threat_prevention=False)
Copy
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.NewManagementPackage(ctx, "example", &checkpoint.ManagementPackageArgs{
			Access:           pulumi.Bool(true),
			Color:            pulumi.String("green"),
			Comments:         pulumi.String("My Comments"),
			ThreatPrevention: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var example = new Checkpoint.ManagementPackage("example", new()
    {
        Access = true,
        Color = "green",
        Comments = "My Comments",
        ThreatPrevention = false,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementPackage;
import com.pulumi.checkpoint.ManagementPackageArgs;
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 ManagementPackage("example", ManagementPackageArgs.builder()
            .access(true)
            .color("green")
            .comments("My Comments")
            .threatPrevention(false)
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementPackage
    properties:
      access: true
      color: green
      comments: My Comments
      threatPrevention: false
Copy

Create ManagementPackage Resource

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

Constructor syntax

new ManagementPackage(name: string, args?: ManagementPackageArgs, opts?: CustomResourceOptions);
@overload
def ManagementPackage(resource_name: str,
                      args: Optional[ManagementPackageArgs] = None,
                      opts: Optional[ResourceOptions] = None)

@overload
def ManagementPackage(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      access: Optional[bool] = None,
                      color: Optional[str] = None,
                      comments: Optional[str] = None,
                      desktop_security: Optional[bool] = None,
                      ignore_errors: Optional[bool] = None,
                      ignore_warnings: Optional[bool] = None,
                      installation_targets: Optional[Sequence[str]] = None,
                      management_package_id: Optional[str] = None,
                      name: Optional[str] = None,
                      qos: Optional[bool] = None,
                      qos_policy_type: Optional[str] = None,
                      tags: Optional[Sequence[str]] = None,
                      threat_prevention: Optional[bool] = None,
                      vpn_traditional_mode: Optional[bool] = None)
func NewManagementPackage(ctx *Context, name string, args *ManagementPackageArgs, opts ...ResourceOption) (*ManagementPackage, error)
public ManagementPackage(string name, ManagementPackageArgs? args = null, CustomResourceOptions? opts = null)
public ManagementPackage(String name, ManagementPackageArgs args)
public ManagementPackage(String name, ManagementPackageArgs args, CustomResourceOptions options)
type: checkpoint:ManagementPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ManagementPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ManagementPackageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ManagementPackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ManagementPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementPackageArgs
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 managementPackageResource = new Checkpoint.ManagementPackage("managementPackageResource", new()
{
    Access = false,
    Color = "string",
    Comments = "string",
    DesktopSecurity = false,
    IgnoreErrors = false,
    IgnoreWarnings = false,
    InstallationTargets = new[]
    {
        "string",
    },
    ManagementPackageId = "string",
    Name = "string",
    Qos = false,
    QosPolicyType = "string",
    Tags = new[]
    {
        "string",
    },
    ThreatPrevention = false,
    VpnTraditionalMode = false,
});
Copy
example, err := checkpoint.NewManagementPackage(ctx, "managementPackageResource", &checkpoint.ManagementPackageArgs{
Access: pulumi.Bool(false),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
DesktopSecurity: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
InstallationTargets: pulumi.StringArray{
pulumi.String("string"),
},
ManagementPackageId: pulumi.String("string"),
Name: pulumi.String("string"),
Qos: pulumi.Bool(false),
QosPolicyType: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
ThreatPrevention: pulumi.Bool(false),
VpnTraditionalMode: pulumi.Bool(false),
})
Copy
var managementPackageResource = new ManagementPackage("managementPackageResource", ManagementPackageArgs.builder()
    .access(false)
    .color("string")
    .comments("string")
    .desktopSecurity(false)
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .installationTargets("string")
    .managementPackageId("string")
    .name("string")
    .qos(false)
    .qosPolicyType("string")
    .tags("string")
    .threatPrevention(false)
    .vpnTraditionalMode(false)
    .build());
Copy
management_package_resource = checkpoint.ManagementPackage("managementPackageResource",
    access=False,
    color="string",
    comments="string",
    desktop_security=False,
    ignore_errors=False,
    ignore_warnings=False,
    installation_targets=["string"],
    management_package_id="string",
    name="string",
    qos=False,
    qos_policy_type="string",
    tags=["string"],
    threat_prevention=False,
    vpn_traditional_mode=False)
Copy
const managementPackageResource = new checkpoint.ManagementPackage("managementPackageResource", {
    access: false,
    color: "string",
    comments: "string",
    desktopSecurity: false,
    ignoreErrors: false,
    ignoreWarnings: false,
    installationTargets: ["string"],
    managementPackageId: "string",
    name: "string",
    qos: false,
    qosPolicyType: "string",
    tags: ["string"],
    threatPrevention: false,
    vpnTraditionalMode: false,
});
Copy
type: checkpoint:ManagementPackage
properties:
    access: false
    color: string
    comments: string
    desktopSecurity: false
    ignoreErrors: false
    ignoreWarnings: false
    installationTargets:
        - string
    managementPackageId: string
    name: string
    qos: false
    qosPolicyType: string
    tags:
        - string
    threatPrevention: false
    vpnTraditionalMode: false
Copy

ManagementPackage 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 ManagementPackage resource accepts the following input properties:

Access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
DesktopSecurity bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
InstallationTargets List<string>
Which Gateways identified by the name or UID to install the policy on.
ManagementPackageId string
Name string
Object name. Should be unique in the domain.
Qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
QosPolicyType string
QoS policy type.
Tags List<string>
Collection of tag identifiers.
ThreatPrevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
VpnTraditionalMode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
Access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
DesktopSecurity bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
InstallationTargets []string
Which Gateways identified by the name or UID to install the policy on.
ManagementPackageId string
Name string
Object name. Should be unique in the domain.
Qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
QosPolicyType string
QoS policy type.
Tags []string
Collection of tag identifiers.
ThreatPrevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
VpnTraditionalMode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access Boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
desktopSecurity Boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets List<String>
Which Gateways identified by the name or UID to install the policy on.
managementPackageId String
name String
Object name. Should be unique in the domain.
qos Boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType String
QoS policy type.
tags List<String>
Collection of tag identifiers.
threatPrevention Boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode Boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
desktopSecurity boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets string[]
Which Gateways identified by the name or UID to install the policy on.
managementPackageId string
name string
Object name. Should be unique in the domain.
qos boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType string
QoS policy type.
tags string[]
Collection of tag identifiers.
threatPrevention boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
desktop_security bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installation_targets Sequence[str]
Which Gateways identified by the name or UID to install the policy on.
management_package_id str
name str
Object name. Should be unique in the domain.
qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
qos_policy_type str
QoS policy type.
tags Sequence[str]
Collection of tag identifiers.
threat_prevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
vpn_traditional_mode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access Boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
desktopSecurity Boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets List<String>
Which Gateways identified by the name or UID to install the policy on.
managementPackageId String
name String
Object name. Should be unique in the domain.
qos Boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType String
QoS policy type.
tags List<String>
Collection of tag identifiers.
threatPrevention Boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode Boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.

Outputs

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

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

Look up Existing ManagementPackage Resource

Get an existing ManagementPackage 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?: ManagementPackageState, opts?: CustomResourceOptions): ManagementPackage
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access: Optional[bool] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        desktop_security: Optional[bool] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        installation_targets: Optional[Sequence[str]] = None,
        management_package_id: Optional[str] = None,
        name: Optional[str] = None,
        qos: Optional[bool] = None,
        qos_policy_type: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        threat_prevention: Optional[bool] = None,
        vpn_traditional_mode: Optional[bool] = None) -> ManagementPackage
func GetManagementPackage(ctx *Context, name string, id IDInput, state *ManagementPackageState, opts ...ResourceOption) (*ManagementPackage, error)
public static ManagementPackage Get(string name, Input<string> id, ManagementPackageState? state, CustomResourceOptions? opts = null)
public static ManagementPackage get(String name, Output<String> id, ManagementPackageState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementPackage    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
DesktopSecurity bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
InstallationTargets List<string>
Which Gateways identified by the name or UID to install the policy on.
ManagementPackageId string
Name string
Object name. Should be unique in the domain.
Qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
QosPolicyType string
QoS policy type.
Tags List<string>
Collection of tag identifiers.
ThreatPrevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
VpnTraditionalMode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
Access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
DesktopSecurity bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
InstallationTargets []string
Which Gateways identified by the name or UID to install the policy on.
ManagementPackageId string
Name string
Object name. Should be unique in the domain.
Qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
QosPolicyType string
QoS policy type.
Tags []string
Collection of tag identifiers.
ThreatPrevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
VpnTraditionalMode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access Boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
desktopSecurity Boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets List<String>
Which Gateways identified by the name or UID to install the policy on.
managementPackageId String
name String
Object name. Should be unique in the domain.
qos Boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType String
QoS policy type.
tags List<String>
Collection of tag identifiers.
threatPrevention Boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode Boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
desktopSecurity boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets string[]
Which Gateways identified by the name or UID to install the policy on.
managementPackageId string
name string
Object name. Should be unique in the domain.
qos boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType string
QoS policy type.
tags string[]
Collection of tag identifiers.
threatPrevention boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access bool
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
desktop_security bool
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installation_targets Sequence[str]
Which Gateways identified by the name or UID to install the policy on.
management_package_id str
name str
Object name. Should be unique in the domain.
qos bool
True - enables, False - disables QoS policy, empty - nothing is changed.
qos_policy_type str
QoS policy type.
tags Sequence[str]
Collection of tag identifiers.
threat_prevention bool
True - enables, False - disables Threat policy, empty - nothing is changed.
vpn_traditional_mode bool
True - enables, False - disables VPN traditional mode, empty - nothing is changed.
access Boolean
True - enables, False - disables access & NAT policies, empty - nothing is changed.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
desktopSecurity Boolean
True - enables, False - disables Desktop security policy, empty - nothing is changed.
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.
installationTargets List<String>
Which Gateways identified by the name or UID to install the policy on.
managementPackageId String
name String
Object name. Should be unique in the domain.
qos Boolean
True - enables, False - disables QoS policy, empty - nothing is changed.
qosPolicyType String
QoS policy type.
tags List<String>
Collection of tag identifiers.
threatPrevention Boolean
True - enables, False - disables Threat policy, empty - nothing is changed.
vpnTraditionalMode Boolean
True - enables, False - disables VPN traditional mode, empty - nothing is changed.

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.