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

checkpoint.ManagementMobileAccessRule

Explore with Pulumi AI

This resource allows you to execute Check Point Mobile Access Rule.

Example Usage

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

const example = new checkpoint.ManagementMobileAccessRule("example", {
    applications: [
        "N",
        "e",
        "w",
        " ",
        "A",
        "p",
        "p",
        "l",
        "i",
        "c",
        "a",
        "t",
        "i",
        "o",
        "n",
    ],
    position: {
        top: "top",
    },
    userGroups: ["my_group"],
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementMobileAccessRule("example",
    applications=[
        "N",
        "e",
        "w",
        " ",
        "A",
        "p",
        "p",
        "l",
        "i",
        "c",
        "a",
        "t",
        "i",
        "o",
        "n",
    ],
    position={
        "top": "top",
    },
    user_groups=["my_group"])
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 {
		_, err := checkpoint.NewManagementMobileAccessRule(ctx, "example", &checkpoint.ManagementMobileAccessRuleArgs{
			Applications: pulumi.StringArray{
				pulumi.String("N"),
				pulumi.String("e"),
				pulumi.String("w"),
				pulumi.String(" "),
				pulumi.String("A"),
				pulumi.String("p"),
				pulumi.String("p"),
				pulumi.String("l"),
				pulumi.String("i"),
				pulumi.String("c"),
				pulumi.String("a"),
				pulumi.String("t"),
				pulumi.String("i"),
				pulumi.String("o"),
				pulumi.String("n"),
			},
			Position: pulumi.StringMap{
				"top": pulumi.String("top"),
			},
			UserGroups: pulumi.StringArray{
				pulumi.String("my_group"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var example = new Checkpoint.ManagementMobileAccessRule("example", new()
    {
        Applications = new[]
        {
            "N",
            "e",
            "w",
            " ",
            "A",
            "p",
            "p",
            "l",
            "i",
            "c",
            "a",
            "t",
            "i",
            "o",
            "n",
        },
        Position = 
        {
            { "top", "top" },
        },
        UserGroups = new[]
        {
            "my_group",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementMobileAccessRule;
import com.pulumi.checkpoint.ManagementMobileAccessRuleArgs;
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 example = new ManagementMobileAccessRule("example", ManagementMobileAccessRuleArgs.builder()
            .applications(            
                "N",
                "e",
                "w",
                " ",
                "A",
                "p",
                "p",
                "l",
                "i",
                "c",
                "a",
                "t",
                "i",
                "o",
                "n")
            .position(Map.of("top", "top"))
            .userGroups("my_group")
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementMobileAccessRule
    properties:
      applications:
        - N
        - e
        - w
        - ' '
        - A
        - p
        - p
        - l
        - i
        - c
        - a
        - t
        - i
        - o
        - n
      position:
        top: top
      userGroups:
        - my_group
Copy

Create ManagementMobileAccessRule Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ManagementMobileAccessRule(name: string, args: ManagementMobileAccessRuleArgs, opts?: CustomResourceOptions);
@overload
def ManagementMobileAccessRule(resource_name: str,
                               args: ManagementMobileAccessRuleArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ManagementMobileAccessRule(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               position: Optional[Mapping[str, str]] = None,
                               applications: Optional[Sequence[str]] = None,
                               comments: Optional[str] = None,
                               enabled: Optional[bool] = None,
                               ignore_errors: Optional[bool] = None,
                               ignore_warnings: Optional[bool] = None,
                               install_ons: Optional[Sequence[str]] = None,
                               management_mobile_access_rule_id: Optional[str] = None,
                               name: Optional[str] = None,
                               tags: Optional[Sequence[str]] = None,
                               user_groups: Optional[Sequence[str]] = None)
func NewManagementMobileAccessRule(ctx *Context, name string, args ManagementMobileAccessRuleArgs, opts ...ResourceOption) (*ManagementMobileAccessRule, error)
public ManagementMobileAccessRule(string name, ManagementMobileAccessRuleArgs args, CustomResourceOptions? opts = null)
public ManagementMobileAccessRule(String name, ManagementMobileAccessRuleArgs args)
public ManagementMobileAccessRule(String name, ManagementMobileAccessRuleArgs args, CustomResourceOptions options)
type: checkpoint:ManagementMobileAccessRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagementMobileAccessRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagementMobileAccessRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementMobileAccessRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementMobileAccessRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementMobileAccessRuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var managementMobileAccessRuleResource = new Checkpoint.ManagementMobileAccessRule("managementMobileAccessRuleResource", new()
{
    Position = 
    {
        { "string", "string" },
    },
    Applications = new[]
    {
        "string",
    },
    Comments = "string",
    Enabled = false,
    IgnoreErrors = false,
    IgnoreWarnings = false,
    InstallOns = new[]
    {
        "string",
    },
    ManagementMobileAccessRuleId = "string",
    Name = "string",
    Tags = new[]
    {
        "string",
    },
    UserGroups = new[]
    {
        "string",
    },
});
Copy
example, err := checkpoint.NewManagementMobileAccessRule(ctx, "managementMobileAccessRuleResource", &checkpoint.ManagementMobileAccessRuleArgs{
Position: pulumi.StringMap{
"string": pulumi.String("string"),
},
Applications: pulumi.StringArray{
pulumi.String("string"),
},
Comments: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
InstallOns: pulumi.StringArray{
pulumi.String("string"),
},
ManagementMobileAccessRuleId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UserGroups: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var managementMobileAccessRuleResource = new ManagementMobileAccessRule("managementMobileAccessRuleResource", ManagementMobileAccessRuleArgs.builder()
    .position(Map.of("string", "string"))
    .applications("string")
    .comments("string")
    .enabled(false)
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .installOns("string")
    .managementMobileAccessRuleId("string")
    .name("string")
    .tags("string")
    .userGroups("string")
    .build());
Copy
management_mobile_access_rule_resource = checkpoint.ManagementMobileAccessRule("managementMobileAccessRuleResource",
    position={
        "string": "string",
    },
    applications=["string"],
    comments="string",
    enabled=False,
    ignore_errors=False,
    ignore_warnings=False,
    install_ons=["string"],
    management_mobile_access_rule_id="string",
    name="string",
    tags=["string"],
    user_groups=["string"])
Copy
const managementMobileAccessRuleResource = new checkpoint.ManagementMobileAccessRule("managementMobileAccessRuleResource", {
    position: {
        string: "string",
    },
    applications: ["string"],
    comments: "string",
    enabled: false,
    ignoreErrors: false,
    ignoreWarnings: false,
    installOns: ["string"],
    managementMobileAccessRuleId: "string",
    name: "string",
    tags: ["string"],
    userGroups: ["string"],
});
Copy
type: checkpoint:ManagementMobileAccessRule
properties:
    applications:
        - string
    comments: string
    enabled: false
    ignoreErrors: false
    ignoreWarnings: false
    installOns:
        - string
    managementMobileAccessRuleId: string
    name: string
    position:
        string: string
    tags:
        - string
    userGroups:
        - string
Copy

ManagementMobileAccessRule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ManagementMobileAccessRule resource accepts the following input properties:

Position This property is required. Dictionary<string, string>
Position in the rulebase. Position blocks are documented below.
Applications List<string>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
Comments string
Comments string.
Enabled bool
Enable/Disable the rule.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
InstallOns List<string>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
ManagementMobileAccessRuleId string
Name string
Object name.
Tags List<string>
Collection of tag identifiers.tags blocks are documented below.
UserGroups List<string>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
Position This property is required. map[string]string
Position in the rulebase. Position blocks are documented below.
Applications []string
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
Comments string
Comments string.
Enabled bool
Enable/Disable the rule.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
InstallOns []string
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
ManagementMobileAccessRuleId string
Name string
Object name.
Tags []string
Collection of tag identifiers.tags blocks are documented below.
UserGroups []string
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
position This property is required. Map<String,String>
Position in the rulebase. Position blocks are documented below.
applications List<String>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments String
Comments string.
enabled Boolean
Enable/Disable the rule.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
installOns List<String>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
userGroups List<String>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
position This property is required. {[key: string]: string}
Position in the rulebase. Position blocks are documented below.
applications string[]
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments string
Comments string.
enabled boolean
Enable/Disable the rule.
ignoreErrors boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings boolean
Apply changes ignoring warnings.
installOns string[]
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId string
name string
Object name.
tags string[]
Collection of tag identifiers.tags blocks are documented below.
userGroups string[]
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
position This property is required. Mapping[str, str]
Position in the rulebase. Position blocks are documented below.
applications Sequence[str]
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments str
Comments string.
enabled bool
Enable/Disable the rule.
ignore_errors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warnings bool
Apply changes ignoring warnings.
install_ons Sequence[str]
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
management_mobile_access_rule_id str
name str
Object name.
tags Sequence[str]
Collection of tag identifiers.tags blocks are documented below.
user_groups Sequence[str]
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
position This property is required. Map<String>
Position in the rulebase. Position blocks are documented below.
applications List<String>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments String
Comments string.
enabled Boolean
Enable/Disable the rule.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
installOns List<String>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId String
name String
Object name.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
userGroups List<String>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementMobileAccessRule resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ManagementMobileAccessRule Resource

Get an existing ManagementMobileAccessRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ManagementMobileAccessRuleState, opts?: CustomResourceOptions): ManagementMobileAccessRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        applications: Optional[Sequence[str]] = None,
        comments: Optional[str] = None,
        enabled: Optional[bool] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        install_ons: Optional[Sequence[str]] = None,
        management_mobile_access_rule_id: Optional[str] = None,
        name: Optional[str] = None,
        position: Optional[Mapping[str, str]] = None,
        tags: Optional[Sequence[str]] = None,
        user_groups: Optional[Sequence[str]] = None) -> ManagementMobileAccessRule
func GetManagementMobileAccessRule(ctx *Context, name string, id IDInput, state *ManagementMobileAccessRuleState, opts ...ResourceOption) (*ManagementMobileAccessRule, error)
public static ManagementMobileAccessRule Get(string name, Input<string> id, ManagementMobileAccessRuleState? state, CustomResourceOptions? opts = null)
public static ManagementMobileAccessRule get(String name, Output<String> id, ManagementMobileAccessRuleState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementMobileAccessRule    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Applications List<string>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
Comments string
Comments string.
Enabled bool
Enable/Disable the rule.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
InstallOns List<string>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
ManagementMobileAccessRuleId string
Name string
Object name.
Position Dictionary<string, string>
Position in the rulebase. Position blocks are documented below.
Tags List<string>
Collection of tag identifiers.tags blocks are documented below.
UserGroups List<string>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
Applications []string
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
Comments string
Comments string.
Enabled bool
Enable/Disable the rule.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
InstallOns []string
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
ManagementMobileAccessRuleId string
Name string
Object name.
Position map[string]string
Position in the rulebase. Position blocks are documented below.
Tags []string
Collection of tag identifiers.tags blocks are documented below.
UserGroups []string
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
applications List<String>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments String
Comments string.
enabled Boolean
Enable/Disable the rule.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
installOns List<String>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId String
name String
Object name.
position Map<String,String>
Position in the rulebase. Position blocks are documented below.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
userGroups List<String>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
applications string[]
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments string
Comments string.
enabled boolean
Enable/Disable the rule.
ignoreErrors boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings boolean
Apply changes ignoring warnings.
installOns string[]
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId string
name string
Object name.
position {[key: string]: string}
Position in the rulebase. Position blocks are documented below.
tags string[]
Collection of tag identifiers.tags blocks are documented below.
userGroups string[]
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
applications Sequence[str]
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments str
Comments string.
enabled bool
Enable/Disable the rule.
ignore_errors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warnings bool
Apply changes ignoring warnings.
install_ons Sequence[str]
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
management_mobile_access_rule_id str
name str
Object name.
position Mapping[str, str]
Position in the rulebase. Position blocks are documented below.
tags Sequence[str]
Collection of tag identifiers.tags blocks are documented below.
user_groups Sequence[str]
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
applications List<String>
Available apps that will be associated with the user groups - identified by the name or UID.applications blocks are documented below.
comments String
Comments string.
enabled Boolean
Enable/Disable the rule.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
installOns List<String>
Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
managementMobileAccessRuleId String
name String
Object name.
position Map<String>
Position in the rulebase. Position blocks are documented below.
tags List<String>
Collection of tag identifiers.tags blocks are documented below.
userGroups List<String>
User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.