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

checkpoint.ManagementGcpDataCenterServer

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 Google Cloud Platform Data Center Server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const testGcp = new checkpoint.ManagementGcpDataCenterServer("testGcp", {
        authenticationMethod: "key-authentication",
        ignoreWarnings: true,
        privateKey: "MYKEY.json",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    test_gcp = checkpoint.ManagementGcpDataCenterServer("testGcp",
        authentication_method="key-authentication",
        ignore_warnings=True,
        private_key="MYKEY.json")
    
    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.NewManagementGcpDataCenterServer(ctx, "testGcp", &checkpoint.ManagementGcpDataCenterServerArgs{
    			AuthenticationMethod: pulumi.String("key-authentication"),
    			IgnoreWarnings:       pulumi.Bool(true),
    			PrivateKey:           pulumi.String("MYKEY.json"),
    		})
    		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 testGcp = new Checkpoint.ManagementGcpDataCenterServer("testGcp", new()
        {
            AuthenticationMethod = "key-authentication",
            IgnoreWarnings = true,
            PrivateKey = "MYKEY.json",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementGcpDataCenterServer;
    import com.pulumi.checkpoint.ManagementGcpDataCenterServerArgs;
    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 testGcp = new ManagementGcpDataCenterServer("testGcp", ManagementGcpDataCenterServerArgs.builder()
                .authenticationMethod("key-authentication")
                .ignoreWarnings(true)
                .privateKey("MYKEY.json")
                .build());
    
        }
    }
    
    resources:
      testGcp:
        type: checkpoint:ManagementGcpDataCenterServer
        properties:
          authenticationMethod: key-authentication
          ignoreWarnings: true
          privateKey: MYKEY.json
    

    Create ManagementGcpDataCenterServer Resource

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

    Constructor syntax

    new ManagementGcpDataCenterServer(name: string, args: ManagementGcpDataCenterServerArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementGcpDataCenterServer(resource_name: str,
                                      args: ManagementGcpDataCenterServerArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementGcpDataCenterServer(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      authentication_method: Optional[str] = None,
                                      color: Optional[str] = None,
                                      comments: Optional[str] = None,
                                      ignore_errors: Optional[bool] = None,
                                      ignore_warnings: Optional[bool] = None,
                                      management_gcp_data_center_server_id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      private_key: Optional[str] = None,
                                      tags: Optional[Sequence[str]] = None)
    func NewManagementGcpDataCenterServer(ctx *Context, name string, args ManagementGcpDataCenterServerArgs, opts ...ResourceOption) (*ManagementGcpDataCenterServer, error)
    public ManagementGcpDataCenterServer(string name, ManagementGcpDataCenterServerArgs args, CustomResourceOptions? opts = null)
    public ManagementGcpDataCenterServer(String name, ManagementGcpDataCenterServerArgs args)
    public ManagementGcpDataCenterServer(String name, ManagementGcpDataCenterServerArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementGcpDataCenterServer
    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 ManagementGcpDataCenterServerArgs
    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 ManagementGcpDataCenterServerArgs
    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 ManagementGcpDataCenterServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementGcpDataCenterServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementGcpDataCenterServerArgs
    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 managementGcpDataCenterServerResource = new Checkpoint.ManagementGcpDataCenterServer("managementGcpDataCenterServerResource", new()
    {
        AuthenticationMethod = "string",
        Color = "string",
        Comments = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementGcpDataCenterServerId = "string",
        Name = "string",
        PrivateKey = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := checkpoint.NewManagementGcpDataCenterServer(ctx, "managementGcpDataCenterServerResource", &checkpoint.ManagementGcpDataCenterServerArgs{
    	AuthenticationMethod:            pulumi.String("string"),
    	Color:                           pulumi.String("string"),
    	Comments:                        pulumi.String("string"),
    	IgnoreErrors:                    pulumi.Bool(false),
    	IgnoreWarnings:                  pulumi.Bool(false),
    	ManagementGcpDataCenterServerId: pulumi.String("string"),
    	Name:                            pulumi.String("string"),
    	PrivateKey:                      pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var managementGcpDataCenterServerResource = new ManagementGcpDataCenterServer("managementGcpDataCenterServerResource", ManagementGcpDataCenterServerArgs.builder()
        .authenticationMethod("string")
        .color("string")
        .comments("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementGcpDataCenterServerId("string")
        .name("string")
        .privateKey("string")
        .tags("string")
        .build());
    
    management_gcp_data_center_server_resource = checkpoint.ManagementGcpDataCenterServer("managementGcpDataCenterServerResource",
        authentication_method="string",
        color="string",
        comments="string",
        ignore_errors=False,
        ignore_warnings=False,
        management_gcp_data_center_server_id="string",
        name="string",
        private_key="string",
        tags=["string"])
    
    const managementGcpDataCenterServerResource = new checkpoint.ManagementGcpDataCenterServer("managementGcpDataCenterServerResource", {
        authenticationMethod: "string",
        color: "string",
        comments: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        managementGcpDataCenterServerId: "string",
        name: "string",
        privateKey: "string",
        tags: ["string"],
    });
    
    type: checkpoint:ManagementGcpDataCenterServer
    properties:
        authenticationMethod: string
        color: string
        comments: string
        ignoreErrors: false
        ignoreWarnings: false
        managementGcpDataCenterServerId: string
        name: string
        privateKey: string
        tags:
            - string
    

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

    AuthenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    ManagementGcpDataCenterServerId string
    Name string
    Object name.
    PrivateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    Tags List<string>
    Collection of tag identifiers. tags blocks are documented below.
    AuthenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    ManagementGcpDataCenterServerId string
    Name string
    Object name.
    PrivateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    Tags []string
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod String
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId String
    name String
    Object name.
    privateKey String
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId string
    name string
    Object name.
    privateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags string[]
    Collection of tag identifiers. tags blocks are documented below.
    authentication_method str
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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_gcp_data_center_server_id str
    name str
    Object name.
    private_key str
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags Sequence[str]
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod String
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId String
    name String
    Object name.
    privateKey String
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.

    Outputs

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

    Get an existing ManagementGcpDataCenterServer 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?: ManagementGcpDataCenterServerState, opts?: CustomResourceOptions): ManagementGcpDataCenterServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_method: Optional[str] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_gcp_data_center_server_id: Optional[str] = None,
            name: Optional[str] = None,
            private_key: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> ManagementGcpDataCenterServer
    func GetManagementGcpDataCenterServer(ctx *Context, name string, id IDInput, state *ManagementGcpDataCenterServerState, opts ...ResourceOption) (*ManagementGcpDataCenterServer, error)
    public static ManagementGcpDataCenterServer Get(string name, Input<string> id, ManagementGcpDataCenterServerState? state, CustomResourceOptions? opts = null)
    public static ManagementGcpDataCenterServer get(String name, Output<String> id, ManagementGcpDataCenterServerState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementGcpDataCenterServer    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:
    AuthenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    ManagementGcpDataCenterServerId string
    Name string
    Object name.
    PrivateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    Tags List<string>
    Collection of tag identifiers. tags blocks are documented below.
    AuthenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    ManagementGcpDataCenterServerId string
    Name string
    Object name.
    PrivateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    Tags []string
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod String
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId String
    name String
    Object name.
    privateKey String
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod string
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId string
    name string
    Object name.
    privateKey string
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags string[]
    Collection of tag identifiers. tags blocks are documented below.
    authentication_method str
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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_gcp_data_center_server_id str
    name str
    Object name.
    private_key str
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags Sequence[str]
    Collection of tag identifiers. tags blocks are documented below.
    authenticationMethod String
    key-authentication Uses the Service Account private key file to authenticate. vm-instance-authentication Uses the Service Account VM Instance to authenticate. This option requires the Security Management Server deployed in a GCP, and runs as a Service Account with the required permissions.
    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.
    managementGcpDataCenterServerId String
    name String
    Object name.
    privateKey String
    A Service Account Key JSON file, encoded in base64. Required for authentication-method:key-authentication.
    tags List<String>
    Collection of tag identifiers. tags blocks are documented below.

    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