checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementDataHost
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 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,
});
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)
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
})
}
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,
});
});
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());
}
}
resources:
host:
type: checkpoint:ManagementHost
properties:
ipv4Address: 1.2.3.4
variables:
dataHost:
fn::invoke:
function: checkpoint:getManagementDataHost
arguments:
name: ${host.name}
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>
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]
func GetManagementDataHost(ctx *Context, args *GetManagementDataHostArgs, opts ...InvokeOption) (*GetManagementDataHostResult, error)
func GetManagementDataHostOutput(ctx *Context, args *GetManagementDataHostOutputArgs, opts ...InvokeOption) GetManagementDataHostResultOutput
> 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)
}
public static CompletableFuture<GetManagementDataHostResult> getManagementDataHost(GetManagementDataHostArgs args, InvokeOptions options)
public static Output<GetManagementDataHostResult> getManagementDataHost(GetManagementDataHostArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDataHost:getManagementDataHost
arguments:
# arguments dictionary
The following arguments are supported:
getManagementDataHost Result
The following output properties are available:
- Color string
- Comments string
- Groups List<string>
- Host
Servers List<GetManagement Data Host Host Server> - Id string
- Interfaces
List<Get
Management Data Host Interface> - Ipv4Address string
- Ipv6Address string
- Nat
Settings Dictionary<string, string> - List<string>
- Name string
- Uid string
- Color string
- Comments string
- Groups []string
- Host
Servers []GetManagement Data Host Host Server - Id string
- Interfaces
[]Get
Management Data Host Interface - Ipv4Address string
- Ipv6Address string
- Nat
Settings map[string]string - []string
- Name string
- Uid string
- color String
- comments String
- groups List<String>
- host
Servers List<GetManagement Data Host Host Server> - id String
- interfaces
List<Get
Management Data Host Interface> - ipv4Address String
- ipv6Address String
- nat
Settings Map<String,String> - List<String>
- name String
- uid String
- color string
- comments string
- groups string[]
- host
Servers GetManagement Data Host Host Server[] - id string
- interfaces
Get
Management Data Host Interface[] - ipv4Address string
- ipv6Address string
- nat
Settings {[key: string]: string} - string[]
- name string
- uid string
- color str
- comments str
- groups Sequence[str]
- host_
servers Sequence[GetManagement Data Host Host Server] - id str
- interfaces
Sequence[Get
Management Data Host Interface] - ipv4_
address str - ipv6_
address str - nat_
settings Mapping[str, str] - Sequence[str]
- name str
- uid str
- color String
- comments String
- groups List<String>
- host
Servers List<Property Map> - id String
- interfaces List<Property Map>
- ipv4Address String
- ipv6Address String
- nat
Settings Map<String> - List<String>
- name String
- uid String
Supporting Types
GetManagementDataHostHostServer
- Dns
Server bool - Gets True if this server is a DNS Server.
- Mail
Server bool - Gets True if this server is a Mail Server.
- Web
Server bool - Gets True if this server is a Web Server.
- Web
Server List<GetConfigs Management Data Host Host Server Web Server Config> - Web Server configuration. Web Server configuration blocks are documented below.
- Dns
Server bool - Gets True if this server is a DNS Server.
- Mail
Server bool - Gets True if this server is a Mail Server.
- Web
Server bool - Gets True if this server is a Web Server.
- Web
Server []GetConfigs Management Data Host Host Server Web Server Config - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server Boolean - Gets True if this server is a DNS Server.
- mail
Server Boolean - Gets True if this server is a Mail Server.
- web
Server Boolean - Gets True if this server is a Web Server.
- web
Server List<GetConfigs Management Data Host Host Server Web Server Config> - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server boolean - Gets True if this server is a DNS Server.
- mail
Server boolean - Gets True if this server is a Mail Server.
- web
Server boolean - Gets True if this server is a Web Server.
- web
Server GetConfigs Management Data Host Host Server Web Server Config[] - Web Server configuration. Web Server configuration blocks are documented below.
- dns_
server bool - Gets True if this server is a DNS Server.
- mail_
server bool - Gets True if this server is a Mail Server.
- web_
server bool - Gets True if this server is a Web Server.
- web_
server_ Sequence[Getconfigs Management Data Host Host Server Web Server Config] - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server Boolean - Gets True if this server is a DNS Server.
- mail
Server Boolean - Gets True if this server is a Mail Server.
- web
Server Boolean - Gets True if this server is a Web Server.
- web
Server List<Property Map>Configs - Web Server configuration. Web Server configuration blocks are documented below.
GetManagementDataHostHostServerWebServerConfig
- Additional
Ports List<string> - Server additional ports.
- Application
Engines List<string> - Application engines of this web server.
- Listen
Standard boolPort - "Whether server listens to standard port.
- Operating
System string - Operating System.
- Protected
By string - Network object which protects this server identified by the name or UID.
- Additional
Ports []string - Server additional ports.
- Application
Engines []string - Application engines of this web server.
- Listen
Standard boolPort - "Whether server listens to standard port.
- Operating
System string - Operating System.
- Protected
By string - Network object which protects this server identified by the name or UID.
- additional
Ports List<String> - Server additional ports.
- application
Engines List<String> - Application engines of this web server.
- listen
Standard BooleanPort - "Whether server listens to standard port.
- operating
System String - Operating System.
- protected
By String - Network object which protects this server identified by the name or UID.
- additional
Ports string[] - Server additional ports.
- application
Engines string[] - Application engines of this web server.
- listen
Standard booleanPort - "Whether server listens to standard port.
- operating
System string - Operating System.
- protected
By string - Network object which protects this server identified by the name or UID.
- additional_
ports Sequence[str] - Server additional ports.
- application_
engines Sequence[str] - Application engines of this web server.
- listen_
standard_ boolport - "Whether server listens to standard port.
- operating_
system str - Operating System.
- protected_
by str - Network object which protects this server identified by the name or UID.
- additional
Ports List<String> - Server additional ports.
- application
Engines List<String> - Application engines of this web server.
- listen
Standard BooleanPort - "Whether server listens to standard port.
- operating
System String - Operating System.
- protected
By String - Network object which protects this server identified by the name or UID.
GetManagementDataHostInterface
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Mask
Length4 double - IPv4 network mask length.
- Mask
Length6 double - IPv6 network mask length.
- Name string
- Object name. Should be unique in the domain.
- Subnet4 string
- IPv4 network address.
- Subnet6 string
- IPv6 network address.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Mask
Length4 float64 - IPv4 network mask length.
- Mask
Length6 float64 - IPv6 network mask length.
- Name string
- Object name. Should be unique in the domain.
- Subnet4 string
- IPv4 network address.
- Subnet6 string
- IPv6 network address.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- mask
Length4 Double - IPv4 network mask length.
- mask
Length6 Double - IPv6 network mask length.
- name String
- Object name. Should be unique in the domain.
- subnet4 String
- IPv4 network address.
- subnet6 String
- IPv6 network address.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- mask
Length4 number - IPv4 network mask length.
- mask
Length6 number - IPv6 network mask length.
- name string
- Object name. Should be unique in the domain.
- subnet4 string
- IPv4 network address.
- subnet6 string
- IPv6 network address.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- mask_
length4 float - IPv4 network mask length.
- mask_
length6 float - IPv6 network mask length.
- name str
- Object name. Should be unique in the domain.
- subnet4 str
- IPv4 network address.
- subnet6 str
- IPv6 network address.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- mask
Length4 Number - IPv4 network mask length.
- mask
Length6 Number - IPv6 network mask length.
- name String
- Object name. Should be unique in the domain.
- subnet4 String
- IPv4 network address.
- subnet6 String
- IPv6 network address.
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