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

checkpoint.ManagementSetThreatProtection

Explore with Pulumi AI

Create ManagementSetThreatProtection Resource

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

Constructor syntax

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

@overload
def ManagementSetThreatProtection(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  comments: Optional[str] = None,
                                  follow_up: Optional[bool] = None,
                                  management_set_threat_protection_id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  overrides: Optional[Sequence[ManagementSetThreatProtectionOverrideArgs]] = None)
func NewManagementSetThreatProtection(ctx *Context, name string, args *ManagementSetThreatProtectionArgs, opts ...ResourceOption) (*ManagementSetThreatProtection, error)
public ManagementSetThreatProtection(string name, ManagementSetThreatProtectionArgs? args = null, CustomResourceOptions? opts = null)
public ManagementSetThreatProtection(String name, ManagementSetThreatProtectionArgs args)
public ManagementSetThreatProtection(String name, ManagementSetThreatProtectionArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSetThreatProtection
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 ManagementSetThreatProtectionArgs
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 ManagementSetThreatProtectionArgs
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 ManagementSetThreatProtectionArgs
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 ManagementSetThreatProtectionArgs
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. ManagementSetThreatProtectionArgs
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 managementSetThreatProtectionResource = new Checkpoint.ManagementSetThreatProtection("managementSetThreatProtectionResource", new()
{
    Comments = "string",
    FollowUp = false,
    ManagementSetThreatProtectionId = "string",
    Name = "string",
    Overrides = new[]
    {
        new Checkpoint.Inputs.ManagementSetThreatProtectionOverrideArgs
        {
            Action = "string",
            CapturePackets = false,
            Profile = "string",
            Track = "string",
        },
    },
});
Copy
example, err := checkpoint.NewManagementSetThreatProtection(ctx, "managementSetThreatProtectionResource", &checkpoint.ManagementSetThreatProtectionArgs{
Comments: pulumi.String("string"),
FollowUp: pulumi.Bool(false),
ManagementSetThreatProtectionId: pulumi.String("string"),
Name: pulumi.String("string"),
Overrides: .ManagementSetThreatProtectionOverrideArray{
&.ManagementSetThreatProtectionOverrideArgs{
Action: pulumi.String("string"),
CapturePackets: pulumi.Bool(false),
Profile: pulumi.String("string"),
Track: pulumi.String("string"),
},
},
})
Copy
var managementSetThreatProtectionResource = new ManagementSetThreatProtection("managementSetThreatProtectionResource", ManagementSetThreatProtectionArgs.builder()
    .comments("string")
    .followUp(false)
    .managementSetThreatProtectionId("string")
    .name("string")
    .overrides(ManagementSetThreatProtectionOverrideArgs.builder()
        .action("string")
        .capturePackets(false)
        .profile("string")
        .track("string")
        .build())
    .build());
Copy
management_set_threat_protection_resource = checkpoint.ManagementSetThreatProtection("managementSetThreatProtectionResource",
    comments="string",
    follow_up=False,
    management_set_threat_protection_id="string",
    name="string",
    overrides=[{
        "action": "string",
        "capture_packets": False,
        "profile": "string",
        "track": "string",
    }])
Copy
const managementSetThreatProtectionResource = new checkpoint.ManagementSetThreatProtection("managementSetThreatProtectionResource", {
    comments: "string",
    followUp: false,
    managementSetThreatProtectionId: "string",
    name: "string",
    overrides: [{
        action: "string",
        capturePackets: false,
        profile: "string",
        track: "string",
    }],
});
Copy
type: checkpoint:ManagementSetThreatProtection
properties:
    comments: string
    followUp: false
    managementSetThreatProtectionId: string
    name: string
    overrides:
        - action: string
          capturePackets: false
          profile: string
          track: string
Copy

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

Comments string
Protection comments.
FollowUp bool
Tag the protection with pre-defined follow-up flag.
ManagementSetThreatProtectionId string
Name string
Object name.
Overrides List<ManagementSetThreatProtectionOverride>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
Comments string
Protection comments.
FollowUp bool
Tag the protection with pre-defined follow-up flag.
ManagementSetThreatProtectionId string
Name string
Object name.
Overrides []ManagementSetThreatProtectionOverrideArgs
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments String
Protection comments.
followUp Boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId String
name String
Object name.
overrides List<ManagementSetThreatProtectionOverride>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments string
Protection comments.
followUp boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId string
name string
Object name.
overrides ManagementSetThreatProtectionOverride[]
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments str
Protection comments.
follow_up bool
Tag the protection with pre-defined follow-up flag.
management_set_threat_protection_id str
name str
Object name.
overrides Sequence[ManagementSetThreatProtectionOverrideArgs]
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments String
Protection comments.
followUp Boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId String
name String
Object name.
overrides List<Property Map>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementSetThreatProtection 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 ManagementSetThreatProtection Resource

Get an existing ManagementSetThreatProtection 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?: ManagementSetThreatProtectionState, opts?: CustomResourceOptions): ManagementSetThreatProtection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        comments: Optional[str] = None,
        follow_up: Optional[bool] = None,
        management_set_threat_protection_id: Optional[str] = None,
        name: Optional[str] = None,
        overrides: Optional[Sequence[ManagementSetThreatProtectionOverrideArgs]] = None) -> ManagementSetThreatProtection
