checkpoint.ManagementAccessSection
Explore with Pulumi AI
This resource allows you to execute Check Point Access Section.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementAccessSection("example", {
layer: "Network",
position: {
top: "top",
},
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementAccessSection("example",
layer="Network",
position={
"top": "top",
})
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.NewManagementAccessSection(ctx, "example", &checkpoint.ManagementAccessSectionArgs{
Layer: pulumi.String("Network"),
Position: pulumi.StringMap{
"top": pulumi.String("top"),
},
})
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.ManagementAccessSection("example", new()
{
Layer = "Network",
Position =
{
{ "top", "top" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementAccessSection;
import com.pulumi.checkpoint.ManagementAccessSectionArgs;
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 ManagementAccessSection("example", ManagementAccessSectionArgs.builder()
.layer("Network")
.position(Map.of("top", "top"))
.build());
}
}
resources:
example:
type: checkpoint:ManagementAccessSection
properties:
layer: Network
position:
top: top
Create ManagementAccessSection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementAccessSection(name: string, args: ManagementAccessSectionArgs, opts?: CustomResourceOptions);
@overload
def ManagementAccessSection(resource_name: str,
args: ManagementAccessSectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementAccessSection(resource_name: str,
opts: Optional[ResourceOptions] = None,
layer: Optional[str] = None,
position: Optional[Mapping[str, str]] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_access_section_id: Optional[str] = None,
name: Optional[str] = None)
func NewManagementAccessSection(ctx *Context, name string, args ManagementAccessSectionArgs, opts ...ResourceOption) (*ManagementAccessSection, error)
public ManagementAccessSection(string name, ManagementAccessSectionArgs args, CustomResourceOptions? opts = null)
public ManagementAccessSection(String name, ManagementAccessSectionArgs args)
public ManagementAccessSection(String name, ManagementAccessSectionArgs args, CustomResourceOptions options)
type: checkpoint:ManagementAccessSection
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 ManagementAccessSectionArgs
- 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 ManagementAccessSectionArgs
- 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 ManagementAccessSectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementAccessSectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementAccessSectionArgs
- 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 managementAccessSectionResource = new Checkpoint.ManagementAccessSection("managementAccessSectionResource", new()
{
Layer = "string",
Position =
{
{ "string", "string" },
},
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementAccessSectionId = "string",
Name = "string",
});
example, err := checkpoint.NewManagementAccessSection(ctx, "managementAccessSectionResource", &checkpoint.ManagementAccessSectionArgs{
Layer: pulumi.String("string"),
Position: pulumi.StringMap{
"string": pulumi.String("string"),
},
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementAccessSectionId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var managementAccessSectionResource = new ManagementAccessSection("managementAccessSectionResource", ManagementAccessSectionArgs.builder()
.layer("string")
.position(Map.of("string", "string"))
.ignoreErrors(false)
.ignoreWarnings(false)
.managementAccessSectionId("string")
.name("string")
.build());
management_access_section_resource = checkpoint.ManagementAccessSection("managementAccessSectionResource",
layer="string",
position={
"string": "string",
},
ignore_errors=False,
ignore_warnings=False,
management_access_section_id="string",
name="string")
const managementAccessSectionResource = new checkpoint.ManagementAccessSection("managementAccessSectionResource", {
layer: "string",
position: {
string: "string",
},
ignoreErrors: false,
ignoreWarnings: false,
managementAccessSectionId: "string",
name: "string",
});
type: checkpoint:ManagementAccessSection
properties:
ignoreErrors: false
ignoreWarnings: false
layer: string
managementAccessSectionId: string
name: string
position:
string: string
ManagementAccessSection 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 ManagementAccessSection resource accepts the following input properties:
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Position Dictionary<string, string>
- Position in the rulebase.
- 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
Access stringSection Id - Name string
- Object name.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Position map[string]string
- Position in the rulebase.
- 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
Access stringSection Id - Name string
- Object name.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- position Map<String,String>
- Position in the rulebase.
- 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
Access StringSection Id - name String
- Object name.
- layer string
- Layer that the rule belongs to identified by the name or UID.
- position {[key: string]: string}
- Position in the rulebase.
- 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
Access stringSection Id - name string
- Object name.
- layer str
- Layer that the rule belongs to identified by the name or UID.
- position Mapping[str, str]
- Position in the rulebase.
- 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_
access_ strsection_ id - name str
- Object name.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- position Map<String>
- Position in the rulebase.
- 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
Access StringSection Id - name String
- Object name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementAccessSection 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 ManagementAccessSection Resource
Get an existing ManagementAccessSection 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?: ManagementAccessSectionState, opts?: CustomResourceOptions): ManagementAccessSection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
layer: Optional[str] = None,
management_access_section_id: Optional[str] = None,
name: Optional[str] = None,
position: Optional[Mapping[str, str]] = None) -> ManagementAccessSection
func GetManagementAccessSection(ctx *Context, name string, id IDInput, state *ManagementAccessSectionState, opts ...ResourceOption) (*ManagementAccessSection, error)
public static ManagementAccessSection Get(string name, Input<string> id, ManagementAccessSectionState? state, CustomResourceOptions? opts = null)
public static ManagementAccessSection get(String name, Output<String> id, ManagementAccessSectionState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementAccessSection 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.
- 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.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Management
Access stringSection Id - Name string
- Object name.
- Position Dictionary<string, string>
- Position in the rulebase.
- 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.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Management
Access stringSection Id - Name string
- Object name.
- Position map[string]string
- Position in the rulebase.
- 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.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- management
Access StringSection Id - name String
- Object name.
- position Map<String,String>
- Position in the rulebase.
- 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.
- layer string
- Layer that the rule belongs to identified by the name or UID.
- management
Access stringSection Id - name string
- Object name.
- position {[key: string]: string}
- Position in the rulebase.
- 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.
- layer str
- Layer that the rule belongs to identified by the name or UID.
- management_
access_ strsection_ id - name str
- Object name.
- position Mapping[str, str]
- Position in the rulebase.
- 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.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- management
Access StringSection Id - name String
- Object name.
- position Map<String>
- Position in the rulebase.
Import
checkpoint_management_access_section
can be imported by using the following format: LAYER_NAME;SECTION_UID
$ pulumi import checkpoint:index/managementAccessSection:ManagementAccessSection example "Network;354e184c-2f42-485c-b62d-ff9b3d29ee3e"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.