checkpoint.ManagementGroupWithExclusion
Explore with Pulumi AI
This resource allows you to execute Check Point Group With Exclusion.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementGroupWithExclusion("example", {
except: "New Group 2",
include: "New Group 1",
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementGroupWithExclusion("example",
except_="New Group 2",
include="New Group 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.NewManagementGroupWithExclusion(ctx, "example", &checkpoint.ManagementGroupWithExclusionArgs{
Except: pulumi.String("New Group 2"),
Include: pulumi.String("New Group 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 example = new Checkpoint.ManagementGroupWithExclusion("example", new()
{
Except = "New Group 2",
Include = "New Group 1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementGroupWithExclusion;
import com.pulumi.checkpoint.ManagementGroupWithExclusionArgs;
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 ManagementGroupWithExclusion("example", ManagementGroupWithExclusionArgs.builder()
.except("New Group 2")
.include("New Group 1")
.build());
}
}
resources:
example:
type: checkpoint:ManagementGroupWithExclusion
properties:
except: New Group 2
include: New Group 1
Create ManagementGroupWithExclusion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementGroupWithExclusion(name: string, args?: ManagementGroupWithExclusionArgs, opts?: CustomResourceOptions);
@overload
def ManagementGroupWithExclusion(resource_name: str,
args: Optional[ManagementGroupWithExclusionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementGroupWithExclusion(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
except_: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
include: Optional[str] = None,
management_group_with_exclusion_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementGroupWithExclusion(ctx *Context, name string, args *ManagementGroupWithExclusionArgs, opts ...ResourceOption) (*ManagementGroupWithExclusion, error)
public ManagementGroupWithExclusion(string name, ManagementGroupWithExclusionArgs? args = null, CustomResourceOptions? opts = null)
public ManagementGroupWithExclusion(String name, ManagementGroupWithExclusionArgs args)
public ManagementGroupWithExclusion(String name, ManagementGroupWithExclusionArgs args, CustomResourceOptions options)
type: checkpoint:ManagementGroupWithExclusion
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 ManagementGroupWithExclusionArgs
- 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 ManagementGroupWithExclusionArgs
- 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 ManagementGroupWithExclusionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementGroupWithExclusionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementGroupWithExclusionArgs
- 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 managementGroupWithExclusionResource = new Checkpoint.ManagementGroupWithExclusion("managementGroupWithExclusionResource", new()
{
Color = "string",
Comments = "string",
Except = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
Include = "string",
ManagementGroupWithExclusionId = "string",
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementGroupWithExclusion(ctx, "managementGroupWithExclusionResource", &checkpoint.ManagementGroupWithExclusionArgs{
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
Except: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
Include: pulumi.String("string"),
ManagementGroupWithExclusionId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementGroupWithExclusionResource = new ManagementGroupWithExclusion("managementGroupWithExclusionResource", ManagementGroupWithExclusionArgs.builder()
.color("string")
.comments("string")
.except("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.include("string")
.managementGroupWithExclusionId("string")
.name("string")
.tags("string")
.build());
management_group_with_exclusion_resource = checkpoint.ManagementGroupWithExclusion("managementGroupWithExclusionResource",
color="string",
comments="string",
except_="string",
ignore_errors=False,
ignore_warnings=False,
include="string",
management_group_with_exclusion_id="string",
name="string",
tags=["string"])
const managementGroupWithExclusionResource = new checkpoint.ManagementGroupWithExclusion("managementGroupWithExclusionResource", {
color: "string",
comments: "string",
except: "string",
ignoreErrors: false,
ignoreWarnings: false,
include: "string",
managementGroupWithExclusionId: "string",
name: "string",
tags: ["string"],
});
type: checkpoint:ManagementGroupWithExclusion
properties:
color: string
comments: string
except: string
ignoreErrors: false
ignoreWarnings: false
include: string
managementGroupWithExclusionId: string
name: string
tags:
- string
ManagementGroupWithExclusion 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 ManagementGroupWithExclusion resource accepts the following input properties:
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Except string
- Name or UID of an object which the group excludes.
- 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.
- Include string
- Name or UID of an object which the group includes.
- Management
Group stringWith Exclusion Id - Name string
- Object name.
- 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.
- Except string
- Name or UID of an object which the group excludes.
- 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.
- Include string
- Name or UID of an object which the group includes.
- Management
Group stringWith Exclusion Id - Name string
- Object name.
- []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.
- except String
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- include String
- Name or UID of an object which the group includes.
- management
Group StringWith Exclusion Id - name String
- Object name.
- 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.
- except string
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- include string
- Name or UID of an object which the group includes.
- management
Group stringWith Exclusion Id - name string
- Object name.
- 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.
- except_ str
- Name or UID of an object which the group excludes.
- 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.
- include str
- Name or UID of an object which the group includes.
- management_
group_ strwith_ exclusion_ id - name str
- Object name.
- 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.
- except String
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- include String
- Name or UID of an object which the group includes.
- management
Group StringWith Exclusion Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementGroupWithExclusion 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 ManagementGroupWithExclusion Resource
Get an existing ManagementGroupWithExclusion 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?: ManagementGroupWithExclusionState, opts?: CustomResourceOptions): ManagementGroupWithExclusion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
except_: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
include: Optional[str] = None,
management_group_with_exclusion_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementGroupWithExclusion
func GetManagementGroupWithExclusion(ctx *Context, name string, id IDInput, state *ManagementGroupWithExclusionState, opts ...ResourceOption) (*ManagementGroupWithExclusion, error)
public static ManagementGroupWithExclusion Get(string name, Input<string> id, ManagementGroupWithExclusionState? state, CustomResourceOptions? opts = null)
public static ManagementGroupWithExclusion get(String name, Output<String> id, ManagementGroupWithExclusionState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementGroupWithExclusion 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.
- Except string
- Name or UID of an object which the group excludes.
- 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.
- Include string
- Name or UID of an object which the group includes.
- Management
Group stringWith Exclusion Id - Name string
- Object name.
- 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.
- Except string
- Name or UID of an object which the group excludes.
- 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.
- Include string
- Name or UID of an object which the group includes.
- Management
Group stringWith Exclusion Id - Name string
- Object name.
- []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.
- except String
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- include String
- Name or UID of an object which the group includes.
- management
Group StringWith Exclusion Id - name String
- Object name.
- 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.
- except string
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- include string
- Name or UID of an object which the group includes.
- management
Group stringWith Exclusion Id - name string
- Object name.
- 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.
- except_ str
- Name or UID of an object which the group excludes.
- 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.
- include str
- Name or UID of an object which the group includes.
- management_
group_ strwith_ exclusion_ id - name str
- Object name.
- 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.
- except String
- Name or UID of an object which the group excludes.
- ignore
Errors 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- include String
- Name or UID of an object which the group includes.
- management
Group StringWith Exclusion Id - name String
- Object name.
- 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.