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 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. List<GetManagement Data Host Host Server Web Server Config> - 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. []GetManagement Data Host Host Server Web Server Config - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server This property is required. Boolean - Gets True if this server is a DNS Server.
- mail
Server This property is required. Boolean - Gets True if this server is a Mail Server.
- web
Server This property is required. Boolean - Gets True if this server is a Web Server.
- web
Server Configs This property is required. List<GetManagement Data Host Host Server Web Server Config> - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server This property is required. boolean - Gets True if this server is a DNS Server.
- mail
Server This property is required. boolean - Gets True if this server is a Mail Server.
- web
Server This property is required. boolean - Gets True if this server is a Web Server.
- web
Server Configs This property is required. GetManagement Data Host Host Server Web Server Config[] - 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[GetManagement Data Host Host Server Web Server Config] - Web Server configuration. Web Server configuration blocks are documented below.
- dns
Server This property is required. Boolean - Gets True if this server is a DNS Server.
- mail
Server This property is required. Boolean - Gets True if this server is a Mail Server.
- web
Server This property is required. Boolean - Gets True if this server is a Web Server.
- web
Server Configs This property is required. List<Property Map> - Web Server configuration. Web Server configuration blocks are documented below.
GetManagementDataHostHostServerWebServerConfig
- Additional
Ports This property is required. List<string> - Server additional ports.
- Application
Engines This property is required. List<string> - 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. string - Operating System.
- Protected
By This property is required. string - Network object which protects this server identified by the name or UID.
- Additional
Ports This property is required. []string - Server additional ports.
- Application
Engines This property is required. []string - 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. string - Operating System.
- Protected
By This property is required. string - Network object which protects this server identified by the name or UID.
- additional
Ports This property is required. List<String> - Server additional ports.
- application
Engines This property is required. List<String> - Application engines of this web server.
- listen
Standard Port This property is required. Boolean - "Whether server listens to standard port.
- operating
System This property is required. String - Operating System.
- protected
By This property is required. String - Network object which protects this server identified by the name or UID.
- additional
Ports This property is required. string[] - Server additional ports.
- application
Engines This property is required. string[] - Application engines of this web server.
- listen
Standard Port This property is required. boolean - "Whether server listens to standard port.
- operating
System This property is required. string - Operating System.
- protected
By 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.
- additional
Ports This property is required. List<String> - Server additional ports.
- application
Engines This property is required. List<String> - Application engines of this web server.
- listen
Standard Port This property is required. Boolean - "Whether server listens to standard port.
- operating
System This property is required. String - Operating System.
- protected
By 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.
- Mask
Length4 This property is required. double - IPv4 network mask length.
- Mask
Length6 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.
- Mask
Length4 This property is required. float64 - IPv4 network mask length.
- Mask
Length6 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.
- mask
Length4 This property is required. Double - IPv4 network mask length.
- mask
Length6 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.
- mask
Length4 This property is required. number - IPv4 network mask length.
- mask
Length6 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.
- mask
Length4 This property is required. Number - IPv4 network mask length.
- mask
Length6 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.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw