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

checkpoint.getManagementAccessPointName

Explore with Pulumi AI

This resource allows you to execute Check Point Access Point Name.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const accessPointName = new checkpoint.ManagementAccessPointName("accessPointName", {
    apn: "apn name",
    endUserDomain: "All_Internet",
    enforceEndUserDomain: true,
});
const dataAccessPointName = checkpoint.getManagementAccessPointNameOutput({
    name: accessPointName.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

access_point_name = checkpoint.ManagementAccessPointName("accessPointName",
    apn="apn name",
    end_user_domain="All_Internet",
    enforce_end_user_domain=True)
data_access_point_name = checkpoint.get_management_access_point_name_output(name=access_point_name.name)
Copy
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 {
		accessPointName, err := checkpoint.NewManagementAccessPointName(ctx, "accessPointName", &checkpoint.ManagementAccessPointNameArgs{
			Apn:                  pulumi.String("apn name"),
			EndUserDomain:        pulumi.String("All_Internet"),
			EnforceEndUserDomain: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_ = checkpoint.LookupManagementAccessPointNameOutput(ctx, checkpoint.GetManagementAccessPointNameOutputArgs{
			Name: accessPointName.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var accessPointName = new Checkpoint.ManagementAccessPointName("accessPointName", new()
    {
        Apn = "apn name",
        EndUserDomain = "All_Internet",
        EnforceEndUserDomain = true,
    });

    var dataAccessPointName = Checkpoint.GetManagementAccessPointName.Invoke(new()
    {
        Name = accessPointName.Name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementAccessPointName;
import com.pulumi.checkpoint.ManagementAccessPointNameArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementAccessPointNameArgs;
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 accessPointName = new ManagementAccessPointName("accessPointName", ManagementAccessPointNameArgs.builder()
            .apn("apn name")
            .endUserDomain("All_Internet")
            .enforceEndUserDomain(true)
            .build());

        final var dataAccessPointName = CheckpointFunctions.getManagementAccessPointName(GetManagementAccessPointNameArgs.builder()
            .name(accessPointName.name())
            .build());

    }
}
Copy
resources:
  accessPointName:
    type: checkpoint:ManagementAccessPointName
    properties:
      apn: apn name
      endUserDomain: All_Internet
      enforceEndUserDomain: true
variables:
  dataAccessPointName:
    fn::invoke:
      function: checkpoint:getManagementAccessPointName
      arguments:
        name: ${accessPointName.name}
Copy

Using getManagementAccessPointName

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 getManagementAccessPointName(args: GetManagementAccessPointNameArgs, opts?: InvokeOptions): Promise<GetManagementAccessPointNameResult>
function getManagementAccessPointNameOutput(args: GetManagementAccessPointNameOutputArgs, opts?: InvokeOptions): Output<GetManagementAccessPointNameResult>
Copy
def get_management_access_point_name(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     uid: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetManagementAccessPointNameResult
def get_management_access_point_name_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     uid: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagementAccessPointNameResult]
Copy
func LookupManagementAccessPointName(ctx *Context, args *LookupManagementAccessPointNameArgs, opts ...InvokeOption) (*LookupManagementAccessPointNameResult, error)
func LookupManagementAccessPointNameOutput(ctx *Context, args *LookupManagementAccessPointNameOutputArgs, opts ...InvokeOption) LookupManagementAccessPointNameResultOutput
Copy

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

public static class GetManagementAccessPointName 
{
    public static Task<GetManagementAccessPointNameResult> InvokeAsync(GetManagementAccessPointNameArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementAccessPointNameResult> Invoke(GetManagementAccessPointNameInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementAccessPointNameResult> getManagementAccessPointName(GetManagementAccessPointNameArgs args, InvokeOptions options)
public static Output<GetManagementAccessPointNameResult> getManagementAccessPointName(GetManagementAccessPointNameArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementAccessPointName:getManagementAccessPointName
  arguments:
    # arguments dictionary
Copy

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.

getManagementAccessPointName Result

The following output properties are available:

apn String
blockTrafficOtherEndUserDomains Boolean
blockTrafficThisEndUserDomain Boolean
color String
comments String
endUserDomain String
enforceEndUserDomain Boolean
id String
tags List<String>
name String
uid String
apn string
blockTrafficOtherEndUserDomains boolean
blockTrafficThisEndUserDomain boolean
color string
comments string
endUserDomain string
enforceEndUserDomain boolean
id string
tags string[]
name string
uid string
apn String
blockTrafficOtherEndUserDomains Boolean
blockTrafficThisEndUserDomain Boolean
color String
comments String
endUserDomain String
enforceEndUserDomain Boolean
id String
tags 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.