checkpoint.ManagementInstallPolicy
Explore with Pulumi AI
Create ManagementInstallPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementInstallPolicy(name: string, args: ManagementInstallPolicyArgs, opts?: CustomResourceOptions);
@overload
def ManagementInstallPolicy(resource_name: str,
args: ManagementInstallPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementInstallPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_package: Optional[str] = None,
targets: Optional[Sequence[str]] = None,
access: Optional[bool] = None,
desktop_security: Optional[bool] = None,
install_on_all_cluster_members_or_fail: Optional[bool] = None,
management_install_policy_id: Optional[str] = None,
prepare_only: Optional[bool] = None,
qos: Optional[bool] = None,
revision: Optional[str] = None,
threat_prevention: Optional[bool] = None,
triggers: Optional[Sequence[str]] = None)
func NewManagementInstallPolicy(ctx *Context, name string, args ManagementInstallPolicyArgs, opts ...ResourceOption) (*ManagementInstallPolicy, error)
public ManagementInstallPolicy(string name, ManagementInstallPolicyArgs args, CustomResourceOptions? opts = null)
public ManagementInstallPolicy(String name, ManagementInstallPolicyArgs args)
public ManagementInstallPolicy(String name, ManagementInstallPolicyArgs args, CustomResourceOptions options)
type: checkpoint:ManagementInstallPolicy
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 ManagementInstallPolicyArgs
- 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 ManagementInstallPolicyArgs
- 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 ManagementInstallPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementInstallPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementInstallPolicyArgs
- 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 managementInstallPolicyResource = new Checkpoint.ManagementInstallPolicy("managementInstallPolicyResource", new()
{
PolicyPackage = "string",
Targets = new[]
{
"string",
},
Access = false,
DesktopSecurity = false,
InstallOnAllClusterMembersOrFail = false,
ManagementInstallPolicyId = "string",
PrepareOnly = false,
Qos = false,
Revision = "string",
ThreatPrevention = false,
Triggers = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementInstallPolicy(ctx, "managementInstallPolicyResource", &checkpoint.ManagementInstallPolicyArgs{
PolicyPackage: pulumi.String("string"),
Targets: pulumi.StringArray{
pulumi.String("string"),
},
Access: pulumi.Bool(false),
DesktopSecurity: pulumi.Bool(false),
InstallOnAllClusterMembersOrFail: pulumi.Bool(false),
ManagementInstallPolicyId: pulumi.String("string"),
PrepareOnly: pulumi.Bool(false),
Qos: pulumi.Bool(false),
Revision: pulumi.String("string"),
ThreatPrevention: pulumi.Bool(false),
Triggers: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementInstallPolicyResource = new ManagementInstallPolicy("managementInstallPolicyResource", ManagementInstallPolicyArgs.builder()
.policyPackage("string")
.targets("string")
.access(false)
.desktopSecurity(false)
.installOnAllClusterMembersOrFail(false)
.managementInstallPolicyId("string")
.prepareOnly(false)
.qos(false)
.revision("string")
.threatPrevention(false)
.triggers("string")
.build());
management_install_policy_resource = checkpoint.ManagementInstallPolicy("managementInstallPolicyResource",
policy_package="string",
targets=["string"],
access=False,
desktop_security=False,
install_on_all_cluster_members_or_fail=False,
management_install_policy_id="string",
prepare_only=False,
qos=False,
revision="string",
threat_prevention=False,
triggers=["string"])
const managementInstallPolicyResource = new checkpoint.ManagementInstallPolicy("managementInstallPolicyResource", {
policyPackage: "string",
targets: ["string"],
access: false,
desktopSecurity: false,
installOnAllClusterMembersOrFail: false,
managementInstallPolicyId: "string",
prepareOnly: false,
qos: false,
revision: "string",
threatPrevention: false,
triggers: ["string"],
});
type: checkpoint:ManagementInstallPolicy
properties:
access: false
desktopSecurity: false
installOnAllClusterMembersOrFail: false
managementInstallPolicyId: string
policyPackage: string
prepareOnly: false
qos: false
revision: string
targets:
- string
threatPrevention: false
triggers:
- string
ManagementInstallPolicy 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 ManagementInstallPolicy resource accepts the following input properties:
- Policy
Package string - The name of the Policy Package to be installed.
- Targets List<string>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- Access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- Desktop
Security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- Install
On boolAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- Management
Install stringPolicy Id - Prepare
Only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- Qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- Revision string
- The UID of the revision of the policy to install.
- Threat
Prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- Triggers List<string>
- Triggers a install-policy if there are any changes to objects in this list.
- Policy
Package string - The name of the Policy Package to be installed.
- Targets []string
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- Access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- Desktop
Security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- Install
On boolAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- Management
Install stringPolicy Id - Prepare
Only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- Qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- Revision string
- The UID of the revision of the policy to install.
- Threat
Prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- Triggers []string
- Triggers a install-policy if there are any changes to objects in this list.
- policy
Package String - The name of the Policy Package to be installed.
- targets List<String>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- access Boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security Boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On BooleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install StringPolicy Id - prepare
Only Boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos Boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision String
- The UID of the revision of the policy to install.
- threat
Prevention Boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers List<String>
- Triggers a install-policy if there are any changes to objects in this list.
- policy
Package string - The name of the Policy Package to be installed.
- targets string[]
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- access boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On booleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install stringPolicy Id - prepare
Only boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision string
- The UID of the revision of the policy to install.
- threat
Prevention boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers string[]
- Triggers a install-policy if there are any changes to objects in this list.
- policy_
package str - The name of the Policy Package to be installed.
- targets Sequence[str]
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop_
security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install_
on_ boolall_ cluster_ members_ or_ fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management_
install_ strpolicy_ id - prepare_
only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision str
- The UID of the revision of the policy to install.
- threat_
prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers Sequence[str]
- Triggers a install-policy if there are any changes to objects in this list.
- policy
Package String - The name of the Policy Package to be installed.
- targets List<String>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- access Boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security Boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On BooleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install StringPolicy Id - prepare
Only Boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos Boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision String
- The UID of the revision of the policy to install.
- threat
Prevention Boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers List<String>
- Triggers a install-policy if there are any changes to objects in this list.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementInstallPolicy resource produces the following output properties:
Look up Existing ManagementInstallPolicy Resource
Get an existing ManagementInstallPolicy 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?: ManagementInstallPolicyState, opts?: CustomResourceOptions): ManagementInstallPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access: Optional[bool] = None,
desktop_security: Optional[bool] = None,
install_on_all_cluster_members_or_fail: Optional[bool] = None,
management_install_policy_id: Optional[str] = None,
policy_package: Optional[str] = None,
prepare_only: Optional[bool] = None,
qos: Optional[bool] = None,
revision: Optional[str] = None,
targets: Optional[Sequence[str]] = None,
task_id: Optional[str] = None,
threat_prevention: Optional[bool] = None,
triggers: Optional[Sequence[str]] = None) -> ManagementInstallPolicy
func GetManagementInstallPolicy(ctx *Context, name string, id IDInput, state *ManagementInstallPolicyState, opts ...ResourceOption) (*ManagementInstallPolicy, error)
public static ManagementInstallPolicy Get(string name, Input<string> id, ManagementInstallPolicyState? state, CustomResourceOptions? opts = null)
public static ManagementInstallPolicy get(String name, Output<String> id, ManagementInstallPolicyState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementInstallPolicy 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.
- Access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- Desktop
Security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- Install
On boolAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- Management
Install stringPolicy Id - Policy
Package string - The name of the Policy Package to be installed.
- Prepare
Only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- Qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- Revision string
- The UID of the revision of the policy to install.
- Targets List<string>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- Task
Id string - Asynchronous task unique identifier.
- Threat
Prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- Triggers List<string>
- Triggers a install-policy if there are any changes to objects in this list.
- Access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- Desktop
Security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- Install
On boolAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- Management
Install stringPolicy Id - Policy
Package string - The name of the Policy Package to be installed.
- Prepare
Only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- Qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- Revision string
- The UID of the revision of the policy to install.
- Targets []string
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- Task
Id string - Asynchronous task unique identifier.
- Threat
Prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- Triggers []string
- Triggers a install-policy if there are any changes to objects in this list.
- access Boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security Boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On BooleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install StringPolicy Id - policy
Package String - The name of the Policy Package to be installed.
- prepare
Only Boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos Boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision String
- The UID of the revision of the policy to install.
- targets List<String>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- task
Id String - Asynchronous task unique identifier.
- threat
Prevention Boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers List<String>
- Triggers a install-policy if there are any changes to objects in this list.
- access boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On booleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install stringPolicy Id - policy
Package string - The name of the Policy Package to be installed.
- prepare
Only boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision string
- The UID of the revision of the policy to install.
- targets string[]
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- task
Id string - Asynchronous task unique identifier.
- threat
Prevention boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers string[]
- Triggers a install-policy if there are any changes to objects in this list.
- access bool
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop_
security bool - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install_
on_ boolall_ cluster_ members_ or_ fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management_
install_ strpolicy_ id - policy_
package str - The name of the Policy Package to be installed.
- prepare_
only bool - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos bool
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision str
- The UID of the revision of the policy to install.
- targets Sequence[str]
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- task_
id str - Asynchronous task unique identifier.
- threat_
prevention bool - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers Sequence[str]
- Triggers a install-policy if there are any changes to objects in this list.
- access Boolean
- Set to be true in order to install the Access Control policy. By default, the value is true if Access Control policy is enabled on the input policy package, otherwise false.
- desktop
Security Boolean - Set to be true in order to install the Desktop Security policy. By default, the value is true if desktop security policy is enabled on the input policy package, otherwise false.
- install
On BooleanAll Cluster Members Or Fail - Relevant for the gateway clusters. If true, the policy is installed on all the cluster members. If the installation on a cluster member fails, don't install on that cluster.
- management
Install StringPolicy Id - policy
Package String - The name of the Policy Package to be installed.
- prepare
Only Boolean - If true, prepares the policy for the installation, but doesn't install it on an installation target.
- qos Boolean
- Set to be true in order to install the QoS policy. By default, the value is true if Quality-of-Service policy is enabled on the input policy package, otherwise false.
- revision String
- The UID of the revision of the policy to install.
- targets List<String>
- On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
- task
Id String - Asynchronous task unique identifier.
- threat
Prevention Boolean - Set to be true in order to install the Threat Prevention policy. By default, the value is true if Threat Prevention policy is enabled on the input policy package, otherwise false.
- triggers List<String>
- Triggers a install-policy if there are any changes to objects in this list.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.