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

checkpoint.ManagementCommandExportSmartTask

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    Create ManagementCommandExportSmartTask Resource

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

    Constructor syntax

    new ManagementCommandExportSmartTask(name: string, args?: ManagementCommandExportSmartTaskArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementCommandExportSmartTask(resource_name: str,
                                         args: Optional[ManagementCommandExportSmartTaskArgs] = None,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementCommandExportSmartTask(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         file_path: Optional[str] = None,
                                         management_command_export_smart_task_id: Optional[str] = None,
                                         name: Optional[str] = None)
    func NewManagementCommandExportSmartTask(ctx *Context, name string, args *ManagementCommandExportSmartTaskArgs, opts ...ResourceOption) (*ManagementCommandExportSmartTask, error)
    public ManagementCommandExportSmartTask(string name, ManagementCommandExportSmartTaskArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementCommandExportSmartTask(String name, ManagementCommandExportSmartTaskArgs args)
    public ManagementCommandExportSmartTask(String name, ManagementCommandExportSmartTaskArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementCommandExportSmartTask
    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 ManagementCommandExportSmartTaskArgs
    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 ManagementCommandExportSmartTaskArgs
    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 ManagementCommandExportSmartTaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementCommandExportSmartTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementCommandExportSmartTaskArgs
    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 managementCommandExportSmartTaskResource = new Checkpoint.ManagementCommandExportSmartTask("managementCommandExportSmartTaskResource", new()
    {
        FilePath = "string",
        ManagementCommandExportSmartTaskId = "string",
        Name = "string",
    });
    
    example, err := checkpoint.NewManagementCommandExportSmartTask(ctx, "managementCommandExportSmartTaskResource", &checkpoint.ManagementCommandExportSmartTaskArgs{
    	FilePath:                           pulumi.String("string"),
    	ManagementCommandExportSmartTaskId: pulumi.String("string"),
    	Name:                               pulumi.String("string"),
    })
    
    var managementCommandExportSmartTaskResource = new ManagementCommandExportSmartTask("managementCommandExportSmartTaskResource", ManagementCommandExportSmartTaskArgs.builder()
        .filePath("string")
        .managementCommandExportSmartTaskId("string")
        .name("string")
        .build());
    
    management_command_export_smart_task_resource = checkpoint.ManagementCommandExportSmartTask("managementCommandExportSmartTaskResource",
        file_path="string",
        management_command_export_smart_task_id="string",
        name="string")
    
    const managementCommandExportSmartTaskResource = new checkpoint.ManagementCommandExportSmartTask("managementCommandExportSmartTaskResource", {
        filePath: "string",
        managementCommandExportSmartTaskId: "string",
        name: "string",
    });
    
    type: checkpoint:ManagementCommandExportSmartTask
    properties:
        filePath: string
        managementCommandExportSmartTaskId: string
        name: string
    

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

    FilePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    ManagementCommandExportSmartTaskId string
    Name string
    Name of task to be exported.
    FilePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    ManagementCommandExportSmartTaskId string
    Name string
    Name of task to be exported.
    filePath String
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId String
    name String
    Name of task to be exported.
    filePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId string
    name string
    Name of task to be exported.
    file_path str
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    management_command_export_smart_task_id str
    name str
    Name of task to be exported.
    filePath String
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId String
    name String
    Name of task to be exported.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementCommandExportSmartTask 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 ManagementCommandExportSmartTask Resource

    Get an existing ManagementCommandExportSmartTask 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?: ManagementCommandExportSmartTaskState, opts?: CustomResourceOptions): ManagementCommandExportSmartTask
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            file_path: Optional[str] = None,
            management_command_export_smart_task_id: Optional[str] = None,
            name: Optional[str] = None) -> ManagementCommandExportSmartTask
    func GetManagementCommandExportSmartTask(ctx *Context, name string, id IDInput, state *ManagementCommandExportSmartTaskState, opts ...ResourceOption) (*ManagementCommandExportSmartTask, error)
    public static ManagementCommandExportSmartTask Get(string name, Input<string> id, ManagementCommandExportSmartTaskState? state, CustomResourceOptions? opts = null)
    public static ManagementCommandExportSmartTask get(String name, Output<String> id, ManagementCommandExportSmartTaskState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementCommandExportSmartTask    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.
    The following state arguments are supported:
    FilePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    ManagementCommandExportSmartTaskId string
    Name string
    Name of task to be exported.
    FilePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    ManagementCommandExportSmartTaskId string
    Name string
    Name of task to be exported.
    filePath String
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId String
    name String
    Name of task to be exported.
    filePath string
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId string
    name string
    Name of task to be exported.
    file_path str
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    management_command_export_smart_task_id str
    name str
    Name of task to be exported.
    filePath String
    Path to the SmartTask file to be exported. Should be the full file path (example, "/home/admin/exported-smart-task.txt)".If no path was inserted the default will be: "/var/log/<task_name>.txt".
    managementCommandExportSmartTaskId String
    name String
    Name of task to be exported.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw