fortimanager.ObjectFirewallProfileprotocoloptionsFtp
Explore with Pulumi AI
Configure FTP protocol options.
This resource is a sub resource for variable
ftpof resourcefortimanager.ObjectFirewallProfileprotocoloptions. Conflict and overwrite may occur if use both of them.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trnameObjectFirewallProfileprotocoloptions = new fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions", {});
const trnameObjectFirewallProfileprotocoloptionsFtp = new fortimanager.ObjectFirewallProfileprotocoloptionsFtp("trnameObjectFirewallProfileprotocoloptionsFtp", {
    profileProtocolOptions: trnameObjectFirewallProfileprotocoloptions.name,
    inspectAll: "enable",
    options: ["oversize"],
    oversizeLimit: 34,
}, {
    dependsOn: [trnameObjectFirewallProfileprotocoloptions],
});
import pulumi
import pulumi_fortimanager as fortimanager
trname_object_firewall_profileprotocoloptions = fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions")
trname_object_firewall_profileprotocoloptions_ftp = fortimanager.ObjectFirewallProfileprotocoloptionsFtp("trnameObjectFirewallProfileprotocoloptionsFtp",
    profile_protocol_options=trname_object_firewall_profileprotocoloptions.name,
    inspect_all="enable",
    options=["oversize"],
    oversize_limit=34,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_firewall_profileprotocoloptions]))
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectFirewallProfileprotocoloptions, err := fortimanager.NewObjectFirewallProfileprotocoloptions(ctx, "trnameObjectFirewallProfileprotocoloptions", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectFirewallProfileprotocoloptionsFtp(ctx, "trnameObjectFirewallProfileprotocoloptionsFtp", &fortimanager.ObjectFirewallProfileprotocoloptionsFtpArgs{
			ProfileProtocolOptions: trnameObjectFirewallProfileprotocoloptions.Name,
			InspectAll:             pulumi.String("enable"),
			Options: pulumi.StringArray{
				pulumi.String("oversize"),
			},
			OversizeLimit: pulumi.Float64(34),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectFirewallProfileprotocoloptions,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trnameObjectFirewallProfileprotocoloptions = new Fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions");
    var trnameObjectFirewallProfileprotocoloptionsFtp = new Fortimanager.ObjectFirewallProfileprotocoloptionsFtp("trnameObjectFirewallProfileprotocoloptionsFtp", new()
    {
        ProfileProtocolOptions = trnameObjectFirewallProfileprotocoloptions.Name,
        InspectAll = "enable",
        Options = new[]
        {
            "oversize",
        },
        OversizeLimit = 34,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectFirewallProfileprotocoloptions,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptions;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptionsFtp;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptionsFtpArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectFirewallProfileprotocoloptions = new ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions");
        var trnameObjectFirewallProfileprotocoloptionsFtp = new ObjectFirewallProfileprotocoloptionsFtp("trnameObjectFirewallProfileprotocoloptionsFtp", ObjectFirewallProfileprotocoloptionsFtpArgs.builder()
            .profileProtocolOptions(trnameObjectFirewallProfileprotocoloptions.name())
            .inspectAll("enable")
            .options("oversize")
            .oversizeLimit(34)
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectFirewallProfileprotocoloptions)
                .build());
    }
}
resources:
  trnameObjectFirewallProfileprotocoloptionsFtp:
    type: fortimanager:ObjectFirewallProfileprotocoloptionsFtp
    properties:
      profileProtocolOptions: ${trnameObjectFirewallProfileprotocoloptions.name}
      inspectAll: enable
      options:
        - oversize
      oversizeLimit: 34
    options:
      dependsOn:
        - ${trnameObjectFirewallProfileprotocoloptions}
  trnameObjectFirewallProfileprotocoloptions:
    type: fortimanager:ObjectFirewallProfileprotocoloptions
Create ObjectFirewallProfileprotocoloptionsFtp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallProfileprotocoloptionsFtp(name: string, args: ObjectFirewallProfileprotocoloptionsFtpArgs, opts?: CustomResourceOptions);@overload
def ObjectFirewallProfileprotocoloptionsFtp(resource_name: str,
                                            args: ObjectFirewallProfileprotocoloptionsFtpInitArgs,
                                            opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallProfileprotocoloptionsFtp(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            profile_protocol_options: Optional[str] = None,
                                            scan_bzip2: Optional[str] = None,
                                            tcp_window_type: Optional[str] = None,
                                            explicit_ftp_tls: Optional[str] = None,
                                            inspect_all: Optional[str] = None,
                                            object_firewall_profileprotocoloptions_ftp_id: Optional[str] = None,
                                            options: Optional[Sequence[str]] = None,
                                            oversize_limit: Optional[float] = None,
                                            scopetype: Optional[str] = None,
                                            uncompressed_oversize_limit: Optional[float] = None,
                                            comfort_interval: Optional[float] = None,
                                            ports: Optional[Sequence[float]] = None,
                                            ssl_offloaded: Optional[str] = None,
                                            status: Optional[str] = None,
                                            stream_based_uncompressed_limit: Optional[float] = None,
                                            tcp_window_maximum: Optional[float] = None,
                                            tcp_window_minimum: Optional[float] = None,
                                            tcp_window_size: Optional[float] = None,
                                            adom: Optional[str] = None,
                                            uncompressed_nest_limit: Optional[float] = None,
                                            comfort_amount: Optional[float] = None)func NewObjectFirewallProfileprotocoloptionsFtp(ctx *Context, name string, args ObjectFirewallProfileprotocoloptionsFtpArgs, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsFtp, error)public ObjectFirewallProfileprotocoloptionsFtp(string name, ObjectFirewallProfileprotocoloptionsFtpArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallProfileprotocoloptionsFtp(String name, ObjectFirewallProfileprotocoloptionsFtpArgs args)
public ObjectFirewallProfileprotocoloptionsFtp(String name, ObjectFirewallProfileprotocoloptionsFtpArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallProfileprotocoloptionsFtp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ObjectFirewallProfileprotocoloptionsFtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ObjectFirewallProfileprotocoloptionsFtpInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ObjectFirewallProfileprotocoloptionsFtpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallProfileprotocoloptionsFtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallProfileprotocoloptionsFtpArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var objectFirewallProfileprotocoloptionsFtpResource = new Fortimanager.ObjectFirewallProfileprotocoloptionsFtp("objectFirewallProfileprotocoloptionsFtpResource", new()
{
    ProfileProtocolOptions = "string",
    ScanBzip2 = "string",
    TcpWindowType = "string",
    ExplicitFtpTls = "string",
    InspectAll = "string",
    ObjectFirewallProfileprotocoloptionsFtpId = "string",
    Options = new[]
    {
        "string",
    },
    OversizeLimit = 0,
    Scopetype = "string",
    UncompressedOversizeLimit = 0,
    ComfortInterval = 0,
    Ports = new[]
    {
        0,
    },
    SslOffloaded = "string",
    Status = "string",
    StreamBasedUncompressedLimit = 0,
    TcpWindowMaximum = 0,
    TcpWindowMinimum = 0,
    TcpWindowSize = 0,
    Adom = "string",
    UncompressedNestLimit = 0,
    ComfortAmount = 0,
});
example, err := fortimanager.NewObjectFirewallProfileprotocoloptionsFtp(ctx, "objectFirewallProfileprotocoloptionsFtpResource", &fortimanager.ObjectFirewallProfileprotocoloptionsFtpArgs{
ProfileProtocolOptions: pulumi.String("string"),
ScanBzip2: pulumi.String("string"),
TcpWindowType: pulumi.String("string"),
ExplicitFtpTls: pulumi.String("string"),
InspectAll: pulumi.String("string"),
ObjectFirewallProfileprotocoloptionsFtpId: pulumi.String("string"),
Options: pulumi.StringArray{
pulumi.String("string"),
},
OversizeLimit: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
UncompressedOversizeLimit: pulumi.Float64(0),
ComfortInterval: pulumi.Float64(0),
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
SslOffloaded: pulumi.String("string"),
Status: pulumi.String("string"),
StreamBasedUncompressedLimit: pulumi.Float64(0),
TcpWindowMaximum: pulumi.Float64(0),
TcpWindowMinimum: pulumi.Float64(0),
TcpWindowSize: pulumi.Float64(0),
Adom: pulumi.String("string"),
UncompressedNestLimit: pulumi.Float64(0),
ComfortAmount: pulumi.Float64(0),
})
var objectFirewallProfileprotocoloptionsFtpResource = new ObjectFirewallProfileprotocoloptionsFtp("objectFirewallProfileprotocoloptionsFtpResource", ObjectFirewallProfileprotocoloptionsFtpArgs.builder()
    .profileProtocolOptions("string")
    .scanBzip2("string")
    .tcpWindowType("string")
    .explicitFtpTls("string")
    .inspectAll("string")
    .objectFirewallProfileprotocoloptionsFtpId("string")
    .options("string")
    .oversizeLimit(0)
    .scopetype("string")
    .uncompressedOversizeLimit(0)
    .comfortInterval(0)
    .ports(0)
    .sslOffloaded("string")
    .status("string")
    .streamBasedUncompressedLimit(0)
    .tcpWindowMaximum(0)
    .tcpWindowMinimum(0)
    .tcpWindowSize(0)
    .adom("string")
    .uncompressedNestLimit(0)
    .comfortAmount(0)
    .build());
object_firewall_profileprotocoloptions_ftp_resource = fortimanager.ObjectFirewallProfileprotocoloptionsFtp("objectFirewallProfileprotocoloptionsFtpResource",
    profile_protocol_options="string",
    scan_bzip2="string",
    tcp_window_type="string",
    explicit_ftp_tls="string",
    inspect_all="string",
    object_firewall_profileprotocoloptions_ftp_id="string",
    options=["string"],
    oversize_limit=0,
    scopetype="string",
    uncompressed_oversize_limit=0,
    comfort_interval=0,
    ports=[0],
    ssl_offloaded="string",
    status="string",
    stream_based_uncompressed_limit=0,
    tcp_window_maximum=0,
    tcp_window_minimum=0,
    tcp_window_size=0,
    adom="string",
    uncompressed_nest_limit=0,
    comfort_amount=0)
const objectFirewallProfileprotocoloptionsFtpResource = new fortimanager.ObjectFirewallProfileprotocoloptionsFtp("objectFirewallProfileprotocoloptionsFtpResource", {
    profileProtocolOptions: "string",
    scanBzip2: "string",
    tcpWindowType: "string",
    explicitFtpTls: "string",
    inspectAll: "string",
    objectFirewallProfileprotocoloptionsFtpId: "string",
    options: ["string"],
    oversizeLimit: 0,
    scopetype: "string",
    uncompressedOversizeLimit: 0,
    comfortInterval: 0,
    ports: [0],
    sslOffloaded: "string",
    status: "string",
    streamBasedUncompressedLimit: 0,
    tcpWindowMaximum: 0,
    tcpWindowMinimum: 0,
    tcpWindowSize: 0,
    adom: "string",
    uncompressedNestLimit: 0,
    comfortAmount: 0,
});
type: fortimanager:ObjectFirewallProfileprotocoloptionsFtp
properties:
    adom: string
    comfortAmount: 0
    comfortInterval: 0
    explicitFtpTls: string
    inspectAll: string
    objectFirewallProfileprotocoloptionsFtpId: string
    options:
        - string
    oversizeLimit: 0
    ports:
        - 0
    profileProtocolOptions: string
    scanBzip2: string
    scopetype: string
    sslOffloaded: string
    status: string
    streamBasedUncompressedLimit: 0
    tcpWindowMaximum: 0
    tcpWindowMinimum: 0
    tcpWindowSize: 0
    tcpWindowType: string
    uncompressedNestLimit: 0
    uncompressedOversizeLimit: 0
ObjectFirewallProfileprotocoloptionsFtp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ObjectFirewallProfileprotocoloptionsFtp resource accepts the following input properties:
- ProfileProtocol stringOptions 
- Profile Protocol Options.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ComfortAmount double
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- ComfortInterval double
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- ExplicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- InspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- ObjectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- Options List<string>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- OversizeLimit double
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- Ports List<double>
- Ports to scan for content (1 - 65535, default = 21).
- ScanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- Status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- StreamBased doubleUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- TcpWindow doubleMaximum 
- Maximum dynamic TCP window size.
- TcpWindow doubleMinimum 
- Minimum dynamic TCP window size.
- TcpWindow doubleSize 
- Set TCP static window size.
- TcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- UncompressedNest doubleLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- UncompressedOversize doubleLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- ProfileProtocol stringOptions 
- Profile Protocol Options.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ComfortAmount float64
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- ComfortInterval float64
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- ExplicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- InspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- ObjectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- Options []string
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- OversizeLimit float64
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- Ports []float64
- Ports to scan for content (1 - 65535, default = 21).
- ScanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- Status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- StreamBased float64Uncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- TcpWindow float64Maximum 
- Maximum dynamic TCP window size.
- TcpWindow float64Minimum 
- Minimum dynamic TCP window size.
- TcpWindow float64Size 
- Set TCP static window size.
- TcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- UncompressedNest float64Limit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- UncompressedOversize float64Limit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- profileProtocol StringOptions 
- Profile Protocol Options.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount Double
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval Double
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp StringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll String
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall StringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options List<String>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit Double
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports List<Double>
- Ports to scan for content (1 - 65535, default = 21).
- scanBzip2 String
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded String
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status String
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased DoubleUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow DoubleMaximum 
- Maximum dynamic TCP window size.
- tcpWindow DoubleMinimum 
- Minimum dynamic TCP window size.
- tcpWindow DoubleSize 
- Set TCP static window size.
- tcpWindow StringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest DoubleLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize DoubleLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- profileProtocol stringOptions 
- Profile Protocol Options.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount number
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval number
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options string[]
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit number
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports number[]
- Ports to scan for content (1 - 65535, default = 21).
- scanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased numberUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow numberMaximum 
- Maximum dynamic TCP window size.
- tcpWindow numberMinimum 
- Minimum dynamic TCP window size.
- tcpWindow numberSize 
- Set TCP static window size.
- tcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest numberLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize numberLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- profile_protocol_ stroptions 
- Profile Protocol Options.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfort_amount float
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfort_interval float
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicit_ftp_ strtls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspect_all str
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- object_firewall_ strprofileprotocoloptions_ ftp_ id 
- an identifier for the resource.
- options Sequence[str]
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversize_limit float
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports Sequence[float]
- Ports to scan for content (1 - 65535, default = 21).
- scan_bzip2 str
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ssl_offloaded str
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status str
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- stream_based_ floatuncompressed_ limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcp_window_ floatmaximum 
- Maximum dynamic TCP window size.
- tcp_window_ floatminimum 
- Minimum dynamic TCP window size.
- tcp_window_ floatsize 
- Set TCP static window size.
- tcp_window_ strtype 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressed_nest_ floatlimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressed_oversize_ floatlimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- profileProtocol StringOptions 
- Profile Protocol Options.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount Number
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval Number
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp StringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll String
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall StringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options List<String>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit Number
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports List<Number>
- Ports to scan for content (1 - 65535, default = 21).
- scanBzip2 String
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded String
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status String
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased NumberUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow NumberMaximum 
- Maximum dynamic TCP window size.
- tcpWindow NumberMinimum 
- Minimum dynamic TCP window size.
- tcpWindow NumberSize 
- Set TCP static window size.
- tcpWindow StringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest NumberLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize NumberLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallProfileprotocoloptionsFtp resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ObjectFirewallProfileprotocoloptionsFtp Resource
Get an existing ObjectFirewallProfileprotocoloptionsFtp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ObjectFirewallProfileprotocoloptionsFtpState, opts?: CustomResourceOptions): ObjectFirewallProfileprotocoloptionsFtp@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comfort_amount: Optional[float] = None,
        comfort_interval: Optional[float] = None,
        explicit_ftp_tls: Optional[str] = None,
        inspect_all: Optional[str] = None,
        object_firewall_profileprotocoloptions_ftp_id: Optional[str] = None,
        options: Optional[Sequence[str]] = None,
        oversize_limit: Optional[float] = None,
        ports: Optional[Sequence[float]] = None,
        profile_protocol_options: Optional[str] = None,
        scan_bzip2: Optional[str] = None,
        scopetype: Optional[str] = None,
        ssl_offloaded: Optional[str] = None,
        status: Optional[str] = None,
        stream_based_uncompressed_limit: Optional[float] = None,
        tcp_window_maximum: Optional[float] = None,
        tcp_window_minimum: Optional[float] = None,
        tcp_window_size: Optional[float] = None,
        tcp_window_type: Optional[str] = None,
        uncompressed_nest_limit: Optional[float] = None,
        uncompressed_oversize_limit: Optional[float] = None) -> ObjectFirewallProfileprotocoloptionsFtpfunc GetObjectFirewallProfileprotocoloptionsFtp(ctx *Context, name string, id IDInput, state *ObjectFirewallProfileprotocoloptionsFtpState, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsFtp, error)public static ObjectFirewallProfileprotocoloptionsFtp Get(string name, Input<string> id, ObjectFirewallProfileprotocoloptionsFtpState? state, CustomResourceOptions? opts = null)public static ObjectFirewallProfileprotocoloptionsFtp get(String name, Output<String> id, ObjectFirewallProfileprotocoloptionsFtpState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectFirewallProfileprotocoloptionsFtp    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ComfortAmount double
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- ComfortInterval double
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- ExplicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- InspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- ObjectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- Options List<string>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- OversizeLimit double
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- Ports List<double>
- Ports to scan for content (1 - 65535, default = 21).
- ProfileProtocol stringOptions 
- Profile Protocol Options.
- ScanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- Status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- StreamBased doubleUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- TcpWindow doubleMaximum 
- Maximum dynamic TCP window size.
- TcpWindow doubleMinimum 
- Minimum dynamic TCP window size.
- TcpWindow doubleSize 
- Set TCP static window size.
- TcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- UncompressedNest doubleLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- UncompressedOversize doubleLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ComfortAmount float64
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- ComfortInterval float64
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- ExplicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- InspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- ObjectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- Options []string
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- OversizeLimit float64
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- Ports []float64
- Ports to scan for content (1 - 65535, default = 21).
- ProfileProtocol stringOptions 
- Profile Protocol Options.
- ScanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- Status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- StreamBased float64Uncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- TcpWindow float64Maximum 
- Maximum dynamic TCP window size.
- TcpWindow float64Minimum 
- Minimum dynamic TCP window size.
- TcpWindow float64Size 
- Set TCP static window size.
- TcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- UncompressedNest float64Limit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- UncompressedOversize float64Limit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount Double
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval Double
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp StringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll String
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall StringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options List<String>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit Double
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports List<Double>
- Ports to scan for content (1 - 65535, default = 21).
- profileProtocol StringOptions 
- Profile Protocol Options.
- scanBzip2 String
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded String
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status String
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased DoubleUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow DoubleMaximum 
- Maximum dynamic TCP window size.
- tcpWindow DoubleMinimum 
- Minimum dynamic TCP window size.
- tcpWindow DoubleSize 
- Set TCP static window size.
- tcpWindow StringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest DoubleLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize DoubleLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount number
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval number
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp stringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll string
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall stringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options string[]
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit number
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports number[]
- Ports to scan for content (1 - 65535, default = 21).
- profileProtocol stringOptions 
- Profile Protocol Options.
- scanBzip2 string
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded string
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status string
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased numberUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow numberMaximum 
- Maximum dynamic TCP window size.
- tcpWindow numberMinimum 
- Minimum dynamic TCP window size.
- tcpWindow numberSize 
- Set TCP static window size.
- tcpWindow stringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest numberLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize numberLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfort_amount float
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfort_interval float
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicit_ftp_ strtls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspect_all str
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- object_firewall_ strprofileprotocoloptions_ ftp_ id 
- an identifier for the resource.
- options Sequence[str]
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversize_limit float
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports Sequence[float]
- Ports to scan for content (1 - 65535, default = 21).
- profile_protocol_ stroptions 
- Profile Protocol Options.
- scan_bzip2 str
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ssl_offloaded str
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status str
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- stream_based_ floatuncompressed_ limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcp_window_ floatmaximum 
- Maximum dynamic TCP window size.
- tcp_window_ floatminimum 
- Minimum dynamic TCP window size.
- tcp_window_ floatsize 
- Set TCP static window size.
- tcp_window_ strtype 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressed_nest_ floatlimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressed_oversize_ floatlimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comfortAmount Number
- Amount of data to send in a transmission for client comforting (1 - 65535 bytes, default = 1).
- comfortInterval Number
- Period of time between start, or last transmission, and the next client comfort transmission of data (1 - 900 sec, default = 10).
- explicitFtp StringTls 
- Enable/disable FTP redirection for explicit FTPS. Valid values: disable,enable.
- inspectAll String
- Enable/disable the inspection of all ports for the protocol. Valid values: disable,enable.
- objectFirewall StringProfileprotocoloptions Ftp Id 
- an identifier for the resource.
- options List<String>
- One or more options that can be applied to the session. Valid values: clientcomfort,no-content-summary,oversize,splice,bypass-rest-command,bypass-mode-command.
- oversizeLimit Number
- Maximum in-memory file size that can be scanned (1 - 383 MB, default = 10).
- ports List<Number>
- Ports to scan for content (1 - 65535, default = 21).
- profileProtocol StringOptions 
- Profile Protocol Options.
- scanBzip2 String
- Enable/disable scanning of BZip2 compressed files. Valid values: disable,enable.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sslOffloaded String
- SSL decryption and encryption performed by an external device. Valid values: no,yes.
- status String
- Enable/disable the active status of scanning for this protocol. Valid values: disable,enable.
- streamBased NumberUncompressed Limit 
- Maximum stream-based uncompressed data size that will be scanned (MB, 0 = unlimited (default). Stream-based uncompression used only under certain conditions.).
- tcpWindow NumberMaximum 
- Maximum dynamic TCP window size.
- tcpWindow NumberMinimum 
- Minimum dynamic TCP window size.
- tcpWindow NumberSize 
- Set TCP static window size.
- tcpWindow StringType 
- TCP window type to use for this protocol. Valid values: system,static,dynamic.
- uncompressedNest NumberLimit 
- Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
- uncompressedOversize NumberLimit 
- Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
Import
ObjectFirewall ProfileProtocolOptionsFtp can be imported using any of these accepted formats:
Set import_options = [“profile_protocol_options=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFirewallProfileprotocoloptionsFtp:ObjectFirewallProfileprotocoloptionsFtp labelname ObjectFirewallProfileProtocolOptionsFtp
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the fortimanagerTerraform Provider.