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

checkpoint.getManagementDataServiceIcmp

Explore with Pulumi AI

Use this data source to get information on an existing Check Point Service Icmp.

Example Usage

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

const serviceIcmp = new checkpoint.ManagementServiceIcmp("serviceIcmp", {});
const dataServiceIcmp = checkpoint.getManagementDataServiceIcmpOutput({
    name: serviceIcmp.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

service_icmp = checkpoint.ManagementServiceIcmp("serviceIcmp")
data_service_icmp = checkpoint.get_management_data_service_icmp_output(name=service_icmp.name)
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 {
		serviceIcmp, err := checkpoint.NewManagementServiceIcmp(ctx, "serviceIcmp", nil)
		if err != nil {
			return err
		}
		_ = checkpoint.GetManagementDataServiceIcmpOutput(ctx, checkpoint.GetManagementDataServiceIcmpOutputArgs{
			Name: serviceIcmp.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var serviceIcmp = new Checkpoint.ManagementServiceIcmp("serviceIcmp");

    var dataServiceIcmp = Checkpoint.GetManagementDataServiceIcmp.Invoke(new()
    {
        Name = serviceIcmp.Name,
    });

});
Copy
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.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataServiceIcmpArgs;
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 serviceIcmp = new ManagementServiceIcmp("serviceIcmp");

        final var dataServiceIcmp = CheckpointFunctions.getManagementDataServiceIcmp(GetManagementDataServiceIcmpArgs.builder()
            .name(serviceIcmp.name())
            .build());

    }
}
Copy
resources:
  serviceIcmp:
    type: checkpoint:ManagementServiceIcmp
variables:
  dataServiceIcmp:
    fn::invoke:
      function: checkpoint:getManagementDataServiceIcmp
      arguments:
        name: ${serviceIcmp.name}
Copy

Using getManagementDataServiceIcmp

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getManagementDataServiceIcmp(args: GetManagementDataServiceIcmpArgs, opts?: InvokeOptions): Promise<GetManagementDataServiceIcmpResult>
function getManagementDataServiceIcmpOutput(args: GetManagementDataServiceIcmpOutputArgs, opts?: InvokeOptions): Output<GetManagementDataServiceIcmpResult>
Copy
def get_management_data_service_icmp(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     uid: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetManagementDataServiceIcmpResult
def get_management_data_service_icmp_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     uid: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataServiceIcmpResult]
Copy
func GetManagementDataServiceIcmp(ctx *Context, args *GetManagementDataServiceIcmpArgs, opts ...InvokeOption) (*GetManagementDataServiceIcmpResult, error)
func GetManagementDataServiceIcmpOutput(ctx *Context, args *GetManagementDataServiceIcmpOutputArgs, opts ...InvokeOption) GetManagementDataServiceIcmpResultOutput
Copy

> Note: This function is named GetManagementDataServiceIcmp in the Go SDK.

public static class GetManagementDataServiceIcmp 
{
    public static Task<GetManagementDataServiceIcmpResult> InvokeAsync(GetManagementDataServiceIcmpArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementDataServiceIcmpResult> Invoke(GetManagementDataServiceIcmpInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementDataServiceIcmpResult> getManagementDataServiceIcmp(GetManagementDataServiceIcmpArgs args, InvokeOptions options)
public static Output<GetManagementDataServiceIcmpResult> getManagementDataServiceIcmp(GetManagementDataServiceIcmpArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementDataServiceIcmp:getManagementDataServiceIcmp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Object name.
Uid string
Object unique identifier.
Id string
Name string
Object name.
Uid string
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.
id string
name string
Object name.
uid string
Object unique identifier.
id str
name str
Object name.
uid str
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.

getManagementDataServiceIcmp Result

The following output properties are available:

Color string
Comments string
Groups List<string>
IcmpCode double
IcmpType double
Id string
KeepConnectionsOpenAfterPolicyInstallation bool
Tags List<string>
Name string
Uid string
Color string
Comments string
Groups []string
IcmpCode float64
IcmpType float64
Id string
KeepConnectionsOpenAfterPolicyInstallation bool
Tags []string
Name string
Uid string
color String
comments String
groups List<String>
icmpCode Double
icmpType Double
id String
keepConnectionsOpenAfterPolicyInstallation Boolean
tags List<String>
name String
uid String
color string
comments string
groups string[]
icmpCode number
icmpType number
id string
keepConnectionsOpenAfterPolicyInstallation boolean
tags string[]
name string
uid string
color str
comments str
groups Sequence[str]
icmp_code float
icmp_type float
id str
keep_connections_open_after_policy_installation bool
tags Sequence[str]
name str
uid str
color String
comments String
groups List<String>
icmpCode Number
icmpType Number
id String
keepConnectionsOpenAfterPolicyInstallation Boolean
tags List<String>
name String
uid String

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.