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",
}]});
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",
}])
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
})
}
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",
},
},
});
});
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());
}
}
resources:
example:
type: checkpoint:ManagementDomain
properties:
servers:
- ipv4Address: 192.0.2.1
multiDomainServer: MDM_Server
name: domain1_ManagementServer_1
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 string
- The unique name of the resource.
- args ManagementDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ManagementDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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
List<Management
Domain Server> - Domain servers.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- 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 stringId - Name string
- Object name. Must be unique in the domain.
- Servers
[]Management
Domain Server Args - Domain servers.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- 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 stringId - Name string
- Object name. Must be unique in the domain.
- servers
List<Management
Domain Server> - Domain servers.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Domain StringId - name String
- Object name. Must be unique in the domain.
- servers
Management
Domain Server[] - Domain servers.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Domain stringId - name string
- Object name. Must be unique in the domain.
- servers
Sequence[Management
Domain Server Args] - 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_ strid - name str
- Object name. Must be unique in the domain.
- servers List<Property Map>
- Domain servers.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Domain StringId - 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- 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 stringId - Name string
- Object name. Must be unique in the domain.
- Servers
List<Management
Domain Server> - Domain servers.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- 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 stringId - Name string
- Object name. Must be unique in the domain.
- Servers
[]Management
Domain Server Args - Domain servers.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Domain StringId - name String
- Object name. Must be unique in the domain.
- servers
List<Management
Domain Server> - Domain servers.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Domain stringId - name string
- Object name. Must be unique in the domain.
- servers
Management
Domain Server[] - 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_ strid - name str
- Object name. Must be unique in the domain.
- servers
Sequence[Management
Domain Server Args] - Domain servers.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Domain StringId - name String
- Object name. Must be unique in the domain.
- servers List<Property Map>
- Domain servers.
Supporting Types
ManagementDomainServer, ManagementDomainServerArgs
- Multi
Domain stringServer - Multi Domain server name or UID.
- Name 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.
- Skip
Start boolDomain Server - Set this value to be true to prevent starting the new created domain.
- Type string
- Domain server type.
- Multi
Domain stringServer - Multi Domain server name or UID.
- Name 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.
- Skip
Start boolDomain Server - Set this value to be true to prevent starting the new created domain.
- Type string
- Domain server type.
- multi
Domain StringServer - Multi Domain server name or UID.
- name 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.
- skip
Start BooleanDomain Server - Set this value to be true to prevent starting the new created domain.
- type String
- Domain server type.
- multi
Domain stringServer - Multi Domain server name or UID.
- name 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.
- skip
Start booleanDomain Server - Set this value to be true to prevent starting the new created domain.
- type string
- Domain server type.
- multi_
domain_ strserver - Multi Domain server name or UID.
- name 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_ booldomain_ server - Set this value to be true to prevent starting the new created domain.
- type str
- Domain server type.
- multi
Domain StringServer - Multi Domain server name or UID.
- name 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.
- skip
Start BooleanDomain Server - 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.