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

checkpoint logo
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:

    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 bool
    .
    Gan bool
    .
    Geran bool
    .
    HspaEvolution bool
    .
    NbIot bool
    .
    OtherTypesRanges List<GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange>
    .other_types_range blocks are documented below.
    Utran bool
    .
    Virtual bool
    .
    Wlan bool
    .
    Eutran bool
    .
    Gan bool
    .
    Geran bool
    .
    HspaEvolution bool
    .
    NbIot bool
    .
    OtherTypesRanges []GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange
    .other_types_range blocks are documented below.
    Utran bool
    .
    Virtual bool
    .
    Wlan bool
    .
    eutran Boolean
    .
    gan Boolean
    .
    geran Boolean
    .
    hspaEvolution Boolean
    .
    nbIot Boolean
    .
    otherTypesRanges List<GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange>
    .other_types_range blocks are documented below.
    utran Boolean
    .
    virtual Boolean
    .
    wlan Boolean
    .
    eutran boolean
    .
    gan boolean
    .
    geran boolean
    .
    hspaEvolution boolean
    .
    nbIot boolean
    .
    otherTypesRanges GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange[]
    .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_ranges Sequence[GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange]
    .other_types_range blocks are documented below.
    utran bool
    .
    virtual bool
    .
    wlan bool
    .
    eutran Boolean
    .
    gan Boolean
    .
    geran Boolean
    .
    hspaEvolution Boolean
    .
    nbIot Boolean
    .
    otherTypesRanges List<Property Map>
    .other_types_range blocks are documented below.
    utran Boolean
    .
    virtual Boolean
    .
    wlan Boolean
    .

    GetManagementServiceGtpRadioAccessTechnologyOtherTypesRange

    Enable bool
    Types 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 bool
    Types 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 Boolean
    types 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 boolean
    types 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 bool
    types 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 Boolean
    types 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 bool
    Mode double
    The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
    Enable bool
    Mode float64
    The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
    enable Boolean
    mode Double
    The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
    enable boolean
    mode number
    The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
    enable bool
    mode float
    The mode as integer. [0 - Verified, 1 - MS - Not verified, 2 - Network - Not verified].
    enable Boolean
    mode 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.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw