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

checkpoint.getManagementResourceFtp

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 Resource Ftp.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementResourceFtp("example", {
        cvp: {
            allowedToModifyContent: true,
            enableCvp: false,
            replyOrder: "return_data_before_content_is_approved",
            server: "serverName",
        },
        exceptionTrack: "exception log",
        resourceMatchingMethod: "get_and_put",
        resourcesPath: "path",
    });
    const data = checkpoint.getManagementResourceFtpOutput({
        uid: example.managementResourceFtpId,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementResourceFtp("example",
        cvp={
            "allowed_to_modify_content": True,
            "enable_cvp": False,
            "reply_order": "return_data_before_content_is_approved",
            "server": "serverName",
        },
        exception_track="exception log",
        resource_matching_method="get_and_put",
        resources_path="path")
    data = checkpoint.get_management_resource_ftp_output(uid=example.management_resource_ftp_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.NewManagementResourceFtp(ctx, "example", &checkpoint.ManagementResourceFtpArgs{
    			Cvp: &checkpoint.ManagementResourceFtpCvpArgs{
    				AllowedToModifyContent: pulumi.Bool(true),
    				EnableCvp:              pulumi.Bool(false),
    				ReplyOrder:             pulumi.String("return_data_before_content_is_approved"),
    				Server:                 pulumi.String("serverName"),
    			},
    			ExceptionTrack:         pulumi.String("exception log"),
    			ResourceMatchingMethod: pulumi.String("get_and_put"),
    			ResourcesPath:          pulumi.String("path"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementResourceFtpOutput(ctx, checkpoint.GetManagementResourceFtpOutputArgs{
    			Uid: example.ManagementResourceFtpId,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementResourceFtp("example", new()
        {
            Cvp = new Checkpoint.Inputs.ManagementResourceFtpCvpArgs
            {
                AllowedToModifyContent = true,
                EnableCvp = false,
                ReplyOrder = "return_data_before_content_is_approved",
                Server = "serverName",
            },
            ExceptionTrack = "exception log",
            ResourceMatchingMethod = "get_and_put",
            ResourcesPath = "path",
        });
    
        var data = Checkpoint.GetManagementResourceFtp.Invoke(new()
        {
            Uid = example.ManagementResourceFtpId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementResourceFtp;
    import com.pulumi.checkpoint.ManagementResourceFtpArgs;
    import com.pulumi.checkpoint.inputs.ManagementResourceFtpCvpArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementResourceFtpArgs;
    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 ManagementResourceFtp("example", ManagementResourceFtpArgs.builder()
                .cvp(ManagementResourceFtpCvpArgs.builder()
                    .allowedToModifyContent(true)
                    .enableCvp(false)
                    .replyOrder("return_data_before_content_is_approved")
                    .server("serverName")
                    .build())
                .exceptionTrack("exception log")
                .resourceMatchingMethod("get_and_put")
                .resourcesPath("path")
                .build());
    
            final var data = CheckpointFunctions.getManagementResourceFtp(GetManagementResourceFtpArgs.builder()
                .uid(example.managementResourceFtpId())
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementResourceFtp
        properties:
          cvp:
            allowedToModifyContent: true
            enableCvp: false
            replyOrder: return_data_before_content_is_approved
            server: serverName
          exceptionTrack: exception log
          resourceMatchingMethod: get_and_put
          resourcesPath: path
    variables:
      data:
        fn::invoke:
          function: checkpoint:getManagementResourceFtp
          arguments:
            uid: ${example.managementResourceFtpId}
    

    Using getManagementResourceFtp

    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 getManagementResourceFtp(args: GetManagementResourceFtpArgs, opts?: InvokeOptions): Promise<GetManagementResourceFtpResult>
    function getManagementResourceFtpOutput(args: GetManagementResourceFtpOutputArgs, opts?: InvokeOptions): Output<GetManagementResourceFtpResult>
    def get_management_resource_ftp(id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    uid: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetManagementResourceFtpResult
    def get_management_resource_ftp_output(id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    uid: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetManagementResourceFtpResult]
    func LookupManagementResourceFtp(ctx *Context, args *LookupManagementResourceFtpArgs, opts ...InvokeOption) (*LookupManagementResourceFtpResult, error)
    func LookupManagementResourceFtpOutput(ctx *Context, args *LookupManagementResourceFtpOutputArgs, opts ...InvokeOption) LookupManagementResourceFtpResultOutput

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

    public static class GetManagementResourceFtp 
    {
        public static Task<GetManagementResourceFtpResult> InvokeAsync(GetManagementResourceFtpArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementResourceFtpResult> Invoke(GetManagementResourceFtpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementResourceFtpResult> getManagementResourceFtp(GetManagementResourceFtpArgs args, InvokeOptions options)
    public static Output<GetManagementResourceFtpResult> getManagementResourceFtp(GetManagementResourceFtpArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementResourceFtp:getManagementResourceFtp
      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.

    getManagementResourceFtp Result

    The following output properties are available:

    color String
    comments String
    cvps List<Property Map>
    exceptionTrack String
    id String
    resourceMatchingMethod String
    resourcesPath String
    tags List<String>
    name String
    uid String

    Supporting Types

    GetManagementResourceFtpCvp

    AllowedToModifyContent bool
    Configures the CVP server to inspect but not modify content.
    EnableCvp bool
    Select to enable the Content Vectoring Protocol.
    ReplyOrder string
    Designates when the CVP server returns data to the Security Gateway security server.
    Server string
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
    AllowedToModifyContent bool
    Configures the CVP server to inspect but not modify content.
    EnableCvp bool
    Select to enable the Content Vectoring Protocol.
    ReplyOrder string
    Designates when the CVP server returns data to the Security Gateway security server.
    Server string
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
    allowedToModifyContent Boolean
    Configures the CVP server to inspect but not modify content.
    enableCvp Boolean
    Select to enable the Content Vectoring Protocol.
    replyOrder String
    Designates when the CVP server returns data to the Security Gateway security server.
    server String
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
    allowedToModifyContent boolean
    Configures the CVP server to inspect but not modify content.
    enableCvp boolean
    Select to enable the Content Vectoring Protocol.
    replyOrder string
    Designates when the CVP server returns data to the Security Gateway security server.
    server string
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
    allowed_to_modify_content bool
    Configures the CVP server to inspect but not modify content.
    enable_cvp bool
    Select to enable the Content Vectoring Protocol.
    reply_order str
    Designates when the CVP server returns data to the Security Gateway security server.
    server str
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
    allowedToModifyContent Boolean
    Configures the CVP server to inspect but not modify content.
    enableCvp Boolean
    Select to enable the Content Vectoring Protocol.
    replyOrder String
    Designates when the CVP server returns data to the Security Gateway security server.
    server String
    The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.

    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