checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
checkpoint.getManagementDataAccessRole
Start a Neo task
Explain and create a checkpoint.getManagementDataAccessRole resource
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Access Role.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const accessRole = new checkpoint.ManagementAccessRole("accessRole", {
comments: "my-Access-Role",
machines: [{
selections: ["all identified"],
source: "all identified",
}],
users: [{
selections: ["any"],
source: "any",
}],
});
const dataAccessRole = checkpoint.getManagementDataAccessRoleOutput({
name: accessRole.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
access_role = checkpoint.ManagementAccessRole("accessRole",
comments="my-Access-Role",
machines=[{
"selections": ["all identified"],
"source": "all identified",
}],
users=[{
"selections": ["any"],
"source": "any",
}])
data_access_role = checkpoint.get_management_data_access_role_output(name=access_role.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 {
accessRole, err := checkpoint.NewManagementAccessRole(ctx, "accessRole", &checkpoint.ManagementAccessRoleArgs{
Comments: pulumi.String("my-Access-Role"),
Machines: checkpoint.ManagementAccessRoleMachineArray{
&checkpoint.ManagementAccessRoleMachineArgs{
Selections: pulumi.StringArray{
pulumi.String("all identified"),
},
Source: pulumi.String("all identified"),
},
},
Users: checkpoint.ManagementAccessRoleUserArray{
&checkpoint.ManagementAccessRoleUserArgs{
Selections: pulumi.StringArray{
pulumi.String("any"),
},
Source: pulumi.String("any"),
},
},
})
if err != nil {
return err
}
_ = checkpoint.GetManagementDataAccessRoleOutput(ctx, checkpoint.GetManagementDataAccessRoleOutputArgs{
Name: accessRole.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var accessRole = new Checkpoint.ManagementAccessRole("accessRole", new()
{
Comments = "my-Access-Role",
Machines = new[]
{
new Checkpoint.Inputs.ManagementAccessRoleMachineArgs
{
Selections = new[]
{
"all identified",
},
Source = "all identified",
},
},
Users = new[]
{
new Checkpoint.Inputs.ManagementAccessRoleUserArgs
{
Selections = new[]
{
"any",
},
Source = "any",
},
},
});
var dataAccessRole = Checkpoint.GetManagementDataAccessRole.Invoke(new()
{
Name = accessRole.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementAccessRole;
import com.pulumi.checkpoint.ManagementAccessRoleArgs;
import com.pulumi.checkpoint.inputs.ManagementAccessRoleMachineArgs;
import com.pulumi.checkpoint.inputs.ManagementAccessRoleUserArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataAccessRoleArgs;
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 accessRole = new ManagementAccessRole("accessRole", ManagementAccessRoleArgs.builder()
.comments("my-Access-Role")
.machines(ManagementAccessRoleMachineArgs.builder()
.selections("all identified")
.source("all identified")
.build())
.users(ManagementAccessRoleUserArgs.builder()
.selections("any")
.source("any")
.build())
.build());
final var dataAccessRole = CheckpointFunctions.getManagementDataAccessRole(GetManagementDataAccessRoleArgs.builder()
.name(accessRole.name())
.build());
}
}
resources:
accessRole:
type: checkpoint:ManagementAccessRole
properties:
comments: my-Access-Role
machines:
- selections:
- all identified
source: all identified
users:
- selections:
- any
source: any
variables:
dataAccessRole:
fn::invoke:
function: checkpoint:getManagementDataAccessRole
arguments:
name: ${accessRole.name}
Using getManagementDataAccessRole
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 getManagementDataAccessRole(args: GetManagementDataAccessRoleArgs, opts?: InvokeOptions): Promise<GetManagementDataAccessRoleResult>
function getManagementDataAccessRoleOutput(args: GetManagementDataAccessRoleOutputArgs, opts?: InvokeOptions): Output<GetManagementDataAccessRoleResult>def get_management_data_access_role(id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementDataAccessRoleResult
def get_management_data_access_role_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataAccessRoleResult]func GetManagementDataAccessRole(ctx *Context, args *GetManagementDataAccessRoleArgs, opts ...InvokeOption) (*GetManagementDataAccessRoleResult, error)
func GetManagementDataAccessRoleOutput(ctx *Context, args *GetManagementDataAccessRoleOutputArgs, opts ...InvokeOption) GetManagementDataAccessRoleResultOutput> Note: This function is named GetManagementDataAccessRole in the Go SDK.
public static class GetManagementDataAccessRole
{
public static Task<GetManagementDataAccessRoleResult> InvokeAsync(GetManagementDataAccessRoleArgs args, InvokeOptions? opts = null)
public static Output<GetManagementDataAccessRoleResult> Invoke(GetManagementDataAccessRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementDataAccessRoleResult> getManagementDataAccessRole(GetManagementDataAccessRoleArgs args, InvokeOptions options)
public static Output<GetManagementDataAccessRoleResult> getManagementDataAccessRole(GetManagementDataAccessRoleArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDataAccessRole:getManagementDataAccessRole
arguments:
# arguments dictionaryThe following arguments are supported:
getManagementDataAccessRole Result
The following output properties are available:
- Color string
- Comments string
- Id string
- Machines
List<Get
Management Data Access Role Machine> - Networks List<string>
- Remote
Access stringClients - List<string>
- Users
List<Get
Management Data Access Role User> - Name string
- Uid string
- Color string
- Comments string
- Id string
- Machines
[]Get
Management Data Access Role Machine - Networks []string
- Remote
Access stringClients - []string
- Users
[]Get
Management Data Access Role User - Name string
- Uid string
- color String
- comments String
- id String
- machines
List<Get
Management Data Access Role Machine> - networks List<String>
- remote
Access StringClients - List<String>
- users
List<Get
Management Data Access Role User> - name String
- uid String
- color string
- comments string
- id string
- machines
Get
Management Data Access Role Machine[] - networks string[]
- remote
Access stringClients - string[]
- users
Get
Management Data Access Role User[] - name string
- uid string
- color str
- comments str
- id str
- machines
Sequence[Get
Management Data Access Role Machine] - networks Sequence[str]
- remote_
access_ strclients - Sequence[str]
- users
Sequence[Get
Management Data Access Role User] - name str
- uid str
- color String
- comments String
- id String
- machines List<Property Map>
- networks List<String>
- remote
Access StringClients - List<String>
- users List<Property Map>
- name String
- uid String
Supporting Types
GetManagementDataAccessRoleMachine
- Base
Dn string - Selections List<string>
- Source string
- Base
Dn string - Selections []string
- Source string
- base
Dn String - selections List<String>
- source String
- base
Dn string - selections string[]
- source string
- base_
dn str - selections Sequence[str]
- source str
- base
Dn String - selections List<String>
- source String
GetManagementDataAccessRoleUser
- Base
Dn string - Selections List<string>
- Source string
- Base
Dn string - Selections []string
- Source string
- base
Dn String - selections List<String>
- source String
- base
Dn string - selections string[]
- source string
- base_
dn str - selections Sequence[str]
- source str
- base
Dn String - selections List<String>
- source String
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
