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

checkpoint.ManagementLsmRunScript

Explore with Pulumi AI

Create ManagementLsmRunScript Resource

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

Constructor syntax

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

@overload
def ManagementLsmRunScript(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           targets: Optional[Sequence[str]] = None,
                           management_lsm_run_script_id: Optional[str] = None,
                           script: Optional[str] = None,
                           script_base64: Optional[str] = None)
func NewManagementLsmRunScript(ctx *Context, name string, args ManagementLsmRunScriptArgs, opts ...ResourceOption) (*ManagementLsmRunScript, error)
public ManagementLsmRunScript(string name, ManagementLsmRunScriptArgs args, CustomResourceOptions? opts = null)
public ManagementLsmRunScript(String name, ManagementLsmRunScriptArgs args)
public ManagementLsmRunScript(String name, ManagementLsmRunScriptArgs args, CustomResourceOptions options)
type: checkpoint:ManagementLsmRunScript
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 This property is required. ManagementLsmRunScriptArgs
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 This property is required. ManagementLsmRunScriptArgs
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 This property is required. ManagementLsmRunScriptArgs
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 This property is required. ManagementLsmRunScriptArgs
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. ManagementLsmRunScriptArgs
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 managementLsmRunScriptResource = new Checkpoint.ManagementLsmRunScript("managementLsmRunScriptResource", new()
{
    Targets = new[]
    {
        "string",
    },
    ManagementLsmRunScriptId = "string",
    Script = "string",
    ScriptBase64 = "string",
});
Copy
example, err := checkpoint.NewManagementLsmRunScript(ctx, "managementLsmRunScriptResource", &checkpoint.ManagementLsmRunScriptArgs{
	Targets: pulumi.StringArray{
		pulumi.String("string"),
	},
	ManagementLsmRunScriptId: pulumi.String("string"),
	Script:                   pulumi.String("string"),
	ScriptBase64:             pulumi.String("string"),
})
Copy
var managementLsmRunScriptResource = new ManagementLsmRunScript("managementLsmRunScriptResource", ManagementLsmRunScriptArgs.builder()
    .targets("string")
    .managementLsmRunScriptId("string")
    .script("string")
    .scriptBase64("string")
    .build());
Copy
management_lsm_run_script_resource = checkpoint.ManagementLsmRunScript("managementLsmRunScriptResource",
    targets=["string"],
    management_lsm_run_script_id="string",
    script="string",
    script_base64="string")
Copy
const managementLsmRunScriptResource = new checkpoint.ManagementLsmRunScript("managementLsmRunScriptResource", {
    targets: ["string"],
    managementLsmRunScriptId: "string",
    script: "string",
    scriptBase64: "string",
});
Copy
type: checkpoint:ManagementLsmRunScript
properties:
    managementLsmRunScriptId: string
    script: string
    scriptBase64: string
    targets:
        - string
Copy

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

Targets This property is required. List<string>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
ManagementLsmRunScriptId string
Script string
The entire content of the script.
ScriptBase64 string
The entire content of the script encoded in Base64.
Targets This property is required. []string
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
ManagementLsmRunScriptId string
Script string
The entire content of the script.
ScriptBase64 string
The entire content of the script encoded in Base64.
targets This property is required. List<String>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
managementLsmRunScriptId String
script String
The entire content of the script.
scriptBase64 String
The entire content of the script encoded in Base64.
targets This property is required. string[]
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
managementLsmRunScriptId string
script string
The entire content of the script.
scriptBase64 string
The entire content of the script encoded in Base64.
targets This property is required. Sequence[str]
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
management_lsm_run_script_id str
script str
The entire content of the script.
script_base64 str
The entire content of the script encoded in Base64.
targets This property is required. List<String>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
managementLsmRunScriptId String
script String
The entire content of the script.
scriptBase64 String
The entire content of the script encoded in Base64.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Command asynchronous task unique identifier.
Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Command asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Command asynchronous task unique identifier.
id string
The provider-assigned unique ID for this managed resource.
taskId string
Command asynchronous task unique identifier.
id str
The provider-assigned unique ID for this managed resource.
task_id str
Command asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Command asynchronous task unique identifier.

Look up Existing ManagementLsmRunScript Resource

Get an existing ManagementLsmRunScript 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?: ManagementLsmRunScriptState, opts?: CustomResourceOptions): ManagementLsmRunScript
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        management_lsm_run_script_id: Optional[str] = None,
        script: Optional[str] = None,
        script_base64: Optional[str] = None,
        targets: Optional[Sequence[str]] = None,
        task_id: Optional[str] = None) -> ManagementLsmRunScript
func GetManagementLsmRunScript(ctx *Context, name string, id IDInput, state *ManagementLsmRunScriptState, opts ...ResourceOption) (*ManagementLsmRunScript, error)
public static ManagementLsmRunScript Get(string name, Input<string> id, ManagementLsmRunScriptState? state, CustomResourceOptions? opts = null)
public static ManagementLsmRunScript get(String name, Output<String> id, ManagementLsmRunScriptState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementLsmRunScript    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:
ManagementLsmRunScriptId string
Script string
The entire content of the script.
ScriptBase64 string
The entire content of the script encoded in Base64.
Targets List<string>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
TaskId string
Command asynchronous task unique identifier.
ManagementLsmRunScriptId string
Script string
The entire content of the script.
ScriptBase64 string
The entire content of the script encoded in Base64.
Targets []string
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
TaskId string
Command asynchronous task unique identifier.
managementLsmRunScriptId String
script String
The entire content of the script.
scriptBase64 String
The entire content of the script encoded in Base64.
targets List<String>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
taskId String
Command asynchronous task unique identifier.
managementLsmRunScriptId string
script string
The entire content of the script.
scriptBase64 string
The entire content of the script encoded in Base64.
targets string[]
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
taskId string
Command asynchronous task unique identifier.
management_lsm_run_script_id str
script str
The entire content of the script.
script_base64 str
The entire content of the script encoded in Base64.
targets Sequence[str]
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
task_id str
Command asynchronous task unique identifier.
managementLsmRunScriptId String
script String
The entire content of the script.
scriptBase64 String
The entire content of the script encoded in Base64.
targets List<String>
On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
taskId String
Command asynchronous task unique identifier.

Package Details

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