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

checkpoint.getManagementVpnCommunityRemoteAccess

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    This resource allows you to execute Check Point VPN Community Remote Access.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const vpnCommunityRemoteAccess = new checkpoint.ManagementVpnCommunityRemoteAccess("vpnCommunityRemoteAccess", {userGroups: ["All Users"]});
    const dataVpnCommunityRemoteAccess = checkpoint.getManagementVpnCommunityRemoteAccessOutput({
        name: vpnCommunityRemoteAccess.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    vpn_community_remote_access = checkpoint.ManagementVpnCommunityRemoteAccess("vpnCommunityRemoteAccess", user_groups=["All Users"])
    data_vpn_community_remote_access = checkpoint.get_management_vpn_community_remote_access_output(name=vpn_community_remote_access.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 {
    		vpnCommunityRemoteAccess, err := checkpoint.NewManagementVpnCommunityRemoteAccess(ctx, "vpnCommunityRemoteAccess", &checkpoint.ManagementVpnCommunityRemoteAccessArgs{
    			UserGroups: pulumi.StringArray{
    				pulumi.String("All Users"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementVpnCommunityRemoteAccessOutput(ctx, checkpoint.GetManagementVpnCommunityRemoteAccessOutputArgs{
    			Name: vpnCommunityRemoteAccess.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var vpnCommunityRemoteAccess = new Checkpoint.ManagementVpnCommunityRemoteAccess("vpnCommunityRemoteAccess", new()
        {
            UserGroups = new[]
            {
                "All Users",
            },
        });
    
        var dataVpnCommunityRemoteAccess = Checkpoint.GetManagementVpnCommunityRemoteAccess.Invoke(new()
        {
            Name = vpnCommunityRemoteAccess.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementVpnCommunityRemoteAccess;
    import com.pulumi.checkpoint.ManagementVpnCommunityRemoteAccessArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementVpnCommunityRemoteAccessArgs;
    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 vpnCommunityRemoteAccess = new ManagementVpnCommunityRemoteAccess("vpnCommunityRemoteAccess", ManagementVpnCommunityRemoteAccessArgs.builder()
                .userGroups("All Users")
                .build());
    
            final var dataVpnCommunityRemoteAccess = CheckpointFunctions.getManagementVpnCommunityRemoteAccess(GetManagementVpnCommunityRemoteAccessArgs.builder()
                .name(vpnCommunityRemoteAccess.name())
                .build());
    
        }
    }
    
    resources:
      vpnCommunityRemoteAccess:
        type: checkpoint:ManagementVpnCommunityRemoteAccess
        properties:
          userGroups:
            - All Users
    variables:
      dataVpnCommunityRemoteAccess:
        fn::invoke:
          function: checkpoint:getManagementVpnCommunityRemoteAccess
          arguments:
            name: ${vpnCommunityRemoteAccess.name}
    

    Using getManagementVpnCommunityRemoteAccess

    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 getManagementVpnCommunityRemoteAccess(args: GetManagementVpnCommunityRemoteAccessArgs, opts?: InvokeOptions): Promise<GetManagementVpnCommunityRemoteAccessResult>
    function getManagementVpnCommunityRemoteAccessOutput(args: GetManagementVpnCommunityRemoteAccessOutputArgs, opts?: InvokeOptions): Output<GetManagementVpnCommunityRemoteAccessResult>
    def get_management_vpn_community_remote_access(id: Optional[str] = None,
                                                   name: Optional[str] = None,
                                                   uid: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetManagementVpnCommunityRemoteAccessResult
    def get_management_vpn_community_remote_access_output(id: Optional[pulumi.Input[str]] = None,
                                                   name: Optional[pulumi.Input[str]] = None,
                                                   uid: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetManagementVpnCommunityRemoteAccessResult]
    func LookupManagementVpnCommunityRemoteAccess(ctx *Context, args *LookupManagementVpnCommunityRemoteAccessArgs, opts ...InvokeOption) (*LookupManagementVpnCommunityRemoteAccessResult, error)
    func LookupManagementVpnCommunityRemoteAccessOutput(ctx *Context, args *LookupManagementVpnCommunityRemoteAccessOutputArgs, opts ...InvokeOption) LookupManagementVpnCommunityRemoteAccessResultOutput

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

    public static class GetManagementVpnCommunityRemoteAccess 
    {
        public static Task<GetManagementVpnCommunityRemoteAccessResult> InvokeAsync(GetManagementVpnCommunityRemoteAccessArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementVpnCommunityRemoteAccessResult> Invoke(GetManagementVpnCommunityRemoteAccessInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementVpnCommunityRemoteAccessResult> getManagementVpnCommunityRemoteAccess(GetManagementVpnCommunityRemoteAccessArgs args, InvokeOptions options)
    public static Output<GetManagementVpnCommunityRemoteAccessResult> getManagementVpnCommunityRemoteAccess(GetManagementVpnCommunityRemoteAccessArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementVpnCommunityRemoteAccess:getManagementVpnCommunityRemoteAccess
      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.

    getManagementVpnCommunityRemoteAccess Result

    The following output properties are available:

    Color string
    Comments string
    Gateways List<string>
    Id string
    Tags List<string>
    UserGroups List<string>
    Name string
    Uid string
    Color string
    Comments string
    Gateways []string
    Id string
    Tags []string
    UserGroups []string
    Name string
    Uid string
    color String
    comments String
    gateways List<String>
    id String
    tags List<String>
    userGroups List<String>
    name String
    uid String
    color string
    comments string
    gateways string[]
    id string
    tags string[]
    userGroups string[]
    name string
    uid string
    color str
    comments str
    gateways Sequence[str]
    id str
    tags Sequence[str]
    user_groups Sequence[str]
    name str
    uid str
    color String
    comments String
    gateways List<String>
    id String
    tags List<String>
    userGroups List<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