fortimanager.ObjectWafProfileMethod
Explore with Pulumi AI
Method restriction.
This resource is a sub resource for variable
methodof resourcefortimanager.ObjectWafProfile. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
method_policy:fortimanager.ObjectWafProfileMethodMethodpolicy
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trnameObjectWafProfile = new fortimanager.ObjectWafProfile("trnameObjectWafProfile", {});
const trnameObjectWafProfileMethod = new fortimanager.ObjectWafProfileMethod("trnameObjectWafProfileMethod", {
    defaultAllowedMethods: ["others"],
    log: "enable",
    profile: trnameObjectWafProfile.name,
}, {
    dependsOn: [trnameObjectWafProfile],
});
import pulumi
import pulumi_fortimanager as fortimanager
trname_object_waf_profile = fortimanager.ObjectWafProfile("trnameObjectWafProfile")
trname_object_waf_profile_method = fortimanager.ObjectWafProfileMethod("trnameObjectWafProfileMethod",
    default_allowed_methods=["others"],
    log="enable",
    profile=trname_object_waf_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_waf_profile]))
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.NewObjectWafProfileMethod(ctx, "trnameObjectWafProfileMethod", &fortimanager.ObjectWafProfileMethodArgs{
			DefaultAllowedMethods: pulumi.StringArray{
				pulumi.String("others"),
			},
			Log:     pulumi.String("enable"),
			Profile: trnameObjectWafProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWafProfile,
		}))
		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 trnameObjectWafProfile = new Fortimanager.ObjectWafProfile("trnameObjectWafProfile");
    var trnameObjectWafProfileMethod = new Fortimanager.ObjectWafProfileMethod("trnameObjectWafProfileMethod", new()
    {
        DefaultAllowedMethods = new[]
        {
            "others",
        },
        Log = "enable",
        Profile = trnameObjectWafProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWafProfile,
        },
    });
});
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.ObjectWafProfileMethod;
import com.pulumi.fortimanager.ObjectWafProfileMethodArgs;
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 trnameObjectWafProfileMethod = new ObjectWafProfileMethod("trnameObjectWafProfileMethod", ObjectWafProfileMethodArgs.builder()
            .defaultAllowedMethods("others")
            .log("enable")
            .profile(trnameObjectWafProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWafProfile)
                .build());
    }
}
resources:
  trnameObjectWafProfileMethod:
    type: fortimanager:ObjectWafProfileMethod
    properties:
      defaultAllowedMethods:
        - others
      log: enable
      profile: ${trnameObjectWafProfile.name}
    options:
      dependsOn:
        - ${trnameObjectWafProfile}
  trnameObjectWafProfile:
    type: fortimanager:ObjectWafProfile
