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"],
});
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"])
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
})
}
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",
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args ManagementMobileAccessRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ManagementMobileAccessRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementMobileAccessRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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"])
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"],
});
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
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 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.
- 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 List<string> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- Management
Mobile stringAccess Rule Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups List<string> - User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
- Position 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.
- 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 []string - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- Management
Mobile stringAccess Rule Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups []string - User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
- position 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.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile StringAccess Rule Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups List<String> - User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
- position {[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.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- install
Ons string[] - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile stringAccess Rule Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups string[] - User groups that will be associated with the apps - identified by the name or UID.user_groups blocks are documented below.
- position 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_ straccess_ rule_ id - name str
- Object name.
- 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 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.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile StringAccess Rule Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- 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.
- 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 List<string> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- Management
Mobile stringAccess Rule Id - Name string
- Object name.
- Position Dictionary<string, string>
- Position in the rulebase. Position blocks are documented below.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups 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.
- 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 []string - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- Management
Mobile stringAccess Rule Id - Name string
- Object name.
- Position map[string]string
- Position in the rulebase. Position blocks are documented below.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups []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.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile StringAccess Rule Id - name String
- Object name.
- position Map<String,String>
- Position in the rulebase. Position blocks are documented below.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups 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.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- install
Ons string[] - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile stringAccess Rule Id - name string
- Object name.
- position {[key: string]: string}
- Position in the rulebase. Position blocks are documented below.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups 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_ straccess_ rule_ id - name str
- Object name.
- position Mapping[str, str]
- Position in the rulebase. Position blocks are documented below.
- 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.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- install
Ons List<String> - Which Gateways identified by the name or UID to install the policy on.install_on blocks are documented below.
- management
Mobile StringAccess Rule Id - name String
- Object name.
- position Map<String>
- Position in the rulebase. Position blocks are documented below.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups 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.