checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementServiceGtp
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Service Gtp.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const serviceGtp = new checkpoint.ManagementServiceGtp("serviceGtp", {
accessPointName: {
apn: "AccP2",
enable: "true",
},
applyAccessPolicyOnUserTraffic: {
add_imsi_field_to_log: "true",
enable: "true",
},
imsiPrefix: {
enable: "true",
prefix: "123",
},
interfaceProfile: {
custom_message_types: "32-35",
profile: "Custom",
},
ldapGroup: {
according_to: "MS-ISDN",
enable: "true",
group: "ldap_group_1",
},
msIsdn: {
enable: "true",
ms_isdn: "312",
},
radioAccessTechnology: {
otherTypesRange: {
enable: true,
types: "11-50",
},
},
reverseService: true,
selectionMode: {
enable: true,
mode: 1,
},
traceManagement: true,
version: "v2",
});
const dataServiceGtp = checkpoint.getManagementServiceGtpOutput({
name: serviceGtp.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
service_gtp = checkpoint.ManagementServiceGtp("serviceGtp",
access_point_name={
"apn": "AccP2",
"enable": "true",
},
apply_access_policy_on_user_traffic={
"add_imsi_field_to_log": "true",
"enable": "true",
},
imsi_prefix={
"enable": "true",
"prefix": "123",
},
interface_profile={
"custom_message_types": "32-35",
"profile": "Custom",
},
ldap_group={
"according_to": "MS-ISDN",
"enable": "true",
"group": "ldap_group_1",
},
ms_isdn={
"enable": "true",
"ms_isdn": "312",
},
radio_access_technology={
"other_types_range": {
"enable": True,
"types": "11-50",
},
},
reverse_service=True,
selection_mode={
"enable": True,
"mode": 1,
},
trace_management=True,
version="v2")
data_service_gtp = checkpoint.get_management_service_gtp_output(name=service_gtp.name)
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 {
serviceGtp, err := checkpoint.NewManagementServiceGtp(ctx, "serviceGtp", &checkpoint.ManagementServiceGtpArgs{
AccessPointName: pulumi.StringMap{
"apn": pulumi.String("AccP2"),
"enable": pulumi.String("true"),
},
ApplyAccessPolicyOnUserTraffic: pulumi.StringMap{
"add_imsi_field_to_log": pulumi.String("true"),
"enable": pulumi.String("true"),
},
ImsiPrefix: pulumi.StringMap{
"enable": pulumi.String("true"),
"prefix": pulumi.String("123"),
},
InterfaceProfile: pulumi.StringMap{
"custom_message_types": pulumi.String("32-35"),
"profile": pulumi.String("Custom"),
},
LdapGroup: pulumi.StringMap{
"according_to": pulumi.String("MS-ISDN"),
"enable": pulumi.String("true"),
"group": pulumi.String("ldap_group_1"),
},
MsIsdn: pulumi.StringMap{
"enable": pulumi.String("true"),
"ms_isdn": pulumi.String("312"),
},
RadioAccessTechnology: &checkpoint.ManagementServiceGtpRadioAccessTechnologyArgs{
OtherTypesRange: &checkpoint.ManagementServiceGtpRadioAccessTechnologyOtherTypesRangeArgs{
Enable: pulumi.Bool(true),
Types: pulumi.String("11-50"),
},
},
ReverseService: pulumi.Bool(true),
SelectionMode: &checkpoint.ManagementServiceGtpSelectionModeArgs{
Enable: pulumi.Bool(true),
Mode: pulumi.Float64(1),
},
TraceManagement: pulumi.Bool(true),
Version: pulumi.String("v2"),
})
if err != nil {
return err
}
_ = checkpoint.LookupManagementServiceGtpOutput(ctx, checkpoint.GetManagementServiceGtpOutputArgs{
Name: serviceGtp.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var serviceGtp = new Checkpoint.ManagementServiceGtp("serviceGtp", new()
{
AccessPointName =
{
{ "apn", "AccP2" },
{ "enable", "true" },
},
ApplyAccessPolicyOnUserTraffic =
{
{ "add_imsi_field_to_log", "true" },
{ "enable", "true" },
},
ImsiPrefix =
{
{ "enable", "true" },
{ "prefix", "123" },
},
InterfaceProfile =
{
{ "custom_message_types", "32-35" },
{ "profile", "Custom" },
},
LdapGroup =
{
{ "according_to", "MS-ISDN" },
{ "enable", "true" },
{ "group", "ldap_group_1" },
},
MsIsdn =
{
{ "enable", "true" },
{ "ms_isdn", "312" },
},
RadioAccessTechnology = new Checkpoint.Inputs.ManagementServiceGtpRadioAccessTechnologyArgs
{
OtherTypesRange = new Checkpoint.Inputs.ManagementServiceGtpRadioAccessTechnologyOtherTypesRangeArgs
{
Enable = true,
Types = "11-50",
},
},
ReverseService = true,
SelectionMode = new Checkpoint.Inputs.ManagementServiceGtpSelectionModeArgs
{
Enable = true,
Mode = 1,
},
TraceManagement = true,
Version = "v2",
});
var dataServiceGtp = Checkpoint.GetManagementServiceGtp.Invoke(new()
{
Name = serviceGtp.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementServiceGtp;
import com.pulumi.checkpoint.ManagementServiceGtpArgs;
import com.pulumi.checkpoint.inputs.ManagementServiceGtpRadioAccessTechnologyArgs;
import com.pulumi.checkpoint.inputs.ManagementServiceGtpRadioAccessTechnologyOtherTypesRangeArgs;
import com.pulumi.checkpoint.inputs.ManagementServiceGtpSelectionModeArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementServiceGtpArgs;
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 serviceGtp = new ManagementServiceGtp("serviceGtp", ManagementServiceGtpArgs.builder()
.accessPointName(Map.ofEntries(
Map.entry("apn", "AccP2"),
Map.entry("enable", true)
))
.applyAccessPolicyOnUserTraffic(Map.ofEntries(
Map.entry("add_imsi_field_to_log", true),
Map.entry("enable", true)
))
.imsiPrefix(Map.ofEntries(
Map.entry("enable", true),
Map.entry("prefix", "123")
))
.interfaceProfile(Map.ofEntries(
Map.entry("custom_message_types", "32-35"),
Map.entry("profile", "Custom")
))
.ldapGroup(Map.ofEntries(
Map.entry("according_to", "MS-ISDN"),
Map.entry("enable", true),
Map.entry("group", "ldap_group_1")
))
.msIsdn(Map.ofEntries(
Map.entry("enable", true),
Map.entry("ms_isdn", "312")
))
.radioAccessTechnology(ManagementServiceGtpRadioAccessTechnologyArgs.builder()
.otherTypesRange(ManagementServiceGtpRadioAccessTechnologyOtherTypesRangeArgs.builder()
.enable(true)
.types("11-50")
.build())
.build())
.reverseService(true)
.selectionMode(ManagementServiceGtpSelectionModeArgs.builder()
.enable(true)
.mode(1)
.build())
.traceManagement(true)
.version("v2")
.build());
final var dataServiceGtp = CheckpointFunctions.getManagementServiceGtp(GetManagementServiceGtpArgs.builder()
.name(serviceGtp.name())
.build());
}
}
resources:
serviceGtp:
type: checkpoint:ManagementServiceGtp
properties:
accessPointName:
apn: AccP2
enable: true
applyAccessPolicyOnUserTraffic:
add_imsi_field_to_log: true
enable: true
imsiPrefix:
enable: true
prefix: '123'
interfaceProfile:
custom_message_types: 32-35
profile: Custom
ldapGroup:
according_to: MS-ISDN
enable: true
group: ldap_group_1
msIsdn:
enable: true
ms_isdn: '312'
radioAccessTechnology:
otherTypesRange:
enable: true
types: 11-50
reverseService: true
selectionMode:
enable: true
mode: 1
traceManagement: true
version: v2
variables:
dataServiceGtp:
fn::invoke:
function: checkpoint:getManagementServiceGtp
arguments:
name: ${serviceGtp.name}
Using getManagementServiceGtp
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 getManagementServiceGtp(args: GetManagementServiceGtpArgs, opts?: InvokeOptions): Promise<GetManagementServiceGtpResult>
function getManagementServiceGtpOutput(args: GetManagementServiceGtpOutputArgs, opts?: InvokeOptions): Output<GetManagementServiceGtpResult>
def get_management_service_gtp(id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementServiceGtpResult
def get_management_service_gtp_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementServiceGtpResult]
func LookupManagementServiceGtp(ctx *Context, args *LookupManagementServiceGtpArgs, opts ...InvokeOption) (*LookupManagementServiceGtpResult, error)
func LookupManagementServiceGtpOutput(ctx *Context, args *LookupManagementServiceGtpOutputArgs, opts ...InvokeOption) LookupManagementServiceGtpResultOutput
> Note: This function is named LookupManagementServiceGtp
in the Go SDK.
public static class GetManagementServiceGtp
{
public static Task<GetManagementServiceGtpResult> InvokeAsync(GetManagementServiceGtpArgs args, InvokeOptions? opts = null)
public static Output<GetManagementServiceGtpResult> Invoke(GetManagementServiceGtpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementServiceGtpResult> getManagementServiceGtp(GetManagementServiceGtpArgs args, InvokeOptions options)
public static Output<GetManagementServiceGtpResult> getManagementServiceGtp(GetManagementServiceGtpArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementServiceGtp:getManagementServiceGtp
arguments:
# arguments dictionary
The following arguments are supported:
getManagementServiceGtp Result
The following output properties are available:
- Access
Point Dictionary<string, string>Name - Allow
Usage boolOf Static Ip - Apply
Access Dictionary<string, string>Policy On User Traffic - Color string
- Comments string
- Cs
Fallback boolAnd Srvcc - Groups List<string>
- Id string
- Ignore
Errors bool - Ignore
Warnings bool - Imsi
Prefix Dictionary<string, string> - Interface
Profile Dictionary<string, string> - Ldap
Group Dictionary<string, string> - Ms
Isdn Dictionary<string, string> - Radio
Access List<GetTechnologies Management Service Gtp Radio Access Technology> - Restoration
And boolRecovery - Reverse
Service bool - Selection
Modes List<GetManagement Service Gtp Selection Mode> - List<string>
- Trace
Management bool - Version string
- Name string
- Uid string
- Access
Point map[string]stringName - Allow
Usage boolOf Static Ip - Apply
Access map[string]stringPolicy On User Traffic - Color string
- Comments string
- Cs
Fallback boolAnd Srvcc - Groups []string
- Id string
- Ignore
Errors bool - Ignore
Warnings bool - Imsi
Prefix map[string]string - Interface
Profile map[string]string - Ldap
Group map[string]string - Ms
Isdn map[string]string - Radio
Access []GetTechnologies Management Service Gtp Radio Access Technology - Restoration
And boolRecovery - Reverse
Service bool - Selection
Modes []GetManagement Service Gtp Selection Mode - []string
- Trace
Management bool - Version string
- Name string
- Uid string
- access
Point Map<String,String>Name - allow
Usage BooleanOf Static Ip - apply
Access Map<String,String>Policy On User Traffic - color String
- comments String
- cs
Fallback BooleanAnd Srvcc - groups List<String>
- id String
- ignore
Errors Boolean - ignore
Warnings Boolean - imsi
Prefix Map<String,String> - interface
Profile Map<String,String> - ldap
Group Map<String,String> - ms
Isdn Map<String,String> - radio
Access List<GetTechnologies Management Service Gtp Radio Access Technology> - restoration
And BooleanRecovery - reverse
Service Boolean - selection
Modes List<GetManagement Service Gtp Selection Mode> - List<String>
- trace
Management Boolean - version String
- name String
- uid String
- access
Point {[key: string]: string}Name - allow
Usage booleanOf Static Ip - apply
Access {[key: string]: string}Policy On User Traffic - color string
- comments string
- cs
Fallback booleanAnd Srvcc - groups string[]
- id string
- ignore
Errors boolean - ignore
Warnings boolean - imsi
Prefix {[key: string]: string} - interface
Profile {[key: string]: string} - ldap
Group {[key: string]: string} - ms
Isdn {[key: string]: string} - radio
Access GetTechnologies Management Service Gtp Radio Access Technology[] - restoration
And booleanRecovery - reverse
Service boolean - selection
Modes GetManagement Service Gtp Selection Mode[] - string[]
- trace
Management boolean - version string
- name string
- uid string
- access_
point_ Mapping[str, str]name - allow_
usage_ boolof_ static_ ip - apply_
access_ Mapping[str, str]policy_ on_ user_ traffic - color str
- comments str
- cs_
fallback_ booland_ srvcc - groups Sequence[str]
- id str
- ignore_
errors bool - ignore_
warnings bool - imsi_
prefix Mapping[str, str] - interface_
profile Mapping[str, str] - ldap_
group Mapping[str, str] - ms_
isdn Mapping[str, str] - radio_
access_ Sequence[Gettechnologies Management Service Gtp Radio Access Technology] - restoration_
and_ boolrecovery - reverse_
service bool - selection_
modes Sequence[GetManagement Service Gtp Selection Mode] - Sequence[str]
- trace_
management bool - version str
- name str
- uid str
- access
Point Map<String>Name - allow
Usage BooleanOf Static Ip - apply
Access Map<String>Policy On User Traffic - color String
- comments String
- cs
Fallback BooleanAnd Srvcc - groups List<String>
- id String
- ignore
Errors Boolean - ignore
Warnings Boolean - imsi
Prefix Map<String> - interface
Profile Map<String> - ldap
Group Map<String> - ms
Isdn Map<String> - radio
Access List<Property Map>Technologies - restoration
And BooleanRecovery - reverse
Service Boolean - selection
Modes List<Property Map> - List<String>
- trace
Management Boolean - version String
- name String
- uid String
Supporting Types
GetManagementServiceGtpRadioAccessTechnology
- Eutran bool
- .
- Gan bool
- .
- Geran bool
- .
- Hspa
Evolution bool - .
- Nb
Iot bool - .
- Other
Types List<GetRanges Management Service Gtp Radio Access Technology Other Types Range> - .other_types_range blocks are documented below.
- Utran bool
- .
- Virtual bool
- .
- Wlan bool
- .
- Eutran bool
- .
- Gan bool
- .
- Geran bool
- .
- Hspa
Evolution bool - .
- Nb
Iot bool - .
- Other
Types []GetRanges Management Service Gtp Radio Access Technology Other Types Range - .other_types_range blocks are documented below.
- Utran bool
- .
- Virtual bool
- .
- Wlan bool
- .
- eutran Boolean
- .
- gan Boolean
- .
- geran Boolean
- .
- hspa
Evolution Boolean - .
- nb
Iot Boolean - .
- other
Types List<GetRanges Management Service Gtp Radio Access Technology Other Types Range> - .other_types_range blocks are documented below.
- utran Boolean
- .
- virtual Boolean
- .
- wlan Boolean
- .
- eutran boolean
- .
- gan boolean
- .
- geran boolean
- .
- hspa
Evolution boolean - .
- nb
Iot boolean - .
- other
Types GetRanges Management Service Gtp Radio Access Technology Other Types Range[] - .other_types_range blocks are documented below.
- utran boolean
- .
- virtual boolean
- .
- wlan boolean
- .
- eutran bool
- .
- gan bool
- .
- geran bool
- .
- hspa_
evolution bool - .
- nb_
iot bool - .
- other_
types_ Sequence[Getranges Management Service Gtp Radio Access Technology Other Types Range] - .other_types_range blocks are documented below.
- utran bool
- .
- virtual bool
- .
- wlan bool
- .
- eutran Boolean
- .
- gan Boolean
- .
- geran Boolean
- .
- hspa
Evolution Boolean - .
- nb
Iot Boolean - .
- other
Types List<Property Map>Ranges - .other_types_range blocks are documented below.
- utran Boolean
- .
- virtual Boolean
- .
- wlan Boolean
- .
GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange
GetManagementServiceGtpSelectionMode
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw