checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementAutomaticPurge
Explore with Pulumi AI
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:
- Enabled bool
- Id string
- Keep
Sessions boolBy Count - Keep
Sessions boolBy Days - Number
Of doubleDays To Keep - Number
Of doubleSessions To Keep - Schedulings
List<Get
Management Automatic Purge Scheduling>
- Enabled bool
- Id string
- Keep
Sessions boolBy Count - Keep
Sessions boolBy Days - Number
Of float64Days To Keep - Number
Of float64Sessions To Keep - Schedulings
[]Get
Management Automatic Purge Scheduling
- enabled Boolean
- id String
- keep
Sessions BooleanBy Count - keep
Sessions BooleanBy Days - number
Of DoubleDays To Keep - number
Of DoubleSessions To Keep - schedulings
List<Get
Management Automatic Purge Scheduling>
- enabled boolean
- id string
- keep
Sessions booleanBy Count - keep
Sessions booleanBy Days - number
Of numberDays To Keep - number
Of numberSessions To Keep - schedulings
Get
Management Automatic Purge Scheduling[]
- enabled Boolean
- id String
- keep
Sessions BooleanBy Count - keep
Sessions BooleanBy Days - number
Of NumberDays To Keep - number
Of NumberSessions To Keep - schedulings List<Property Map>
Supporting Types
GetManagementAutomaticPurgeScheduling
- Check
Interval double - Number of time-units between two purge checks.
- Last
Check string - Last time purge check was executed.
- Next
Check string - Next time purge check will be executed.
- Start
Date string - The first time to check whether or not there are sessions to purge.
- Time
Units string - The time units.
- Check
Interval float64 - Number of time-units between two purge checks.
- Last
Check string - Last time purge check was executed.
- Next
Check string - Next time purge check will be executed.
- Start
Date string - The first time to check whether or not there are sessions to purge.
- Time
Units string - The time units.
- check
Interval Double - Number of time-units between two purge checks.
- last
Check String - Last time purge check was executed.
- next
Check String - Next time purge check will be executed.
- start
Date String - The first time to check whether or not there are sessions to purge.
- time
Units String - The time units.
- check
Interval number - Number of time-units between two purge checks.
- last
Check string - Last time purge check was executed.
- next
Check string - Next time purge check will be executed.
- start
Date string - The first time to check whether or not there are sessions to purge.
- time
Units 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.
- check
Interval Number - Number of time-units between two purge checks.
- last
Check String - Last time purge check was executed.
- next
Check String - Next time purge check will be executed.
- start
Date String - The first time to check whether or not there are sessions to purge.
- time
Units 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 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw