1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallProfileprotocoloptionsNntp
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectFirewallProfileprotocoloptionsNntp

Explore with Pulumi AI

Configure NNTP protocol options.

This resource is a sub resource for variable nntp of resource fortimanager.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 trnameObjectFirewallProfileprotocoloptionsNntp = new fortimanager.ObjectFirewallProfileprotocoloptionsNntp("trnameObjectFirewallProfileprotocoloptionsNntp", {
    profileProtocolOptions: trnameObjectFirewallProfileprotocoloptions.name,
    inspectAll: "enable",
    options: ["oversize"],
    oversizeLimit: 34,
}, {
    dependsOn: [trnameObjectFirewallProfileprotocoloptions],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_firewall_profileprotocoloptions = fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions")
trname_object_firewall_profileprotocoloptions_nntp = fortimanager.ObjectFirewallProfileprotocoloptionsNntp("trnameObjectFirewallProfileprotocoloptionsNntp",
    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]))
Copy
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.NewObjectFirewallProfileprotocoloptionsNntp(ctx, "trnameObjectFirewallProfileprotocoloptionsNntp", &fortimanager.ObjectFirewallProfileprotocoloptionsNntpArgs{
			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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectFirewallProfileprotocoloptions = new Fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions");

    var trnameObjectFirewallProfileprotocoloptionsNntp = new Fortimanager.ObjectFirewallProfileprotocoloptionsNntp("trnameObjectFirewallProfileprotocoloptionsNntp", new()
    {
        ProfileProtocolOptions = trnameObjectFirewallProfileprotocoloptions.Name,
        InspectAll = "enable",
        Options = new[]
        {
            "oversize",
        },
        OversizeLimit = 34,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectFirewallProfileprotocoloptions,
        },
    });

});
Copy
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.ObjectFirewallProfileprotocoloptionsNntp;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptionsNntpArgs;
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 trnameObjectFirewallProfileprotocoloptionsNntp = new ObjectFirewallProfileprotocoloptionsNntp("trnameObjectFirewallProfileprotocoloptionsNntp", ObjectFirewallProfileprotocoloptionsNntpArgs.builder()
            .profileProtocolOptions(trnameObjectFirewallProfileprotocoloptions.name())
            .inspectAll("enable")
            .options("oversize")
            .oversizeLimit(34)
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectFirewallProfileprotocoloptions)
                .build());

    }
}
Copy
resources:
  trnameObjectFirewallProfileprotocoloptionsNntp:
    type: fortimanager:ObjectFirewallProfileprotocoloptionsNntp
    properties:
      profileProtocolOptions: ${trnameObjectFirewallProfileprotocoloptions.name}
      inspectAll: enable
      options:
        - oversize
      oversizeLimit: 34
    options:
      dependsOn:
        - ${trnameObjectFirewallProfileprotocoloptions}
  trnameObjectFirewallProfileprotocoloptions:
    type: fortimanager:ObjectFirewallProfileprotocoloptions
Copy

Create ObjectFirewallProfileprotocoloptionsNntp Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectFirewallProfileprotocoloptionsNntp(name: string, args: ObjectFirewallProfileprotocoloptionsNntpArgs, opts?: CustomResourceOptions);
@overload
def ObjectFirewallProfileprotocoloptionsNntp(resource_name: str,
                                             args: ObjectFirewallProfileprotocoloptionsNntpInitArgs,
                                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectFirewallProfileprotocoloptionsNntp(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             profile_protocol_options: Optional[str] = None,
                                             options: Optional[Sequence[str]] = None,
                                             object_firewall_profileprotocoloptions_nntp_id: Optional[str] = None,
                                             adom: Optional[str] = None,
                                             oversize_limit: Optional[float] = None,
                                             ports: Optional[Sequence[float]] = None,
                                             inspect_all: Optional[str] = None,
                                             proxy_after_tcp_handshake: Optional[str] = None,
                                             scan_bzip2: Optional[str] = None,
                                             scopetype: Optional[str] = None,
                                             status: Optional[str] = None,
                                             uncompressed_nest_limit: Optional[float] = None,
                                             uncompressed_oversize_limit: Optional[float] = None)
func NewObjectFirewallProfileprotocoloptionsNntp(ctx *Context, name string, args ObjectFirewallProfileprotocoloptionsNntpArgs, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsNntp, error)
public ObjectFirewallProfileprotocoloptionsNntp(string name, ObjectFirewallProfileprotocoloptionsNntpArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallProfileprotocoloptionsNntp(String name, ObjectFirewallProfileprotocoloptionsNntpArgs args)
public ObjectFirewallProfileprotocoloptionsNntp(String name, ObjectFirewallProfileprotocoloptionsNntpArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallProfileprotocoloptionsNntp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallProfileprotocoloptionsNntpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectFirewallProfileprotocoloptionsNntpInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallProfileprotocoloptionsNntpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallProfileprotocoloptionsNntpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectFirewallProfileprotocoloptionsNntpArgs
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 objectFirewallProfileprotocoloptionsNntpResource = new Fortimanager.ObjectFirewallProfileprotocoloptionsNntp("objectFirewallProfileprotocoloptionsNntpResource", new()
{
    ProfileProtocolOptions = "string",
    Options = new[]
    {
        "string",
    },
    ObjectFirewallProfileprotocoloptionsNntpId = "string",
    Adom = "string",
    OversizeLimit = 0,
    Ports = new[]
    {
        0,
    },
    InspectAll = "string",
    ProxyAfterTcpHandshake = "string",
    ScanBzip2 = "string",
    Scopetype = "string",
    Status = "string",
    UncompressedNestLimit = 0,
    UncompressedOversizeLimit = 0,
});
Copy
example, err := fortimanager.NewObjectFirewallProfileprotocoloptionsNntp(ctx, "objectFirewallProfileprotocoloptionsNntpResource", &fortimanager.ObjectFirewallProfileprotocoloptionsNntpArgs{
	ProfileProtocolOptions: pulumi.String("string"),
	Options: pulumi.StringArray{
		pulumi.String("string"),
	},
	ObjectFirewallProfileprotocoloptionsNntpId: pulumi.String("string"),
	Adom:          pulumi.String("string"),
	OversizeLimit: pulumi.Float64(0),
	Ports: pulumi.Float64Array{
		pulumi.Float64(0),
	},
	InspectAll:                pulumi.String("string"),
	ProxyAfterTcpHandshake:    pulumi.String("string"),
	ScanBzip2:                 pulumi.String("string"),
	Scopetype:                 pulumi.String("string"),
	Status:                    pulumi.String("string"),
	UncompressedNestLimit:     pulumi.Float64(0),
	UncompressedOversizeLimit: pulumi.Float64(0),
})
Copy
var objectFirewallProfileprotocoloptionsNntpResource = new ObjectFirewallProfileprotocoloptionsNntp("objectFirewallProfileprotocoloptionsNntpResource", ObjectFirewallProfileprotocoloptionsNntpArgs.builder()
    .profileProtocolOptions("string")
    .options("string")
    .objectFirewallProfileprotocoloptionsNntpId("string")
    .adom("string")
    .oversizeLimit(0)
    .ports(0)
    .inspectAll("string")
    .proxyAfterTcpHandshake("string")
    .scanBzip2("string")
    .scopetype("string")
    .status("string")
    .uncompressedNestLimit(0)
    .uncompressedOversizeLimit(0)
    .build());
Copy
object_firewall_profileprotocoloptions_nntp_resource = fortimanager.ObjectFirewallProfileprotocoloptionsNntp("objectFirewallProfileprotocoloptionsNntpResource",
    profile_protocol_options="string",
    options=["string"],
    object_firewall_profileprotocoloptions_nntp_id="string",
    adom="string",
    oversize_limit=0,
    ports=[0],
    inspect_all="string",
    proxy_after_tcp_handshake="string",
    scan_bzip2="string",
    scopetype="string",
    status="string",
    uncompressed_nest_limit=0,
    uncompressed_oversize_limit=0)
Copy
const objectFirewallProfileprotocoloptionsNntpResource = new fortimanager.ObjectFirewallProfileprotocoloptionsNntp("objectFirewallProfileprotocoloptionsNntpResource", {
    profileProtocolOptions: "string",
    options: ["string"],
    objectFirewallProfileprotocoloptionsNntpId: "string",
    adom: "string",
    oversizeLimit: 0,
    ports: [0],
    inspectAll: "string",
    proxyAfterTcpHandshake: "string",
    scanBzip2: "string",
    scopetype: "string",
    status: "string",
    uncompressedNestLimit: 0,
    uncompressedOversizeLimit: 0,
});
Copy
type: fortimanager:ObjectFirewallProfileprotocoloptionsNntp
properties:
    adom: string
    inspectAll: string
    objectFirewallProfileprotocoloptionsNntpId: string
    options:
        - string
    oversizeLimit: 0
    ports:
        - 0
    profileProtocolOptions: string
    proxyAfterTcpHandshake: string
    scanBzip2: string
    scopetype: string
    status: string
    uncompressedNestLimit: 0
    uncompressedOversizeLimit: 0
Copy

ObjectFirewallProfileprotocoloptionsNntp 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 ObjectFirewallProfileprotocoloptionsNntp resource accepts the following input properties:

ProfileProtocolOptions This property is required. string
Profile Protocol Options.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
InspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
ObjectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
Options List<string>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
ProxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
UncompressedNestLimit double
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
UncompressedOversizeLimit double
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
ProfileProtocolOptions This property is required. string
Profile Protocol Options.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
InspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
ObjectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
Options []string
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
ProxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
UncompressedNestLimit float64
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
UncompressedOversizeLimit float64
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
profileProtocolOptions This property is required. String
Profile Protocol Options.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll String
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId String
an identifier for the resource.
options List<String>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
proxyAfterTcpHandshake String
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit Double
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit Double
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
profileProtocolOptions This property is required. string
Profile Protocol Options.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
options string[]
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
proxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit number
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit number
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
profile_protocol_options This property is required. str
Profile Protocol Options.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspect_all str
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
object_firewall_profileprotocoloptions_nntp_id str
an identifier for the resource.
options Sequence[str]
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
proxy_after_tcp_handshake str
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressed_nest_limit float
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressed_oversize_limit float
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).
profileProtocolOptions This property is required. String
Profile Protocol Options.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll String
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId String
an identifier for the resource.
options List<String>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
proxyAfterTcpHandshake String
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit Number
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit Number
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 ObjectFirewallProfileprotocoloptionsNntp 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 ObjectFirewallProfileprotocoloptionsNntp Resource

Get an existing ObjectFirewallProfileprotocoloptionsNntp 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?: ObjectFirewallProfileprotocoloptionsNntpState, opts?: CustomResourceOptions): ObjectFirewallProfileprotocoloptionsNntp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        inspect_all: Optional[str] = None,
        object_firewall_profileprotocoloptions_nntp_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,
        proxy_after_tcp_handshake: Optional[str] = None,
        scan_bzip2: Optional[str] = None,
        scopetype: Optional[str] = None,
        status: Optional[str] = None,
        uncompressed_nest_limit: Optional[float] = None,
        uncompressed_oversize_limit: Optional[float] = None) -> ObjectFirewallProfileprotocoloptionsNntp
