checkpoint.ManagementDataTypePatterns
Explore with Pulumi AI
This resource allows you to execute Check Point Data Type Patterns.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementDataTypePatterns("example", {
    description: "data type pattern object",
    numberOfOccurrences: 4,
    patterns: [
        "g*",
        "^k",
    ],
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementDataTypePatterns("example",
    description="data type pattern object",
    number_of_occurrences=4,
    patterns=[
        "g*",
        "^k",
    ])
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.NewManagementDataTypePatterns(ctx, "example", &checkpoint.ManagementDataTypePatternsArgs{
			Description:         pulumi.String("data type pattern object"),
			NumberOfOccurrences: pulumi.Float64(4),
			Patterns: pulumi.StringArray{
				pulumi.String("g*"),
				pulumi.String("^k"),
			},
		})
		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 example = new Checkpoint.ManagementDataTypePatterns("example", new()
    {
        Description = "data type pattern object",
        NumberOfOccurrences = 4,
        Patterns = new[]
        {
            "g*",
            "^k",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementDataTypePatterns;
import com.pulumi.checkpoint.ManagementDataTypePatternsArgs;
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 example = new ManagementDataTypePatterns("example", ManagementDataTypePatternsArgs.builder()
            .description("data type pattern object")
            .numberOfOccurrences(4)
            .patterns(            
                "g*",
                "^k")
            .build());
    }
}
resources:
  example:
    type: checkpoint:ManagementDataTypePatterns
    properties:
      description: data type pattern object
      numberOfOccurrences: 4
      patterns:
        - g*
        - ^k
Create ManagementDataTypePatterns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementDataTypePatterns(name: string, args?: ManagementDataTypePatternsArgs, opts?: CustomResourceOptions);@overload
def ManagementDataTypePatterns(resource_name: str,
                               args: Optional[ManagementDataTypePatternsArgs] = None,
                               opts: Optional[ResourceOptions] = None)
@overload
def ManagementDataTypePatterns(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               color: Optional[str] = None,
                               comments: Optional[str] = None,
                               description: Optional[str] = None,
                               ignore_errors: Optional[bool] = None,
                               ignore_warnings: Optional[bool] = None,
                               management_data_type_patterns_id: Optional[str] = None,
                               name: Optional[str] = None,
                               number_of_occurrences: Optional[float] = None,
                               patterns: Optional[Sequence[str]] = None,
                               tags: Optional[Sequence[str]] = None)func NewManagementDataTypePatterns(ctx *Context, name string, args *ManagementDataTypePatternsArgs, opts ...ResourceOption) (*ManagementDataTypePatterns, error)public ManagementDataTypePatterns(string name, ManagementDataTypePatternsArgs? args = null, CustomResourceOptions? opts = null)
public ManagementDataTypePatterns(String name, ManagementDataTypePatternsArgs args)
public ManagementDataTypePatterns(String name, ManagementDataTypePatternsArgs args, CustomResourceOptions options)
type: checkpoint:ManagementDataTypePatterns
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 ManagementDataTypePatternsArgs
- 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 ManagementDataTypePatternsArgs
- 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 ManagementDataTypePatternsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementDataTypePatternsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementDataTypePatternsArgs
- 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 managementDataTypePatternsResource = new Checkpoint.ManagementDataTypePatterns("managementDataTypePatternsResource", new()
{
    Color = "string",
    Comments = "string",
    Description = "string",
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementDataTypePatternsId = "string",
    Name = "string",
    NumberOfOccurrences = 0,
    Patterns = new[]
    {
        "string",
    },
    Tags = new[]
    {
        "string",
    },
});
example, err := checkpoint.NewManagementDataTypePatterns(ctx, "managementDataTypePatternsResource", &checkpoint.ManagementDataTypePatternsArgs{
	Color:                        pulumi.String("string"),
	Comments:                     pulumi.String("string"),
	Description:                  pulumi.String("string"),
	IgnoreErrors:                 pulumi.Bool(false),
	IgnoreWarnings:               pulumi.Bool(false),
	ManagementDataTypePatternsId: pulumi.String("string"),
	Name:                         pulumi.String("string"),
	NumberOfOccurrences:          pulumi.Float64(0),
	Patterns: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var managementDataTypePatternsResource = new ManagementDataTypePatterns("managementDataTypePatternsResource", ManagementDataTypePatternsArgs.builder()
    .color("string")
    .comments("string")
    .description("string")
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementDataTypePatternsId("string")
    .name("string")
    .numberOfOccurrences(0.0)
    .patterns("string")
    .tags("string")
    .build());
management_data_type_patterns_resource = checkpoint.ManagementDataTypePatterns("managementDataTypePatternsResource",
    color="string",
    comments="string",
    description="string",
    ignore_errors=False,
    ignore_warnings=False,
    management_data_type_patterns_id="string",
    name="string",
    number_of_occurrences=0,
    patterns=["string"],
    tags=["string"])
const managementDataTypePatternsResource = new checkpoint.ManagementDataTypePatterns("managementDataTypePatternsResource", {
    color: "string",
    comments: "string",
    description: "string",
    ignoreErrors: false,
    ignoreWarnings: false,
    managementDataTypePatternsId: "string",
    name: "string",
    numberOfOccurrences: 0,
    patterns: ["string"],
    tags: ["string"],
});
type: checkpoint:ManagementDataTypePatterns
properties:
    color: string
    comments: string
    description: string
    ignoreErrors: false
    ignoreWarnings: false
    managementDataTypePatternsId: string
    name: string
    numberOfOccurrences: 0
    patterns:
        - string
    tags:
        - string
ManagementDataTypePatterns 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 ManagementDataTypePatterns resource accepts the following input properties:
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- ManagementData stringType Patterns Id 
- Name string
- Object name.
- NumberOf doubleOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- Patterns List<string>
- Regular expressions to be evaluated.patterns blocks are documented below.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- ManagementData stringType Patterns Id 
- Name string
- Object name.
- NumberOf float64Occurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- Patterns []string
- Regular expressions to be evaluated.patterns blocks are documented below.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData StringType Patterns Id 
- name String
- Object name.
- numberOf DoubleOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns List<String>
- Regular expressions to be evaluated.patterns blocks are documented below.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData stringType Patterns Id 
- name string
- Object name.
- numberOf numberOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns string[]
- Regular expressions to be evaluated.patterns blocks are documented below.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- description str
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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_data_ strtype_ patterns_ id 
- name str
- Object name.
- number_of_ floatoccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns Sequence[str]
- Regular expressions to be evaluated.patterns blocks are documented below.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData StringType Patterns Id 
- name String
- Object name.
- numberOf NumberOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns List<String>
- Regular expressions to be evaluated.patterns blocks are documented below.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementDataTypePatterns 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 ManagementDataTypePatterns Resource
Get an existing ManagementDataTypePatterns 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?: ManagementDataTypePatternsState, opts?: CustomResourceOptions): ManagementDataTypePatterns@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        description: Optional[str] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        management_data_type_patterns_id: Optional[str] = None,
        name: Optional[str] = None,
        number_of_occurrences: Optional[float] = None,
        patterns: Optional[Sequence[str]] = None,
        tags: Optional[Sequence[str]] = None) -> ManagementDataTypePatternsfunc GetManagementDataTypePatterns(ctx *Context, name string, id IDInput, state *ManagementDataTypePatternsState, opts ...ResourceOption) (*ManagementDataTypePatterns, error)public static ManagementDataTypePatterns Get(string name, Input<string> id, ManagementDataTypePatternsState? state, CustomResourceOptions? opts = null)public static ManagementDataTypePatterns get(String name, Output<String> id, ManagementDataTypePatternsState state, CustomResourceOptions options)resources:  _:    type: checkpoint:ManagementDataTypePatterns    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.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- ManagementData stringType Patterns Id 
- Name string
- Object name.
- NumberOf doubleOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- Patterns List<string>
- Regular expressions to be evaluated.patterns blocks are documented below.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- ManagementData stringType Patterns Id 
- Name string
- Object name.
- NumberOf float64Occurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- Patterns []string
- Regular expressions to be evaluated.patterns blocks are documented below.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData StringType Patterns Id 
- name String
- Object name.
- numberOf DoubleOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns List<String>
- Regular expressions to be evaluated.patterns blocks are documented below.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- description string
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData stringType Patterns Id 
- name string
- Object name.
- numberOf numberOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns string[]
- Regular expressions to be evaluated.patterns blocks are documented below.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- description str
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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_data_ strtype_ patterns_ id 
- name str
- Object name.
- number_of_ floatoccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns Sequence[str]
- Regular expressions to be evaluated.patterns blocks are documented below.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- For built-in data types, the description explains the purpose of this type of data representation. For custom-made data types, you can use this field to provide more details.
- 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.
- managementData StringType Patterns Id 
- name String
- Object name.
- numberOf NumberOccurrences 
- Define how many times the patterns must appear to be considered data to be protected.
- patterns List<String>
- Regular expressions to be evaluated.patterns blocks are documented below.
- 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 checkpointTerraform Provider.