checkpoint.ManagementMobileAccessProfileRule
Explore with Pulumi AI
This resource allows you to execute Check Point Mobile Access Profile Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementMobileAccessProfileRule("example", {
mobileProfile: "Default_Profile",
position: {
top: "top",
},
userGroups: ["my_group"],
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementMobileAccessProfileRule("example",
mobile_profile="Default_Profile",
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.NewManagementMobileAccessProfileRule(ctx, "example", &checkpoint.ManagementMobileAccessProfileRuleArgs{
MobileProfile: pulumi.String("Default_Profile"),
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.ManagementMobileAccessProfileRule("example", new()
{
MobileProfile = "Default_Profile",
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.ManagementMobileAccessProfileRule;
import com.pulumi.checkpoint.ManagementMobileAccessProfileRuleArgs;
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 ManagementMobileAccessProfileRule("example", ManagementMobileAccessProfileRuleArgs.builder()
.mobileProfile("Default_Profile")
.position(Map.of("top", "top"))
.userGroups("my_group")
.build());
}
}
resources:
example:
type: checkpoint:ManagementMobileAccessProfileRule
properties:
mobileProfile: Default_Profile
position:
top: top
userGroups:
- my_group
Create ManagementMobileAccessProfileRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementMobileAccessProfileRule(name: string, args: ManagementMobileAccessProfileRuleArgs, opts?: CustomResourceOptions);
@overload
def ManagementMobileAccessProfileRule(resource_name: str,
args: ManagementMobileAccessProfileRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementMobileAccessProfileRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
position: Optional[Mapping[str, str]] = None,
comments: Optional[str] = None,
enabled: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_mobile_access_profile_rule_id: Optional[str] = None,
mobile_profile: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
user_groups: Optional[Sequence[str]] = None)
func NewManagementMobileAccessProfileRule(ctx *Context, name string, args ManagementMobileAccessProfileRuleArgs, opts ...ResourceOption) (*ManagementMobileAccessProfileRule, error)
public ManagementMobileAccessProfileRule(string name, ManagementMobileAccessProfileRuleArgs args, CustomResourceOptions? opts = null)
public ManagementMobileAccessProfileRule(String name, ManagementMobileAccessProfileRuleArgs args)
public ManagementMobileAccessProfileRule(String name, ManagementMobileAccessProfileRuleArgs args, CustomResourceOptions options)
type: checkpoint:ManagementMobileAccessProfileRule
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 ManagementMobileAccessProfileRuleArgs
- 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 ManagementMobileAccessProfileRuleArgs
- 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 ManagementMobileAccessProfileRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementMobileAccessProfileRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementMobileAccessProfileRuleArgs
- 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 managementMobileAccessProfileRuleResource = new Checkpoint.ManagementMobileAccessProfileRule("managementMobileAccessProfileRuleResource", new()
{
Position =
{
{ "string", "string" },
},
Comments = "string",
Enabled = false,
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementMobileAccessProfileRuleId = "string",
MobileProfile = "string",
Name = "string",
Tags = new[]
{
"string",
},
UserGroups = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementMobileAccessProfileRule(ctx, "managementMobileAccessProfileRuleResource", &checkpoint.ManagementMobileAccessProfileRuleArgs{
Position: pulumi.StringMap{
"string": pulumi.String("string"),
},
Comments: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementMobileAccessProfileRuleId: pulumi.String("string"),
MobileProfile: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UserGroups: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementMobileAccessProfileRuleResource = new ManagementMobileAccessProfileRule("managementMobileAccessProfileRuleResource", ManagementMobileAccessProfileRuleArgs.builder()
.position(Map.of("string", "string"))
.comments("string")
.enabled(false)
.ignoreErrors(false)
.ignoreWarnings(false)
.managementMobileAccessProfileRuleId("string")
.mobileProfile("string")
.name("string")
.tags("string")
.userGroups("string")
.build());
management_mobile_access_profile_rule_resource = checkpoint.ManagementMobileAccessProfileRule("managementMobileAccessProfileRuleResource",
position={
"string": "string",
},
comments="string",
enabled=False,
ignore_errors=False,
ignore_warnings=False,
management_mobile_access_profile_rule_id="string",
mobile_profile="string",
name="string",
tags=["string"],
user_groups=["string"])
const managementMobileAccessProfileRuleResource = new checkpoint.ManagementMobileAccessProfileRule("managementMobileAccessProfileRuleResource", {
position: {
string: "string",
},
comments: "string",
enabled: false,
ignoreErrors: false,
ignoreWarnings: false,
managementMobileAccessProfileRuleId: "string",
mobileProfile: "string",
name: "string",
tags: ["string"],
userGroups: ["string"],
});
type: checkpoint:ManagementMobileAccessProfileRule
properties:
comments: string
enabled: false
ignoreErrors: false
ignoreWarnings: false
managementMobileAccessProfileRuleId: string
mobileProfile: string
name: string
position:
string: string
tags:
- string
userGroups:
- string
ManagementMobileAccessProfileRule 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 ManagementMobileAccessProfileRule resource accepts the following input properties:
- Position Dictionary<string, string>
- Position in the rulebase. Position 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.
- Management
Mobile stringAccess Profile Rule Id - Mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups List<string> - User groups that will be configured with the profile object - 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.
- 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.
- Management
Mobile stringAccess Profile Rule Id - Mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- User
Groups []string - User groups that will be configured with the profile object - 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.
- 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.
- management
Mobile StringAccess Profile Rule Id - mobile
Profile String - Profile configuration for User groups - identified by the name or UID.
- name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups List<String> - User groups that will be configured with the profile object - 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.
- 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.
- management
Mobile stringAccess Profile Rule Id - mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups string[] - User groups that will be configured with the profile object - 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.
- 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.
- management_
mobile_ straccess_ profile_ rule_ id - mobile_
profile str - Profile configuration for User groups - identified by the name or UID.
- name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- user_
groups Sequence[str] - User groups that will be configured with the profile object - identified by the name or UID.user_groups blocks are documented below.
- position Map<String>
- Position in the rulebase. Position 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.
- management
Mobile StringAccess Profile Rule Id - mobile
Profile String - Profile configuration for User groups - identified by the name or UID.
- name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- user
Groups List<String> - User groups that will be configured with the profile object - identified by the name or UID.user_groups blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementMobileAccessProfileRule 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 ManagementMobileAccessProfileRule Resource
Get an existing ManagementMobileAccessProfileRule 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?: ManagementMobileAccessProfileRuleState, opts?: CustomResourceOptions): ManagementMobileAccessProfileRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comments: Optional[str] = None,
enabled: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_mobile_access_profile_rule_id: Optional[str] = None,
mobile_profile: Optional[str] = None,
name: Optional[str] = None,
position: Optional[Mapping[str, str]] = None,
tags: Optional[Sequence[str]] = None,
user_groups: Optional[Sequence[str]] = None) -> ManagementMobileAccessProfileRule
func GetManagementMobileAccessProfileRule(ctx *Context, name string, id IDInput, state *ManagementMobileAccessProfileRuleState, opts ...ResourceOption) (*ManagementMobileAccessProfileRule, error)
public static ManagementMobileAccessProfileRule Get(string name, Input<string> id, ManagementMobileAccessProfileRuleState? state, CustomResourceOptions? opts = null)
public static ManagementMobileAccessProfileRule get(String name, Output<String> id, ManagementMobileAccessProfileRuleState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementMobileAccessProfileRule 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.
- 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.
- Management
Mobile stringAccess Profile Rule Id - Mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - identified by the name or UID.user_groups 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.
- Management
Mobile stringAccess Profile Rule Id - Mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - identified by the name or UID.user_groups 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.
- management
Mobile StringAccess Profile Rule Id - mobile
Profile String - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - identified by the name or UID.user_groups 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.
- management
Mobile stringAccess Profile Rule Id - mobile
Profile string - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - identified by the name or UID.user_groups 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.
- management_
mobile_ straccess_ profile_ rule_ id - mobile_
profile str - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - identified by the name or UID.user_groups 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.
- management
Mobile StringAccess Profile Rule Id - mobile
Profile String - Profile configuration for User groups - identified by the name or UID.
- 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 configured with the profile object - 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.