func GetObjectFirewallProfileprotocoloptionsNntp(ctx *Context, name string, id IDInput, state *ObjectFirewallProfileprotocoloptionsNntpState, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsNntp, error)
public static ObjectFirewallProfileprotocoloptionsNntp Get(string name, Input<string> id, ObjectFirewallProfileprotocoloptionsNntpState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallProfileprotocoloptionsNntp get(String name, Output<String> id, ObjectFirewallProfileprotocoloptionsNntpState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallProfileprotocoloptionsNntp    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
InspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
ObjectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
Options List<string>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
ProfileProtocolOptions string
Profile Protocol Options.
ProxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
UncompressedNestLimit double
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
UncompressedOversizeLimit double
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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
InspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
ObjectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
Options []string
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
ProfileProtocolOptions string
Profile Protocol Options.
ProxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
UncompressedNestLimit float64
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
UncompressedOversizeLimit float64
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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll String
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId String
an identifier for the resource.
options List<String>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
profileProtocolOptions String
Profile Protocol Options.
proxyAfterTcpHandshake String
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit Double
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit Double
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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll string
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId string
an identifier for the resource.
options string[]
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
profileProtocolOptions string
Profile Protocol Options.
proxyAfterTcpHandshake string
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit number
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit number
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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspect_all str
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
object_firewall_profileprotocoloptions_nntp_id str
an identifier for the resource.
options Sequence[str]
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
profile_protocol_options str
Profile Protocol Options.
proxy_after_tcp_handshake str
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressed_nest_limit float
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressed_oversize_limit float
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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
inspectAll String
Enable/disable the inspection of all ports for the protocol. Valid values: disable, enable.
objectFirewallProfileprotocoloptionsNntpId String
an identifier for the resource.
options List<String>
One or more options that can be applied to the session. Valid values: oversize, no-content-summary, splice.
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 = 119).
profileProtocolOptions String
Profile Protocol Options.
proxyAfterTcpHandshake String
Proxy traffic after the TCP 3-way handshake has been established (not before). Valid values: disable, enable.
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable the active status of scanning for this protocol. Valid values: disable, enable.
uncompressedNestLimit Number
Maximum nested levels of compression that can be uncompressed and scanned (2 - 100, default = 12).
uncompressedOversizeLimit Number
Maximum in-memory uncompressed file size that can be scanned (0 - 383 MB, 0 = unlimited, default = 10).

Import

ObjectFirewall ProfileProtocolOptionsNntp 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/objectFirewallProfileprotocoloptionsNntp:ObjectFirewallProfileprotocoloptionsNntp labelname ObjectFirewallProfileProtocolOptionsNntp
Copy

$ 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 fortimanager Terraform Provider.