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

checkpoint.getManagementServiceGtp

Explore with Pulumi AI

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,
});
Copy
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)
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 {
		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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func LookupManagementServiceGtp(ctx *Context, args *LookupManagementServiceGtpArgs, opts ...InvokeOption) (*LookupManagementServiceGtpResult, error)
func LookupManagementServiceGtpOutput(ctx *Context, args *LookupManagementServiceGtpOutputArgs, opts ...InvokeOption) LookupManagementServiceGtpResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetManagementServiceGtpResult> getManagementServiceGtp(GetManagementServiceGtpArgs args, InvokeOptions options)
public static Output<GetManagementServiceGtpResult> getManagementServiceGtp(GetManagementServiceGtpArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementServiceGtp:getManagementServiceGtp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Object name.
Uid string
Object unique identifier.
Id string
Name string
Object name.
Uid string
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.
id string
name string
Object name.
uid string
Object unique identifier.
id str
name str
Object name.
uid str
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.

getManagementServiceGtp Result

The following output properties are available:

AccessPointName Dictionary<string, string>
AllowUsageOfStaticIp bool
ApplyAccessPolicyOnUserTraffic Dictionary<string, string>
Color string
Comments string
CsFallbackAndSrvcc bool
Groups List<string>
Id string
IgnoreErrors bool
IgnoreWarnings bool
ImsiPrefix Dictionary<string, string>
InterfaceProfile Dictionary<string, string>
LdapGroup Dictionary<string, string>
MsIsdn Dictionary<string, string>
RadioAccessTechnologies List<GetManagementServiceGtpRadioAccessTechnology>
RestorationAndRecovery bool
ReverseService bool
SelectionModes List<GetManagementServiceGtpSelectionMode>
Tags List<string>
TraceManagement bool
Version string
Name string
Uid string
accessPointName {[key: string]: string}
allowUsageOfStaticIp boolean
applyAccessPolicyOnUserTraffic {[key: string]: string}
color string
comments string
csFallbackAndSrvcc boolean
groups string[]
id string
ignoreErrors boolean
ignoreWarnings boolean
imsiPrefix {[key: string]: string}
interfaceProfile {[key: string]: string}
ldapGroup {[key: string]: string}
msIsdn {[key: string]: string}
radioAccessTechnologies GetManagementServiceGtpRadioAccessTechnology[]
restorationAndRecovery boolean
reverseService boolean
selectionModes GetManagementServiceGtpSelectionMode[]
tags string[]
traceManagement boolean
version string
name string
uid string

Supporting Types

GetManagementServiceGtpRadioAccessTechnology

Eutran This property is required. bool
.
Gan This property is required. bool
.
Geran This property is required. bool
.
HspaEvolution This property is required. bool
.
NbIot This property is required. bool
.
OtherTypesRanges This property is required. List<GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange>
.other_types_range blocks are documented below.
Utran This property is required. bool
.
Virtual This property is required. bool
.
Wlan This property is required. bool
.
Eutran This property is required. bool
.
Gan This property is required. bool
.
Geran This property is required. bool
.
HspaEvolution This property is required. bool
.
NbIot This property is required. bool
.
OtherTypesRanges This property is required. []GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange
.other_types_range blocks are documented below.
Utran This property is required. bool
.
Virtual This property is required. bool
.
Wlan This property is required. bool
.
eutran This property is required. Boolean
.
gan This property is required. Boolean
.
geran This property is required. Boolean
.
hspaEvolution This property is required. Boolean
.
nbIot This property is required. Boolean
.
otherTypesRanges This property is required. List<GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange>
.other_types_range blocks are documented below.
utran This property is required. Boolean
.
virtual This property is required. Boolean
.
wlan This property is required. Boolean
.
eutran This property is required. boolean
.
gan This property is required. boolean
.
geran This property is required. boolean
.
hspaEvolution This property is required. boolean
.
nbIot This property is required. boolean
.
otherTypesRanges This property is required. GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange[]
.other_types_range blocks are documented below.
utran This property is required. boolean
.
virtual This property is required. boolean
.
wlan This property is required. boolean
.
eutran This property is required. bool
.
gan This property is required. bool
.
geran This property is required. bool
.
hspa_evolution This property is required. bool
.
nb_iot This property is required. bool
.
other_types_ranges This property is required. Sequence[GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange]
.other_types_range blocks are documented below.
utran This property is required. bool
.
virtual This property is required. bool
.
wlan This property is required. bool
.
eutran This property is required. Boolean
.
gan This property is required. Boolean
.
geran This property is required. Boolean
.
hspaEvolution This property is required. Boolean
.
nbIot This property is required. Boolean
.
otherTypesRanges This property is required. List<Property Map>
.other_types_range blocks are documented below.
utran This property is required. Boolean
.
virtual This property is required. Boolean
.
wlan This property is required. Boolean
.

GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange

Enable This property is required. bool
Types This property is required. string
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.
Enable This property is required. bool
Types This property is required. string
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.
enable This property is required. Boolean
types This property is required. String
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.
enable This property is required. boolean
types This property is required. string
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.
enable This property is required. bool
types This property is required. str
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.
enable This property is required. Boolean
types This property is required. String
Other RAT Types. To specify other RAT ranges, add a hyphen between the lowest and the highest numbers, for example: 11-15. Multiple Ranges can be chosen when separated with comma.

GetManagementServiceGtpSelectionMode

Enable This property is required. bool
Mode This property is required. double
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
Enable This property is required. bool
Mode This property is required. float64
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
enable This property is required. Boolean
mode This property is required. Double
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
enable This property is required. boolean
mode This property is required. number
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
enable This property is required. bool
mode This property is required. float
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
enable This property is required. Boolean
mode This property is required. Number
The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].

Package Details

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