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

checkpoint.ManagementServiceRpc

Explore with Pulumi AI

This resource allows you to execute Check Point Service Rpc.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const example = new checkpoint.ManagementServiceRpc("example", {
    keepConnectionsOpenAfterPolicyInstallation: false,
    programNumber: 5669,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementServiceRpc("example",
    keep_connections_open_after_policy_installation=False,
    program_number=5669)
Copy
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.NewManagementServiceRpc(ctx, "example", &checkpoint.ManagementServiceRpcArgs{
			KeepConnectionsOpenAfterPolicyInstallation: pulumi.Bool(false),
			ProgramNumber: pulumi.Float64(5669),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var example = new Checkpoint.ManagementServiceRpc("example", new()
    {
        KeepConnectionsOpenAfterPolicyInstallation = false,
        ProgramNumber = 5669,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementServiceRpc;
import com.pulumi.checkpoint.ManagementServiceRpcArgs;
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 ManagementServiceRpc("example", ManagementServiceRpcArgs.builder()
            .keepConnectionsOpenAfterPolicyInstallation(false)
            .programNumber(5669)
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementServiceRpc
    properties:
      keepConnectionsOpenAfterPolicyInstallation: false
      programNumber: 5669
Copy

Create ManagementServiceRpc Resource

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

Constructor syntax

new ManagementServiceRpc(name: string, args?: ManagementServiceRpcArgs, opts?: CustomResourceOptions);
@overload
def ManagementServiceRpc(resource_name: str,
                         args: Optional[ManagementServiceRpcArgs] = None,
                         opts: Optional[ResourceOptions] = None)

@overload
def ManagementServiceRpc(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         color: Optional[str] = None,
                         comments: Optional[str] = None,
                         ignore_errors: Optional[bool] = None,
                         ignore_warnings: Optional[bool] = None,
                         keep_connections_open_after_policy_installation: Optional[bool] = None,
                         management_service_rpc_id: Optional[str] = None,
                         name: Optional[str] = None,
                         program_number: Optional[float] = None,
                         tags: Optional[Sequence[str]] = None)
func NewManagementServiceRpc(ctx *Context, name string, args *ManagementServiceRpcArgs, opts ...ResourceOption) (*ManagementServiceRpc, error)
public ManagementServiceRpc(string name, ManagementServiceRpcArgs? args = null, CustomResourceOptions? opts = null)
public ManagementServiceRpc(String name, ManagementServiceRpcArgs args)
public ManagementServiceRpc(String name, ManagementServiceRpcArgs args, CustomResourceOptions options)
type: checkpoint:ManagementServiceRpc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ManagementServiceRpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ManagementServiceRpcArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ManagementServiceRpcArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ManagementServiceRpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementServiceRpcArgs
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 managementServiceRpcResource = new Checkpoint.ManagementServiceRpc("managementServiceRpcResource", new()
{
    Color = "string",
    Comments = "string",
    IgnoreErrors = false,
    IgnoreWarnings = false,
    KeepConnectionsOpenAfterPolicyInstallation = false,
    ManagementServiceRpcId = "string",
    Name = "string",
    ProgramNumber = 0,
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := checkpoint.NewManagementServiceRpc(ctx, "managementServiceRpcResource", &checkpoint.ManagementServiceRpcArgs{
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
KeepConnectionsOpenAfterPolicyInstallation: pulumi.Bool(false),
ManagementServiceRpcId: pulumi.String("string"),
Name: pulumi.String("string"),
ProgramNumber: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var managementServiceRpcResource = new ManagementServiceRpc("managementServiceRpcResource", ManagementServiceRpcArgs.builder()
    .color("string")
    .comments("string")
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .keepConnectionsOpenAfterPolicyInstallation(false)
    .managementServiceRpcId("string")
    .name("string")
    .programNumber(0)
    .tags("string")
    .build());
Copy
management_service_rpc_resource = checkpoint.ManagementServiceRpc("managementServiceRpcResource",
    color="string",
    comments="string",
    ignore_errors=False,
    ignore_warnings=False,
    keep_connections_open_after_policy_installation=False,
    management_service_rpc_id="string",
    name="string",
    program_number=0,
    tags=["string"])
Copy
const managementServiceRpcResource = new checkpoint.ManagementServiceRpc("managementServiceRpcResource", {
    color: "string",
    comments: "string",
    ignoreErrors: false,
    ignoreWarnings: false,
    keepConnectionsOpenAfterPolicyInstallation: false,
    managementServiceRpcId: "string",
    name: "string",
    programNumber: 0,
    tags: ["string"],
});
Copy
type: checkpoint:ManagementServiceRpc
properties:
    color: string
    comments: string
    ignoreErrors: false
    ignoreWarnings: false
    keepConnectionsOpenAfterPolicyInstallation: false
    managementServiceRpcId: string
    name: string
    programNumber: 0
    tags:
        - string
Copy

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

Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
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.
ManagementServiceRpcId string
Name string
Object name.
ProgramNumber double
N/A
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.
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.
ManagementServiceRpcId string
Name string
Object name.
ProgramNumber float64
N/A
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.
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.
managementServiceRpcId String
name String
Object name.
programNumber Double
N/A
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.
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.
managementServiceRpcId string
name string
Object name.
programNumber number
N/A
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.
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_rpc_id str
name str
Object name.
program_number float
N/A
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.
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.
managementServiceRpcId String
name String
Object name.
programNumber Number
N/A
tags List<String>
Collection of tag identifiers.tags blocks are documented below.

Outputs

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

Get an existing ManagementServiceRpc 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?: ManagementServiceRpcState, opts?: CustomResourceOptions): ManagementServiceRpc
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        keep_connections_open_after_policy_installation: Optional[bool] = None,
        management_service_rpc_id: Optional[str] = None,
        name: Optional[str] = None,
        program_number: Optional[float] = None,
        tags: Optional[Sequence[str]] = None) -> ManagementServiceRpc
func GetManagementServiceRpc(ctx *Context, name string, id IDInput, state *ManagementServiceRpcState, opts ...ResourceOption) (*ManagementServiceRpc, error)
public static ManagementServiceRpc Get(string name, Input<string> id, ManagementServiceRpcState? state, CustomResourceOptions? opts = null)
public static ManagementServiceRpc get(String name, Output<String> id, ManagementServiceRpcState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementServiceRpc    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
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.
ManagementServiceRpcId string
Name string
Object name.
ProgramNumber double
N/A
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.
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.
ManagementServiceRpcId string
Name string
Object name.
ProgramNumber float64
N/A
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.
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.
managementServiceRpcId String
name String
Object name.
programNumber Double
N/A
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.
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.
managementServiceRpcId string
name string
Object name.
programNumber number
N/A
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.
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_rpc_id str
name str
Object name.
program_number float
N/A
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.
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.
managementServiceRpcId String
name String
Object name.
programNumber Number
N/A
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.