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

fortimanager.ObjectWafProfileConstraintException

Explore with Pulumi AI

HTTP constraint exception.

This resource is a sub resource for variable exception of resource fortimanager.ObjectWafProfileConstraint. 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 trnameObjectWafProfile = new fortimanager.ObjectWafProfile("trnameObjectWafProfile", {});
const trnameObjectWafProfileConstraintException = new fortimanager.ObjectWafProfileConstraintException("trnameObjectWafProfileConstraintException", {
    fosid: 1,
    lineLength: "enable",
    malformed: "disable",
    profile: trnameObjectWafProfile.name,
}, {
    dependsOn: [trnameObjectWafProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_waf_profile = fortimanager.ObjectWafProfile("trnameObjectWafProfile")
trname_object_waf_profile_constraint_exception = fortimanager.ObjectWafProfileConstraintException("trnameObjectWafProfileConstraintException",
    fosid=1,
    line_length="enable",
    malformed="disable",
    profile=trname_object_waf_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_waf_profile]))
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 {
		trnameObjectWafProfile, err := fortimanager.NewObjectWafProfile(ctx, "trnameObjectWafProfile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWafProfileConstraintException(ctx, "trnameObjectWafProfileConstraintException", &fortimanager.ObjectWafProfileConstraintExceptionArgs{
			Fosid:      pulumi.Float64(1),
			LineLength: pulumi.String("enable"),
			Malformed:  pulumi.String("disable"),
			Profile:    trnameObjectWafProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWafProfile,
		}))
		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 trnameObjectWafProfile = new Fortimanager.ObjectWafProfile("trnameObjectWafProfile");

    var trnameObjectWafProfileConstraintException = new Fortimanager.ObjectWafProfileConstraintException("trnameObjectWafProfileConstraintException", new()
    {
        Fosid = 1,
        LineLength = "enable",
        Malformed = "disable",
        Profile = trnameObjectWafProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWafProfile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWafProfile;
import com.pulumi.fortimanager.ObjectWafProfileConstraintException;
import com.pulumi.fortimanager.ObjectWafProfileConstraintExceptionArgs;
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 trnameObjectWafProfile = new ObjectWafProfile("trnameObjectWafProfile");

        var trnameObjectWafProfileConstraintException = new ObjectWafProfileConstraintException("trnameObjectWafProfileConstraintException", ObjectWafProfileConstraintExceptionArgs.builder()
            .fosid(1)
            .lineLength("enable")
            .malformed("disable")
            .profile(trnameObjectWafProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWafProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectWafProfileConstraintException:
    type: fortimanager:ObjectWafProfileConstraintException
    properties:
      fosid: 1
      lineLength: enable
      malformed: disable
      profile: ${trnameObjectWafProfile.name}
    options:
      dependsOn:
        - ${trnameObjectWafProfile}
  trnameObjectWafProfile:
    type: fortimanager:ObjectWafProfile
Copy

Create ObjectWafProfileConstraintException Resource

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

Constructor syntax

new ObjectWafProfileConstraintException(name: string, args: ObjectWafProfileConstraintExceptionArgs, opts?: CustomResourceOptions);
@overload
def ObjectWafProfileConstraintException(resource_name: str,
                                        args: ObjectWafProfileConstraintExceptionInitArgs,
                                        opts: Optional[ResourceOptions] = None)

@overload
def ObjectWafProfileConstraintException(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        profile: Optional[str] = None,
                                        max_range_segment: Optional[str] = None,
                                        content_length: Optional[str] = None,
                                        fosid: Optional[float] = None,
                                        header_length: Optional[str] = None,
                                        hostname: Optional[str] = None,
                                        line_length: Optional[str] = None,
                                        malformed: Optional[str] = None,
                                        max_cookie: Optional[str] = None,
                                        address: Optional[str] = None,
                                        max_header_line: Optional[str] = None,
                                        object_waf_profile_constraint_exception_id: Optional[str] = None,
                                        method: Optional[str] = None,
                                        max_url_param: Optional[str] = None,
                                        param_length: Optional[str] = None,
                                        pattern: Optional[str] = None,
                                        adom: Optional[str] = None,
                                        regex: Optional[str] = None,
                                        scopetype: Optional[str] = None,
                                        url_param_length: Optional[str] = None,
                                        version: Optional[str] = None)
func NewObjectWafProfileConstraintException(ctx *Context, name string, args ObjectWafProfileConstraintExceptionArgs, opts ...ResourceOption) (*ObjectWafProfileConstraintException, error)
public ObjectWafProfileConstraintException(string name, ObjectWafProfileConstraintExceptionArgs args, CustomResourceOptions? opts = null)
public ObjectWafProfileConstraintException(String name, ObjectWafProfileConstraintExceptionArgs args)
public ObjectWafProfileConstraintException(String name, ObjectWafProfileConstraintExceptionArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWafProfileConstraintException
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. ObjectWafProfileConstraintExceptionArgs
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. ObjectWafProfileConstraintExceptionInitArgs
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. ObjectWafProfileConstraintExceptionArgs
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. ObjectWafProfileConstraintExceptionArgs
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. ObjectWafProfileConstraintExceptionArgs
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 objectWafProfileConstraintExceptionResource = new Fortimanager.ObjectWafProfileConstraintException("objectWafProfileConstraintExceptionResource", new()
{
    Profile = "string",
    MaxRangeSegment = "string",
    ContentLength = "string",
    Fosid = 0,
    HeaderLength = "string",
    Hostname = "string",
    LineLength = "string",
    Malformed = "string",
    MaxCookie = "string",
    Address = "string",
    MaxHeaderLine = "string",
    ObjectWafProfileConstraintExceptionId = "string",
    Method = "string",
    MaxUrlParam = "string",
    ParamLength = "string",
    Pattern = "string",
    Adom = "string",
    Regex = "string",
    Scopetype = "string",
    UrlParamLength = "string",
    Version = "string",
});
Copy
example, err := fortimanager.NewObjectWafProfileConstraintException(ctx, "objectWafProfileConstraintExceptionResource", &fortimanager.ObjectWafProfileConstraintExceptionArgs{
Profile: pulumi.String("string"),
MaxRangeSegment: pulumi.String("string"),
ContentLength: pulumi.String("string"),
Fosid: pulumi.Float64(0),
HeaderLength: pulumi.String("string"),
Hostname: pulumi.String("string"),
LineLength: pulumi.String("string"),
Malformed: pulumi.String("string"),
MaxCookie: pulumi.String("string"),
Address: pulumi.String("string"),
MaxHeaderLine: pulumi.String("string"),
ObjectWafProfileConstraintExceptionId: pulumi.String("string"),
Method: pulumi.String("string"),
MaxUrlParam: pulumi.String("string"),
ParamLength: pulumi.String("string"),
Pattern: pulumi.String("string"),
Adom: pulumi.String("string"),
Regex: pulumi.String("string"),
Scopetype: pulumi.String("string"),
UrlParamLength: pulumi.String("string"),
Version: pulumi.String("string"),
})
Copy
var objectWafProfileConstraintExceptionResource = new ObjectWafProfileConstraintException("objectWafProfileConstraintExceptionResource", ObjectWafProfileConstraintExceptionArgs.builder()
    .profile("string")
    .maxRangeSegment("string")
    .contentLength("string")
    .fosid(0)
    .headerLength("string")
    .hostname("string")
    .lineLength("string")
    .malformed("string")
    .maxCookie("string")
    .address("string")
    .maxHeaderLine("string")
    .objectWafProfileConstraintExceptionId("string")
    .method("string")
    .maxUrlParam("string")
    .paramLength("string")
    .pattern("string")
    .adom("string")
    .regex("string")
    .scopetype("string")
    .urlParamLength("string")
    .version("string")
    .build());
Copy
object_waf_profile_constraint_exception_resource = fortimanager.ObjectWafProfileConstraintException("objectWafProfileConstraintExceptionResource",
    profile="string",
    max_range_segment="string",
    content_length="string",
    fosid=0,
    header_length="string",
    hostname="string",
    line_length="string",
    malformed="string",
    max_cookie="string",
    address="string",
    max_header_line="string",
    object_waf_profile_constraint_exception_id="string",
    method="string",
    max_url_param="string",
    param_length="string",
    pattern="string",
    adom="string",
    regex="string",
    scopetype="string",
    url_param_length="string",
    version="string")
Copy
const objectWafProfileConstraintExceptionResource = new fortimanager.ObjectWafProfileConstraintException("objectWafProfileConstraintExceptionResource", {
    profile: "string",
    maxRangeSegment: "string",
    contentLength: "string",
    fosid: 0,
    headerLength: "string",
    hostname: "string",
    lineLength: "string",
    malformed: "string",
    maxCookie: "string",
    address: "string",
    maxHeaderLine: "string",
    objectWafProfileConstraintExceptionId: "string",
    method: "string",
    maxUrlParam: "string",
    paramLength: "string",
    pattern: "string",
    adom: "string",
    regex: "string",
    scopetype: "string",
    urlParamLength: "string",
    version: "string",
});
Copy
type: fortimanager:ObjectWafProfileConstraintException
properties:
    address: string
    adom: string
    contentLength: string
    fosid: 0
    headerLength: string
    hostname: string
    lineLength: string
    malformed: string
    maxCookie: string
    maxHeaderLine: string
    maxRangeSegment: string
    maxUrlParam: string
    method: string
    objectWafProfileConstraintExceptionId: string
    paramLength: string
    pattern: string
    profile: string
    regex: string
    scopetype: string
    urlParamLength: string
    version: string
Copy

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

Profile This property is required. string
Profile.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength string
HTTP content length in request. Valid values: disable, enable.
Fosid double
Exception ID.
HeaderLength string
HTTP header length in request. Valid values: disable, enable.
Hostname string
Enable/disable hostname check. Valid values: disable, enable.
LineLength string
HTTP line length in request. Valid values: disable, enable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
Method string
Enable/disable HTTP method check. Valid values: disable, enable.
ObjectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. 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.
UrlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
Version string
Enable/disable HTTP version check. Valid values: disable, enable.
Profile This property is required. string
Profile.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength string
HTTP content length in request. Valid values: disable, enable.
Fosid float64
Exception ID.
HeaderLength string
HTTP header length in request. Valid values: disable, enable.
Hostname string
Enable/disable hostname check. Valid values: disable, enable.
LineLength string
HTTP line length in request. Valid values: disable, enable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
Method string
Enable/disable HTTP method check. Valid values: disable, enable.
ObjectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. 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.
UrlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
Version string
Enable/disable HTTP version check. Valid values: disable, enable.
profile This property is required. String
Profile.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength String
HTTP content length in request. Valid values: disable, enable.
fosid Double
Exception ID.
headerLength String
HTTP header length in request. Valid values: disable, enable.
hostname String
Enable/disable hostname check. Valid values: disable, enable.
lineLength String
HTTP line length in request. Valid values: disable, enable.
malformed String
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: disable, enable.
method String
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId String
an identifier for the resource with format {{fosid}}.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. 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.
urlParamLength String
Maximum length of parameter in URL. Valid values: disable, enable.
version String
Enable/disable HTTP version check. Valid values: disable, enable.
profile This property is required. string
Profile.
address string
Host address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength string
HTTP content length in request. Valid values: disable, enable.
fosid number
Exception ID.
headerLength string
HTTP header length in request. Valid values: disable, enable.
hostname string
Enable/disable hostname check. Valid values: disable, enable.
lineLength string
HTTP line length in request. Valid values: disable, enable.
malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
method string
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
paramLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern string
URL pattern.
regex string
Enable/disable regular expression based pattern match. 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.
urlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
version string
Enable/disable HTTP version check. Valid values: disable, enable.
profile This property is required. str
Profile.
address str
Host address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
content_length str
HTTP content length in request. Valid values: disable, enable.
fosid float
Exception ID.
header_length str
HTTP header length in request. Valid values: disable, enable.
hostname str
Enable/disable hostname check. Valid values: disable, enable.
line_length str
HTTP line length in request. Valid values: disable, enable.
malformed str
Enable/disable malformed HTTP request check. Valid values: disable, enable.
max_cookie str
Maximum number of cookies in HTTP request. Valid values: disable, enable.
max_header_line str
Maximum number of HTTP header line. Valid values: disable, enable.
max_range_segment str
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
max_url_param str
Maximum number of parameters in URL. Valid values: disable, enable.
method str
Enable/disable HTTP method check. Valid values: disable, enable.
object_waf_profile_constraint_exception_id str
an identifier for the resource with format {{fosid}}.
param_length str
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern str
URL pattern.
regex str
Enable/disable regular expression based pattern match. 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.
url_param_length str
Maximum length of parameter in URL. Valid values: disable, enable.
version str
Enable/disable HTTP version check. Valid values: disable, enable.
profile This property is required. String
Profile.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength String
HTTP content length in request. Valid values: disable, enable.
fosid Number
Exception ID.
headerLength String
HTTP header length in request. Valid values: disable, enable.
hostname String
Enable/disable hostname check. Valid values: disable, enable.
lineLength String
HTTP line length in request. Valid values: disable, enable.
malformed String
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: disable, enable.
method String
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId String
an identifier for the resource with format {{fosid}}.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. 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.
urlParamLength String
Maximum length of parameter in URL. Valid values: disable, enable.
version String
Enable/disable HTTP version check. Valid values: disable, enable.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWafProfileConstraintException 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 ObjectWafProfileConstraintException Resource

Get an existing ObjectWafProfileConstraintException 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?: ObjectWafProfileConstraintExceptionState, opts?: CustomResourceOptions): ObjectWafProfileConstraintException
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address: Optional[str] = None,
        adom: Optional[str] = None,
        content_length: Optional[str] = None,
        fosid: Optional[float] = None,
        header_length: Optional[str] = None,
        hostname: Optional[str] = None,
        line_length: Optional[str] = None,
        malformed: Optional[str] = None,
        max_cookie: Optional[str] = None,
        max_header_line: Optional[str] = None,
        max_range_segment: Optional[str] = None,
        max_url_param: Optional[str] = None,
        method: Optional[str] = None,
        object_waf_profile_constraint_exception_id: Optional[str] = None,
        param_length: Optional[str] = None,
        pattern: Optional[str] = None,
        profile: Optional[str] = None,
        regex: Optional[str] = None,
        scopetype: Optional[str] = None,
        url_param_length: Optional[str] = None,
        version: Optional[str] = None) -> ObjectWafProfileConstraintException
func GetObjectWafProfileConstraintException(ctx *Context, name string, id IDInput, state *ObjectWafProfileConstraintExceptionState, opts ...ResourceOption) (*ObjectWafProfileConstraintException, error)
public static ObjectWafProfileConstraintException Get(string name, Input<string> id, ObjectWafProfileConstraintExceptionState? state, CustomResourceOptions? opts = null)
public static ObjectWafProfileConstraintException get(String name, Output<String> id, ObjectWafProfileConstraintExceptionState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWafProfileConstraintException    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:
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength string
HTTP content length in request. Valid values: disable, enable.
Fosid double
Exception ID.
HeaderLength string
HTTP header length in request. Valid values: disable, enable.
Hostname string
Enable/disable hostname check. Valid values: disable, enable.
LineLength string
HTTP line length in request. Valid values: disable, enable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
Method string
Enable/disable HTTP method check. Valid values: disable, enable.
ObjectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
Pattern string
URL pattern.
Profile string
Profile.
Regex string
Enable/disable regular expression based pattern match. 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.
UrlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
Version string
Enable/disable HTTP version check. Valid values: disable, enable.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength string
HTTP content length in request. Valid values: disable, enable.
Fosid float64
Exception ID.
HeaderLength string
HTTP header length in request. Valid values: disable, enable.
Hostname string
Enable/disable hostname check. Valid values: disable, enable.
LineLength string
HTTP line length in request. Valid values: disable, enable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
Method string
Enable/disable HTTP method check. Valid values: disable, enable.
ObjectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
Pattern string
URL pattern.
Profile string
Profile.
Regex string
Enable/disable regular expression based pattern match. 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.
UrlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
Version string
Enable/disable HTTP version check. Valid values: disable, enable.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength String
HTTP content length in request. Valid values: disable, enable.
fosid Double
Exception ID.
headerLength String
HTTP header length in request. Valid values: disable, enable.
hostname String
Enable/disable hostname check. Valid values: disable, enable.
lineLength String
HTTP line length in request. Valid values: disable, enable.
malformed String
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: disable, enable.
method String
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId String
an identifier for the resource with format {{fosid}}.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern String
URL pattern.
profile String
Profile.
regex String
Enable/disable regular expression based pattern match. 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.
urlParamLength String
Maximum length of parameter in URL. Valid values: disable, enable.
version String
Enable/disable HTTP version check. Valid values: disable, enable.
address string
Host address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength string
HTTP content length in request. Valid values: disable, enable.
fosid number
Exception ID.
headerLength string
HTTP header length in request. Valid values: disable, enable.
hostname string
Enable/disable hostname check. Valid values: disable, enable.
lineLength string
HTTP line length in request. Valid values: disable, enable.
malformed string
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie string
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine string
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam string
Maximum number of parameters in URL. Valid values: disable, enable.
method string
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId string
an identifier for the resource with format {{fosid}}.
paramLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern string
URL pattern.
profile string
Profile.
regex string
Enable/disable regular expression based pattern match. 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.
urlParamLength string
Maximum length of parameter in URL. Valid values: disable, enable.
version string
Enable/disable HTTP version check. Valid values: disable, enable.
address str
Host address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
content_length str
HTTP content length in request. Valid values: disable, enable.
fosid float
Exception ID.
header_length str
HTTP header length in request. Valid values: disable, enable.
hostname str
Enable/disable hostname check. Valid values: disable, enable.
line_length str
HTTP line length in request. Valid values: disable, enable.
malformed str
Enable/disable malformed HTTP request check. Valid values: disable, enable.
max_cookie str
Maximum number of cookies in HTTP request. Valid values: disable, enable.
max_header_line str
Maximum number of HTTP header line. Valid values: disable, enable.
max_range_segment str
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
max_url_param str
Maximum number of parameters in URL. Valid values: disable, enable.
method str
Enable/disable HTTP method check. Valid values: disable, enable.
object_waf_profile_constraint_exception_id str
an identifier for the resource with format {{fosid}}.
param_length str
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern str
URL pattern.
profile str
Profile.
regex str
Enable/disable regular expression based pattern match. 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.
url_param_length str
Maximum length of parameter in URL. Valid values: disable, enable.
version str
Enable/disable HTTP version check. Valid values: disable, enable.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength String
HTTP content length in request. Valid values: disable, enable.
fosid Number
Exception ID.
headerLength String
HTTP header length in request. Valid values: disable, enable.
hostname String
Enable/disable hostname check. Valid values: disable, enable.
lineLength String
HTTP line length in request. Valid values: disable, enable.
malformed String
Enable/disable malformed HTTP request check. Valid values: disable, enable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: disable, enable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: disable, enable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: disable, enable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: disable, enable.
method String
Enable/disable HTTP method check. Valid values: disable, enable.
objectWafProfileConstraintExceptionId String
an identifier for the resource with format {{fosid}}.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: disable, enable.
pattern String
URL pattern.
profile String
Profile.
regex String
Enable/disable regular expression based pattern match. 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.
urlParamLength String
Maximum length of parameter in URL. Valid values: disable, enable.
version String
Enable/disable HTTP version check. Valid values: disable, enable.

Import

ObjectWaf ProfileConstraintException can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWafProfileConstraintException:ObjectWafProfileConstraintException labelname {{fosid}}
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.