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

checkpoint.ManagementCommandImportSmartTask

Explore with Pulumi AI

Create ManagementCommandImportSmartTask Resource

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

Constructor syntax

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

@overload
def ManagementCommandImportSmartTask(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     file_path: Optional[str] = None,
                                     management_command_import_smart_task_id: Optional[str] = None)
func NewManagementCommandImportSmartTask(ctx *Context, name string, args ManagementCommandImportSmartTaskArgs, opts ...ResourceOption) (*ManagementCommandImportSmartTask, error)
public ManagementCommandImportSmartTask(string name, ManagementCommandImportSmartTaskArgs args, CustomResourceOptions? opts = null)
public ManagementCommandImportSmartTask(String name, ManagementCommandImportSmartTaskArgs args)
public ManagementCommandImportSmartTask(String name, ManagementCommandImportSmartTaskArgs args, CustomResourceOptions options)
type: checkpoint:ManagementCommandImportSmartTask
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. ManagementCommandImportSmartTaskArgs
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. ManagementCommandImportSmartTaskArgs
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. ManagementCommandImportSmartTaskArgs
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. ManagementCommandImportSmartTaskArgs
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. ManagementCommandImportSmartTaskArgs
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 managementCommandImportSmartTaskResource = new Checkpoint.ManagementCommandImportSmartTask("managementCommandImportSmartTaskResource", new()
{
    FilePath = "string",
    ManagementCommandImportSmartTaskId = "string",
});
Copy
example, err := checkpoint.NewManagementCommandImportSmartTask(ctx, "managementCommandImportSmartTaskResource", &checkpoint.ManagementCommandImportSmartTaskArgs{
FilePath: pulumi.String("string"),
ManagementCommandImportSmartTaskId: pulumi.String("string"),
})
Copy
var managementCommandImportSmartTaskResource = new ManagementCommandImportSmartTask("managementCommandImportSmartTaskResource", ManagementCommandImportSmartTaskArgs.builder()
    .filePath("string")
    .managementCommandImportSmartTaskId("string")
    .build());
Copy
management_command_import_smart_task_resource = checkpoint.ManagementCommandImportSmartTask("managementCommandImportSmartTaskResource",
    file_path="string",
    management_command_import_smart_task_id="string")
Copy
const managementCommandImportSmartTaskResource = new checkpoint.ManagementCommandImportSmartTask("managementCommandImportSmartTaskResource", {
    filePath: "string",
    managementCommandImportSmartTaskId: "string",
});
Copy
type: checkpoint:ManagementCommandImportSmartTask
properties:
    filePath: string
    managementCommandImportSmartTaskId: string
Copy

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

FilePath This property is required. string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
ManagementCommandImportSmartTaskId string
FilePath This property is required. string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
ManagementCommandImportSmartTaskId string
filePath This property is required. String
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId String
filePath This property is required. string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId string
file_path This property is required. str
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
management_command_import_smart_task_id str
filePath This property is required. String
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId String

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Message string
Operation status.
Id string
The provider-assigned unique ID for this managed resource.
Message string
Operation status.
id String
The provider-assigned unique ID for this managed resource.
message String
Operation status.
id string
The provider-assigned unique ID for this managed resource.
message string
Operation status.
id str
The provider-assigned unique ID for this managed resource.
message str
Operation status.
id String
The provider-assigned unique ID for this managed resource.
message String
Operation status.

Look up Existing ManagementCommandImportSmartTask Resource

Get an existing ManagementCommandImportSmartTask 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?: ManagementCommandImportSmartTaskState, opts?: CustomResourceOptions): ManagementCommandImportSmartTask
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        file_path: Optional[str] = None,
        management_command_import_smart_task_id: Optional[str] = None,
        message: Optional[str] = None) -> ManagementCommandImportSmartTask
func GetManagementCommandImportSmartTask(ctx *Context, name string, id IDInput, state *ManagementCommandImportSmartTaskState, opts ...ResourceOption) (*ManagementCommandImportSmartTask, error)
public static ManagementCommandImportSmartTask Get(string name, Input<string> id, ManagementCommandImportSmartTaskState? state, CustomResourceOptions? opts = null)
public static ManagementCommandImportSmartTask get(String name, Output<String> id, ManagementCommandImportSmartTaskState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementCommandImportSmartTask    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:
FilePath string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
ManagementCommandImportSmartTaskId string
Message string
Operation status.
FilePath string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
ManagementCommandImportSmartTaskId string
Message string
Operation status.
filePath String
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId String
message String
Operation status.
filePath string
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId string
message string
Operation status.
file_path str
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
management_command_import_smart_task_id str
message str
Operation status.
filePath String
Path to the SmartTask file to be imported. Should be the full file path (example, "/home/admin/exported-smart-task.txt").
managementCommandImportSmartTaskId String
message String
Operation status.

Package Details

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