checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementAccessPointName
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
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,
});
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)
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
})
}
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,
});
});
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());
}
}
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}
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>
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]
func LookupManagementAccessPointName(ctx *Context, args *LookupManagementAccessPointNameArgs, opts ...InvokeOption) (*LookupManagementAccessPointNameResult, error)
func LookupManagementAccessPointNameOutput(ctx *Context, args *LookupManagementAccessPointNameOutputArgs, opts ...InvokeOption) LookupManagementAccessPointNameResultOutput
> 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)
}
public static CompletableFuture<GetManagementAccessPointNameResult> getManagementAccessPointName(GetManagementAccessPointNameArgs args, InvokeOptions options)
public static Output<GetManagementAccessPointNameResult> getManagementAccessPointName(GetManagementAccessPointNameArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementAccessPointName:getManagementAccessPointName
arguments:
# arguments dictionary
The following arguments are supported:
getManagementAccessPointName Result
The following output properties are available:
- Apn string
- Block
Traffic boolOther End User Domains - Block
Traffic boolThis End User Domain - Color string
- Comments string
- End
User stringDomain - Enforce
End boolUser Domain - Id string
- List<string>
- Name string
- Uid string
- Apn string
- Block
Traffic boolOther End User Domains - Block
Traffic boolThis End User Domain - Color string
- Comments string
- End
User stringDomain - Enforce
End boolUser Domain - Id string
- []string
- Name string
- Uid string
- apn String
- block
Traffic BooleanOther End User Domains - block
Traffic BooleanThis End User Domain - color String
- comments String
- end
User StringDomain - enforce
End BooleanUser Domain - id String
- List<String>
- name String
- uid String
- apn string
- block
Traffic booleanOther End User Domains - block
Traffic booleanThis End User Domain - color string
- comments string
- end
User stringDomain - enforce
End booleanUser Domain - id string
- string[]
- name string
- uid string
- apn str
- block_
traffic_ boolother_ end_ user_ domains - block_
traffic_ boolthis_ end_ user_ domain - color str
- comments str
- end_
user_ strdomain - enforce_
end_ booluser_ domain - id str
- Sequence[str]
- name str
- uid str
- apn String
- block
Traffic BooleanOther End User Domains - block
Traffic BooleanThis End User Domain - color String
- comments String
- end
User StringDomain - enforce
End BooleanUser Domain - id String
- 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 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw