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

checkpoint.getManagementCheckpointHost

Explore with Pulumi AI

This resource allows you to execute Check Point Checkpoint Host.

Example Usage

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

const checkpointHost = new checkpoint.ManagementCheckpointHost("checkpointHost", {ipv4Address: "1.2.3.4"});
const dataCheckpointHost = checkpoint.getManagementCheckpointHostOutput({
    name: checkpointHost.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

checkpoint_host = checkpoint.ManagementCheckpointHost("checkpointHost", ipv4_address="1.2.3.4")
data_checkpoint_host = checkpoint.get_management_checkpoint_host_output(name=checkpoint_host.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 {
		checkpointHost, err := checkpoint.NewManagementCheckpointHost(ctx, "checkpointHost", &checkpoint.ManagementCheckpointHostArgs{
			Ipv4Address: pulumi.String("1.2.3.4"),
		})
		if err != nil {
			return err
		}
		_ = checkpoint.LookupManagementCheckpointHostOutput(ctx, checkpoint.GetManagementCheckpointHostOutputArgs{
			Name: checkpointHost.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var checkpointHost = new Checkpoint.ManagementCheckpointHost("checkpointHost", new()
    {
        Ipv4Address = "1.2.3.4",
    });

    var dataCheckpointHost = Checkpoint.GetManagementCheckpointHost.Invoke(new()
    {
        Name = checkpointHost.Name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementCheckpointHost;
import com.pulumi.checkpoint.ManagementCheckpointHostArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementCheckpointHostArgs;
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 checkpointHost = new ManagementCheckpointHost("checkpointHost", ManagementCheckpointHostArgs.builder()
            .ipv4Address("1.2.3.4")
            .build());

        final var dataCheckpointHost = CheckpointFunctions.getManagementCheckpointHost(GetManagementCheckpointHostArgs.builder()
            .name(checkpointHost.name())
            .build());

    }
}
Copy
resources:
  checkpointHost:
    type: checkpoint:ManagementCheckpointHost
    properties:
      ipv4Address: 1.2.3.4
variables:
  dataCheckpointHost:
    fn::invoke:
      function: checkpoint:getManagementCheckpointHost
      arguments:
        name: ${checkpointHost.name}
Copy

Using getManagementCheckpointHost

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 getManagementCheckpointHost(args: GetManagementCheckpointHostArgs, opts?: InvokeOptions): Promise<GetManagementCheckpointHostResult>
function getManagementCheckpointHostOutput(args: GetManagementCheckpointHostOutputArgs, opts?: InvokeOptions): Output<GetManagementCheckpointHostResult>
Copy
def get_management_checkpoint_host(id: Optional[str] = None,
                                   management_blades: Optional[Mapping[str, str]] = None,
                                   name: Optional[str] = None,
                                   uid: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetManagementCheckpointHostResult
def get_management_checkpoint_host_output(id: Optional[pulumi.Input[str]] = None,
                                   management_blades: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   uid: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetManagementCheckpointHostResult]
Copy
func LookupManagementCheckpointHost(ctx *Context, args *LookupManagementCheckpointHostArgs, opts ...InvokeOption) (*LookupManagementCheckpointHostResult, error)
func LookupManagementCheckpointHostOutput(ctx *Context, args *LookupManagementCheckpointHostOutputArgs, opts ...InvokeOption) LookupManagementCheckpointHostResultOutput
Copy

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

public static class GetManagementCheckpointHost 
{
    public static Task<GetManagementCheckpointHostResult> InvokeAsync(GetManagementCheckpointHostArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementCheckpointHostResult> Invoke(GetManagementCheckpointHostInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementCheckpointHostResult> getManagementCheckpointHost(GetManagementCheckpointHostArgs args, InvokeOptions options)
public static Output<GetManagementCheckpointHostResult> getManagementCheckpointHost(GetManagementCheckpointHostArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementCheckpointHost:getManagementCheckpointHost
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
ManagementBlades Dictionary<string, string>
Management blades. management_blades blocks are documented below.
Name string
Object name.
Uid string
Object unique identifier.
Id string
ManagementBlades map[string]string
Management blades. management_blades blocks are documented below.
Name string
Object name.
Uid string
Object unique identifier.
id String
managementBlades Map<String,String>
Management blades. management_blades blocks are documented below.
name String
Object name.
uid String
Object unique identifier.
id string
managementBlades {[key: string]: string}
Management blades. management_blades blocks are documented below.
name string
Object name.
uid string
Object unique identifier.
id str
management_blades Mapping[str, str]
Management blades. management_blades blocks are documented below.
name str
Object name.
uid str
Object unique identifier.
id String
managementBlades Map<String>
Management blades. management_blades blocks are documented below.
name String
Object name.
uid String
Object unique identifier.

getManagementCheckpointHost Result

The following output properties are available:

Color string
Comments string
Hardware string
Id string
Interfaces List<GetManagementCheckpointHostInterface>
Ipv4Address string
Ipv6Address string
LogsSettings Dictionary<string, string>
NatSettings Dictionary<string, string>
Os string
SaveLogsLocally bool
SendAlertsToServers List<string>
SendLogsToBackupServers List<string>
SendLogsToServers List<string>
SicName string
SicState string
Tags List<string>
Version string
ManagementBlades Dictionary<string, string>
Name string
Uid string
Color string
Comments string
Hardware string
Id string
Interfaces []GetManagementCheckpointHostInterface
Ipv4Address string
Ipv6Address string
LogsSettings map[string]string
NatSettings map[string]string
Os string
SaveLogsLocally bool
SendAlertsToServers []string
SendLogsToBackupServers []string
SendLogsToServers []string
SicName string
SicState string
Tags []string
Version string
ManagementBlades map[string]string
Name string
Uid string
color String
comments String
hardware String
id String
interfaces List<GetManagementCheckpointHostInterface>
ipv4Address String
ipv6Address String
logsSettings Map<String,String>
natSettings Map<String,String>
os String
saveLogsLocally Boolean
sendAlertsToServers List<String>
sendLogsToBackupServers List<String>
sendLogsToServers List<String>
sicName String
sicState String
tags List<String>
version String
managementBlades Map<String,String>
name String
uid String
color string
comments string
hardware string
id string
interfaces GetManagementCheckpointHostInterface[]
ipv4Address string
ipv6Address string
logsSettings {[key: string]: string}
natSettings {[key: string]: string}
os string
saveLogsLocally boolean
sendAlertsToServers string[]
sendLogsToBackupServers string[]
sendLogsToServers string[]
sicName string
sicState string
tags string[]
version string
managementBlades {[key: string]: string}
name string
uid string
color String
comments String
hardware String
id String
interfaces List<Property Map>
ipv4Address String
ipv6Address String
logsSettings Map<String>
natSettings Map<String>
os String
saveLogsLocally Boolean
sendAlertsToServers List<String>
sendLogsToBackupServers List<String>
sendLogsToServers List<String>
sicName String
sicState String
tags List<String>
version String
managementBlades Map<String>
name String
uid String

Supporting Types

GetManagementCheckpointHostInterface

Color This property is required. string
Color of the object. Should be one of existing colors.
Comments This property is required. string
Comments string.
MaskLength4 This property is required. double
IPv4 network mask length.
MaskLength6 This property is required. double
IPv6 network mask length.
Name This property is required. string
Interface name.
Subnet4 This property is required. string
IPv4 network address.
Subnet6 This property is required. string
IPv6 network address.
SubnetMask This property is required. string
IPv4 network mask.
Color This property is required. string
Color of the object. Should be one of existing colors.
Comments This property is required. string
Comments string.
MaskLength4 This property is required. float64
IPv4 network mask length.
MaskLength6 This property is required. float64
IPv6 network mask length.
Name This property is required. string
Interface name.
Subnet4 This property is required. string
IPv4 network address.
Subnet6 This property is required. string
IPv6 network address.
SubnetMask This property is required. string
IPv4 network mask.
color This property is required. String
Color of the object. Should be one of existing colors.
comments This property is required. String
Comments string.
maskLength4 This property is required. Double
IPv4 network mask length.
maskLength6 This property is required. Double
IPv6 network mask length.
name This property is required. String
Interface name.
subnet4 This property is required. String
IPv4 network address.
subnet6 This property is required. String
IPv6 network address.
subnetMask This property is required. String
IPv4 network mask.
color This property is required. string
Color of the object. Should be one of existing colors.
comments This property is required. string
Comments string.
maskLength4 This property is required. number
IPv4 network mask length.
maskLength6 This property is required. number
IPv6 network mask length.
name This property is required. string
Interface name.
subnet4 This property is required. string
IPv4 network address.
subnet6 This property is required. string
IPv6 network address.
subnetMask This property is required. string
IPv4 network mask.
color This property is required. str
Color of the object. Should be one of existing colors.
comments This property is required. str
Comments string.
mask_length4 This property is required. float
IPv4 network mask length.
mask_length6 This property is required. float
IPv6 network mask length.
name This property is required. str
Interface name.
subnet4 This property is required. str
IPv4 network address.
subnet6 This property is required. str
IPv6 network address.
subnet_mask This property is required. str
IPv4 network mask.
color This property is required. String
Color of the object. Should be one of existing colors.
comments This property is required. String
Comments string.
maskLength4 This property is required. Number
IPv4 network mask length.
maskLength6 This property is required. Number
IPv6 network mask length.
name This property is required. String
Interface name.
subnet4 This property is required. String
IPv4 network address.
subnet6 This property is required. String
IPv6 network address.
subnetMask This property is required. String
IPv4 network mask.

Package Details

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