1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. getManagementUserTemplate
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw

    This resource allows you to execute Check Point User Template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const userTemplate = new checkpoint.ManagementUserTemplate("user_template", {
        name: "my template",
        expirationDate: "2030-12-31",
        expirationByGlobalProperties: false,
    });
    const testUserTemplate = checkpoint.getManagementUserTemplateOutput({
        name: userTemplate.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    user_template = checkpoint.ManagementUserTemplate("user_template",
        name="my template",
        expiration_date="2030-12-31",
        expiration_by_global_properties=False)
    test_user_template = checkpoint.get_management_user_template_output(name=user_template.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		userTemplate, err := checkpoint.NewManagementUserTemplate(ctx, "user_template", &checkpoint.ManagementUserTemplateArgs{
    			Name:                         pulumi.String("my template"),
    			ExpirationDate:               pulumi.String("2030-12-31"),
    			ExpirationByGlobalProperties: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementUserTemplateOutput(ctx, checkpoint.GetManagementUserTemplateOutputArgs{
    			Name: userTemplate.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var userTemplate = new Checkpoint.ManagementUserTemplate("user_template", new()
        {
            Name = "my template",
            ExpirationDate = "2030-12-31",
            ExpirationByGlobalProperties = false,
        });
    
        var testUserTemplate = Checkpoint.GetManagementUserTemplate.Invoke(new()
        {
            Name = userTemplate.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementUserTemplate;
    import com.pulumi.checkpoint.ManagementUserTemplateArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementUserTemplateArgs;
    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 userTemplate = new ManagementUserTemplate("userTemplate", ManagementUserTemplateArgs.builder()
                .name("my template")
                .expirationDate("2030-12-31")
                .expirationByGlobalProperties(false)
                .build());
    
            final var testUserTemplate = CheckpointFunctions.getManagementUserTemplate(GetManagementUserTemplateArgs.builder()
                .name(userTemplate.name())
                .build());
    
        }
    }
    
    resources:
      userTemplate:
        type: checkpoint:ManagementUserTemplate
        name: user_template
        properties:
          name: my template
          expirationDate: 2030-12-31
          expirationByGlobalProperties: false
    variables:
      testUserTemplate:
        fn::invoke:
          function: checkpoint:getManagementUserTemplate
          arguments:
            name: ${userTemplate.name}
    

    Using getManagementUserTemplate

    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 getManagementUserTemplate(args: GetManagementUserTemplateArgs, opts?: InvokeOptions): Promise<GetManagementUserTemplateResult>
    function getManagementUserTemplateOutput(args: GetManagementUserTemplateOutputArgs, opts?: InvokeOptions): Output<GetManagementUserTemplateResult>
    def get_management_user_template(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     uid: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetManagementUserTemplateResult
    def get_management_user_template_output(id: pulumi.Input[Optional[str]] = None,
                                     name: pulumi.Input[Optional[str]] = None,
                                     uid: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagementUserTemplateResult]
    func LookupManagementUserTemplate(ctx *Context, args *LookupManagementUserTemplateArgs, opts ...InvokeOption) (*LookupManagementUserTemplateResult, error)
    func LookupManagementUserTemplateOutput(ctx *Context, args *LookupManagementUserTemplateOutputArgs, opts ...InvokeOption) LookupManagementUserTemplateResultOutput

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

    public static class GetManagementUserTemplate 
    {
        public static Task<GetManagementUserTemplateResult> InvokeAsync(GetManagementUserTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementUserTemplateResult> Invoke(GetManagementUserTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementUserTemplateResult> getManagementUserTemplate(GetManagementUserTemplateArgs args, InvokeOptions options)
    public static Output<GetManagementUserTemplateResult> getManagementUserTemplate(GetManagementUserTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementUserTemplate:getManagementUserTemplate
      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.

    getManagementUserTemplate Result

    The following output properties are available:

    Supporting Types

    GetManagementUserTemplateAllowedLocation

    Destinations List<string>
    Collection of allowed destination locations name or uid.
    Sources List<string>
    Collection of allowed source locations name or uid.
    Destinations []string
    Collection of allowed destination locations name or uid.
    Sources []string
    Collection of allowed source locations name or uid.
    destinations List<String>
    Collection of allowed destination locations name or uid.
    sources List<String>
    Collection of allowed source locations name or uid.
    destinations string[]
    Collection of allowed destination locations name or uid.
    sources string[]
    Collection of allowed source locations name or uid.
    destinations Sequence[str]
    Collection of allowed destination locations name or uid.
    sources Sequence[str]
    Collection of allowed source locations name or uid.
    destinations List<String>
    Collection of allowed destination locations name or uid.
    sources List<String>
    Collection of allowed source locations name or uid.

    GetManagementUserTemplateEncryption

    EnableIke bool
    Enable IKE encryption for users.
    EnablePublicKey bool
    Enable IKE public key.
    EnableSharedSecret bool
    Enable IKE shared secret.
    EnableIke bool
    Enable IKE encryption for users.
    EnablePublicKey bool
    Enable IKE public key.
    EnableSharedSecret bool
    Enable IKE shared secret.
    enableIke Boolean
    Enable IKE encryption for users.
    enablePublicKey Boolean
    Enable IKE public key.
    enableSharedSecret Boolean
    Enable IKE shared secret.
    enableIke boolean
    Enable IKE encryption for users.
    enablePublicKey boolean
    Enable IKE public key.
    enableSharedSecret boolean
    Enable IKE shared secret.
    enable_ike bool
    Enable IKE encryption for users.
    enable_public_key bool
    Enable IKE public key.
    enable_shared_secret bool
    Enable IKE shared secret.
    enableIke Boolean
    Enable IKE encryption for users.
    enablePublicKey Boolean
    Enable IKE public key.
    enableSharedSecret Boolean
    Enable IKE shared secret.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    Viewing docs for checkpoint 3.0.0
    published on Monday, Mar 30, 2026 by checkpointsw
      Try Pulumi Cloud free. Your team will thank you.