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

checkpoint.getManagementMobileAccessProfileSection

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 Mobile Access Profile Section.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementMobileAccessProfileSection("example", {position: {
        top: "top",
    }});
    const data = checkpoint.getManagementMobileAccessProfileSectionOutput({
        uid: example.managementMobileAccessProfileSectionId,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementMobileAccessProfileSection("example", position={
        "top": "top",
    })
    data = checkpoint.get_management_mobile_access_profile_section_output(uid=example.management_mobile_access_profile_section_id)
    
    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 {
    		example, err := checkpoint.NewManagementMobileAccessProfileSection(ctx, "example", &checkpoint.ManagementMobileAccessProfileSectionArgs{
    			Position: pulumi.StringMap{
    				"top": pulumi.String("top"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementMobileAccessProfileSectionOutput(ctx, checkpoint.GetManagementMobileAccessProfileSectionOutputArgs{
    			Uid: example.ManagementMobileAccessProfileSectionId,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementMobileAccessProfileSection("example", new()
        {
            Position = 
            {
                { "top", "top" },
            },
        });
    
        var data = Checkpoint.GetManagementMobileAccessProfileSection.Invoke(new()
        {
            Uid = example.ManagementMobileAccessProfileSectionId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementMobileAccessProfileSection;
    import com.pulumi.checkpoint.ManagementMobileAccessProfileSectionArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementMobileAccessProfileSectionArgs;
    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 ManagementMobileAccessProfileSection("example", ManagementMobileAccessProfileSectionArgs.builder()
                .position(Map.of("top", "top"))
                .build());
    
            final var data = CheckpointFunctions.getManagementMobileAccessProfileSection(GetManagementMobileAccessProfileSectionArgs.builder()
                .uid(example.managementMobileAccessProfileSectionId())
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementMobileAccessProfileSection
        properties:
          position:
            top: top
    variables:
      data:
        fn::invoke:
          function: checkpoint:getManagementMobileAccessProfileSection
          arguments:
            uid: ${example.managementMobileAccessProfileSectionId}
    

    Using getManagementMobileAccessProfileSection

    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 getManagementMobileAccessProfileSection(args: GetManagementMobileAccessProfileSectionArgs, opts?: InvokeOptions): Promise<GetManagementMobileAccessProfileSectionResult>
    function getManagementMobileAccessProfileSectionOutput(args: GetManagementMobileAccessProfileSectionOutputArgs, opts?: InvokeOptions): Output<GetManagementMobileAccessProfileSectionResult>
    def get_management_mobile_access_profile_section(id: Optional[str] = None,
                                                     name: Optional[str] = None,
                                                     uid: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetManagementMobileAccessProfileSectionResult
    def get_management_mobile_access_profile_section_output(id: Optional[pulumi.Input[str]] = None,
                                                     name: Optional[pulumi.Input[str]] = None,
                                                     uid: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagementMobileAccessProfileSectionResult]
    func LookupManagementMobileAccessProfileSection(ctx *Context, args *LookupManagementMobileAccessProfileSectionArgs, opts ...InvokeOption) (*LookupManagementMobileAccessProfileSectionResult, error)
    func LookupManagementMobileAccessProfileSectionOutput(ctx *Context, args *LookupManagementMobileAccessProfileSectionOutputArgs, opts ...InvokeOption) LookupManagementMobileAccessProfileSectionResultOutput

    > Note: This function is named LookupManagementMobileAccessProfileSection in the Go SDK.

    public static class GetManagementMobileAccessProfileSection 
    {
        public static Task<GetManagementMobileAccessProfileSectionResult> InvokeAsync(GetManagementMobileAccessProfileSectionArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementMobileAccessProfileSectionResult> Invoke(GetManagementMobileAccessProfileSectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementMobileAccessProfileSectionResult> getManagementMobileAccessProfileSection(GetManagementMobileAccessProfileSectionArgs args, InvokeOptions options)
    public static Output<GetManagementMobileAccessProfileSectionResult> getManagementMobileAccessProfileSection(GetManagementMobileAccessProfileSectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementMobileAccessProfileSection:getManagementMobileAccessProfileSection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.
    id string
    name string
    Object name. Should be unique in the domain.
    uid string
    Object unique identifier.
    id str
    name str
    Object name. Should be unique in the domain.
    uid str
    Object unique identifier.
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    Object unique identifier.

    getManagementMobileAccessProfileSection Result

    The following output properties are available:

    Id string
    Tags List<string>
    Name string
    Uid string
    Id string
    Tags []string
    Name string
    Uid string
    id String
    tags List<String>
    name String
    uid String
    id string
    tags string[]
    name string
    uid string
    id str
    tags Sequence[str]
    name str
    uid str
    id String
    tags List<String>
    name String
    uid String

    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