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

checkpoint.ManagementKubernetesDataCenterServer

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const testKubernetes = new checkpoint.ManagementKubernetesDataCenterServer("testKubernetes", {
        hostname: "MY_HOSTNAME",
        tokenFile: "MY_TOKEN",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    test_kubernetes = checkpoint.ManagementKubernetesDataCenterServer("testKubernetes",
        hostname="MY_HOSTNAME",
        token_file="MY_TOKEN")
    
    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.NewManagementKubernetesDataCenterServer(ctx, "testKubernetes", &checkpoint.ManagementKubernetesDataCenterServerArgs{
    			Hostname:  pulumi.String("MY_HOSTNAME"),
    			TokenFile: pulumi.String("MY_TOKEN"),
    		})
    		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 testKubernetes = new Checkpoint.ManagementKubernetesDataCenterServer("testKubernetes", new()
        {
            Hostname = "MY_HOSTNAME",
            TokenFile = "MY_TOKEN",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementKubernetesDataCenterServer;
    import com.pulumi.checkpoint.ManagementKubernetesDataCenterServerArgs;
    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 testKubernetes = new ManagementKubernetesDataCenterServer("testKubernetes", ManagementKubernetesDataCenterServerArgs.builder()
                .hostname("MY_HOSTNAME")
                .tokenFile("MY_TOKEN")
                .build());
    
        }
    }
    
    resources:
      testKubernetes:
        type: checkpoint:ManagementKubernetesDataCenterServer
        properties:
          hostname: MY_HOSTNAME
          tokenFile: MY_TOKEN
    

    Create ManagementKubernetesDataCenterServer Resource

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

    Constructor syntax

    new ManagementKubernetesDataCenterServer(name: string, args: ManagementKubernetesDataCenterServerArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementKubernetesDataCenterServer(resource_name: str,
                                             args: ManagementKubernetesDataCenterServerArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementKubernetesDataCenterServer(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             hostname: Optional[str] = None,
                                             token_file: Optional[str] = None,
                                             ca_certificate: Optional[str] = None,
                                             color: Optional[str] = None,
                                             comments: Optional[str] = None,
                                             ignore_errors: Optional[bool] = None,
                                             ignore_warnings: Optional[bool] = None,
                                             management_kubernetes_data_center_server_id: Optional[str] = None,
                                             name: Optional[str] = None,
                                             tags: Optional[Sequence[str]] = None,
                                             unsafe_auto_accept: Optional[bool] = None)
    func NewManagementKubernetesDataCenterServer(ctx *Context, name string, args ManagementKubernetesDataCenterServerArgs, opts ...ResourceOption) (*ManagementKubernetesDataCenterServer, error)
    public ManagementKubernetesDataCenterServer(string name, ManagementKubernetesDataCenterServerArgs args, CustomResourceOptions? opts = null)
    public ManagementKubernetesDataCenterServer(String name, ManagementKubernetesDataCenterServerArgs args)
    public ManagementKubernetesDataCenterServer(String name, ManagementKubernetesDataCenterServerArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementKubernetesDataCenterServer
    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 ManagementKubernetesDataCenterServerArgs
    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 ManagementKubernetesDataCenterServerArgs
    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 ManagementKubernetesDataCenterServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementKubernetesDataCenterServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementKubernetesDataCenterServerArgs
    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 managementKubernetesDataCenterServerResource = new Checkpoint.ManagementKubernetesDataCenterServer("managementKubernetesDataCenterServerResource", new()
    {
        Hostname = "string",
        TokenFile = "string",
        CaCertificate = "string",
        Color = "string",
        Comments = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementKubernetesDataCenterServerId = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        UnsafeAutoAccept = false,
    });
    
    example, err := checkpoint.NewManagementKubernetesDataCenterServer(ctx, "managementKubernetesDataCenterServerResource", &checkpoint.ManagementKubernetesDataCenterServerArgs{
    	Hostname:                               pulumi.String("string"),
    	TokenFile:                              pulumi.String("string"),
    	CaCertificate:                          pulumi.String("string"),
    	Color:                                  pulumi.String("string"),
    	Comments:                               pulumi.String("string"),
    	IgnoreErrors:                           pulumi.Bool(false),
    	IgnoreWarnings:                         pulumi.Bool(false),
    	ManagementKubernetesDataCenterServerId: pulumi.String("string"),
    	Name:                                   pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UnsafeAutoAccept: pulumi.Bool(false),
    })
    
    var managementKubernetesDataCenterServerResource = new ManagementKubernetesDataCenterServer("managementKubernetesDataCenterServerResource", ManagementKubernetesDataCenterServerArgs.builder()
        .hostname("string")
        .tokenFile("string")
        .caCertificate("string")
        .color("string")
        .comments("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementKubernetesDataCenterServerId("string")
        .name("string")
        .tags("string")
        .unsafeAutoAccept(false)
        .build());
    
    management_kubernetes_data_center_server_resource = checkpoint.ManagementKubernetesDataCenterServer("managementKubernetesDataCenterServerResource",
        hostname="string",
        token_file="string",
        ca_certificate="string",
        color="string",
        comments="string",
        ignore_errors=False,
        ignore_warnings=False,
        management_kubernetes_data_center_server_id="string",
        name="string",
        tags=["string"],
        unsafe_auto_accept=False)
    
    const managementKubernetesDataCenterServerResource = new checkpoint.ManagementKubernetesDataCenterServer("managementKubernetesDataCenterServerResource", {
        hostname: "string",
        tokenFile: "string",
        caCertificate: "string",
        color: "string",
        comments: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        managementKubernetesDataCenterServerId: "string",
        name: "string",
        tags: ["string"],
        unsafeAutoAccept: false,
    });
    
    type: checkpoint:ManagementKubernetesDataCenterServer
    properties:
        caCertificate: string
        color: string
        comments: string
        hostname: string
        ignoreErrors: false
        ignoreWarnings: false
        managementKubernetesDataCenterServerId: string
        name: string
        tags:
            - string
        tokenFile: string
        unsafeAutoAccept: false
    

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

    Hostname string
    IP address or hostname of the Kubernetes server.
    TokenFile string
    Kubernetes access token encoded in base64.
    CaCertificate string
    The Kubernetes public certificate key encoded in base64.
    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.
    ManagementKubernetesDataCenterServerId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers. tags blocks are documented below.
    UnsafeAutoAccept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    Hostname string
    IP address or hostname of the Kubernetes server.
    TokenFile string
    Kubernetes access token encoded in base64.
    CaCertificate string
    The Kubernetes public certificate key encoded in base64.
    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.
    ManagementKubernetesDataCenterServerId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers. tags blocks are documented below.
    UnsafeAutoAccept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    hostname String
    IP address or hostname of the Kubernetes server.
    tokenFile String
    Kubernetes access token encoded in base64.
    caCertificate String
    The Kubernetes public certificate key encoded in base64.
    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.
    managementKubernetesDataCenterServerId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    unsafeAutoAccept Boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    hostname string
    IP address or hostname of the Kubernetes server.
    tokenFile string
    Kubernetes access token encoded in base64.
    caCertificate string
    The Kubernetes public certificate key encoded in base64.
    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.
    managementKubernetesDataCenterServerId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers. tags blocks are documented below.
    unsafeAutoAccept boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    hostname str
    IP address or hostname of the Kubernetes server.
    token_file str
    Kubernetes access token encoded in base64.
    ca_certificate str
    The Kubernetes public certificate key encoded in base64.
    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_kubernetes_data_center_server_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers. tags blocks are documented below.
    unsafe_auto_accept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    hostname String
    IP address or hostname of the Kubernetes server.
    tokenFile String
    Kubernetes access token encoded in base64.
    caCertificate String
    The Kubernetes public certificate key encoded in base64.
    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.
    managementKubernetesDataCenterServerId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    unsafeAutoAccept Boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.

    Outputs

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

    Get an existing ManagementKubernetesDataCenterServer 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?: ManagementKubernetesDataCenterServerState, opts?: CustomResourceOptions): ManagementKubernetesDataCenterServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ca_certificate: Optional[str] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            hostname: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_kubernetes_data_center_server_id: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            token_file: Optional[str] = None,
            unsafe_auto_accept: Optional[bool] = None) -> ManagementKubernetesDataCenterServer
    func GetManagementKubernetesDataCenterServer(ctx *Context, name string, id IDInput, state *ManagementKubernetesDataCenterServerState, opts ...ResourceOption) (*ManagementKubernetesDataCenterServer, error)
    public static ManagementKubernetesDataCenterServer Get(string name, Input<string> id, ManagementKubernetesDataCenterServerState? state, CustomResourceOptions? opts = null)
    public static ManagementKubernetesDataCenterServer get(String name, Output<String> id, ManagementKubernetesDataCenterServerState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementKubernetesDataCenterServer    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.
    The following state arguments are supported:
    CaCertificate string
    The Kubernetes public certificate key encoded in base64.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    Hostname string
    IP address or hostname of the Kubernetes server.
    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.
    ManagementKubernetesDataCenterServerId string
    Name string
    Object name.
    Tags List<string>
    Collection of tag identifiers. tags blocks are documented below.
    TokenFile string
    Kubernetes access token encoded in base64.
    UnsafeAutoAccept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    CaCertificate string
    The Kubernetes public certificate key encoded in base64.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    Hostname string
    IP address or hostname of the Kubernetes server.
    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.
    ManagementKubernetesDataCenterServerId string
    Name string
    Object name.
    Tags []string
    Collection of tag identifiers. tags blocks are documented below.
    TokenFile string
    Kubernetes access token encoded in base64.
    UnsafeAutoAccept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    caCertificate String
    The Kubernetes public certificate key encoded in base64.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    hostname String
    IP address or hostname of the Kubernetes server.
    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.
    managementKubernetesDataCenterServerId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    tokenFile String
    Kubernetes access token encoded in base64.
    unsafeAutoAccept Boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    caCertificate string
    The Kubernetes public certificate key encoded in base64.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    hostname string
    IP address or hostname of the Kubernetes server.
    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.
    managementKubernetesDataCenterServerId string
    name string
    Object name.
    tags string[]
    Collection of tag identifiers. tags blocks are documented below.
    tokenFile string
    Kubernetes access token encoded in base64.
    unsafeAutoAccept boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    ca_certificate str
    The Kubernetes public certificate key encoded in base64.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    hostname str
    IP address or hostname of the Kubernetes server.
    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_kubernetes_data_center_server_id str
    name str
    Object name.
    tags Sequence[str]
    Collection of tag identifiers. tags blocks are documented below.
    token_file str
    Kubernetes access token encoded in base64.
    unsafe_auto_accept bool
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.
    caCertificate String
    The Kubernetes public certificate key encoded in base64.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    hostname String
    IP address or hostname of the Kubernetes server.
    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.
    managementKubernetesDataCenterServerId String
    name String
    Object name.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    tokenFile String
    Kubernetes access token encoded in base64.
    unsafeAutoAccept Boolean
    When set to false, the current Data Center Server's certificate should be trusted, either by providing the certificate-fingerprint argument or by relying on a previously trusted certificate of this hostname. When set to true, trust the current Data Center Server's certificate as-is.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw