checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
checkpoint.getManagementDataHttpsRule
Start a Neo task
Explain and create a checkpoint.getManagementDataHttpsRule resource
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Https Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const httpsRule = new checkpoint.ManagementHttpsRule("httpsRule", {
blades: ["IPS"],
destinations: ["Internet"],
enabled: true,
installOns: ["Policy HTTPS Targets"],
layer: "Default Layer",
position: {
top: "top",
},
services: ["HTTPS default services"],
siteCategories: ["Any"],
sources: ["DMZNet"],
});
const dataHttpsRule = checkpoint.getManagementDataHttpsRuleOutput({
layer: httpsRule.layer,
ruleNumber: "1",
});
import pulumi
import pulumi_checkpoint as checkpoint
https_rule = checkpoint.ManagementHttpsRule("httpsRule",
blades=["IPS"],
destinations=["Internet"],
enabled=True,
install_ons=["Policy HTTPS Targets"],
layer="Default Layer",
position={
"top": "top",
},
services=["HTTPS default services"],
site_categories=["Any"],
sources=["DMZNet"])
data_https_rule = checkpoint.get_management_data_https_rule_output(layer=https_rule.layer,
rule_number="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 {
httpsRule, err := checkpoint.NewManagementHttpsRule(ctx, "httpsRule", &checkpoint.ManagementHttpsRuleArgs{
Blades: pulumi.StringArray{
pulumi.String("IPS"),
},
Destinations: pulumi.StringArray{
pulumi.String("Internet"),
},
Enabled: pulumi.Bool(true),
InstallOns: pulumi.StringArray{
pulumi.String("Policy HTTPS Targets"),
},
Layer: pulumi.String("Default Layer"),
Position: pulumi.StringMap{
"top": pulumi.String("top"),
},
Services: pulumi.StringArray{
pulumi.String("HTTPS default services"),
},
SiteCategories: pulumi.StringArray{
pulumi.String("Any"),
},
Sources: pulumi.StringArray{
pulumi.String("DMZNet"),
},
})
if err != nil {
return err
}
_ = checkpoint.GetManagementDataHttpsRuleOutput(ctx, checkpoint.GetManagementDataHttpsRuleOutputArgs{
Layer: httpsRule.Layer,
RuleNumber: pulumi.String("1"),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var httpsRule = new Checkpoint.ManagementHttpsRule("httpsRule", new()
{
Blades = new[]
{
"IPS",
},
Destinations = new[]
{
"Internet",
},
Enabled = true,
InstallOns = new[]
{
"Policy HTTPS Targets",
},
Layer = "Default Layer",
Position =
{
{ "top", "top" },
},
Services = new[]
{
"HTTPS default services",
},
SiteCategories = new[]
{
"Any",
},
Sources = new[]
{
"DMZNet",
},
});
var dataHttpsRule = Checkpoint.GetManagementDataHttpsRule.Invoke(new()
{
Layer = httpsRule.Layer,
RuleNumber = "1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementHttpsRule;
import com.pulumi.checkpoint.ManagementHttpsRuleArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataHttpsRuleArgs;
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 httpsRule = new ManagementHttpsRule("httpsRule", ManagementHttpsRuleArgs.builder()
.blades("IPS")
.destinations("Internet")
.enabled(true)
.installOns("Policy HTTPS Targets")
.layer("Default Layer")
.position(Map.of("top", "top"))
.services("HTTPS default services")
.siteCategories("Any")
.sources("DMZNet")
.build());
final var dataHttpsRule = CheckpointFunctions.getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs.builder()
.layer(httpsRule.layer())
.ruleNumber("1")
.build());
}
}
resources:
httpsRule:
type: checkpoint:ManagementHttpsRule
properties:
blades:
- IPS
destinations:
- Internet
enabled: true
installOns:
- Policy HTTPS Targets
layer: Default Layer
position:
top: top
services:
- HTTPS default services
siteCategories:
- Any
sources:
- DMZNet
variables:
dataHttpsRule:
fn::invoke:
function: checkpoint:getManagementDataHttpsRule
arguments:
layer: ${httpsRule.layer}
ruleNumber: '1'
Using getManagementDataHttpsRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagementDataHttpsRule(args: GetManagementDataHttpsRuleArgs, opts?: InvokeOptions): Promise<GetManagementDataHttpsRuleResult>
function getManagementDataHttpsRuleOutput(args: GetManagementDataHttpsRuleOutputArgs, opts?: InvokeOptions): Output<GetManagementDataHttpsRuleResult>def get_management_data_https_rule(id: Optional[str] = None,
layer: Optional[str] = None,
rule_number: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementDataHttpsRuleResult
def get_management_data_https_rule_output(id: Optional[pulumi.Input[str]] = None,
layer: Optional[pulumi.Input[str]] = None,
rule_number: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataHttpsRuleResult]func GetManagementDataHttpsRule(ctx *Context, args *GetManagementDataHttpsRuleArgs, opts ...InvokeOption) (*GetManagementDataHttpsRuleResult, error)
func GetManagementDataHttpsRuleOutput(ctx *Context, args *GetManagementDataHttpsRuleOutputArgs, opts ...InvokeOption) GetManagementDataHttpsRuleResultOutput> Note: This function is named GetManagementDataHttpsRule in the Go SDK.
public static class GetManagementDataHttpsRule
{
public static Task<GetManagementDataHttpsRuleResult> InvokeAsync(GetManagementDataHttpsRuleArgs args, InvokeOptions? opts = null)
public static Output<GetManagementDataHttpsRuleResult> Invoke(GetManagementDataHttpsRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementDataHttpsRuleResult> getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs args, InvokeOptions options)
public static Output<GetManagementDataHttpsRuleResult> getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDataHttpsRule:getManagementDataHttpsRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Layer string
- Layer that holds the Object. Identified by the Name or UID.
- Id string
- Rule
Number string - Rule number.
- Uid string
- Object unique identifier.
- Layer string
- Layer that holds the Object. Identified by the Name or UID.
- Id string
- Rule
Number string - Rule number.
- Uid string
- Object unique identifier.
- layer String
- Layer that holds the Object. Identified by the Name or UID.
- id String
- rule
Number String - Rule number.
- uid String
- Object unique identifier.
- layer string
- Layer that holds the Object. Identified by the Name or UID.
- id string
- rule
Number string - Rule number.
- uid string
- Object unique identifier.
- layer str
- Layer that holds the Object. Identified by the Name or UID.
- id str
- rule_
number str - Rule number.
- uid str
- Object unique identifier.
- layer String
- Layer that holds the Object. Identified by the Name or UID.
- id String
- rule
Number String - Rule number.
- uid String
- Object unique identifier.
getManagementDataHttpsRule Result
The following output properties are available:
- Action string
- Blades List<string>
- Certificate string
- Comments string
- Destination
Negate bool - Destinations List<string>
- Enabled bool
- Id string
- Install
Ons List<string> - Layer string
- Name string
- Service
Negate bool - Services List<string>
- Site
Categories List<string> - Site
Category boolNegate - Source
Negate bool - Sources List<string>
- Track string
- Rule
Number string - Uid string
- Action string
- Blades []string
- Certificate string
- Comments string
- Destination
Negate bool - Destinations []string
- Enabled bool
- Id string
- Install
Ons []string - Layer string
- Name string
- Service
Negate bool - Services []string
- Site
Categories []string - Site
Category boolNegate - Source
Negate bool - Sources []string
- Track string
- Rule
Number string - Uid string
- action String
- blades List<String>
- certificate String
- comments String
- destination
Negate Boolean - destinations List<String>
- enabled Boolean
- id String
- install
Ons List<String> - layer String
- name String
- service
Negate Boolean - services List<String>
- site
Categories List<String> - site
Category BooleanNegate - source
Negate Boolean - sources List<String>
- track String
- rule
Number String - uid String
- action string
- blades string[]
- certificate string
- comments string
- destination
Negate boolean - destinations string[]
- enabled boolean
- id string
- install
Ons string[] - layer string
- name string
- service
Negate boolean - services string[]
- site
Categories string[] - site
Category booleanNegate - source
Negate boolean - sources string[]
- track string
- rule
Number string - uid string
- action str
- blades Sequence[str]
- certificate str
- comments str
- destination_
negate bool - destinations Sequence[str]
- enabled bool
- id str
- install_
ons Sequence[str] - layer str
- name str
- service_
negate bool - services Sequence[str]
- site_
categories Sequence[str] - site_
category_ boolnegate - source_
negate bool - sources Sequence[str]
- track str
- rule_
number str - uid str
- action String
- blades List<String>
- certificate String
- comments String
- destination
Negate Boolean - destinations List<String>
- enabled Boolean
- id String
- install
Ons List<String> - layer String
- name String
- service
Negate Boolean - services List<String>
- site
Categories List<String> - site
Category BooleanNegate - source
Negate Boolean - sources List<String>
- track String
- rule
Number String - uid String
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
