checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementUserTemplate
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 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("userTemplate", {
expirationByGlobalProperties: false,
expirationDate: "2030-12-31",
});
const testUserTemplate = checkpoint.getManagementUserTemplateOutput({
name: userTemplate.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
user_template = checkpoint.ManagementUserTemplate("userTemplate",
expiration_by_global_properties=False,
expiration_date="2030-12-31")
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/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
userTemplate, err := checkpoint.NewManagementUserTemplate(ctx, "userTemplate", &checkpoint.ManagementUserTemplateArgs{
ExpirationByGlobalProperties: pulumi.Bool(false),
ExpirationDate: pulumi.String("2030-12-31"),
})
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("userTemplate", new()
{
ExpirationByGlobalProperties = false,
ExpirationDate = "2030-12-31",
});
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()
.expirationByGlobalProperties(false)
.expirationDate("2030-12-31")
.build());
final var testUserTemplate = CheckpointFunctions.getManagementUserTemplate(GetManagementUserTemplateArgs.builder()
.name(userTemplate.name())
.build());
}
}
resources:
userTemplate:
type: checkpoint:ManagementUserTemplate
properties:
expirationByGlobalProperties: false
expirationDate: 2030-12-31
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: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[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:
getManagementUserTemplate Result
The following output properties are available:
- Allowed
Locations Dictionary<string, string> - Authentication
Method string - Color string
- Comments string
- Connect
Daily bool - Connect
On List<string>Days - Encryption Dictionary<string, string>
- Expiration
By boolGlobal Properties - Expiration
Date string - From
Hour string - Id string
- Radius
Server string - Tacacs
Server string - List<string>
- To
Hour string - Name string
- Uid string
- Allowed
Locations map[string]string - Authentication
Method string - Color string
- Comments string
- Connect
Daily bool - Connect
On []stringDays - Encryption map[string]string
- Expiration
By boolGlobal Properties - Expiration
Date string - From
Hour string - Id string
- Radius
Server string - Tacacs
Server string - []string
- To
Hour string - Name string
- Uid string
- allowed
Locations Map<String,String> - authentication
Method String - color String
- comments String
- connect
Daily Boolean - connect
On List<String>Days - encryption Map<String,String>
- expiration
By BooleanGlobal Properties - expiration
Date String - from
Hour String - id String
- radius
Server String - tacacs
Server String - List<String>
- to
Hour String - name String
- uid String
- allowed
Locations {[key: string]: string} - authentication
Method string - color string
- comments string
- connect
Daily boolean - connect
On string[]Days - encryption {[key: string]: string}
- expiration
By booleanGlobal Properties - expiration
Date string - from
Hour string - id string
- radius
Server string - tacacs
Server string - string[]
- to
Hour string - name string
- uid string
- allowed_
locations Mapping[str, str] - authentication_
method str - color str
- comments str
- connect_
daily bool - connect_
on_ Sequence[str]days - encryption Mapping[str, str]
- expiration_
by_ boolglobal_ properties - expiration_
date str - from_
hour str - id str
- radius_
server str - tacacs_
server str - Sequence[str]
- to_
hour str - name str
- uid str
- allowed
Locations Map<String> - authentication
Method String - color String
- comments String
- connect
Daily Boolean - connect
On List<String>Days - encryption Map<String>
- expiration
By BooleanGlobal Properties - expiration
Date String - from
Hour String - id String
- radius
Server String - tacacs
Server String - List<String>
- to
Hour String - name String
- uid String
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