checkpoint.ManagementGlobalAssignment
Explore with Pulumi AI
This resource allows you to execute Check Point Global Assignment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementGlobalAssignment("example", {
dependentDomain: "domain2",
globalAccessPolicy: "standard",
globalDomain: "Global",
globalThreatPreventionPolicy: "standard",
manageProtectionActions: true,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementGlobalAssignment("example",
dependent_domain="domain2",
global_access_policy="standard",
global_domain="Global",
global_threat_prevention_policy="standard",
manage_protection_actions=True)
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.NewManagementGlobalAssignment(ctx, "example", &checkpoint.ManagementGlobalAssignmentArgs{
DependentDomain: pulumi.String("domain2"),
GlobalAccessPolicy: pulumi.String("standard"),
GlobalDomain: pulumi.String("Global"),
GlobalThreatPreventionPolicy: pulumi.String("standard"),
ManageProtectionActions: pulumi.Bool(true),
})
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.ManagementGlobalAssignment("example", new()
{
DependentDomain = "domain2",
GlobalAccessPolicy = "standard",
GlobalDomain = "Global",
GlobalThreatPreventionPolicy = "standard",
ManageProtectionActions = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementGlobalAssignment;
import com.pulumi.checkpoint.ManagementGlobalAssignmentArgs;
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 ManagementGlobalAssignment("example", ManagementGlobalAssignmentArgs.builder()
.dependentDomain("domain2")
.globalAccessPolicy("standard")
.globalDomain("Global")
.globalThreatPreventionPolicy("standard")
.manageProtectionActions(true)
.build());
}
}
resources:
example:
type: checkpoint:ManagementGlobalAssignment
properties:
dependentDomain: domain2
globalAccessPolicy: standard
globalDomain: Global
globalThreatPreventionPolicy: standard
manageProtectionActions: true
Create ManagementGlobalAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementGlobalAssignment(name: string, args?: ManagementGlobalAssignmentArgs, opts?: CustomResourceOptions);
@overload
def ManagementGlobalAssignment(resource_name: str,
args: Optional[ManagementGlobalAssignmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementGlobalAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
dependent_domain: Optional[str] = None,
global_access_policy: Optional[str] = None,
global_domain: Optional[str] = None,
global_threat_prevention_policy: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
manage_protection_actions: Optional[bool] = None,
management_global_assignment_id: Optional[str] = None)
func NewManagementGlobalAssignment(ctx *Context, name string, args *ManagementGlobalAssignmentArgs, opts ...ResourceOption) (*ManagementGlobalAssignment, error)
public ManagementGlobalAssignment(string name, ManagementGlobalAssignmentArgs? args = null, CustomResourceOptions? opts = null)
public ManagementGlobalAssignment(String name, ManagementGlobalAssignmentArgs args)
public ManagementGlobalAssignment(String name, ManagementGlobalAssignmentArgs args, CustomResourceOptions options)
type: checkpoint:ManagementGlobalAssignment
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 ManagementGlobalAssignmentArgs
- 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 ManagementGlobalAssignmentArgs
- 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 ManagementGlobalAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementGlobalAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementGlobalAssignmentArgs
- 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 managementGlobalAssignmentResource = new Checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource", new()
{
DependentDomain = "string",
GlobalAccessPolicy = "string",
GlobalDomain = "string",
GlobalThreatPreventionPolicy = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManageProtectionActions = false,
ManagementGlobalAssignmentId = "string",
});
example, err := checkpoint.NewManagementGlobalAssignment(ctx, "managementGlobalAssignmentResource", &checkpoint.ManagementGlobalAssignmentArgs{
DependentDomain: pulumi.String("string"),
GlobalAccessPolicy: pulumi.String("string"),
GlobalDomain: pulumi.String("string"),
GlobalThreatPreventionPolicy: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManageProtectionActions: pulumi.Bool(false),
ManagementGlobalAssignmentId: pulumi.String("string"),
})
var managementGlobalAssignmentResource = new ManagementGlobalAssignment("managementGlobalAssignmentResource", ManagementGlobalAssignmentArgs.builder()
.dependentDomain("string")
.globalAccessPolicy("string")
.globalDomain("string")
.globalThreatPreventionPolicy("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.manageProtectionActions(false)
.managementGlobalAssignmentId("string")
.build());
management_global_assignment_resource = checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource",
dependent_domain="string",
global_access_policy="string",
global_domain="string",
global_threat_prevention_policy="string",
ignore_errors=False,
ignore_warnings=False,
manage_protection_actions=False,
management_global_assignment_id="string")
const managementGlobalAssignmentResource = new checkpoint.ManagementGlobalAssignment("managementGlobalAssignmentResource", {
dependentDomain: "string",
globalAccessPolicy: "string",
globalDomain: "string",
globalThreatPreventionPolicy: "string",
ignoreErrors: false,
ignoreWarnings: false,
manageProtectionActions: false,
managementGlobalAssignmentId: "string",
});
type: checkpoint:ManagementGlobalAssignment
properties:
dependentDomain: string
globalAccessPolicy: string
globalDomain: string
globalThreatPreventionPolicy: string
ignoreErrors: false
ignoreWarnings: false
manageProtectionActions: false
managementGlobalAssignmentId: string
ManagementGlobalAssignment 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 ManagementGlobalAssignment resource accepts the following input properties:
- Dependent
Domain string - N/A
- Global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- Global
Domain string - N/A
- Global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- Manage
Protection boolActions - N/A
- Management
Global stringAssignment Id
- Dependent
Domain string - N/A
- Global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- Global
Domain string - N/A
- Global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- Manage
Protection boolActions - N/A
- Management
Global stringAssignment Id
- dependent
Domain String - N/A
- global
Access StringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain String - N/A
- global
Threat StringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection BooleanActions - N/A
- management
Global StringAssignment Id
- dependent
Domain string - N/A
- global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain string - N/A
- global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection booleanActions - N/A
- management
Global stringAssignment Id
- dependent_
domain str - N/A
- global_
access_ strpolicy - Global domain access policy that is assigned to a dependent domain.
- global_
domain str - N/A
- global_
threat_ strprevention_ policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage_
protection_ boolactions - N/A
- management_
global_ strassignment_ id
- dependent
Domain String - N/A
- global
Access StringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain String - N/A
- global
Threat StringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection BooleanActions - N/A
- management
Global StringAssignment Id
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementGlobalAssignment resource produces the following output properties:
- Assignment
Status string - Assignment
Up Dictionary<string, string>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- Id string
- The provider-assigned unique ID for this managed resource.
- Assignment
Status string - Assignment
Up map[string]stringTo Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- Id string
- The provider-assigned unique ID for this managed resource.
- assignment
Status String - assignment
Up Map<String,String>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- id String
- The provider-assigned unique ID for this managed resource.
- assignment
Status string - assignment
Up {[key: string]: string}To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- id string
- The provider-assigned unique ID for this managed resource.
- assignment_
status str - assignment_
up_ Mapping[str, str]to_ date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- id str
- The provider-assigned unique ID for this managed resource.
- assignment
Status String - assignment
Up Map<String>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagementGlobalAssignment Resource
Get an existing ManagementGlobalAssignment 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?: ManagementGlobalAssignmentState, opts?: CustomResourceOptions): ManagementGlobalAssignment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
assignment_status: Optional[str] = None,
assignment_up_to_date: Optional[Mapping[str, str]] = None,
dependent_domain: Optional[str] = None,
global_access_policy: Optional[str] = None,
global_domain: Optional[str] = None,
global_threat_prevention_policy: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
manage_protection_actions: Optional[bool] = None,
management_global_assignment_id: Optional[str] = None) -> ManagementGlobalAssignment
func GetManagementGlobalAssignment(ctx *Context, name string, id IDInput, state *ManagementGlobalAssignmentState, opts ...ResourceOption) (*ManagementGlobalAssignment, error)
public static ManagementGlobalAssignment Get(string name, Input<string> id, ManagementGlobalAssignmentState? state, CustomResourceOptions? opts = null)
public static ManagementGlobalAssignment get(String name, Output<String> id, ManagementGlobalAssignmentState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementGlobalAssignment 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.
- Assignment
Status string - Assignment
Up Dictionary<string, string>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- Dependent
Domain string - N/A
- Global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- Global
Domain string - N/A
- Global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- Manage
Protection boolActions - N/A
- Management
Global stringAssignment Id
- Assignment
Status string - Assignment
Up map[string]stringTo Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- Dependent
Domain string - N/A
- Global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- Global
Domain string - N/A
- Global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- Manage
Protection boolActions - N/A
- Management
Global stringAssignment Id
- assignment
Status String - assignment
Up Map<String,String>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- dependent
Domain String - N/A
- global
Access StringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain String - N/A
- global
Threat StringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection BooleanActions - N/A
- management
Global StringAssignment Id
- assignment
Status string - assignment
Up {[key: string]: string}To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- dependent
Domain string - N/A
- global
Access stringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain string - N/A
- global
Threat stringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection booleanActions - N/A
- management
Global stringAssignment Id
- assignment_
status str - assignment_
up_ Mapping[str, str]to_ date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- dependent_
domain str - N/A
- global_
access_ strpolicy - Global domain access policy that is assigned to a dependent domain.
- global_
domain str - N/A
- global_
threat_ strprevention_ policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage_
protection_ boolactions - N/A
- management_
global_ strassignment_ id
- assignment
Status String - assignment
Up Map<String>To Date The time when the assignment was assigned. assignment_up_to_date blocks are documented below.
assignment_up_to_date
supports the follwoing:- dependent
Domain String - N/A
- global
Access StringPolicy - Global domain access policy that is assigned to a dependent domain.
- global
Domain String - N/A
- global
Threat StringPrevention Policy - Global domain threat prevention policy that is assigned to a dependent domain.
- 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.
- manage
Protection BooleanActions - N/A
- management
Global StringAssignment Id
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.