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

checkpoint.ManagementDomain

Explore with Pulumi AI

This resource allows you to execute 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",
}]});
Copy
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",
}])
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 {
		_, 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
		}
		return nil
	})
}
Copy
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",
            },
        },
    });

});
Copy
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 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());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementDomain
    properties:
      servers:
        - ipv4Address: 192.0.2.1
          multiDomainServer: MDM_Server
          name: domain1_ManagementServer_1
Copy

Create ManagementDomain Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ManagementDomain(name: string, args: ManagementDomainArgs, opts?: CustomResourceOptions);
@overload
def ManagementDomain(resource_name: str,
                     args: ManagementDomainArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ManagementDomain(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     servers: Optional[Sequence[ManagementDomainServerArgs]] = None,
                     color: Optional[str] = None,
                     comments: Optional[str] = None,
                     ignore_errors: Optional[bool] = None,
                     ignore_warnings: Optional[bool] = None,
                     management_domain_id: Optional[str] = None,
                     name: Optional[str] = None)
func NewManagementDomain(ctx *Context, name string, args ManagementDomainArgs, opts ...ResourceOption) (*ManagementDomain, error)
public ManagementDomain(string name, ManagementDomainArgs args, CustomResourceOptions? opts = null)
public ManagementDomain(String name, ManagementDomainArgs args)
public ManagementDomain(String name, ManagementDomainArgs args, CustomResourceOptions options)
type: checkpoint:ManagementDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagementDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagementDomainArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementDomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var managementDomainResource = new Checkpoint.ManagementDomain("managementDomainResource", new()
{
    Servers = new[]
    {
        new Checkpoint.Inputs.ManagementDomainServerArgs
        {
            MultiDomainServer = "string",
            Name = "string",
            Active = false,
            Ipv4Address = "string",
            Ipv6Address = "string",
            SkipStartDomainServer = false,
            Type = "string",
        },
    },
    Color = "string",
    Comments = "string",
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementDomainId = "string",
    Name = "string",
});
Copy
example, err := checkpoint.NewManagementDomain(ctx, "managementDomainResource", &checkpoint.ManagementDomainArgs{
	Servers: checkpoint.ManagementDomainServerArray{
		&checkpoint.ManagementDomainServerArgs{
			MultiDomainServer:     pulumi.String("string"),
			Name:                  pulumi.String("string"),
			Active:                pulumi.Bool(false),
			Ipv4Address:           pulumi.String("string"),
			Ipv6Address:           pulumi.String("string"),
			SkipStartDomainServer: pulumi.Bool(false),
			Type:                  pulumi.String("string"),
		},
	},
	Color:              pulumi.String("string"),
	Comments:           pulumi.String("string"),
	IgnoreErrors:       pulumi.Bool(false),
	IgnoreWarnings:     pulumi.Bool(false),
	ManagementDomainId: pulumi.String("string"),
	Name:               pulumi.String("string"),
})
Copy
var managementDomainResource = new ManagementDomain("managementDomainResource", ManagementDomainArgs.builder()
    .servers(ManagementDomainServerArgs.builder()
        .multiDomainServer("string")
        .name("string")
        .active(false)
        .ipv4Address("string")
        .ipv6Address("string")
        .skipStartDomainServer(false)
        .type("string")
        .build())
    .color("string")
    .comments("string")
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementDomainId("string")
    .name("string")
    .build());
Copy
management_domain_resource = checkpoint.ManagementDomain("managementDomainResource",
    servers=[{
        "multi_domain_server": "string",
        "name": "string",
        "active": False,
        "ipv4_address": "string",
        "ipv6_address": "string",
        "skip_start_domain_server": False,
        "type": "string",
    }],
    color="string",
    comments="string",
    ignore_errors=False,
    ignore_warnings=False,
    management_domain_id="string",
    name="string")
Copy
const managementDomainResource = new checkpoint.ManagementDomain("managementDomainResource", {
    servers: [{
        multiDomainServer: "string",
        name: "string",
        active: false,
        ipv4Address: "string",
        ipv6Address: "string",
        skipStartDomainServer: false,
        type: "string",
    }],
    color: "string",
    comments: "string",
    ignoreErrors: false,
    ignoreWarnings: false,
    managementDomainId: "string",
    name: "string",
});
Copy
type: checkpoint:ManagementDomain
properties:
    color: string
    comments: string
    ignoreErrors: false
    ignoreWarnings: false
    managementDomainId: string
    name: string
    servers:
        - active: false
          ipv4Address: string
          ipv6Address: string
          multiDomainServer: string
          name: string
          skipStartDomainServer: false
          type: string
Copy

ManagementDomain Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ManagementDomain resource accepts the following input properties:

Servers This property is required. List<ManagementDomainServer>
Domain servers.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
ManagementDomainId string
Name string
Object name. Must be unique in the domain.
Servers This property is required. []ManagementDomainServerArgs
Domain servers.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
ManagementDomainId string
Name string
Object name. Must be unique in the domain.
servers This property is required. List<ManagementDomainServer>
Domain servers.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
managementDomainId String
name String
Object name. Must be unique in the domain.
servers This property is required. ManagementDomainServer[]
Domain servers.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
ignoreErrors boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings boolean
Apply changes ignoring warnings.
managementDomainId string
name string
Object name. Must be unique in the domain.
servers This property is required. Sequence[ManagementDomainServerArgs]
Domain servers.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
ignore_errors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warnings bool
Apply changes ignoring warnings.
management_domain_id str
name str
Object name. Must be unique in the domain.
servers This property is required. List<Property Map>
Domain servers.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
managementDomainId String
name String
Object name. Must be unique in the domain.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementDomain resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ManagementDomain Resource

Get an existing ManagementDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ManagementDomainState, opts?: CustomResourceOptions): ManagementDomain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        management_domain_id: Optional[str] = None,
        name: Optional[str] = None,
        servers: Optional[Sequence[ManagementDomainServerArgs]] = None) -> ManagementDomain
