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

checkpoint.getManagementDataHost

Explore with Pulumi AI

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

Example Usage

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

const host = new checkpoint.ManagementHost("host", {ipv4Address: "1.2.3.4"});
const dataHost = checkpoint.getManagementDataHostOutput({
    name: host.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

host = checkpoint.ManagementHost("host", ipv4_address="1.2.3.4")
data_host = checkpoint.get_management_data_host_output(name=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 {
		host, err := checkpoint.NewManagementHost(ctx, "host", &checkpoint.ManagementHostArgs{
			Ipv4Address: pulumi.String("1.2.3.4"),
		})
		if err != nil {
			return err
		}
		_ = checkpoint.GetManagementDataHostOutput(ctx, checkpoint.GetManagementDataHostOutputArgs{
			Name: host.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

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

    var dataHost = Checkpoint.GetManagementDataHost.Invoke(new()
    {
        Name = host.Name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementHost;
import com.pulumi.checkpoint.ManagementHostArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataHostArgs;
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 host = new ManagementHost("host", ManagementHostArgs.builder()
            .ipv4Address("1.2.3.4")
            .build());

        final var dataHost = CheckpointFunctions.getManagementDataHost(GetManagementDataHostArgs.builder()
            .name(host.name())
            .build());

    }
}
Copy
resources:
  host:
    type: checkpoint:ManagementHost
    properties:
      ipv4Address: 1.2.3.4
variables:
  dataHost:
    fn::invoke:
      function: checkpoint:getManagementDataHost
      arguments:
        name: ${host.name}
Copy

Using getManagementDataHost

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 getManagementDataHost(args: GetManagementDataHostArgs, opts?: InvokeOptions): Promise<GetManagementDataHostResult>
function getManagementDataHostOutput(args: GetManagementDataHostOutputArgs, opts?: InvokeOptions): Output<GetManagementDataHostResult>
Copy
def get_management_data_host(id: Optional[str] = None,
                             name: Optional[str] = None,
                             uid: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetManagementDataHostResult
def get_management_data_host_output(id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             uid: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataHostResult]
Copy
func GetManagementDataHost(ctx *Context, args *GetManagementDataHostArgs, opts ...InvokeOption) (*GetManagementDataHostResult, error)
func GetManagementDataHostOutput(ctx *Context, args *GetManagementDataHostOutputArgs, opts ...InvokeOption) GetManagementDataHostResultOutput
Copy

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

public static class GetManagementDataHost 
{
    public static Task<GetManagementDataHostResult> InvokeAsync(GetManagementDataHostArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementDataHostResult> Invoke(GetManagementDataHostInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementDataHostResult> getManagementDataHost(GetManagementDataHostArgs args, InvokeOptions options)
public static Output<GetManagementDataHostResult> getManagementDataHost(GetManagementDataHostArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementDataHost:getManagementDataHost
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Object name. Should be unique in the domain.
Uid string
Object unique identifier.
Id string
Name string
Object name. Should be unique in the domain.
Uid string
Object unique identifier.
id String
name String
Object name. Should be unique in the domain.
uid String
Object unique identifier.
id string
name string
Object name. Should be unique in the domain.
uid string
Object unique identifier.
id str
name str
Object name. Should be unique in the domain.
uid str
Object unique identifier.
id String
name String
Object name. Should be unique in the domain.
uid String
Object unique identifier.

getManagementDataHost Result

The following output properties are available:

color String
comments String
groups List<String>
hostServers List<Property Map>
id String
interfaces List<Property Map>
ipv4Address String
ipv6Address String
natSettings Map<String>
tags List<String>
name String
uid String

Supporting Types

GetManagementDataHostHostServer

DnsServer This property is required. bool
Gets True if this server is a DNS Server.
MailServer This property is required. bool
Gets True if this server is a Mail Server.
WebServer This property is required. bool
Gets True if this server is a Web Server.
WebServerConfigs This property is required. List<GetManagementDataHostHostServerWebServerConfig>
Web Server configuration. Web Server configuration blocks are documented below.
DnsServer This property is required. bool
Gets True if this server is a DNS Server.
MailServer This property is required. bool
Gets True if this server is a Mail Server.
WebServer This property is required. bool
Gets True if this server is a Web Server.
WebServerConfigs This property is required. []GetManagementDataHostHostServerWebServerConfig
Web Server configuration. Web Server configuration blocks are documented below.
dnsServer This property is required. Boolean
Gets True if this server is a DNS Server.
mailServer This property is required. Boolean
Gets True if this server is a Mail Server.
webServer This property is required. Boolean
Gets True if this server is a Web Server.
webServerConfigs This property is required. List<GetManagementDataHostHostServerWebServerConfig>
Web Server configuration. Web Server configuration blocks are documented below.
dnsServer This property is required. boolean
Gets True if this server is a DNS Server.
mailServer This property is required. boolean
Gets True if this server is a Mail Server.
webServer This property is required. boolean
Gets True if this server is a Web Server.
webServerConfigs This property is required. GetManagementDataHostHostServerWebServerConfig[]
Web Server configuration. Web Server configuration blocks are documented below.
dns_server This property is required. bool
Gets True if this server is a DNS Server.
mail_server This property is required. bool
Gets True if this server is a Mail Server.
web_server This property is required. bool
Gets True if this server is a Web Server.
web_server_configs This property is required. Sequence[GetManagementDataHostHostServerWebServerConfig]
Web Server configuration. Web Server configuration blocks are documented below.
dnsServer This property is required. Boolean
Gets True if this server is a DNS Server.
mailServer This property is required. Boolean
Gets True if this server is a Mail Server.
webServer This property is required. Boolean
Gets True if this server is a Web Server.
webServerConfigs This property is required. List<Property Map>
Web Server configuration. Web Server configuration blocks are documented below.

GetManagementDataHostHostServerWebServerConfig

AdditionalPorts This property is required. List<string>
Server additional ports.
ApplicationEngines This property is required. List<string>
Application engines of this web server.
ListenStandardPort This property is required. bool
"Whether server listens to standard port.
OperatingSystem This property is required. string
Operating System.
ProtectedBy This property is required. string
Network object which protects this server identified by the name or UID.
AdditionalPorts This property is required. []string
Server additional ports.
ApplicationEngines This property is required. []string
Application engines of this web server.
ListenStandardPort This property is required. bool
"Whether server listens to standard port.
OperatingSystem This property is required. string
Operating System.
ProtectedBy This property is required. string
Network object which protects this server identified by the name or UID.
additionalPorts This property is required. List<String>
Server additional ports.
applicationEngines This property is required. List<String>
Application engines of this web server.
listenStandardPort This property is required. Boolean
"Whether server listens to standard port.
operatingSystem This property is required. String
Operating System.
protectedBy This property is required. String
Network object which protects this server identified by the name or UID.
additionalPorts This property is required. string[]
Server additional ports.
applicationEngines This property is required. string[]
Application engines of this web server.
listenStandardPort This property is required. boolean
"Whether server listens to standard port.
operatingSystem This property is required. string
Operating System.
protectedBy This property is required. string
Network object which protects this server identified by the name or UID.
additional_ports This property is required. Sequence[str]
Server additional ports.
application_engines This property is required. Sequence[str]
Application engines of this web server.
listen_standard_port This property is required. bool
"Whether server listens to standard port.
operating_system This property is required. str
Operating System.
protected_by This property is required. str
Network object which protects this server identified by the name or UID.
additionalPorts This property is required. List<String>
Server additional ports.
applicationEngines This property is required. List<String>
Application engines of this web server.
listenStandardPort This property is required. Boolean
"Whether server listens to standard port.
operatingSystem This property is required. String
Operating System.
protectedBy This property is required. String
Network object which protects this server identified by the name or UID.

GetManagementDataHostInterface

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
Object name. Should be unique in the domain.
Subnet4 This property is required. string
IPv4 network address.
Subnet6 This property is required. string
IPv6 network address.
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
Object name. Should be unique in the domain.
Subnet4 This property is required. string
IPv4 network address.
Subnet6 This property is required. string
IPv6 network address.
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
Object name. Should be unique in the domain.
subnet4 This property is required. String
IPv4 network address.
subnet6 This property is required. String
IPv6 network address.
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
Object name. Should be unique in the domain.
subnet4 This property is required. string
IPv4 network address.
subnet6 This property is required. string
IPv6 network address.
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
Object name. Should be unique in the domain.
subnet4 This property is required. str
IPv4 network address.
subnet6 This property is required. str
IPv6 network address.
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
Object name. Should be unique in the domain.
subnet4 This property is required. String
IPv4 network address.
subnet6 This property is required. String
IPv6 network address.

Package Details

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