func GetManagementSetThreatProtection(ctx *Context, name string, id IDInput, state *ManagementSetThreatProtectionState, opts ...ResourceOption) (*ManagementSetThreatProtection, error)
public static ManagementSetThreatProtection Get(string name, Input<string> id, ManagementSetThreatProtectionState? state, CustomResourceOptions? opts = null)
public static ManagementSetThreatProtection get(String name, Output<String> id, ManagementSetThreatProtectionState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementSetThreatProtection    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:
Comments string
Protection comments.
FollowUp bool
Tag the protection with pre-defined follow-up flag.
ManagementSetThreatProtectionId string
Name string
Object name.
Overrides List<ManagementSetThreatProtectionOverride>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
Comments string
Protection comments.
FollowUp bool
Tag the protection with pre-defined follow-up flag.
ManagementSetThreatProtectionId string
Name string
Object name.
Overrides []ManagementSetThreatProtectionOverrideArgs
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments String
Protection comments.
followUp Boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId String
name String
Object name.
overrides List<ManagementSetThreatProtectionOverride>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments string
Protection comments.
followUp boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId string
name string
Object name.
overrides ManagementSetThreatProtectionOverride[]
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments str
Protection comments.
follow_up bool
Tag the protection with pre-defined follow-up flag.
management_set_threat_protection_id str
name str
Object name.
overrides Sequence[ManagementSetThreatProtectionOverrideArgs]
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.
comments String
Protection comments.
followUp Boolean
Tag the protection with pre-defined follow-up flag.
managementSetThreatProtectionId String
name String
Object name.
overrides List<Property Map>
Overrides per profile for this protection Note: Remove override for Core protections removes only the actions override. Remove override for Threat Cloud protections removes the action, track and packet captures.overrides blocks are documented below.

Supporting Types

ManagementSetThreatProtectionOverride
, ManagementSetThreatProtectionOverrideArgs

Action string
Protection action.
CapturePackets bool
Capture packets.
Profile string
Profile name.
Track string
Tracking method for protection.
Action string
Protection action.
CapturePackets bool
Capture packets.
Profile string
Profile name.
Track string
Tracking method for protection.
action String
Protection action.
capturePackets Boolean
Capture packets.
profile String
Profile name.
track String
Tracking method for protection.
action string
Protection action.
capturePackets boolean
Capture packets.
profile string
Profile name.
track string
Tracking method for protection.
action str
Protection action.
capture_packets bool
Capture packets.
profile str
Profile name.
track str
Tracking method for protection.
action String
Protection action.
capturePackets Boolean
Capture packets.
profile String
Profile name.
track String
Tracking method for protection.

Package Details

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