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",
});
import pulumi
import pulumi_checkpoint as checkpoint
gcp_account = checkpoint.ManagementCmeAccountsGcp("gcpAccount",
credentials_file="cred_file.json",
project_id="my-project-1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkpoint.NewManagementCmeAccountsGcp(ctx, "gcpAccount", &checkpoint.ManagementCmeAccountsGcpArgs{
CredentialsFile: pulumi.String("cred_file.json"),
ProjectId: pulumi.String("my-project-1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var gcpAccount = new Checkpoint.ManagementCmeAccountsGcp("gcpAccount", new()
{
CredentialsFile = "cred_file.json",
ProjectId = "my-project-1",
});
});
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());
}
}
resources:
gcpAccount:
type: checkpoint:ManagementCmeAccountsGcp
properties:
credentialsFile: cred_file.json
projectId: my-project-1
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 string
- The unique name of the resource.
- args ManagementCmeAccountsGcpArgs
- 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 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 string
- The unique name of the resource.
- args ManagementCmeAccountsGcpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementCmeAccountsGcpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var managementCmeAccountsGcpResource = new ManagementCmeAccountsGcp("managementCmeAccountsGcpResource", ManagementCmeAccountsGcpArgs.builder()
.projectId("string")
.credentialsData("string")
.credentialsFile("string")
.deletionTolerance(0)
.domain("string")
.managementCmeAccountsGcpId("string")
.name("string")
.build());
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")
const managementCmeAccountsGcpResource = new checkpoint.ManagementCmeAccountsGcp("managementCmeAccountsGcpResource", {
projectId: "string",
credentialsData: "string",
credentialsFile: "string",
deletionTolerance: 0,
domain: "string",
managementCmeAccountsGcpId: "string",
name: "string",
});
type: checkpoint:ManagementCmeAccountsGcp
properties:
credentialsData: string
credentialsFile: string
deletionTolerance: 0
domain: string
managementCmeAccountsGcpId: string
name: string
projectId: string
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:
- Project
Id string - GCP project id.
- Credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- Credentials
File 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.
- Deletion
Tolerance 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.
- Management
Cme stringAccounts Gcp Id - Name string
- Unique account name for identification without spaces.
- Project
Id string - GCP project id.
- Credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- Credentials
File 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.
- Deletion
Tolerance 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.
- Management
Cme stringAccounts Gcp Id - Name string
- Unique account name for identification without spaces.
- project
Id String - GCP project id.
- credentials
Data String - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- management
Cme StringAccounts Gcp Id - name String
- Unique account name for identification without spaces.
- project
Id string - GCP project id.
- credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- management
Cme stringAccounts Gcp Id - name string
- Unique account name for identification without spaces.
- project_
id 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_ straccounts_ gcp_ id - name str
- Unique account name for identification without spaces.
- project
Id String - GCP project id.
- credentials
Data String - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- management
Cme StringAccounts Gcp Id - 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:
- Gw
Configurations 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.
- Gw
Configurations []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 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.
- gw
Configurations 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.
- gw
Configurations 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
- 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.
- Credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- Credentials
File 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.
- Deletion
Tolerance 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.
- Gw
Configurations List<string> - A list of GW configurations attached to the account
- Management
Cme stringAccounts Gcp Id - Name string
- Unique account name for identification without spaces.
- Platform string
- The platform of the account.
- Project
Id string - GCP project id.
- Credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- Credentials
File 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.
- Deletion
Tolerance 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.
- Gw
Configurations []string - A list of GW configurations attached to the account
- Management
Cme stringAccounts Gcp Id - Name string
- Unique account name for identification without spaces.
- Platform string
- The platform of the account.
- Project
Id string - GCP project id.
- credentials
Data String - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- gw
Configurations List<String> - A list of GW configurations attached to the account
- management
Cme StringAccounts Gcp Id - name String
- Unique account name for identification without spaces.
- platform String
- The platform of the account.
- project
Id String - GCP project id.
- credentials
Data string - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- gw
Configurations string[] - A list of GW configurations attached to the account
- management
Cme stringAccounts Gcp Id - name string
- Unique account name for identification without spaces.
- platform string
- The platform of the account.
- project
Id 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_ straccounts_ gcp_ id - name str
- Unique account name for identification without spaces.
- platform str
- The platform of the account.
- project_
id str - GCP project id.
- credentials
Data String - Base64 encoded string that represents the content of the credentials file.
- credentials
File 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.
- deletion
Tolerance 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.
- gw
Configurations List<String> - A list of GW configurations attached to the account
- management
Cme StringAccounts Gcp Id - name String
- Unique account name for identification without spaces.
- platform String
- The platform of the account.
- project
Id String - GCP project id.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.