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

checkpoint.ManagementServiceIcmp

Explore with Pulumi AI

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

    This resource allows you to execute Check Point Service Icmp.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementServiceIcmp("example", {
        icmpCode: 7,
        icmpType: 5,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementServiceIcmp("example",
        icmp_code=7,
        icmp_type=5)
    
    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.NewManagementServiceIcmp(ctx, "example", &checkpoint.ManagementServiceIcmpArgs{
    			IcmpCode: pulumi.Float64(7),
    			IcmpType: pulumi.Float64(5),
    		})
    		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.ManagementServiceIcmp("example", new()
        {
            IcmpCode = 7,
            IcmpType = 5,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementServiceIcmp;
    import com.pulumi.checkpoint.ManagementServiceIcmpArgs;
    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 ManagementServiceIcmp("example", ManagementServiceIcmpArgs.builder()
                .icmpCode(7)
                .icmpType(5)
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementServiceIcmp
        properties:
          icmpCode: 7
          icmpType: 5
    

    Create ManagementServiceIcmp Resource

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

    Constructor syntax

    new ManagementServiceIcmp(name: string, args?: ManagementServiceIcmpArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementServiceIcmp(resource_name: str,
                              args: Optional[ManagementServiceIcmpArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementServiceIcmp(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              color: Optional[str] = None,
                              comments: Optional[str] = None,
                              icmp_code: Optional[float] = None,
                              icmp_type: Optional[float] = None,
                              ignore_errors: Optional[bool] = None,
                              ignore_warnings: Optional[bool] = None,
                              keep_connections_open_after_policy_installation: Optional[bool] = None,
                              management_service_icmp_id: Optional[str] = None,
                              name: Optional[str] = None,
                              tags: Optional[Sequence[str]] = None)
    func NewManagementServiceIcmp(ctx *Context, name string, args *ManagementServiceIcmpArgs, opts ...ResourceOption) (*ManagementServiceIcmp, error)
    public ManagementServiceIcmp(string name, ManagementServiceIcmpArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementServiceIcmp(String name, ManagementServiceIcmpArgs args)
    public ManagementServiceIcmp(String name, ManagementServiceIcmpArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementServiceIcmp
    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 ManagementServiceIcmpArgs
    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 ManagementServiceIcmpArgs
    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 ManagementServiceIcmpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementServiceIcmpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementServiceIcmpArgs
    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 managementServiceIcmpResource = new Checkpoint.ManagementServiceIcmp("managementServiceIcmpResource", new()
    {
        Color = "string",
        Comments = "string",
        IcmpCode = 0,
        IcmpType = 0,
        IgnoreErrors = false,
        IgnoreWarnings = false,
        KeepConnectionsOpenAfterPolicyInstallation = false,
        ManagementServiceIcmpId = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := checkpoint.NewManagementServiceIcmp(ctx, "managementServiceIcmpResource", &checkpoint.ManagementServiceIcmpArgs{
    	Color:          pulumi.String("string"),
    	Comments:       pulumi.String("string"),
    	IcmpCode:       pulumi.Float64(0),
    	IcmpType:       pulumi.Float64(0),
    	IgnoreErrors:   pulumi.Bool(false),
    	IgnoreWarnings: pulumi.Bool(false),
    	KeepConnectionsOpenAfterPolicyInstallation: pulumi.Bool(false),
    	ManagementServiceIcmpId:                    pulumi.String("string"),
    	Name:                                       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var managementServiceIcmpResource = new ManagementServiceIcmp("managementServiceIcmpResource", ManagementServiceIcmpArgs.builder()
        .color("string")
        .comments("string")
        .icmpCode(0)
        .icmpType(0)
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .keepConnectionsOpenAfterPolicyInstallation(false)
        .managementServiceIcmpId("string")
        .name("string")
        .tags("string")
        .build());
    
    management_service_icmp_resource = checkpoint.ManagementServiceIcmp("managementServiceIcmpResource",
        color="string",
        comments="string",
        icmp_code=0,
        icmp_type=0,
        ignore_errors=False,
        ignore_warnings=False,
        keep_connections_open_after_policy_installation=False,
        management_service_icmp_id="string",
        name="string",
        tags=["string"])
    
    const managementServiceIcmpResource = new checkpoint.ManagementServiceIcmp("managementServiceIcmpResource", {
        color: "string",
        comments: "string",
        icmpCode: 0,
        icmpType: 0,
        ignoreErrors: false,
        ignoreWarnings: false,
        keepConnectionsOpenAfterPolicyInstallation: false,
        managementServiceIcmpId: "string",
        name: "string",
        tags: ["string"],
    });
    
    type: checkpoint:ManagementServiceIcmp
    properties:
        color: string
        comments: string
        icmpCode: 0
        icmpType: 0
        ignoreErrors: false
        ignoreWarnings: false
        keepConnectionsOpenAfterPolicyInstallation: false
        managementServiceIcmpId: string
        name: string
        tags:
            - string
    

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

    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IcmpCode double
    As listed in: RFC 792.
    IcmpType double
    As listed in: RFC 792.
    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.
    KeepConnectionsOpenAfterPolicyInstallation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    ManagementServiceIcmpId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IcmpCode float64
    As listed in: RFC 792.
    IcmpType float64
    As listed in: RFC 792.
    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.
    KeepConnectionsOpenAfterPolicyInstallation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    ManagementServiceIcmpId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    icmpCode Double
    As listed in: RFC 792.
    icmpType Double
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation Boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    icmpCode number
    As listed in: RFC 792.
    icmpType number
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    icmp_code float
    As listed in: RFC 792.
    icmp_type float
    As listed in: RFC 792.
    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.
    keep_connections_open_after_policy_installation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    management_service_icmp_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    icmpCode Number
    As listed in: RFC 792.
    icmpType Number
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation Boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.

    Outputs

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

    Get an existing ManagementServiceIcmp 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?: ManagementServiceIcmpState, opts?: CustomResourceOptions): ManagementServiceIcmp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            icmp_code: Optional[float] = None,
            icmp_type: Optional[float] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            keep_connections_open_after_policy_installation: Optional[bool] = None,
            management_service_icmp_id: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> ManagementServiceIcmp
    func GetManagementServiceIcmp(ctx *Context, name string, id IDInput, state *ManagementServiceIcmpState, opts ...ResourceOption) (*ManagementServiceIcmp, error)
    public static ManagementServiceIcmp Get(string name, Input<string> id, ManagementServiceIcmpState? state, CustomResourceOptions? opts = null)
    public static ManagementServiceIcmp get(String name, Output<String> id, ManagementServiceIcmpState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementServiceIcmp    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:
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IcmpCode double
    As listed in: RFC 792.
    IcmpType double
    As listed in: RFC 792.
    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.
    KeepConnectionsOpenAfterPolicyInstallation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    ManagementServiceIcmpId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    IcmpCode float64
    As listed in: RFC 792.
    IcmpType float64
    As listed in: RFC 792.
    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.
    KeepConnectionsOpenAfterPolicyInstallation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    ManagementServiceIcmpId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    icmpCode Double
    As listed in: RFC 792.
    icmpType Double
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation Boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    icmpCode number
    As listed in: RFC 792.
    icmpType number
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    icmp_code float
    As listed in: RFC 792.
    icmp_type float
    As listed in: RFC 792.
    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.
    keep_connections_open_after_policy_installation bool
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    management_service_icmp_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    icmpCode Number
    As listed in: RFC 792.
    icmpType Number
    As listed in: RFC 792.
    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.
    keepConnectionsOpenAfterPolicyInstallation Boolean
    Keep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
    managementServiceIcmpId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers.tags 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