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

checkpoint.ManagementCmeAccountsGcp

Explore with Pulumi AI

Example Usage

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

const gcpAccount = new checkpoint.ManagementCmeAccountsGcp("gcpAccount", {
    credentialsFile: "cred_file.json",
    projectId: "my-project-1",
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

gcp_account = checkpoint.ManagementCmeAccountsGcp("gcpAccount",
    credentials_file="cred_file.json",
    project_id="my-project-1")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := checkpoint.NewManagementCmeAccountsGcp(ctx, "gcpAccount", &checkpoint.ManagementCmeAccountsGcpArgs{
			CredentialsFile: pulumi.String("cred_file.json"),
			ProjectId:       pulumi.String("my-project-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var gcpAccount = new Checkpoint.ManagementCmeAccountsGcp("gcpAccount", new()
    {
        CredentialsFile = "cred_file.json",
        ProjectId = "my-project-1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementCmeAccountsGcp;
import com.pulumi.checkpoint.ManagementCmeAccountsGcpArgs;
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 gcpAccount = new ManagementCmeAccountsGcp("gcpAccount", ManagementCmeAccountsGcpArgs.builder()
            .credentialsFile("cred_file.json")
            .projectId("my-project-1")
            .build());

    }
}
Copy
resources:
  gcpAccount:
    type: checkpoint:ManagementCmeAccountsGcp
    properties:
      credentialsFile: cred_file.json
      projectId: my-project-1
Copy

Create ManagementCmeAccountsGcp Resource

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

Constructor syntax

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

@overload
def ManagementCmeAccountsGcp(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             project_id: Optional[str] = None,
                             credentials_data: Optional[str] = None,
                             credentials_file: Optional[str] = None,
                             deletion_tolerance: Optional[float] = None,
                             domain: Optional[str] = None,
                             management_cme_accounts_gcp_id: Optional[str] = None,
                             name: Optional[str] = None)
func NewManagementCmeAccountsGcp(ctx *Context, name string, args ManagementCmeAccountsGcpArgs, opts ...ResourceOption) (*ManagementCmeAccountsGcp, error)
public ManagementCmeAccountsGcp(string name, ManagementCmeAccountsGcpArgs args, CustomResourceOptions? opts = null)
public ManagementCmeAccountsGcp(String name, ManagementCmeAccountsGcpArgs args)
public ManagementCmeAccountsGcp(String name, ManagementCmeAccountsGcpArgs args, CustomResourceOptions options)
type: checkpoint:ManagementCmeAccountsGcp
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. ManagementCmeAccountsGcpArgs
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. ManagementCmeAccountsGcpArgs
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. ManagementCmeAccountsGcpArgs
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. ManagementCmeAccountsGcpArgs
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. ManagementCmeAccountsGcpArgs
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 managementCmeAccountsGcpResource = new Checkpoint.ManagementCmeAccountsGcp("managementCmeAccountsGcpResource", new()
{
    ProjectId = "string",
    CredentialsData = "string",
    CredentialsFile = "string",
    DeletionTolerance = 0,
    Domain = "string",
    ManagementCmeAccountsGcpId = "string",
    Name = "string",
});
Copy
example, err := checkpoint.NewManagementCmeAccountsGcp(ctx, "managementCmeAccountsGcpResource", &checkpoint.ManagementCmeAccountsGcpArgs{
ProjectId: pulumi.String("string"),
CredentialsData: pulumi.String("string"),
CredentialsFile: pulumi.String("string"),
DeletionTolerance: pulumi.Float64(0),
Domain: pulumi.String("string"),
ManagementCmeAccountsGcpId: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var managementCmeAccountsGcpResource = new ManagementCmeAccountsGcp("managementCmeAccountsGcpResource", ManagementCmeAccountsGcpArgs.builder()
    .projectId("string")
    .credentialsData("string")
    .credentialsFile("string")
    .deletionTolerance(0)
    .domain("string")
    .managementCmeAccountsGcpId("string")
    .name("string")
    .build());
Copy
management_cme_accounts_gcp_resource = checkpoint.ManagementCmeAccountsGcp("managementCmeAccountsGcpResource",
    project_id="string",
    credentials_data="string",
    credentials_file="string",
    deletion_tolerance=0,
    domain="string",
    management_cme_accounts_gcp_id="string",
    name="string")
Copy
const managementCmeAccountsGcpResource = new checkpoint.ManagementCmeAccountsGcp("managementCmeAccountsGcpResource", {
    projectId: "string",
    credentialsData: "string",
    credentialsFile: "string",
    deletionTolerance: 0,
    domain: "string",
    managementCmeAccountsGcpId: "string",
    name: "string",
});
Copy
type: checkpoint:ManagementCmeAccountsGcp
properties:
    credentialsData: string
    credentialsFile: string
    deletionTolerance: 0
    domain: string
    managementCmeAccountsGcpId: string
    name: string
    projectId: string
Copy

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

ProjectId This property is required. string
GCP project id.
CredentialsData string
Base64 encoded string that represents the content of the credentials file.
CredentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
DeletionTolerance double
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
Domain string
The account's domain name in Multi-Domain Security Management Server environment.
ManagementCmeAccountsGcpId string
Name string
Unique account name for identification without spaces.
ProjectId This property is required. string
GCP project id.
CredentialsData string
Base64 encoded string that represents the content of the credentials file.
CredentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
DeletionTolerance float64
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
Domain string
The account's domain name in Multi-Domain Security Management Server environment.
ManagementCmeAccountsGcpId string
Name string
Unique account name for identification without spaces.
projectId This property is required. String
GCP project id.
credentialsData String
Base64 encoded string that represents the content of the credentials file.
credentialsFile String
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance Double
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain String
The account's domain name in Multi-Domain Security Management Server environment.
managementCmeAccountsGcpId String
name String
Unique account name for identification without spaces.
projectId This property is required. string
GCP project id.
credentialsData string
Base64 encoded string that represents the content of the credentials file.
credentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance number
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain string
The account's domain name in Multi-Domain Security Management Server environment.
managementCmeAccountsGcpId string
name string
Unique account name for identification without spaces.
project_id This property is required. str
GCP project id.
credentials_data str
Base64 encoded string that represents the content of the credentials file.
credentials_file str
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletion_tolerance float
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain str
The account's domain name in Multi-Domain Security Management Server environment.
management_cme_accounts_gcp_id str
name str
Unique account name for identification without spaces.
projectId This property is required. String
GCP project id.
credentialsData String
Base64 encoded string that represents the content of the credentials file.
credentialsFile String
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance Number
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain String
The account's domain name in Multi-Domain Security Management Server environment.
managementCmeAccountsGcpId String
name String
Unique account name for identification without spaces.

Outputs

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

GwConfigurations List<string>
A list of GW configurations attached to the account
Id string
The provider-assigned unique ID for this managed resource.
Platform string
The platform of the account.
GwConfigurations []string
A list of GW configurations attached to the account
Id string
The provider-assigned unique ID for this managed resource.
Platform string
The platform of the account.
gwConfigurations List<String>
A list of GW configurations attached to the account
id String
The provider-assigned unique ID for this managed resource.
platform String
The platform of the account.
gwConfigurations string[]
A list of GW configurations attached to the account
id string
The provider-assigned unique ID for this managed resource.
platform string
The platform of the account.
gw_configurations Sequence[str]
A list of GW configurations attached to the account
id str
The provider-assigned unique ID for this managed resource.
platform str
The platform of the account.
gwConfigurations List<String>
A list of GW configurations attached to the account
id String
The provider-assigned unique ID for this managed resource.
platform String
The platform of the account.

Look up Existing ManagementCmeAccountsGcp Resource

Get an existing ManagementCmeAccountsGcp 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?: ManagementCmeAccountsGcpState, opts?: CustomResourceOptions): ManagementCmeAccountsGcp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        credentials_data: Optional[str] = None,
        credentials_file: Optional[str] = None,
        deletion_tolerance: Optional[float] = None,
        domain: Optional[str] = None,
        gw_configurations: Optional[Sequence[str]] = None,
        management_cme_accounts_gcp_id: Optional[str] = None,
        name: Optional[str] = None,
        platform: Optional[str] = None,
        project_id: Optional[str] = None) -> ManagementCmeAccountsGcp
func GetManagementCmeAccountsGcp(ctx *Context, name string, id IDInput, state *ManagementCmeAccountsGcpState, opts ...ResourceOption) (*ManagementCmeAccountsGcp, error)
public static ManagementCmeAccountsGcp Get(string name, Input<string> id, ManagementCmeAccountsGcpState? state, CustomResourceOptions? opts = null)
public static ManagementCmeAccountsGcp get(String name, Output<String> id, ManagementCmeAccountsGcpState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementCmeAccountsGcp    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:
CredentialsData string
Base64 encoded string that represents the content of the credentials file.
CredentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
DeletionTolerance double
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
Domain string
The account's domain name in Multi-Domain Security Management Server environment.
GwConfigurations List<string>
A list of GW configurations attached to the account
ManagementCmeAccountsGcpId string
Name string
Unique account name for identification without spaces.
Platform string
The platform of the account.
ProjectId string
GCP project id.
CredentialsData string
Base64 encoded string that represents the content of the credentials file.
CredentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
DeletionTolerance float64
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
Domain string
The account's domain name in Multi-Domain Security Management Server environment.
GwConfigurations []string
A list of GW configurations attached to the account
ManagementCmeAccountsGcpId string
Name string
Unique account name for identification without spaces.
Platform string
The platform of the account.
ProjectId string
GCP project id.
credentialsData String
Base64 encoded string that represents the content of the credentials file.
credentialsFile String
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance Double
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain String
The account's domain name in Multi-Domain Security Management Server environment.
gwConfigurations List<String>
A list of GW configurations attached to the account
managementCmeAccountsGcpId String
name String
Unique account name for identification without spaces.
platform String
The platform of the account.
projectId String
GCP project id.
credentialsData string
Base64 encoded string that represents the content of the credentials file.
credentialsFile string
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance number
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain string
The account's domain name in Multi-Domain Security Management Server environment.
gwConfigurations string[]
A list of GW configurations attached to the account
managementCmeAccountsGcpId string
name string
Unique account name for identification without spaces.
platform string
The platform of the account.
projectId string
GCP project id.
credentials_data str
Base64 encoded string that represents the content of the credentials file.
credentials_file str
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletion_tolerance float
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain str
The account's domain name in Multi-Domain Security Management Server environment.
gw_configurations Sequence[str]
A list of GW configurations attached to the account
management_cme_accounts_gcp_id str
name str
Unique account name for identification without spaces.
platform str
The platform of the account.
project_id str
GCP project id.
credentialsData String
Base64 encoded string that represents the content of the credentials file.
credentialsFile String
The name of a text file containing GCP credentials located in $FWDIR/conf directory for a Management Server or $MDSDIR/conf directory for a Multi-Domain Security Management Server.
deletionTolerance Number
The number of CME cycles to wait when the cloud provider does not return a Gateway until its deletion.
domain String
The account's domain name in Multi-Domain Security Management Server environment.
gwConfigurations List<String>
A list of GW configurations attached to the account
managementCmeAccountsGcpId String
name String
Unique account name for identification without spaces.
platform String
The platform of the account.
projectId String
GCP project id.

Package Details

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