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

checkpoint.getManagementDataServiceRpc

Explore with Pulumi AI

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

Example Usage

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

const serviceRpc = new checkpoint.ManagementServiceRpc("serviceRpc", {});
const dataServiceRpc = checkpoint.getManagementDataServiceRpcOutput({
    name: serviceRpc.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

service_rpc = checkpoint.ManagementServiceRpc("serviceRpc")
data_service_rpc = checkpoint.get_management_data_service_rpc_output(name=service_rpc.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 {
		serviceRpc, err := checkpoint.NewManagementServiceRpc(ctx, "serviceRpc", nil)
		if err != nil {
			return err
		}
		_ = checkpoint.GetManagementDataServiceRpcOutput(ctx, checkpoint.GetManagementDataServiceRpcOutputArgs{
			Name: serviceRpc.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var serviceRpc = new Checkpoint.ManagementServiceRpc("serviceRpc");

    var dataServiceRpc = Checkpoint.GetManagementDataServiceRpc.Invoke(new()
    {
        Name = serviceRpc.Name,
    });

});
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.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataServiceRpcArgs;
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 serviceRpc = new ManagementServiceRpc("serviceRpc");

        final var dataServiceRpc = CheckpointFunctions.getManagementDataServiceRpc(GetManagementDataServiceRpcArgs.builder()
            .name(serviceRpc.name())
            .build());

    }
}
Copy
resources:
  serviceRpc:
    type: checkpoint:ManagementServiceRpc
variables:
  dataServiceRpc:
    fn::invoke:
      function: checkpoint:getManagementDataServiceRpc
      arguments:
        name: ${serviceRpc.name}
Copy

Using getManagementDataServiceRpc

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 getManagementDataServiceRpc(args: GetManagementDataServiceRpcArgs, opts?: InvokeOptions): Promise<GetManagementDataServiceRpcResult>
function getManagementDataServiceRpcOutput(args: GetManagementDataServiceRpcOutputArgs, opts?: InvokeOptions): Output<GetManagementDataServiceRpcResult>
Copy
def get_management_data_service_rpc(id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    uid: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetManagementDataServiceRpcResult
def get_management_data_service_rpc_output(id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    uid: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataServiceRpcResult]
Copy
func GetManagementDataServiceRpc(ctx *Context, args *GetManagementDataServiceRpcArgs, opts ...InvokeOption) (*GetManagementDataServiceRpcResult, error)
func GetManagementDataServiceRpcOutput(ctx *Context, args *GetManagementDataServiceRpcOutputArgs, opts ...InvokeOption) GetManagementDataServiceRpcResultOutput
Copy

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

public static class GetManagementDataServiceRpc 
{
    public static Task<GetManagementDataServiceRpcResult> InvokeAsync(GetManagementDataServiceRpcArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementDataServiceRpcResult> Invoke(GetManagementDataServiceRpcInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementDataServiceRpcResult> getManagementDataServiceRpc(GetManagementDataServiceRpcArgs args, InvokeOptions options)
public static Output<GetManagementDataServiceRpcResult> getManagementDataServiceRpc(GetManagementDataServiceRpcArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementDataServiceRpc:getManagementDataServiceRpc
  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.

getManagementDataServiceRpc Result

The following output properties are available:

Color string
Comments string
Groups List<string>
Id string
KeepConnectionsOpenAfterPolicyInstallation bool
ProgramNumber double
Tags List<string>
Name string
Uid string
Color string
Comments string
Groups []string
Id string
KeepConnectionsOpenAfterPolicyInstallation bool
ProgramNumber float64
Tags []string
Name string
Uid string
color String
comments String
groups List<String>
id String
keepConnectionsOpenAfterPolicyInstallation Boolean
programNumber Double
tags List<String>
name String
uid String
color string
comments string
groups string[]
id string
keepConnectionsOpenAfterPolicyInstallation boolean
programNumber number
tags string[]
name string
uid string
color String
comments String
groups List<String>
id String
keepConnectionsOpenAfterPolicyInstallation Boolean
programNumber Number
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.