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 string
- The unique name of the resource.
- args ManagementLsmRunScriptArgs
- 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 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 string
- The unique name of the resource.
- args ManagementLsmRunScriptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementLsmRunScriptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var managementLsmRunScriptResource = new ManagementLsmRunScript("managementLsmRunScriptResource", ManagementLsmRunScriptArgs.builder()
.targets("string")
.managementLsmRunScriptId("string")
.script("string")
.scriptBase64("string")
.build());
management_lsm_run_script_resource = checkpoint.ManagementLsmRunScript("managementLsmRunScriptResource",
targets=["string"],
management_lsm_run_script_id="string",
script="string",
script_base64="string")
const managementLsmRunScriptResource = new checkpoint.ManagementLsmRunScript("managementLsmRunScriptResource", {
targets: ["string"],
managementLsmRunScriptId: "string",
script: "string",
scriptBase64: "string",
});
type: checkpoint:ManagementLsmRunScript
properties:
managementLsmRunScriptId: string
script: string
scriptBase64: string
targets:
- string
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 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.
- Management
Lsm stringRun Script Id - Script string
- The entire content of the script.
- Script
Base64 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.
- Management
Lsm stringRun Script Id - Script string
- The entire content of the script.
- Script
Base64 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.
- management
Lsm StringRun Script Id - script String
- The entire content of the script.
- script
Base64 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.
- management
Lsm stringRun Script Id - script string
- The entire content of the script.
- script
Base64 string - 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.
- management_
lsm_ strrun_ script_ id - script str
- The entire content of the script.
- script_
base64 str - 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.
- management
Lsm StringRun Script Id - script String
- The entire content of the script.
- script
Base64 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:
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
- 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.
- Management
Lsm stringRun Script Id - Script string
- The entire content of the script.
- Script
Base64 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.
- Task
Id string - Command asynchronous task unique identifier.
- Management
Lsm stringRun Script Id - Script string
- The entire content of the script.
- Script
Base64 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.
- Task
Id string - Command asynchronous task unique identifier.
- management
Lsm StringRun Script Id - script String
- The entire content of the script.
- script
Base64 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.
- task
Id String - Command asynchronous task unique identifier.
- management
Lsm stringRun Script Id - script string
- The entire content of the script.
- script
Base64 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.
- task
Id string - Command asynchronous task unique identifier.
- management_
lsm_ strrun_ script_ id - 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.
- management
Lsm StringRun Script Id - script String
- The entire content of the script.
- script
Base64 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.
- task
Id 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.