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

checkpoint.getManagementLsvProfile

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 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:

    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.
    id string
    name string
    Object name. Should be unique in the domain.
    uid string
    Object unique identifier.
    id str
    name str
    Object name. Should be unique in the domain.
    uid str
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.

    getManagementLsvProfile Result

    The following output properties are available:

    AllowedIpAddresses List<string>
    CertificateAuthority string
    Color string
    Comments string
    Id string
    RestrictAllowedAddresses bool
    Tags List<string>
    VpnDomain Dictionary<string, string>
    Name string
    Uid string
    AllowedIpAddresses []string
    CertificateAuthority string
    Color string
    Comments string
    Id string
    RestrictAllowedAddresses bool
    Tags []string
    VpnDomain map[string]string
    Name string
    Uid string
    allowedIpAddresses List<String>
    certificateAuthority String
    color String
    comments String
    id String
    restrictAllowedAddresses Boolean
    tags List<String>
    vpnDomain Map<String,String>
    name String
    uid String
    allowedIpAddresses string[]
    certificateAuthority string
    color string
    comments string
    id string
    restrictAllowedAddresses boolean
    tags string[]
    vpnDomain {[key: string]: string}
    name string
    uid string
    allowed_ip_addresses Sequence[str]
    certificate_authority str
    color str
    comments str
    id str
    restrict_allowed_addresses bool
    tags Sequence[str]
    vpn_domain Mapping[str, str]
    name str
    uid str
    allowedIpAddresses List<String>
    certificateAuthority String
    color String
    comments String
    id String
    restrictAllowedAddresses Boolean
    tags List<String>
    vpnDomain 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 logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw