checkpoint.ManagementSmartTask
Explore with Pulumi AI
This resource allows you to execute Check Point Smart Task.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const smartTask = new checkpoint.ManagementSmartTask("smartTask", {
action: {
sendWebRequest: {
fingerprint: "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
overrideProxy: true,
proxyUrl: "https://demo.example.com/policy-installation-reports",
sharedSecret: " secret",
timeOut: 200,
url: "https://demo.example.com/policy-installation-reports",
},
},
description: "my smart task",
enabled: true,
trigger: "Before Publish",
});
import pulumi
import pulumi_checkpoint as checkpoint
smart_task = checkpoint.ManagementSmartTask("smartTask",
action={
"send_web_request": {
"fingerprint": "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
"override_proxy": True,
"proxy_url": "https://demo.example.com/policy-installation-reports",
"shared_secret": " secret",
"time_out": 200,
"url": "https://demo.example.com/policy-installation-reports",
},
},
description="my smart task",
enabled=True,
trigger="Before Publish")
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.NewManagementSmartTask(ctx, "smartTask", &checkpoint.ManagementSmartTaskArgs{
Action: &checkpoint.ManagementSmartTaskActionArgs{
SendWebRequest: &checkpoint.ManagementSmartTaskActionSendWebRequestArgs{
Fingerprint: pulumi.String("8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c"),
OverrideProxy: pulumi.Bool(true),
ProxyUrl: pulumi.String("https://demo.example.com/policy-installation-reports"),
SharedSecret: pulumi.String(" secret"),
TimeOut: pulumi.Float64(200),
Url: pulumi.String("https://demo.example.com/policy-installation-reports"),
},
},
Description: pulumi.String("my smart task"),
Enabled: pulumi.Bool(true),
Trigger: pulumi.String("Before Publish"),
})
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 smartTask = new Checkpoint.ManagementSmartTask("smartTask", new()
{
Action = new Checkpoint.Inputs.ManagementSmartTaskActionArgs
{
SendWebRequest = new Checkpoint.Inputs.ManagementSmartTaskActionSendWebRequestArgs
{
Fingerprint = "8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c",
OverrideProxy = true,
ProxyUrl = "https://demo.example.com/policy-installation-reports",
SharedSecret = " secret",
TimeOut = 200,
Url = "https://demo.example.com/policy-installation-reports",
},
},
Description = "my smart task",
Enabled = true,
Trigger = "Before Publish",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementSmartTask;
import com.pulumi.checkpoint.ManagementSmartTaskArgs;
import com.pulumi.checkpoint.inputs.ManagementSmartTaskActionArgs;
import com.pulumi.checkpoint.inputs.ManagementSmartTaskActionSendWebRequestArgs;
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 smartTask = new ManagementSmartTask("smartTask", ManagementSmartTaskArgs.builder()
.action(ManagementSmartTaskActionArgs.builder()
.sendWebRequest(ManagementSmartTaskActionSendWebRequestArgs.builder()
.fingerprint("8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c")
.overrideProxy(true)
.proxyUrl("https://demo.example.com/policy-installation-reports")
.sharedSecret(" secret")
.timeOut(200)
.url("https://demo.example.com/policy-installation-reports")
.build())
.build())
.description("my smart task")
.enabled(true)
.trigger("Before Publish")
.build());
}
}
resources:
smartTask:
type: checkpoint:ManagementSmartTask
properties:
action:
sendWebRequest:
fingerprint: 8023a5652ba2c8f5b0902363a5314cd2b4fdbc5c
overrideProxy: true
proxyUrl: https://demo.example.com/policy-installation-reports
sharedSecret: ' secret'
timeOut: 200
url: https://demo.example.com/policy-installation-reports
description: my smart task
enabled: true
trigger: Before Publish
Create ManagementSmartTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementSmartTask(name: string, args?: ManagementSmartTaskArgs, opts?: CustomResourceOptions);
@overload
def ManagementSmartTask(resource_name: str,
args: Optional[ManagementSmartTaskArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementSmartTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[ManagementSmartTaskActionArgs] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
custom_data: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
fail_open: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_smart_task_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
trigger: Optional[str] = None)
func NewManagementSmartTask(ctx *Context, name string, args *ManagementSmartTaskArgs, opts ...ResourceOption) (*ManagementSmartTask, error)
public ManagementSmartTask(string name, ManagementSmartTaskArgs? args = null, CustomResourceOptions? opts = null)
public ManagementSmartTask(String name, ManagementSmartTaskArgs args)
public ManagementSmartTask(String name, ManagementSmartTaskArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSmartTask
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 ManagementSmartTaskArgs
- 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 ManagementSmartTaskArgs
- 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 ManagementSmartTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementSmartTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementSmartTaskArgs
- 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 managementSmartTaskResource = new Checkpoint.ManagementSmartTask("managementSmartTaskResource", new()
{
Action = new Checkpoint.Inputs.ManagementSmartTaskActionArgs
{
RunScript = new Checkpoint.Inputs.ManagementSmartTaskActionRunScriptArgs
{
RepositoryScript = "string",
Targets = new[]
{
"string",
},
TimeOut = 0,
},
SendMail = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailArgs
{
MailSettings = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailMailSettingsArgs
{
Attachment = "string",
BccRecipients = "string",
Body = "string",
CcRecipients = "string",
Recipients = "string",
SenderEmail = "string",
Subject = "string",
},
SmtpServer = new Checkpoint.Inputs.ManagementSmartTaskActionSendMailSmtpServerArgs
{
Authentication = "string",
Encryption = "string",
Name = "string",
Port = "string",
Server = "string",
Username = "string",
},
},
SendWebRequest = new Checkpoint.Inputs.ManagementSmartTaskActionSendWebRequestArgs
{
Fingerprint = "string",
OverrideProxy = false,
ProxyUrl = "string",
SharedSecret = "string",
TimeOut = 0,
Url = "string",
},
},
Color = "string",
Comments = "string",
CustomData = "string",
Description = "string",
Enabled = false,
FailOpen = false,
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementSmartTaskId = "string",
Name = "string",
Tags = new[]
{
"string",
},
Trigger = "string",
});
example, err := checkpoint.NewManagementSmartTask(ctx, "managementSmartTaskResource", &checkpoint.ManagementSmartTaskArgs{
Action: &checkpoint.ManagementSmartTaskActionArgs{
RunScript: &checkpoint.ManagementSmartTaskActionRunScriptArgs{
RepositoryScript: pulumi.String("string"),
Targets: pulumi.StringArray{
pulumi.String("string"),
},
TimeOut: pulumi.Float64(0),
},
SendMail: &checkpoint.ManagementSmartTaskActionSendMailArgs{
MailSettings: &checkpoint.ManagementSmartTaskActionSendMailMailSettingsArgs{
Attachment: pulumi.String("string"),
BccRecipients: pulumi.String("string"),
Body: pulumi.String("string"),
CcRecipients: pulumi.String("string"),
Recipients: pulumi.String("string"),
SenderEmail: pulumi.String("string"),
Subject: pulumi.String("string"),
},
SmtpServer: &checkpoint.ManagementSmartTaskActionSendMailSmtpServerArgs{
Authentication: pulumi.String("string"),
Encryption: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
SendWebRequest: &checkpoint.ManagementSmartTaskActionSendWebRequestArgs{
Fingerprint: pulumi.String("string"),
OverrideProxy: pulumi.Bool(false),
ProxyUrl: pulumi.String("string"),
SharedSecret: pulumi.String("string"),
TimeOut: pulumi.Float64(0),
Url: pulumi.String("string"),
},
},
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
CustomData: pulumi.String("string"),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
FailOpen: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementSmartTaskId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Trigger: pulumi.String("string"),
})
var managementSmartTaskResource = new ManagementSmartTask("managementSmartTaskResource", ManagementSmartTaskArgs.builder()
.action(ManagementSmartTaskActionArgs.builder()
.runScript(ManagementSmartTaskActionRunScriptArgs.builder()
.repositoryScript("string")
.targets("string")
.timeOut(0)
.build())
.sendMail(ManagementSmartTaskActionSendMailArgs.builder()
.mailSettings(ManagementSmartTaskActionSendMailMailSettingsArgs.builder()
.attachment("string")
.bccRecipients("string")
.body("string")
.ccRecipients("string")
.recipients("string")
.senderEmail("string")
.subject("string")
.build())
.smtpServer(ManagementSmartTaskActionSendMailSmtpServerArgs.builder()
.authentication("string")
.encryption("string")
.name("string")
.port("string")
.server("string")
.username("string")
.build())
.build())
.sendWebRequest(ManagementSmartTaskActionSendWebRequestArgs.builder()
.fingerprint("string")
.overrideProxy(false)
.proxyUrl("string")
.sharedSecret("string")
.timeOut(0)
.url("string")
.build())
.build())
.color("string")
.comments("string")
.customData("string")
.description("string")
.enabled(false)
.failOpen(false)
.ignoreErrors(false)
.ignoreWarnings(false)
.managementSmartTaskId("string")
.name("string")
.tags("string")
.trigger("string")
.build());
management_smart_task_resource = checkpoint.ManagementSmartTask("managementSmartTaskResource",
action={
"run_script": {
"repository_script": "string",
"targets": ["string"],
"time_out": 0,
},
"send_mail": {
"mail_settings": {
"attachment": "string",
"bcc_recipients": "string",
"body": "string",
"cc_recipients": "string",
"recipients": "string",
"sender_email": "string",
"subject": "string",
},
"smtp_server": {
"authentication": "string",
"encryption": "string",
"name": "string",
"port": "string",
"server": "string",
"username": "string",
},
},
"send_web_request": {
"fingerprint": "string",
"override_proxy": False,
"proxy_url": "string",
"shared_secret": "string",
"time_out": 0,
"url": "string",
},
},
color="string",
comments="string",
custom_data="string",
description="string",
enabled=False,
fail_open=False,
ignore_errors=False,
ignore_warnings=False,
management_smart_task_id="string",
name="string",
tags=["string"],
trigger="string")
const managementSmartTaskResource = new checkpoint.ManagementSmartTask("managementSmartTaskResource", {
action: {
runScript: {
repositoryScript: "string",
targets: ["string"],
timeOut: 0,
},
sendMail: {
mailSettings: {
attachment: "string",
bccRecipients: "string",
body: "string",
ccRecipients: "string",
recipients: "string",
senderEmail: "string",
subject: "string",
},
smtpServer: {
authentication: "string",
encryption: "string",
name: "string",
port: "string",
server: "string",
username: "string",
},
},
sendWebRequest: {
fingerprint: "string",
overrideProxy: false,
proxyUrl: "string",
sharedSecret: "string",
timeOut: 0,
url: "string",
},
},
color: "string",
comments: "string",
customData: "string",
description: "string",
enabled: false,
failOpen: false,
ignoreErrors: false,
ignoreWarnings: false,
managementSmartTaskId: "string",
name: "string",
tags: ["string"],
trigger: "string",
});
type: checkpoint:ManagementSmartTask
properties:
action:
runScript:
repositoryScript: string
targets:
- string
timeOut: 0
sendMail:
mailSettings:
attachment: string
bccRecipients: string
body: string
ccRecipients: string
recipients: string
senderEmail: string
subject: string
smtpServer:
authentication: string
encryption: string
name: string
port: string
server: string
username: string
sendWebRequest:
fingerprint: string
overrideProxy: false
proxyUrl: string
sharedSecret: string
timeOut: 0
url: string
color: string
comments: string
customData: string
description: string
enabled: false
failOpen: false
ignoreErrors: false
ignoreWarnings: false
managementSmartTaskId: string
name: string
tags:
- string
trigger: string
ManagementSmartTask 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 ManagementSmartTask resource accepts the following input properties:
- Action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- Description string
- Description of the SmartTask's functionality and options.
- Enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- Fail
Open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- Management
Smart stringTask Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Trigger string
- Trigger type associated with the SmartTask.
- Action
Management
Smart Task Action Args - The action to be run when the trigger is fired.action blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- Description string
- Description of the SmartTask's functionality and options.
- Enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- Fail
Open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- Management
Smart stringTask Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Trigger string
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- custom
Data String - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description String
- Description of the SmartTask's functionality and options.
- enabled Boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open Boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Smart StringTask Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- trigger String
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description string
- Description of the SmartTask's functionality and options.
- enabled boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Smart stringTask Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- trigger string
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action Args - The action to be run when the trigger is fired.action blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- custom_
data str - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description str
- Description of the SmartTask's functionality and options.
- enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- fail_
open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- management_
smart_ strtask_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- trigger str
- Trigger type associated with the SmartTask.
- action Property Map
- The action to be run when the trigger is fired.action blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- custom
Data String - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description String
- Description of the SmartTask's functionality and options.
- enabled Boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open Boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Smart StringTask Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- trigger String
- Trigger type associated with the SmartTask.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementSmartTask 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 ManagementSmartTask Resource
Get an existing ManagementSmartTask 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?: ManagementSmartTaskState, opts?: CustomResourceOptions): ManagementSmartTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[ManagementSmartTaskActionArgs] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
custom_data: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
fail_open: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_smart_task_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
trigger: Optional[str] = None) -> ManagementSmartTask
func GetManagementSmartTask(ctx *Context, name string, id IDInput, state *ManagementSmartTaskState, opts ...ResourceOption) (*ManagementSmartTask, error)
public static ManagementSmartTask Get(string name, Input<string> id, ManagementSmartTaskState? state, CustomResourceOptions? opts = null)
public static ManagementSmartTask get(String name, Output<String> id, ManagementSmartTaskState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementSmartTask 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.
- Action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- Description string
- Description of the SmartTask's functionality and options.
- Enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- Fail
Open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- Management
Smart stringTask Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Trigger string
- Trigger type associated with the SmartTask.
- Action
Management
Smart Task Action Args - The action to be run when the trigger is fired.action blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- Description string
- Description of the SmartTask's functionality and options.
- Enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- Fail
Open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- Management
Smart stringTask Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Trigger string
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- custom
Data String - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description String
- Description of the SmartTask's functionality and options.
- enabled Boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open Boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Smart StringTask Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- trigger String
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action - The action to be run when the trigger is fired.action blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- custom
Data string - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description string
- Description of the SmartTask's functionality and options.
- enabled boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Smart stringTask Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- trigger string
- Trigger type associated with the SmartTask.
- action
Management
Smart Task Action Args - The action to be run when the trigger is fired.action blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- custom_
data str - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description str
- Description of the SmartTask's functionality and options.
- enabled bool
- Whether the SmartTask is enabled and will run when triggered.
- fail_
open bool - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- 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.
- management_
smart_ strtask_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- trigger str
- Trigger type associated with the SmartTask.
- action Property Map
- The action to be run when the trigger is fired.action blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- custom
Data String - Per SmartTask custom data in JSON format.When the trigger is fired, the trigger data is converted to JSON. The custom data is then concatenated to the trigger data JSON.
- description String
- Description of the SmartTask's functionality and options.
- enabled Boolean
- Whether the SmartTask is enabled and will run when triggered.
- fail
Open Boolean - If the action fails to execute, whether to treat the execution failure as an error, or continue.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Smart StringTask Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- trigger String
- Trigger type associated with the SmartTask.
Supporting Types
ManagementSmartTaskAction, ManagementSmartTaskActionArgs
- Run
Script ManagementSmart Task Action Run Script - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- Send
Mail ManagementSmart Task Action Send Mail - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- Send
Web ManagementRequest Smart Task Action Send Web Request - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
- Run
Script ManagementSmart Task Action Run Script - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- Send
Mail ManagementSmart Task Action Send Mail - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- Send
Web ManagementRequest Smart Task Action Send Web Request - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
- run
Script ManagementSmart Task Action Run Script - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- send
Mail ManagementSmart Task Action Send Mail - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- send
Web ManagementRequest Smart Task Action Send Web Request - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
- run
Script ManagementSmart Task Action Run Script - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- send
Mail ManagementSmart Task Action Send Mail - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- send
Web ManagementRequest Smart Task Action Send Web Request - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
- run_
script ManagementSmart Task Action Run Script - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- send_
mail ManagementSmart Task Action Send Mail - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- send_
web_ Managementrequest Smart Task Action Send Web Request - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
- run
Script Property Map - When the trigger is fired, runs the configured Repository Script on the defined targets.The trigger data is then passed to the script as the first parameter. The parameter is JSON encoded in Base64 format.run_script blocks are documented below.
- send
Mail Property Map - When the trigger is fired, sends the configured email to the defined recipients.send_mail blocks are documented below.
- send
Web Property MapRequest - When the trigger is fired, sends an HTTPS POST web request to the configured URL.The trigger data will be passed along with the SmartTask's custom data in the request's payload.send_web_request blocks are documented below.
ManagementSmartTaskActionRunScript, ManagementSmartTaskActionRunScriptArgs
- Repository
Script string - Repository script that is executed when the trigger is fired., identified by the name or UID.
- Targets List<string>
- Targets to execute the script on.targets blocks are documented below.
- Time
Out double - Script execution time-out in seconds.
- Repository
Script string - Repository script that is executed when the trigger is fired., identified by the name or UID.
- Targets []string
- Targets to execute the script on.targets blocks are documented below.
- Time
Out float64 - Script execution time-out in seconds.
- repository
Script String - Repository script that is executed when the trigger is fired., identified by the name or UID.
- targets List<String>
- Targets to execute the script on.targets blocks are documented below.
- time
Out Double - Script execution time-out in seconds.
- repository
Script string - Repository script that is executed when the trigger is fired., identified by the name or UID.
- targets string[]
- Targets to execute the script on.targets blocks are documented below.
- time
Out number - Script execution time-out in seconds.
- repository_
script str - Repository script that is executed when the trigger is fired., identified by the name or UID.
- targets Sequence[str]
- Targets to execute the script on.targets blocks are documented below.
- time_
out float - Script execution time-out in seconds.
- repository
Script String - Repository script that is executed when the trigger is fired., identified by the name or UID.
- targets List<String>
- Targets to execute the script on.targets blocks are documented below.
- time
Out Number - Script execution time-out in seconds.
ManagementSmartTaskActionSendMail, ManagementSmartTaskActionSendMailArgs
- Mail
Settings ManagementSmart Task Action Send Mail Mail Settings - The required settings to send the mail by.mail_settings blocks are documented below.
- Smtp
Server ManagementSmart Task Action Send Mail Smtp Server - The UID or the name a preconfigured SMTP server object.
- Mail
Settings ManagementSmart Task Action Send Mail Mail Settings - The required settings to send the mail by.mail_settings blocks are documented below.
- Smtp
Server ManagementSmart Task Action Send Mail Smtp Server - The UID or the name a preconfigured SMTP server object.
- mail
Settings ManagementSmart Task Action Send Mail Mail Settings - The required settings to send the mail by.mail_settings blocks are documented below.
- smtp
Server ManagementSmart Task Action Send Mail Smtp Server - The UID or the name a preconfigured SMTP server object.
- mail
Settings ManagementSmart Task Action Send Mail Mail Settings - The required settings to send the mail by.mail_settings blocks are documented below.
- smtp
Server ManagementSmart Task Action Send Mail Smtp Server - The UID or the name a preconfigured SMTP server object.
- mail_
settings ManagementSmart Task Action Send Mail Mail Settings - The required settings to send the mail by.mail_settings blocks are documented below.
- smtp_
server ManagementSmart Task Action Send Mail Smtp Server - The UID or the name a preconfigured SMTP server object.
- mail
Settings Property Map - The required settings to send the mail by.mail_settings blocks are documented below.
- smtp
Server Property Map - The UID or the name a preconfigured SMTP server object.
ManagementSmartTaskActionSendMailMailSettings, ManagementSmartTaskActionSendMailMailSettingsArgs
- Attachment string
- What file should be attached to the mail.
- Bcc
Recipients string - A comma separated list of bcc recipient mail addresses.
- Body string
- The email body.
- Cc
Recipients string - A comma separated list of cc recipient mail addresses.
- Recipients string
- A comma separated list of recipient mail addresses.
- Sender
Email string - An email address to send the mail from.
- Subject string
- The email subject.
- Attachment string
- What file should be attached to the mail.
- Bcc
Recipients string - A comma separated list of bcc recipient mail addresses.
- Body string
- The email body.
- Cc
Recipients string - A comma separated list of cc recipient mail addresses.
- Recipients string
- A comma separated list of recipient mail addresses.
- Sender
Email string - An email address to send the mail from.
- Subject string
- The email subject.
- attachment String
- What file should be attached to the mail.
- bcc
Recipients String - A comma separated list of bcc recipient mail addresses.
- body String
- The email body.
- cc
Recipients String - A comma separated list of cc recipient mail addresses.
- recipients String
- A comma separated list of recipient mail addresses.
- sender
Email String - An email address to send the mail from.
- subject String
- The email subject.
- attachment string
- What file should be attached to the mail.
- bcc
Recipients string - A comma separated list of bcc recipient mail addresses.
- body string
- The email body.
- cc
Recipients string - A comma separated list of cc recipient mail addresses.
- recipients string
- A comma separated list of recipient mail addresses.
- sender
Email string - An email address to send the mail from.
- subject string
- The email subject.
- attachment str
- What file should be attached to the mail.
- bcc_
recipients str - A comma separated list of bcc recipient mail addresses.
- body str
- The email body.
- cc_
recipients str - A comma separated list of cc recipient mail addresses.
- recipients str
- A comma separated list of recipient mail addresses.
- sender_
email str - An email address to send the mail from.
- subject str
- The email subject.
- attachment String
- What file should be attached to the mail.
- bcc
Recipients String - A comma separated list of bcc recipient mail addresses.
- body String
- The email body.
- cc
Recipients String - A comma separated list of cc recipient mail addresses.
- recipients String
- A comma separated list of recipient mail addresses.
- sender
Email String - An email address to send the mail from.
- subject String
- The email subject.
ManagementSmartTaskActionSendMailSmtpServer, ManagementSmartTaskActionSendMailSmtpServerArgs
- Authentication string
- Does the mail server requires authentication.
- Encryption string
- Encryption type.
- Name string
- Object name.
- Port string
- The SMTP port to use.
- Server string
- The SMTP server address.
- Username string
- A username for the SMTP server.
- Authentication string
- Does the mail server requires authentication.
- Encryption string
- Encryption type.
- Name string
- Object name.
- Port string
- The SMTP port to use.
- Server string
- The SMTP server address.
- Username string
- A username for the SMTP server.
- authentication String
- Does the mail server requires authentication.
- encryption String
- Encryption type.
- name String
- Object name.
- port String
- The SMTP port to use.
- server String
- The SMTP server address.
- username String
- A username for the SMTP server.
- authentication string
- Does the mail server requires authentication.
- encryption string
- Encryption type.
- name string
- Object name.
- port string
- The SMTP port to use.
- server string
- The SMTP server address.
- username string
- A username for the SMTP server.
- authentication str
- Does the mail server requires authentication.
- encryption str
- Encryption type.
- name str
- Object name.
- port str
- The SMTP port to use.
- server str
- The SMTP server address.
- username str
- A username for the SMTP server.
- authentication String
- Does the mail server requires authentication.
- encryption String
- Encryption type.
- name String
- Object name.
- port String
- The SMTP port to use.
- server String
- The SMTP server address.
- username String
- A username for the SMTP server.
ManagementSmartTaskActionSendWebRequest, ManagementSmartTaskActionSendWebRequestArgs
- Fingerprint string
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- Override
Proxy bool - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- Proxy
Url string - URL of the proxy used to send the request.
- string
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- Time
Out double - Web Request time-out in seconds.
- Url string
- URL used for the web request.
- Fingerprint string
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- Override
Proxy bool - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- Proxy
Url string - URL of the proxy used to send the request.
- string
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- Time
Out float64 - Web Request time-out in seconds.
- Url string
- URL used for the web request.
- fingerprint String
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- override
Proxy Boolean - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- proxy
Url String - URL of the proxy used to send the request.
- String
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- time
Out Double - Web Request time-out in seconds.
- url String
- URL used for the web request.
- fingerprint string
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- override
Proxy boolean - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- proxy
Url string - URL of the proxy used to send the request.
- string
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- time
Out number - Web Request time-out in seconds.
- url string
- URL used for the web request.
- fingerprint str
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- override_
proxy bool - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- proxy_
url str - URL of the proxy used to send the request.
- str
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- time_
out float - Web Request time-out in seconds.
- url str
- URL used for the web request.
- fingerprint String
- The SHA1 fingerprint of the URL's SSL certificate. Used to trust servers with self-signed SSL certificates.
- override
Proxy Boolean - Option to send to the web request via a proxy other than the Management's Server proxy (if defined).
- proxy
Url String - URL of the proxy used to send the request.
- String
- Shared secret that can be used by the target server to identify the Management Server.The value will be sent as part of the request in the "X-chkp-shared-secret" header.
- time
Out Number - Web Request time-out in seconds.
- url String
- URL used for the web request.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.