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

checkpoint.ManagementGenericDataCenterServer

Explore with Pulumi AI

This resource allows you to execute Check Point Generic Data Center Server.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const genericTest = new checkpoint.ManagementGenericDataCenterServer("genericTest", {
    color: "crete blue",
    comments: "testing generic data center",
    interval: "60",
    tags: ["terraform"],
    url: "MY_URL",
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

generic_test = checkpoint.ManagementGenericDataCenterServer("genericTest",
    color="crete blue",
    comments="testing generic data center",
    interval="60",
    tags=["terraform"],
    url="MY_URL")
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.NewManagementGenericDataCenterServer(ctx, "genericTest", &checkpoint.ManagementGenericDataCenterServerArgs{
			Color:    pulumi.String("crete blue"),
			Comments: pulumi.String("testing generic data center"),
			Interval: pulumi.String("60"),
			Tags: pulumi.StringArray{
				pulumi.String("terraform"),
			},
			Url: pulumi.String("MY_URL"),
		})
		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 genericTest = new Checkpoint.ManagementGenericDataCenterServer("genericTest", new()
    {
        Color = "crete blue",
        Comments = "testing generic data center",
        Interval = "60",
        Tags = new[]
        {
            "terraform",
        },
        Url = "MY_URL",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementGenericDataCenterServer;
import com.pulumi.checkpoint.ManagementGenericDataCenterServerArgs;
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 genericTest = new ManagementGenericDataCenterServer("genericTest", ManagementGenericDataCenterServerArgs.builder()
            .color("crete blue")
            .comments("testing generic data center")
            .interval("60")
            .tags("terraform")
            .url("MY_URL")
            .build());

    }
}
Copy
resources:
  genericTest:
    type: checkpoint:ManagementGenericDataCenterServer
    properties:
      color: crete blue
      comments: testing generic data center
      interval: '60'
      tags:
        - terraform
      url: MY_URL
Copy

Create ManagementGenericDataCenterServer Resource

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

Constructor syntax

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

@overload
def ManagementGenericDataCenterServer(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      interval: Optional[str] = None,
                                      url: Optional[str] = None,
                                      color: Optional[str] = None,
                                      comments: Optional[str] = None,
                                      custom_header: Optional[bool] = None,
                                      custom_key: Optional[str] = None,
                                      custom_value: Optional[str] = None,
                                      ignore_errors: Optional[bool] = None,
                                      ignore_warnings: Optional[bool] = None,
                                      management_generic_data_center_server_id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      tags: Optional[Sequence[str]] = None)
func NewManagementGenericDataCenterServer(ctx *Context, name string, args ManagementGenericDataCenterServerArgs, opts ...ResourceOption) (*ManagementGenericDataCenterServer, error)
public ManagementGenericDataCenterServer(string name, ManagementGenericDataCenterServerArgs args, CustomResourceOptions? opts = null)
public ManagementGenericDataCenterServer(String name, ManagementGenericDataCenterServerArgs args)
public ManagementGenericDataCenterServer(String name, ManagementGenericDataCenterServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementGenericDataCenterServer
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. ManagementGenericDataCenterServerArgs
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. ManagementGenericDataCenterServerArgs
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. ManagementGenericDataCenterServerArgs
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. ManagementGenericDataCenterServerArgs
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. ManagementGenericDataCenterServerArgs
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 managementGenericDataCenterServerResource = new Checkpoint.ManagementGenericDataCenterServer("managementGenericDataCenterServerResource", new()
{
    Interval = "string",
    Url = "string",
    Color = "string",
    Comments = "string",
    CustomHeader = false,
    CustomKey = "string",
    CustomValue = "string",
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementGenericDataCenterServerId = "string",
    Name = "string",
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := checkpoint.NewManagementGenericDataCenterServer(ctx, "managementGenericDataCenterServerResource", &checkpoint.ManagementGenericDataCenterServerArgs{
	Interval:                            pulumi.String("string"),
	Url:                                 pulumi.String("string"),
	Color:                               pulumi.String("string"),
	Comments:                            pulumi.String("string"),
	CustomHeader:                        pulumi.Bool(false),
	CustomKey:                           pulumi.String("string"),
	CustomValue:                         pulumi.String("string"),
	IgnoreErrors:                        pulumi.Bool(false),
	IgnoreWarnings:                      pulumi.Bool(false),
	ManagementGenericDataCenterServerId: pulumi.String("string"),
	Name:                                pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var managementGenericDataCenterServerResource = new ManagementGenericDataCenterServer("managementGenericDataCenterServerResource", ManagementGenericDataCenterServerArgs.builder()
    .interval("string")
    .url("string")
    .color("string")
    .comments("string")
    .customHeader(false)
    .customKey("string")
    .customValue("string")
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementGenericDataCenterServerId("string")
    .name("string")
    .tags("string")
    .build());
Copy
management_generic_data_center_server_resource = checkpoint.ManagementGenericDataCenterServer("managementGenericDataCenterServerResource",
    interval="string",
    url="string",
    color="string",
    comments="string",
    custom_header=False,
    custom_key="string",
    custom_value="string",
    ignore_errors=False,
    ignore_warnings=False,
    management_generic_data_center_server_id="string",
    name="string",
    tags=["string"])
Copy
const managementGenericDataCenterServerResource = new checkpoint.ManagementGenericDataCenterServer("managementGenericDataCenterServerResource", {
    interval: "string",
    url: "string",
    color: "string",
    comments: "string",
    customHeader: false,
    customKey: "string",
    customValue: "string",
    ignoreErrors: false,
    ignoreWarnings: false,
    managementGenericDataCenterServerId: "string",
    name: "string",
    tags: ["string"],
});
Copy
type: checkpoint:ManagementGenericDataCenterServer
properties:
    color: string
    comments: string
    customHeader: false
    customKey: string
    customValue: string
    ignoreErrors: false
    ignoreWarnings: false
    interval: string
    managementGenericDataCenterServerId: string
    name: string
    tags:
        - string
    url: string
Copy

ManagementGenericDataCenterServer 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 ManagementGenericDataCenterServer resource accepts the following input properties:

Interval This property is required. string
Update interval of the feed in seconds.
Url This property is required. string
URL of the JSON feed (e.g. https://example.com/file.json).
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomHeader bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
CustomKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
CustomValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
ManagementGenericDataCenterServerId string
Name string
Object name.
Tags List<string>
Collection of tag identifiers. tags blocks are documented below.
Interval This property is required. string
Update interval of the feed in seconds.
Url This property is required. string
URL of the JSON feed (e.g. https://example.com/file.json).
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomHeader bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
CustomKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
CustomValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
ManagementGenericDataCenterServerId string
Name string
Object name.
Tags []string
Collection of tag identifiers. tags blocks are documented below.
interval This property is required. String
Update interval of the feed in seconds.
url This property is required. String
URL of the JSON feed (e.g. https://example.com/file.json).
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customHeader Boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey String
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue String
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
managementGenericDataCenterServerId String
name String
Object name.
tags List<String>
Collection of tag identifiers. tags blocks are documented below.
interval This property is required. string
Update interval of the feed in seconds.
url This property is required. string
URL of the JSON feed (e.g. https://example.com/file.json).
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
customHeader boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
managementGenericDataCenterServerId string
name string
Object name.
tags string[]
Collection of tag identifiers. tags blocks are documented below.
interval This property is required. str
Update interval of the feed in seconds.
url This property is required. str
URL of the JSON feed (e.g. https://example.com/file.json).
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
custom_header bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
custom_key str
Key for the Custom Header, relevant and required only when custom_header set to true.
custom_value str
Value for the Custom Header, relevant and required only when custom_header set to true.
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_generic_data_center_server_id str
name str
Object name.
tags Sequence[str]
Collection of tag identifiers. tags blocks are documented below.
interval This property is required. String
Update interval of the feed in seconds.
url This property is required. String
URL of the JSON feed (e.g. https://example.com/file.json).
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customHeader Boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey String
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue String
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
managementGenericDataCenterServerId String
name String
Object name.
tags List<String>
Collection of tag identifiers. tags blocks are documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementGenericDataCenterServer 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 ManagementGenericDataCenterServer Resource

Get an existing ManagementGenericDataCenterServer 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?: ManagementGenericDataCenterServerState, opts?: CustomResourceOptions): ManagementGenericDataCenterServer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        custom_header: Optional[bool] = None,
        custom_key: Optional[str] = None,
        custom_value: Optional[str] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        interval: Optional[str] = None,
        management_generic_data_center_server_id: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        url: Optional[str] = None) -> ManagementGenericDataCenterServer
func GetManagementGenericDataCenterServer(ctx *Context, name string, id IDInput, state *ManagementGenericDataCenterServerState, opts ...ResourceOption) (*ManagementGenericDataCenterServer, error)
public static ManagementGenericDataCenterServer Get(string name, Input<string> id, ManagementGenericDataCenterServerState? state, CustomResourceOptions? opts = null)
public static ManagementGenericDataCenterServer get(String name, Output<String> id, ManagementGenericDataCenterServerState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementGenericDataCenterServer    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.
CustomHeader bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
CustomKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
CustomValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
Interval string
Update interval of the feed in seconds.
ManagementGenericDataCenterServerId string
Name string
Object name.
Tags List<string>
Collection of tag identifiers. tags blocks are documented below.
Url string
URL of the JSON feed (e.g. https://example.com/file.json).
Color string
Color of the object. Should be one of existing colors.
Comments string
Comments string.
CustomHeader bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
CustomKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
CustomValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
Interval string
Update interval of the feed in seconds.
ManagementGenericDataCenterServerId string
Name string
Object name.
Tags []string
Collection of tag identifiers. tags blocks are documented below.
Url string
URL of the JSON feed (e.g. https://example.com/file.json).
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customHeader Boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey String
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue String
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
interval String
Update interval of the feed in seconds.
managementGenericDataCenterServerId String
name String
Object name.
tags List<String>
Collection of tag identifiers. tags blocks are documented below.
url String
URL of the JSON feed (e.g. https://example.com/file.json).
color string
Color of the object. Should be one of existing colors.
comments string
Comments string.
customHeader boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey string
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue string
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
interval string
Update interval of the feed in seconds.
managementGenericDataCenterServerId string
name string
Object name.
tags string[]
Collection of tag identifiers. tags blocks are documented below.
url string
URL of the JSON feed (e.g. https://example.com/file.json).
color str
Color of the object. Should be one of existing colors.
comments str
Comments string.
custom_header bool
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
custom_key str
Key for the Custom Header, relevant and required only when custom_header set to true.
custom_value str
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
interval str
Update interval of the feed in seconds.
management_generic_data_center_server_id str
name str
Object name.
tags Sequence[str]
Collection of tag identifiers. tags blocks are documented below.
url str
URL of the JSON feed (e.g. https://example.com/file.json).
color String
Color of the object. Should be one of existing colors.
comments String
Comments string.
customHeader Boolean
When set to false, The admin is not using Key and Value for a Custom Header in order to connect to the feed server. When set to true, The admin is using Key and Value for a Custom Header in order to connect to the feed server.
customKey String
Key for the Custom Header, relevant and required only when custom_header set to true.
customValue String
Value for the Custom Header, relevant and required only when custom_header set to true.
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.
interval String
Update interval of the feed in seconds.
managementGenericDataCenterServerId String
name String
Object name.
tags List<String>
Collection of tag identifiers. tags blocks are documented below.
url String
URL of the JSON feed (e.g. https://example.com/file.json).

Package Details

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