checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementDomain
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 Domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementDomain("example", {servers: [{
ipv4Address: "192.0.2.1",
multiDomainServer: "MDM_Server",
name: "domain1_ManagementServer_1",
}]});
const dataDomain = checkpoint.getManagementDomainOutput({
name: example.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementDomain("example", servers=[{
"ipv4_address": "192.0.2.1",
"multi_domain_server": "MDM_Server",
"name": "domain1_ManagementServer_1",
}])
data_domain = checkpoint.get_management_domain_output(name=example.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 {
example, err := checkpoint.NewManagementDomain(ctx, "example", &checkpoint.ManagementDomainArgs{
Servers: checkpoint.ManagementDomainServerArray{
&checkpoint.ManagementDomainServerArgs{
Ipv4Address: pulumi.String("192.0.2.1"),
MultiDomainServer: pulumi.String("MDM_Server"),
Name: pulumi.String("domain1_ManagementServer_1"),
},
},
})
if err != nil {
return err
}
_ = checkpoint.LookupManagementDomainOutput(ctx, checkpoint.GetManagementDomainOutputArgs{
Name: example.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var example = new Checkpoint.ManagementDomain("example", new()
{
Servers = new[]
{
new Checkpoint.Inputs.ManagementDomainServerArgs
{
Ipv4Address = "192.0.2.1",
MultiDomainServer = "MDM_Server",
Name = "domain1_ManagementServer_1",
},
},
});
var dataDomain = Checkpoint.GetManagementDomain.Invoke(new()
{
Name = example.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementDomain;
import com.pulumi.checkpoint.ManagementDomainArgs;
import com.pulumi.checkpoint.inputs.ManagementDomainServerArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDomainArgs;
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 example = new ManagementDomain("example", ManagementDomainArgs.builder()
.servers(ManagementDomainServerArgs.builder()
.ipv4Address("192.0.2.1")
.multiDomainServer("MDM_Server")
.name("domain1_ManagementServer_1")
.build())
.build());
final var dataDomain = CheckpointFunctions.getManagementDomain(GetManagementDomainArgs.builder()
.name(example.name())
.build());
}
}
resources:
example:
type: checkpoint:ManagementDomain
properties:
servers:
- ipv4Address: 192.0.2.1
multiDomainServer: MDM_Server
name: domain1_ManagementServer_1
variables:
dataDomain:
fn::invoke:
function: checkpoint:getManagementDomain
arguments:
name: ${example.name}
Using getManagementDomain
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 getManagementDomain(args: GetManagementDomainArgs, opts?: InvokeOptions): Promise<GetManagementDomainResult>
function getManagementDomainOutput(args: GetManagementDomainOutputArgs, opts?: InvokeOptions): Output<GetManagementDomainResult>
def get_management_domain(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementDomainResult
def get_management_domain_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementDomainResult]
func LookupManagementDomain(ctx *Context, args *LookupManagementDomainArgs, opts ...InvokeOption) (*LookupManagementDomainResult, error)
func LookupManagementDomainOutput(ctx *Context, args *LookupManagementDomainOutputArgs, opts ...InvokeOption) LookupManagementDomainResultOutput
> Note: This function is named LookupManagementDomain
in the Go SDK.
public static class GetManagementDomain
{
public static Task<GetManagementDomainResult> InvokeAsync(GetManagementDomainArgs args, InvokeOptions? opts = null)
public static Output<GetManagementDomainResult> Invoke(GetManagementDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementDomainResult> getManagementDomain(GetManagementDomainArgs args, InvokeOptions options)
public static Output<GetManagementDomainResult> getManagementDomain(GetManagementDomainArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDomain:getManagementDomain
arguments:
# arguments dictionary
The following arguments are supported:
getManagementDomain Result
The following output properties are available:
Supporting Types
GetManagementDomainServer
- Active bool
- Ipv4Address string
- Ipv6Address string
- Multi
Domain stringServer - Name string
- Object name. Must be unique in the domain.
- Skip
Start boolDomain Server - Type string
- Active bool
- Ipv4Address string
- Ipv6Address string
- Multi
Domain stringServer - Name string
- Object name. Must be unique in the domain.
- Skip
Start boolDomain Server - Type string
- active Boolean
- ipv4Address String
- ipv6Address String
- multi
Domain StringServer - name String
- Object name. Must be unique in the domain.
- skip
Start BooleanDomain Server - type String
- active boolean
- ipv4Address string
- ipv6Address string
- multi
Domain stringServer - name string
- Object name. Must be unique in the domain.
- skip
Start booleanDomain Server - type string
- active bool
- ipv4_
address str - ipv6_
address str - multi_
domain_ strserver - name str
- Object name. Must be unique in the domain.
- skip_
start_ booldomain_ server - type str
- active Boolean
- ipv4Address String
- ipv6Address String
- multi
Domain StringServer - name String
- Object name. Must be unique in the domain.
- skip
Start BooleanDomain Server - type String
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