Create ObjectWafProfileMethod Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectWafProfileMethod(name: string, args: ObjectWafProfileMethodArgs, opts?: CustomResourceOptions);@overload
def ObjectWafProfileMethod(resource_name: str,
                           args: ObjectWafProfileMethodInitArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def ObjectWafProfileMethod(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           profile: Optional[str] = None,
                           adom: Optional[str] = None,
                           default_allowed_methods: Optional[Sequence[str]] = None,
                           dynamic_sort_subtable: Optional[str] = None,
                           log: Optional[str] = None,
                           method_policies: Optional[Sequence[ObjectWafProfileMethodMethodPolicyArgs]] = None,
                           object_waf_profile_method_id: Optional[str] = None,
                           scopetype: Optional[str] = None,
                           severity: Optional[str] = None,
                           status: Optional[str] = None)func NewObjectWafProfileMethod(ctx *Context, name string, args ObjectWafProfileMethodArgs, opts ...ResourceOption) (*ObjectWafProfileMethod, error)public ObjectWafProfileMethod(string name, ObjectWafProfileMethodArgs args, CustomResourceOptions? opts = null)
public ObjectWafProfileMethod(String name, ObjectWafProfileMethodArgs args)
public ObjectWafProfileMethod(String name, ObjectWafProfileMethodArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWafProfileMethod
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 ObjectWafProfileMethodArgs
- 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 ObjectWafProfileMethodInitArgs
- 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 ObjectWafProfileMethodArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectWafProfileMethodArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectWafProfileMethodArgs
- 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 objectWafProfileMethodResource = new Fortimanager.ObjectWafProfileMethod("objectWafProfileMethodResource", new()
{
    Profile = "string",
    Adom = "string",
    DefaultAllowedMethods = new[]
    {
        "string",
    },
    DynamicSortSubtable = "string",
    Log = "string",
    MethodPolicies = new[]
    {
        new Fortimanager.Inputs.ObjectWafProfileMethodMethodPolicyArgs
        {
            Address = "string",
            AllowedMethods = new[]
            {
                "string",
            },
            Id = 0,
            Pattern = "string",
            Regex = "string",
        },
    },
    ObjectWafProfileMethodId = "string",
    Scopetype = "string",
    Severity = "string",
    Status = "string",
});
example, err := fortimanager.NewObjectWafProfileMethod(ctx, "objectWafProfileMethodResource", &fortimanager.ObjectWafProfileMethodArgs{
Profile: pulumi.String("string"),
Adom: pulumi.String("string"),
DefaultAllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
DynamicSortSubtable: pulumi.String("string"),
Log: pulumi.String("string"),
MethodPolicies: .ObjectWafProfileMethodMethodPolicyTypeArray{
&.ObjectWafProfileMethodMethodPolicyTypeArgs{
Address: pulumi.String("string"),
AllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.Float64(0),
Pattern: pulumi.String("string"),
Regex: pulumi.String("string"),
},
},
ObjectWafProfileMethodId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
})
var objectWafProfileMethodResource = new ObjectWafProfileMethod("objectWafProfileMethodResource", ObjectWafProfileMethodArgs.builder()
    .profile("string")
    .adom("string")
    .defaultAllowedMethods("string")
    .dynamicSortSubtable("string")
    .log("string")
    .methodPolicies(ObjectWafProfileMethodMethodPolicyArgs.builder()
        .address("string")
        .allowedMethods("string")
        .id(0)
        .pattern("string")
        .regex("string")
        .build())
    .objectWafProfileMethodId("string")
    .scopetype("string")
    .severity("string")
    .status("string")
    .build());
object_waf_profile_method_resource = fortimanager.ObjectWafProfileMethod("objectWafProfileMethodResource",
    profile="string",
    adom="string",
    default_allowed_methods=["string"],
    dynamic_sort_subtable="string",
    log="string",
    method_policies=[{
        "address": "string",
        "allowed_methods": ["string"],
        "id": 0,
        "pattern": "string",
        "regex": "string",
    }],
    object_waf_profile_method_id="string",
    scopetype="string",
    severity="string",
    status="string")
const objectWafProfileMethodResource = new fortimanager.ObjectWafProfileMethod("objectWafProfileMethodResource", {
    profile: "string",
    adom: "string",
    defaultAllowedMethods: ["string"],
    dynamicSortSubtable: "string",
    log: "string",
    methodPolicies: [{
        address: "string",
        allowedMethods: ["string"],
        id: 0,
        pattern: "string",
        regex: "string",
    }],
    objectWafProfileMethodId: "string",
    scopetype: "string",
    severity: "string",
    status: "string",
});
type: fortimanager:ObjectWafProfileMethod
properties:
    adom: string
    defaultAllowedMethods:
        - string
    dynamicSortSubtable: string
    log: string
    methodPolicies:
        - address: string
          allowedMethods:
            - string
          id: 0
          pattern: string
          regex: string
    objectWafProfileMethodId: string
    profile: string
    scopetype: string
    severity: string
    status: string
ObjectWafProfileMethod 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 ObjectWafProfileMethod resource accepts the following input properties:
- Profile string
- Profile.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DefaultAllowed List<string>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- MethodPolicies List<ObjectWaf Profile Method Method Policy> 
- Method-Policy. The structure of method_policyblock is documented below.
- ObjectWaf stringProfile Method Id 
- an identifier for the resource.
- 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.
- Severity string
- Severity. Valid values: low,medium,high.
- Status string
- Status. Valid values: disable,enable.
- Profile string
- Profile.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DefaultAllowed []stringMethods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- MethodPolicies []ObjectWaf Profile Method Method Policy Type Args 
- Method-Policy. The structure of method_policyblock is documented below.
- ObjectWaf stringProfile Method Id 
- an identifier for the resource.
- 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.
- Severity string
- Severity. Valid values: low,medium,high.
- Status string
- Status. Valid values: disable,enable.
- profile String
- Profile.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed List<String>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log String
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies List<ObjectWaf Profile Method Method Policy> 
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf StringProfile Method Id 
- an identifier for the resource.
- 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.
- severity String
- Severity. Valid values: low,medium,high.
- status String
- Status. Valid values: disable,enable.
- profile string
- Profile.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed string[]Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log string
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies ObjectWaf Profile Method Method Policy[] 
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf stringProfile Method Id 
- an identifier for the resource.
- 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.
- severity string
- Severity. Valid values: low,medium,high.
- status string
- Status. Valid values: disable,enable.
- profile str
- Profile.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- default_allowed_ Sequence[str]methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log str
- Enable/disable logging. Valid values: disable,enable.
- method_policies Sequence[ObjectWaf Profile Method Method Policy Args] 
- Method-Policy. The structure of method_policyblock is documented below.
- object_waf_ strprofile_ method_ id 
- an identifier for the resource.
- 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.
- severity str
- Severity. Valid values: low,medium,high.
- status str
- Status. Valid values: disable,enable.
- profile String
- Profile.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed List<String>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log String
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies List<Property Map>
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf StringProfile Method Id 
- an identifier for the resource.
- 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.
- severity String
- Severity. Valid values: low,medium,high.
- status String
- Status. Valid values: disable,enable.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectWafProfileMethod 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 ObjectWafProfileMethod Resource
Get an existing ObjectWafProfileMethod 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?: ObjectWafProfileMethodState, opts?: CustomResourceOptions): ObjectWafProfileMethod@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        default_allowed_methods: Optional[Sequence[str]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        log: Optional[str] = None,
        method_policies: Optional[Sequence[ObjectWafProfileMethodMethodPolicyArgs]] = None,
        object_waf_profile_method_id: Optional[str] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None,
        severity: Optional[str] = None,
        status: Optional[str] = None) -> ObjectWafProfileMethodfunc GetObjectWafProfileMethod(ctx *Context, name string, id IDInput, state *ObjectWafProfileMethodState, opts ...ResourceOption) (*ObjectWafProfileMethod, error)public static ObjectWafProfileMethod Get(string name, Input<string> id, ObjectWafProfileMethodState? state, CustomResourceOptions? opts = null)public static ObjectWafProfileMethod get(String name, Output<String> id, ObjectWafProfileMethodState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectWafProfileMethod    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.
- DefaultAllowed List<string>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- MethodPolicies List<ObjectWaf Profile Method Method Policy> 
- Method-Policy. The structure of method_policyblock is documented below.
- ObjectWaf stringProfile Method Id 
- an identifier for the resource.
- Profile string
- Profile.
- 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.
- Severity string
- Severity. Valid values: low,medium,high.
- Status string
- Status. Valid values: disable,enable.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DefaultAllowed []stringMethods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- MethodPolicies []ObjectWaf Profile Method Method Policy Type Args 
- Method-Policy. The structure of method_policyblock is documented below.
- ObjectWaf stringProfile Method Id 
- an identifier for the resource.
- Profile string
- Profile.
- 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.
- Severity string
- Severity. Valid values: low,medium,high.
- Status string
- Status. Valid values: disable,enable.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed List<String>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log String
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies List<ObjectWaf Profile Method Method Policy> 
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf StringProfile Method Id 
- an identifier for the resource.
- profile String
- Profile.
- 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.
- severity String
- Severity. Valid values: low,medium,high.
- status String
- Status. Valid values: disable,enable.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed string[]Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log string
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies ObjectWaf Profile Method Method Policy[] 
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf stringProfile Method Id 
- an identifier for the resource.
- profile string
- Profile.
- 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.
- severity string
- Severity. Valid values: low,medium,high.
- status string
- Status. Valid values: disable,enable.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- default_allowed_ Sequence[str]methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log str
- Enable/disable logging. Valid values: disable,enable.
- method_policies Sequence[ObjectWaf Profile Method Method Policy Args] 
- Method-Policy. The structure of method_policyblock is documented below.
- object_waf_ strprofile_ method_ id 
- an identifier for the resource.
- profile str
- Profile.
- 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.
- severity str
- Severity. Valid values: low,medium,high.
- status str
- Status. Valid values: disable,enable.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- defaultAllowed List<String>Methods 
- Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- log String
- Enable/disable logging. Valid values: disable,enable.
- methodPolicies List<Property Map>
- Method-Policy. The structure of method_policyblock is documented below.
- objectWaf StringProfile Method Id 
- an identifier for the resource.
- profile String
- Profile.
- 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.
- severity String
- Severity. Valid values: low,medium,high.
- status String
- Status. Valid values: disable,enable.
Supporting Types
ObjectWafProfileMethodMethodPolicy, ObjectWafProfileMethodMethodPolicyArgs            
- Address string
- Host address.
- AllowedMethods List<string>
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- Id double
- HTTP method policy ID.
- Pattern string
- URL pattern.
- Regex string
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
- Address string
- Host address.
- AllowedMethods []string
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- Id float64
- HTTP method policy ID.
- Pattern string
- URL pattern.
- Regex string
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
- address String
- Host address.
- allowedMethods List<String>
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- id Double
- HTTP method policy ID.
- pattern String
- URL pattern.
- regex String
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
- address string
- Host address.
- allowedMethods string[]
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- id number
- HTTP method policy ID.
- pattern string
- URL pattern.
- regex string
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
- address str
- Host address.
- allowed_methods Sequence[str]
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- id float
- HTTP method policy ID.
- pattern str
- URL pattern.
- regex str
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
- address String
- Host address.
- allowedMethods List<String>
- Allowed Methods. Valid values: delete,get,head,options,post,put,trace,others,connect.
- id Number
- HTTP method policy ID.
- pattern String
- URL pattern.
- regex String
- Enable/disable regular expression based pattern match. Valid values: disable,enable.
Import
ObjectWaf ProfileMethod 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/objectWafProfileMethod:ObjectWafProfileMethod labelname ObjectWafProfileMethod
$ 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.