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

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({});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

data_automatic_purge = checkpoint.get_management_automatic_purge()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var dataAutomaticPurge = Checkpoint.GetManagementAutomaticPurge.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  dataAutomaticPurge:
    fn::invoke:
      function: checkpoint:getManagementAutomaticPurge
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetManagementAutomaticPurge(ctx *Context, args *GetManagementAutomaticPurgeArgs, opts ...InvokeOption) (*GetManagementAutomaticPurgeResult, error)
func GetManagementAutomaticPurgeOutput(ctx *Context, args *GetManagementAutomaticPurgeOutputArgs, opts ...InvokeOption) GetManagementAutomaticPurgeResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetManagementAutomaticPurgeResult> getManagementAutomaticPurge(GetManagementAutomaticPurgeArgs args, InvokeOptions options)
public static Output<GetManagementAutomaticPurgeResult> getManagementAutomaticPurge(GetManagementAutomaticPurgeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementAutomaticPurge:getManagementAutomaticPurge
  arguments:
    # arguments dictionary
Copy

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

Package Details

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