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

checkpoint.getManagementTime

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 Time.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementTime("example", {});
    const dataTime = checkpoint.getManagementTimeOutput({
        name: example.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementTime("example")
    data_time = checkpoint.get_management_time_output(name=example.name)
    
    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 {
    		example, err := checkpoint.NewManagementTime(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementTimeOutput(ctx, checkpoint.GetManagementTimeOutputArgs{
    			Name: example.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementTime("example");
    
        var dataTime = Checkpoint.GetManagementTime.Invoke(new()
        {
            Name = example.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementTime;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementTimeArgs;
    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) {
            var example = new ManagementTime("example");
    
            final var dataTime = CheckpointFunctions.getManagementTime(GetManagementTimeArgs.builder()
                .name(example.name())
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementTime
    variables:
      dataTime:
        fn::invoke:
          function: checkpoint:getManagementTime
          arguments:
            name: ${example.name}
    

    Using getManagementTime

    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 getManagementTime(args: GetManagementTimeArgs, opts?: InvokeOptions): Promise<GetManagementTimeResult>
    function getManagementTimeOutput(args: GetManagementTimeOutputArgs, opts?: InvokeOptions): Output<GetManagementTimeResult>
    def get_management_time(id: Optional[str] = None,
                            name: Optional[str] = None,
                            uid: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetManagementTimeResult
    def get_management_time_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            uid: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetManagementTimeResult]
    func LookupManagementTime(ctx *Context, args *LookupManagementTimeArgs, opts ...InvokeOption) (*LookupManagementTimeResult, error)
    func LookupManagementTimeOutput(ctx *Context, args *LookupManagementTimeOutputArgs, opts ...InvokeOption) LookupManagementTimeResultOutput

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

    public static class GetManagementTime 
    {
        public static Task<GetManagementTimeResult> InvokeAsync(GetManagementTimeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementTimeResult> Invoke(GetManagementTimeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementTimeResult> getManagementTime(GetManagementTimeArgs args, InvokeOptions options)
    public static Output<GetManagementTimeResult> getManagementTime(GetManagementTimeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementTime:getManagementTime
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name.
    Uid string
    Object unique identifier.
    Id string
    Name string
    Object name.
    Uid string
    Object unique identifier.
    id String
    name String
    Object name.
    uid String
    Object unique identifier.
    id string
    name string
    Object name.
    uid string
    Object unique identifier.
    id str
    name str
    Object name.
    uid str
    Object unique identifier.
    id String
    name String
    Object name.
    uid String
    Object unique identifier.

    getManagementTime Result

    The following output properties are available:

    Color string
    Comments string
    End Dictionary<string, string>
    EndNever bool
    HourRanges List<GetManagementTimeHourRange>
    Id string
    Recurrences List<GetManagementTimeRecurrence>
    Start Dictionary<string, string>
    StartNow bool
    Tags List<string>
    Name string
    Uid string
    Color string
    Comments string
    End map[string]string
    EndNever bool
    HourRanges []GetManagementTimeHourRange
    Id string
    Recurrences []GetManagementTimeRecurrence
    Start map[string]string
    StartNow bool
    Tags []string
    Name string
    Uid string
    color String
    comments String
    end Map<String,String>
    endNever Boolean
    hourRanges List<GetManagementTimeHourRange>
    id String
    recurrences List<GetManagementTimeRecurrence>
    start Map<String,String>
    startNow Boolean
    tags List<String>
    name String
    uid String
    color string
    comments string
    end {[key: string]: string}
    endNever boolean
    hourRanges GetManagementTimeHourRange[]
    id string
    recurrences GetManagementTimeRecurrence[]
    start {[key: string]: string}
    startNow boolean
    tags string[]
    name string
    uid string
    color String
    comments String
    end Map<String>
    endNever Boolean
    hourRanges List<Property Map>
    id String
    recurrences List<Property Map>
    start Map<String>
    startNow Boolean
    tags List<String>
    name String
    uid String

    Supporting Types

    GetManagementTimeHourRange

    Enabled bool
    From string
    Index double
    To string
    Enabled bool
    From string
    Index float64
    To string
    enabled Boolean
    from String
    index Double
    to String
    enabled boolean
    from string
    index number
    to string
    enabled bool
    from_ str
    index float
    to str
    enabled Boolean
    from String
    index Number
    to String

    GetManagementTimeRecurrence

    Days List<string>
    Month string
    Pattern string
    Weekdays List<string>
    Days []string
    Month string
    Pattern string
    Weekdays []string
    days List<String>
    month String
    pattern String
    weekdays List<String>
    days string[]
    month string
    pattern string
    weekdays string[]
    days Sequence[str]
    month str
    pattern str
    weekdays Sequence[str]
    days List<String>
    month String
    pattern String
    weekdays List<String>

    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