checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementDataServiceIcmp
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
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,
});
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)
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
})
}
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,
});
});
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());
}
}
resources:
serviceIcmp:
type: checkpoint:ManagementServiceIcmp
variables:
dataServiceIcmp:
fn::invoke:
function: checkpoint:getManagementDataServiceIcmp
arguments:
name: ${serviceIcmp.name}
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>
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]
func GetManagementDataServiceIcmp(ctx *Context, args *GetManagementDataServiceIcmpArgs, opts ...InvokeOption) (*GetManagementDataServiceIcmpResult, error)
func GetManagementDataServiceIcmpOutput(ctx *Context, args *GetManagementDataServiceIcmpOutputArgs, opts ...InvokeOption) GetManagementDataServiceIcmpResultOutput
> 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)
}
public static CompletableFuture<GetManagementDataServiceIcmpResult> getManagementDataServiceIcmp(GetManagementDataServiceIcmpArgs args, InvokeOptions options)
public static Output<GetManagementDataServiceIcmpResult> getManagementDataServiceIcmp(GetManagementDataServiceIcmpArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDataServiceIcmp:getManagementDataServiceIcmp
arguments:
# arguments dictionary
The following arguments are supported:
getManagementDataServiceIcmp Result
The following output properties are available:
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw