checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementResourceFtp
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 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:
getManagementResourceFtp Result
The following output properties are available:
- Color string
- Comments string
- Cvps
List<Get
Management Resource Ftp Cvp> - Exception
Track string - Id string
- Resource
Matching stringMethod - Resources
Path string - List<string>
- Name string
- Uid string
- Color string
- Comments string
- Cvps
[]Get
Management Resource Ftp Cvp - Exception
Track string - Id string
- Resource
Matching stringMethod - Resources
Path string - []string
- Name string
- Uid string
- color String
- comments String
- cvps
List<Get
Management Resource Ftp Cvp> - exception
Track String - id String
- resource
Matching StringMethod - resources
Path String - List<String>
- name String
- uid String
- color string
- comments string
- cvps
Get
Management Resource Ftp Cvp[] - exception
Track string - id string
- resource
Matching stringMethod - resources
Path string - string[]
- name string
- uid string
- color str
- comments str
- cvps
Sequence[Get
Management Resource Ftp Cvp] - exception_
track str - id str
- resource_
matching_ strmethod - resources_
path str - Sequence[str]
- name str
- uid str
- color String
- comments String
- cvps List<Property Map>
- exception
Track String - id String
- resource
Matching StringMethod - resources
Path String - List<String>
- name String
- uid String
Supporting Types
GetManagementResourceFtpCvp
- Allowed
To boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order 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 boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order 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 BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order 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 booleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp boolean - Select to enable the Content Vectoring Protocol.
- reply
Order 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_ boolmodify_ content - 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.
- allowed
To BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order 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 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw