checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementLsvProfile
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 Lsv Profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const lsvProfile = new checkpoint.ManagementLsvProfile("lsvProfile", {certificateAuthority: "internal_ca"});
const dataLsvProfile = checkpoint.getManagementLsvProfileOutput({
name: lsvProfile.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
lsv_profile = checkpoint.ManagementLsvProfile("lsvProfile", certificate_authority="internal_ca")
data_lsv_profile = checkpoint.get_management_lsv_profile_output(name=lsv_profile.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 {
lsvProfile, err := checkpoint.NewManagementLsvProfile(ctx, "lsvProfile", &checkpoint.ManagementLsvProfileArgs{
CertificateAuthority: pulumi.String("internal_ca"),
})
if err != nil {
return err
}
_ = checkpoint.LookupManagementLsvProfileOutput(ctx, checkpoint.GetManagementLsvProfileOutputArgs{
Name: lsvProfile.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var lsvProfile = new Checkpoint.ManagementLsvProfile("lsvProfile", new()
{
CertificateAuthority = "internal_ca",
});
var dataLsvProfile = Checkpoint.GetManagementLsvProfile.Invoke(new()
{
Name = lsvProfile.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementLsvProfile;
import com.pulumi.checkpoint.ManagementLsvProfileArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementLsvProfileArgs;
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 lsvProfile = new ManagementLsvProfile("lsvProfile", ManagementLsvProfileArgs.builder()
.certificateAuthority("internal_ca")
.build());
final var dataLsvProfile = CheckpointFunctions.getManagementLsvProfile(GetManagementLsvProfileArgs.builder()
.name(lsvProfile.name())
.build());
}
}
resources:
lsvProfile:
type: checkpoint:ManagementLsvProfile
properties:
certificateAuthority: internal_ca
variables:
dataLsvProfile:
fn::invoke:
function: checkpoint:getManagementLsvProfile
arguments:
name: ${lsvProfile.name}
Using getManagementLsvProfile
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 getManagementLsvProfile(args: GetManagementLsvProfileArgs, opts?: InvokeOptions): Promise<GetManagementLsvProfileResult>
function getManagementLsvProfileOutput(args: GetManagementLsvProfileOutputArgs, opts?: InvokeOptions): Output<GetManagementLsvProfileResult>
def get_management_lsv_profile(id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementLsvProfileResult
def get_management_lsv_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementLsvProfileResult]
func LookupManagementLsvProfile(ctx *Context, args *LookupManagementLsvProfileArgs, opts ...InvokeOption) (*LookupManagementLsvProfileResult, error)
func LookupManagementLsvProfileOutput(ctx *Context, args *LookupManagementLsvProfileOutputArgs, opts ...InvokeOption) LookupManagementLsvProfileResultOutput
> Note: This function is named LookupManagementLsvProfile
in the Go SDK.
public static class GetManagementLsvProfile
{
public static Task<GetManagementLsvProfileResult> InvokeAsync(GetManagementLsvProfileArgs args, InvokeOptions? opts = null)
public static Output<GetManagementLsvProfileResult> Invoke(GetManagementLsvProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementLsvProfileResult> getManagementLsvProfile(GetManagementLsvProfileArgs args, InvokeOptions options)
public static Output<GetManagementLsvProfileResult> getManagementLsvProfile(GetManagementLsvProfileArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementLsvProfile:getManagementLsvProfile
arguments:
# arguments dictionary
The following arguments are supported:
getManagementLsvProfile Result
The following output properties are available:
- Allowed
Ip List<string>Addresses - string
- Color string
- Comments string
- Id string
- Restrict
Allowed boolAddresses - List<string>
- Vpn
Domain Dictionary<string, string> - Name string
- Uid string
- Allowed
Ip []stringAddresses - string
- Color string
- Comments string
- Id string
- Restrict
Allowed boolAddresses - []string
- Vpn
Domain map[string]string - Name string
- Uid string
- allowed
Ip List<String>Addresses - String
- color String
- comments String
- id String
- restrict
Allowed BooleanAddresses - List<String>
- vpn
Domain Map<String,String> - name String
- uid String
- allowed
Ip string[]Addresses - string
- color string
- comments string
- id string
- restrict
Allowed booleanAddresses - string[]
- vpn
Domain {[key: string]: string} - name string
- uid string
- allowed_
ip_ Sequence[str]addresses - str
- color str
- comments str
- id str
- restrict_
allowed_ booladdresses - Sequence[str]
- vpn_
domain Mapping[str, str] - name str
- uid str
- allowed
Ip List<String>Addresses - String
- color String
- comments String
- id String
- restrict
Allowed BooleanAddresses - List<String>
- vpn
Domain Map<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