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

checkpoint.getManagementAutomaticPurge

Explore with Pulumi AI

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

    Use this data source to get information on an existing Check Point Automatic Purge.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const dataAutomaticPurge = checkpoint.getManagementAutomaticPurge({});
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    data_automatic_purge = checkpoint.get_management_automatic_purge()
    
    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.GetManagementAutomaticPurge(ctx, &checkpoint.GetManagementAutomaticPurgeArgs{}, nil)
    		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 dataAutomaticPurge = Checkpoint.GetManagementAutomaticPurge.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementAutomaticPurgeArgs;
    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) {
            final var dataAutomaticPurge = CheckpointFunctions.getManagementAutomaticPurge();
    
        }
    }
    
    variables:
      dataAutomaticPurge:
        fn::invoke:
          function: checkpoint:getManagementAutomaticPurge
          arguments: {}
    

    Using getManagementAutomaticPurge

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getManagementAutomaticPurge(args: GetManagementAutomaticPurgeArgs, opts?: InvokeOptions): Promise<GetManagementAutomaticPurgeResult>
    function getManagementAutomaticPurgeOutput(args: GetManagementAutomaticPurgeOutputArgs, opts?: InvokeOptions): Output<GetManagementAutomaticPurgeResult>
    def get_management_automatic_purge(id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetManagementAutomaticPurgeResult
    def get_management_automatic_purge_output(id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetManagementAutomaticPurgeResult]
    func GetManagementAutomaticPurge(ctx *Context, args *GetManagementAutomaticPurgeArgs, opts ...InvokeOption) (*GetManagementAutomaticPurgeResult, error)
    func GetManagementAutomaticPurgeOutput(ctx *Context, args *GetManagementAutomaticPurgeOutputArgs, opts ...InvokeOption) GetManagementAutomaticPurgeResultOutput

    > Note: This function is named GetManagementAutomaticPurge in the Go SDK.

    public static class GetManagementAutomaticPurge 
    {
        public static Task<GetManagementAutomaticPurgeResult> InvokeAsync(GetManagementAutomaticPurgeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementAutomaticPurgeResult> Invoke(GetManagementAutomaticPurgeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementAutomaticPurgeResult> getManagementAutomaticPurge(GetManagementAutomaticPurgeArgs args, InvokeOptions options)
    public static Output<GetManagementAutomaticPurgeResult> getManagementAutomaticPurge(GetManagementAutomaticPurgeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementAutomaticPurge:getManagementAutomaticPurge
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getManagementAutomaticPurge Result

    The following output properties are available:

    Supporting Types

    GetManagementAutomaticPurgeScheduling

    CheckInterval double
    Number of time-units between two purge checks.
    LastCheck string
    Last time purge check was executed.
    NextCheck string
    Next time purge check will be executed.
    StartDate string
    The first time to check whether or not there are sessions to purge.
    TimeUnits string
    The time units.
    CheckInterval float64
    Number of time-units between two purge checks.
    LastCheck string
    Last time purge check was executed.
    NextCheck string
    Next time purge check will be executed.
    StartDate string
    The first time to check whether or not there are sessions to purge.
    TimeUnits string
    The time units.
    checkInterval Double
    Number of time-units between two purge checks.
    lastCheck String
    Last time purge check was executed.
    nextCheck String
    Next time purge check will be executed.
    startDate String
    The first time to check whether or not there are sessions to purge.
    timeUnits String
    The time units.
    checkInterval number
    Number of time-units between two purge checks.
    lastCheck string
    Last time purge check was executed.
    nextCheck string
    Next time purge check will be executed.
    startDate string
    The first time to check whether or not there are sessions to purge.
    timeUnits string
    The time units.
    check_interval float
    Number of time-units between two purge checks.
    last_check str
    Last time purge check was executed.
    next_check str
    Next time purge check will be executed.
    start_date str
    The first time to check whether or not there are sessions to purge.
    time_units str
    The time units.
    checkInterval Number
    Number of time-units between two purge checks.
    lastCheck String
    Last time purge check was executed.
    nextCheck String
    Next time purge check will be executed.
    startDate String
    The first time to check whether or not there are sessions to purge.
    timeUnits String
    The time units.

    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