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

checkpoint.ManagementServiceGroup

Explore with Pulumi AI

This resource allows you to add/update/delete Check Point Service Group.

Example Usage

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

const example = new checkpoint.ManagementServiceGroup("example", {members: [
    "https",
    "bootp",
    "nisplus",
    "HP-OpCdistm",
]});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementServiceGroup("example", members=[
    "https",
    "bootp",
    "nisplus",
    "HP-OpCdistm",
])
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.NewManagementServiceGroup(ctx, "example", &checkpoint.ManagementServiceGroupArgs{
			Members: pulumi.StringArray{
				pulumi.String("https"),
				pulumi.String("bootp"),
				pulumi.String("nisplus"),
				pulumi.String("HP-OpCdistm"),
			},
		})
		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 example = new Checkpoint.ManagementServiceGroup("example", new()
    {
        Members = new[]
        {
            "https",
            "bootp",
            "nisplus",
            "HP-OpCdistm",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementServiceGroup;
import com.pulumi.checkpoint.ManagementServiceGroupArgs;
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 ManagementServiceGroup("example", ManagementServiceGroupArgs.builder()
            .members(            
                "https",
                "bootp",
                "nisplus",
                "HP-OpCdistm")
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementServiceGroup
    properties:
      members:
        - https
        - bootp
        - nisplus
        - HP-OpCdistm
Copy

Create ManagementServiceGroup Resource

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

Constructor syntax

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

@overload
def ManagementServiceGroup(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           color: Optional[str] = None,
                           comments: Optional[str] = None,
                           ignore_errors: Optional[bool] = None,
                           ignore_warnings: Optional[bool] = None,
                           management_service_group_id: Optional[str] = None,
                           members: Optional[Sequence[str]] = None,
                           name: Optional[str] = None,
                           tags: Optional[Sequence[str]] = None)
func NewManagementServiceGroup(ctx *Context, name string, args *ManagementServiceGroupArgs, opts ...ResourceOption) (*ManagementServiceGroup, error)
public ManagementServiceGroup(string name, ManagementServiceGroupArgs? args = null, CustomResourceOptions? opts = null)
public ManagementServiceGroup(String name, ManagementServiceGroupArgs args)
public ManagementServiceGroup(String name, ManagementServiceGroupArgs args, CustomResourceOptions options)
type: checkpoint:ManagementServiceGroup
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 ManagementServiceGroupArgs
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 ManagementServiceGroupArgs
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 ManagementServiceGroupArgs
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 ManagementServiceGroupArgs
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. ManagementServiceGroupArgs
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 managementServiceGroupResource = new Checkpoint.ManagementServiceGroup("managementServiceGroupResource", new()
{
    Color = "string",
    Comments = "string",
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementServiceGroupId = "string",
    Members = new[]
    {
        "string",
    },
    Name = "string",
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := checkpoint.NewManagementServiceGroup(ctx, "managementServiceGroupResource", &checkpoint.ManagementServiceGroupArgs{
	Color:                    pulumi.String("string"),
	Comments:                 pulumi.String("string"),
	IgnoreErrors:             pulumi.Bool(false),
	IgnoreWarnings:           pulumi.Bool(false),
	ManagementServiceGroupId: pulumi.String("string"),
	Members: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var managementServiceGroupResource = new ManagementServiceGroup("managementServiceGroupResource", ManagementServiceGroupArgs.builder()
    .color("string")
    .comments("string")
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementServiceGroupId("string")
    .members("string")
    .name("string")
    .tags("string")
    .build());
Copy
management_service_group_resource = checkpoint.ManagementServiceGroup("managementServiceGroupResource",
    color="string",
    comments="string",
    ignore_errors=False,
    ignore_warnings=False,
    management_service_group_id="string",
    members=["string"],
    name="string",
    tags=["string"])
Copy
const managementServiceGroupResource = new checkpoint.ManagementServiceGroup("managementServiceGroupResource", {
    color: "string",
    comments: "string",
    ignoreErrors: false,
    ignoreWarnings: false,
    managementServiceGroupId: "string",
    members: ["string"],
    name: "string",
    tags: ["string"],
});
Copy
type: checkpoint:ManagementServiceGroup
properties:
    color: string
    comments: string
    ignoreErrors: false
    ignoreWarnings: false
    managementServiceGroupId: string
    members:
        - string
    name: string
    tags:
        - string
Copy

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

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.
ManagementServiceGroupId string
Members List<string>
Collection of Network objects identified by the name or UID.
Name string
Object name. Should be unique in the domain.
Tags List<string>
Collection of tag identifiers.
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.
ManagementServiceGroupId string
Members []string
Collection of Network objects identified by the name or UID.
Name string
Object name. Should be unique in the domain.
Tags []string
Collection of tag identifiers.
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.
managementServiceGroupId String
members List<String>
Collection of Network objects identified by the name or UID.
name String
Object name. Should be unique in the domain.
tags List<String>
Collection of tag identifiers.
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.
managementServiceGroupId string
members string[]
Collection of Network objects identified by the name or UID.
name string
Object name. Should be unique in the domain.
tags string[]
Collection of tag identifiers.
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_service_group_id str
members Sequence[str]
Collection of Network objects identified by the name or UID.
name str
Object name. Should be unique in the domain.
tags Sequence[str]
Collection of tag identifiers.
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.
managementServiceGroupId String
members List<String>
Collection of Network objects identified by the name or UID.
name String
Object name. Should be unique in the domain.
tags List<String>
Collection of tag identifiers.

Outputs

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

Get an existing ManagementServiceGroup 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?: ManagementServiceGroupState, opts?: CustomResourceOptions): ManagementServiceGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        comments: Optional[str] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        management_service_group_id: Optional[str] = None,
        members: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> ManagementServiceGroup
func GetManagementServiceGroup(ctx *Context, name string, id IDInput, state *ManagementServiceGroupState, opts ...ResourceOption) (*ManagementServiceGroup, error)
public static ManagementServiceGroup Get(string name, Input<string> id, ManagementServiceGroupState? state, CustomResourceOptions? opts = null)
public static ManagementServiceGroup get(String name, Output<String> id, ManagementServiceGroupState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementServiceGroup    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:
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.
ManagementServiceGroupId string
Members List<string>
Collection of Network objects identified by the name or UID.
Name string
Object name. Should be unique in the domain.
Tags List<string>
Collection of tag identifiers.
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.
ManagementServiceGroupId string
Members []string
Collection of Network objects identified by the name or UID.
Name string
Object name. Should be unique in the domain.
Tags []string
Collection of tag identifiers.
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.
managementServiceGroupId String
members List<String>
Collection of Network objects identified by the name or UID.
name String
Object name. Should be unique in the domain.
tags List<String>
Collection of tag identifiers.
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.
managementServiceGroupId string
members string[]
Collection of Network objects identified by the name or UID.
name string
Object name. Should be unique in the domain.
tags string[]
Collection of tag identifiers.
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_service_group_id str
members Sequence[str]
Collection of Network objects identified by the name or UID.
name str
Object name. Should be unique in the domain.
tags Sequence[str]
Collection of tag identifiers.
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.
managementServiceGroupId String
members List<String>
Collection of Network objects identified by the name or UID.
name String
Object name. Should be unique in the domain.
tags List<String>
Collection of tag identifiers.

Package Details

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