func GetManagementDomain(ctx *Context, name string, id IDInput, state *ManagementDomainState, opts ...ResourceOption) (*ManagementDomain, error)
public static ManagementDomain Get(string name, Input<string> id, ManagementDomainState? state, CustomResourceOptions? opts = null)
public static ManagementDomain get(String name, Output<String> id, ManagementDomainState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementDomain    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
ManagementDomainId string
Name string
Object name. Must be unique in the domain.
Servers List<ManagementDomainServer>
Domain servers.
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
IgnoreErrors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
IgnoreWarnings bool
Apply changes ignoring warnings.
ManagementDomainId string
Name string
Object name. Must be unique in the domain.
Servers []ManagementDomainServerArgs
Domain servers.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
managementDomainId String
name String
Object name. Must be unique in the domain.
servers List<ManagementDomainServer>
Domain servers.
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
ignoreErrors boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings boolean
Apply changes ignoring warnings.
managementDomainId string
name string
Object name. Must be unique in the domain.
servers ManagementDomainServer[]
Domain servers.
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
ignore_errors bool
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warnings bool
Apply changes ignoring warnings.
management_domain_id str
name str
Object name. Must be unique in the domain.
servers Sequence[ManagementDomainServerArgs]
Domain servers.
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
ignoreErrors Boolean
Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignoreWarnings Boolean
Apply changes ignoring warnings.
managementDomainId String
name String
Object name. Must be unique in the domain.
servers List<Property Map>
Domain servers.

Supporting Types

ManagementDomainServer
, ManagementDomainServerArgs

MultiDomainServer This property is required. string
Multi Domain server name or UID.
Name This property is required. string
Object name. Must be unique in the domain.
Active bool
Activate domain server. Only one domain server is allowed to be active.
Ipv4Address string
IPv4 address.
Ipv6Address string
IPv6 address.
SkipStartDomainServer bool
Set this value to be true to prevent starting the new created domain.
Type string
Domain server type.
MultiDomainServer This property is required. string
Multi Domain server name or UID.
Name This property is required. string
Object name. Must be unique in the domain.
Active bool
Activate domain server. Only one domain server is allowed to be active.
Ipv4Address string
IPv4 address.
Ipv6Address string
IPv6 address.
SkipStartDomainServer bool
Set this value to be true to prevent starting the new created domain.
Type string
Domain server type.
multiDomainServer This property is required. String
Multi Domain server name or UID.
name This property is required. String
Object name. Must be unique in the domain.
active Boolean
Activate domain server. Only one domain server is allowed to be active.
ipv4Address String
IPv4 address.
ipv6Address String
IPv6 address.
skipStartDomainServer Boolean
Set this value to be true to prevent starting the new created domain.
type String
Domain server type.
multiDomainServer This property is required. string
Multi Domain server name or UID.
name This property is required. string
Object name. Must be unique in the domain.
active boolean
Activate domain server. Only one domain server is allowed to be active.
ipv4Address string
IPv4 address.
ipv6Address string
IPv6 address.
skipStartDomainServer boolean
Set this value to be true to prevent starting the new created domain.
type string
Domain server type.
multi_domain_server This property is required. str
Multi Domain server name or UID.
name This property is required. str
Object name. Must be unique in the domain.
active bool
Activate domain server. Only one domain server is allowed to be active.
ipv4_address str
IPv4 address.
ipv6_address str
IPv6 address.
skip_start_domain_server bool
Set this value to be true to prevent starting the new created domain.
type str
Domain server type.
multiDomainServer This property is required. String
Multi Domain server name or UID.
name This property is required. String
Object name. Must be unique in the domain.
active Boolean
Activate domain server. Only one domain server is allowed to be active.
ipv4Address String
IPv4 address.
ipv6Address String
IPv6 address.
skipStartDomainServer Boolean
Set this value to be true to prevent starting the new created domain.
type String
Domain server type.

Package Details

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