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 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 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 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 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 String
- The unique name of the resource.
- args 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",
},
},
});
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: checkpoint.ManagementSetThreatProtectionOverrideArray{
&checkpoint.ManagementSetThreatProtectionOverrideArgs{
Action: pulumi.String("string"),
CapturePackets: pulumi.Bool(false),
Profile: pulumi.String("string"),
Track: pulumi.String("string"),
},
},
})
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());
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",
}])
const managementSetThreatProtectionResource = new checkpoint.ManagementSetThreatProtection("managementSetThreatProtectionResource", {
comments: "string",
followUp: false,
managementSetThreatProtectionId: "string",
name: "string",
overrides: [{
action: "string",
capturePackets: false,
profile: "string",
track: "string",
}],
});
type: checkpoint:ManagementSetThreatProtection
properties:
comments: string
followUp: false
managementSetThreatProtectionId: string
name: string
overrides:
- action: string
capturePackets: false
profile: string
track: string
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.
- Follow
Up bool - Tag the protection with pre-defined follow-up flag.
- Management
Set stringThreat Protection Id - Name string
- Object name.
- Overrides
List<Management
Set Threat Protection Override> - 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.
- Follow
Up bool - Tag the protection with pre-defined follow-up flag.
- Management
Set stringThreat Protection Id - Name string
- Object name.
- Overrides
[]Management
Set Threat Protection Override Args - 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.
- follow
Up Boolean - Tag the protection with pre-defined follow-up flag.
- management
Set StringThreat Protection Id - name String
- Object name.
- overrides
List<Management
Set Threat Protection Override> - 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.
- follow
Up boolean - Tag the protection with pre-defined follow-up flag.
- management
Set stringThreat Protection Id - name string
- Object name.
- overrides
Management
Set Threat Protection Override[] - 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_ strthreat_ protection_ id - name str
- Object name.
- overrides
Sequence[Management
Set Threat Protection Override Args] - 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.
- follow
Up Boolean - Tag the protection with pre-defined follow-up flag.
- management
Set StringThreat Protection Id - 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
- 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.
- Comments string
- Protection comments.
- Follow
Up bool - Tag the protection with pre-defined follow-up flag.
- Management
Set stringThreat Protection Id - Name string
- Object name.
- Overrides
List<Management
Set Threat Protection Override> - 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.
- Follow
Up bool - Tag the protection with pre-defined follow-up flag.
- Management
Set stringThreat Protection Id - Name string
- Object name.
- Overrides
[]Management
Set Threat Protection Override Args - 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.
- follow
Up Boolean - Tag the protection with pre-defined follow-up flag.
- management
Set StringThreat Protection Id - name String
- Object name.
- overrides
List<Management
Set Threat Protection Override> - 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.
- follow
Up boolean - Tag the protection with pre-defined follow-up flag.
- management
Set stringThreat Protection Id - name string
- Object name.
- overrides
Management
Set Threat Protection Override[] - 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_ strthreat_ protection_ id - name str
- Object name.
- overrides
Sequence[Management
Set Threat Protection Override Args] - 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.
- follow
Up Boolean - Tag the protection with pre-defined follow-up flag.
- management
Set StringThreat Protection Id - 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.
- Capture
Packets bool - Capture packets.
- Profile string
- Profile name.
- Track string
- Tracking method for protection.
- Action string
- Protection action.
- Capture
Packets bool - Capture packets.
- Profile string
- Profile name.
- Track string
- Tracking method for protection.
- action String
- Protection action.
- capture
Packets Boolean - Capture packets.
- profile String
- Profile name.
- track String
- Tracking method for protection.
- action string
- Protection action.
- capture
Packets 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.
- capture
Packets 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.