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

checkpoint.ManagementNatSection

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    This resource allows you to add/update/delete Check Point NAT section.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const natSection = new checkpoint.ManagementNatSection("natSection", {
        "package": "Standard",
        position: {
            top: "top",
        },
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    nat_section = checkpoint.ManagementNatSection("natSection",
        package="Standard",
        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.NewManagementNatSection(ctx, "natSection", &checkpoint.ManagementNatSectionArgs{
    			Package: pulumi.String("Standard"),
    			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 natSection = new Checkpoint.ManagementNatSection("natSection", new()
        {
            Package = "Standard",
            Position = 
            {
                { "top", "top" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementNatSection;
    import com.pulumi.checkpoint.ManagementNatSectionArgs;
    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 natSection = new ManagementNatSection("natSection", ManagementNatSectionArgs.builder()
                .package_("Standard")
                .position(Map.of("top", "top"))
                .build());
    
        }
    }
    
    resources:
      natSection:
        type: checkpoint:ManagementNatSection
        properties:
          package: Standard
          position:
            top: top
    

    Create ManagementNatSection Resource

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

    Constructor syntax

    new ManagementNatSection(name: string, args: ManagementNatSectionArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementNatSection(resource_name: str,
                             args: ManagementNatSectionArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementNatSection(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             package: Optional[str] = None,
                             position: Optional[Mapping[str, str]] = None,
                             ignore_errors: Optional[bool] = None,
                             ignore_warnings: Optional[bool] = None,
                             management_nat_section_id: Optional[str] = None,
                             name: Optional[str] = None)
    func NewManagementNatSection(ctx *Context, name string, args ManagementNatSectionArgs, opts ...ResourceOption) (*ManagementNatSection, error)
    public ManagementNatSection(string name, ManagementNatSectionArgs args, CustomResourceOptions? opts = null)
    public ManagementNatSection(String name, ManagementNatSectionArgs args)
    public ManagementNatSection(String name, ManagementNatSectionArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementNatSection
    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 ManagementNatSectionArgs
    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 ManagementNatSectionArgs
    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 ManagementNatSectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementNatSectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementNatSectionArgs
    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 managementNatSectionResource = new Checkpoint.ManagementNatSection("managementNatSectionResource", new()
    {
        Package = "string",
        Position = 
        {
            { "string", "string" },
        },
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementNatSectionId = "string",
        Name = "string",
    });
    
    example, err := checkpoint.NewManagementNatSection(ctx, "managementNatSectionResource", &checkpoint.ManagementNatSectionArgs{
    	Package: pulumi.String("string"),
    	Position: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IgnoreErrors:           pulumi.Bool(false),
    	IgnoreWarnings:         pulumi.Bool(false),
    	ManagementNatSectionId: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    })
    
    var managementNatSectionResource = new ManagementNatSection("managementNatSectionResource", ManagementNatSectionArgs.builder()
        .package_("string")
        .position(Map.of("string", "string"))
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementNatSectionId("string")
        .name("string")
        .build());
    
    management_nat_section_resource = checkpoint.ManagementNatSection("managementNatSectionResource",
        package="string",
        position={
            "string": "string",
        },
        ignore_errors=False,
        ignore_warnings=False,
        management_nat_section_id="string",
        name="string")
    
    const managementNatSectionResource = new checkpoint.ManagementNatSection("managementNatSectionResource", {
        "package": "string",
        position: {
            string: "string",
        },
        ignoreErrors: false,
        ignoreWarnings: false,
        managementNatSectionId: "string",
        name: "string",
    });
    
    type: checkpoint:ManagementNatSection
    properties:
        ignoreErrors: false
        ignoreWarnings: false
        managementNatSectionId: string
        name: string
        package: string
        position:
            string: string
    

    ManagementNatSection 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 ManagementNatSection resource accepts the following input properties:

    Package string
    Name of the package.
    Position Dictionary<string, string>
    Position in the rulebase. Position blocks are documented below.
    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.
    ManagementNatSectionId string
    Name string
    Object name.
    Package string
    Name of the package.
    Position map[string]string
    Position in the rulebase. Position blocks are documented below.
    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.
    ManagementNatSectionId string
    Name string
    Object name.
    package_ String
    Name of the package.
    position Map<String,String>
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId String
    name String
    Object name.
    package string
    Name of the package.
    position {[key: string]: string}
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId string
    name string
    Object name.
    package str
    Name of the package.
    position Mapping[str, str]
    Position in the rulebase. Position blocks are documented below.
    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_nat_section_id str
    name str
    Object name.
    package String
    Name of the package.
    position Map<String>
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId String
    name String
    Object name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementNatSection 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 ManagementNatSection Resource

    Get an existing ManagementNatSection 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?: ManagementNatSectionState, opts?: CustomResourceOptions): ManagementNatSection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_nat_section_id: Optional[str] = None,
            name: Optional[str] = None,
            package: Optional[str] = None,
            position: Optional[Mapping[str, str]] = None) -> ManagementNatSection
    func GetManagementNatSection(ctx *Context, name string, id IDInput, state *ManagementNatSectionState, opts ...ResourceOption) (*ManagementNatSection, error)
    public static ManagementNatSection Get(string name, Input<string> id, ManagementNatSectionState? state, CustomResourceOptions? opts = null)
    public static ManagementNatSection get(String name, Output<String> id, ManagementNatSectionState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementNatSection    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.
    The following state arguments are supported:
    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.
    ManagementNatSectionId string
    Name string
    Object name.
    Package string
    Name of the package.
    Position Dictionary<string, string>
    Position in the rulebase. Position blocks are documented below.
    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.
    ManagementNatSectionId string
    Name string
    Object name.
    Package string
    Name of the package.
    Position map[string]string
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId String
    name String
    Object name.
    package_ String
    Name of the package.
    position Map<String,String>
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId string
    name string
    Object name.
    package string
    Name of the package.
    position {[key: string]: string}
    Position in the rulebase. Position blocks are documented below.
    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_nat_section_id str
    name str
    Object name.
    package str
    Name of the package.
    position Mapping[str, str]
    Position in the rulebase. Position blocks are documented below.
    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.
    managementNatSectionId String
    name String
    Object name.
    package String
    Name of the package.
    position Map<String>
    Position in the rulebase. Position blocks are documented below.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw