1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebfilterFtgdrisklevel
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
fortimanager logo
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev

    Configure FortiGuard Web Filter risk level.

    Create ObjectWebfilterFtgdrisklevel Resource

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

    Constructor syntax

    new ObjectWebfilterFtgdrisklevel(name: string, args?: ObjectWebfilterFtgdrisklevelArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectWebfilterFtgdrisklevel(resource_name: str,
                                     args: Optional[ObjectWebfilterFtgdrisklevelArgs] = None,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectWebfilterFtgdrisklevel(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     adom: Optional[str] = None,
                                     high: Optional[float] = None,
                                     low: Optional[float] = None,
                                     name: Optional[str] = None,
                                     object_webfilter_ftgdrisklevel_id: Optional[str] = None,
                                     scopetype: Optional[str] = None)
    func NewObjectWebfilterFtgdrisklevel(ctx *Context, name string, args *ObjectWebfilterFtgdrisklevelArgs, opts ...ResourceOption) (*ObjectWebfilterFtgdrisklevel, error)
    public ObjectWebfilterFtgdrisklevel(string name, ObjectWebfilterFtgdrisklevelArgs? args = null, CustomResourceOptions? opts = null)
    public ObjectWebfilterFtgdrisklevel(String name, ObjectWebfilterFtgdrisklevelArgs args)
    public ObjectWebfilterFtgdrisklevel(String name, ObjectWebfilterFtgdrisklevelArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectWebfilterFtgdrisklevel
    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 ObjectWebfilterFtgdrisklevelArgs
    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 ObjectWebfilterFtgdrisklevelArgs
    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 ObjectWebfilterFtgdrisklevelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectWebfilterFtgdrisklevelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectWebfilterFtgdrisklevelArgs
    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 objectWebfilterFtgdrisklevelResource = new Fortimanager.ObjectWebfilterFtgdrisklevel("objectWebfilterFtgdrisklevelResource", new()
    {
        Adom = "string",
        High = 0,
        Low = 0,
        Name = "string",
        ObjectWebfilterFtgdrisklevelId = "string",
        Scopetype = "string",
    });
    
    example, err := fortimanager.NewObjectWebfilterFtgdrisklevel(ctx, "objectWebfilterFtgdrisklevelResource", &fortimanager.ObjectWebfilterFtgdrisklevelArgs{
    	Adom:                           pulumi.String("string"),
    	High:                           pulumi.Float64(0),
    	Low:                            pulumi.Float64(0),
    	Name:                           pulumi.String("string"),
    	ObjectWebfilterFtgdrisklevelId: pulumi.String("string"),
    	Scopetype:                      pulumi.String("string"),
    })
    
    var objectWebfilterFtgdrisklevelResource = new ObjectWebfilterFtgdrisklevel("objectWebfilterFtgdrisklevelResource", ObjectWebfilterFtgdrisklevelArgs.builder()
        .adom("string")
        .high(0.0)
        .low(0.0)
        .name("string")
        .objectWebfilterFtgdrisklevelId("string")
        .scopetype("string")
        .build());
    
    object_webfilter_ftgdrisklevel_resource = fortimanager.ObjectWebfilterFtgdrisklevel("objectWebfilterFtgdrisklevelResource",
        adom="string",
        high=0,
        low=0,
        name="string",
        object_webfilter_ftgdrisklevel_id="string",
        scopetype="string")
    
    const objectWebfilterFtgdrisklevelResource = new fortimanager.ObjectWebfilterFtgdrisklevel("objectWebfilterFtgdrisklevelResource", {
        adom: "string",
        high: 0,
        low: 0,
        name: "string",
        objectWebfilterFtgdrisklevelId: "string",
        scopetype: "string",
    });
    
    type: fortimanager:ObjectWebfilterFtgdrisklevel
    properties:
        adom: string
        high: 0
        low: 0
        name: string
        objectWebfilterFtgdrisklevelId: string
        scopetype: string
    

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

    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    High double
    Risk level high.
    Low double
    Risk level low.
    Name string
    Risk level name.
    ObjectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    High float64
    Risk level high.
    Low float64
    Risk level low.
    Name string
    Risk level name.
    ObjectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high Double
    Risk level high.
    low Double
    Risk level low.
    name String
    Risk level name.
    objectWebfilterFtgdrisklevelId String
    an identifier for the resource with format {{name}}.
    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.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high number
    Risk level high.
    low number
    Risk level low.
    name string
    Risk level name.
    objectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high float
    Risk level high.
    low float
    Risk level low.
    name str
    Risk level name.
    object_webfilter_ftgdrisklevel_id str
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high Number
    Risk level high.
    low Number
    Risk level low.
    name String
    Risk level name.
    objectWebfilterFtgdrisklevelId String
    an identifier for the resource with format {{name}}.
    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.

    Outputs

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

    Get an existing ObjectWebfilterFtgdrisklevel 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?: ObjectWebfilterFtgdrisklevelState, opts?: CustomResourceOptions): ObjectWebfilterFtgdrisklevel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            high: Optional[float] = None,
            low: Optional[float] = None,
            name: Optional[str] = None,
            object_webfilter_ftgdrisklevel_id: Optional[str] = None,
            scopetype: Optional[str] = None) -> ObjectWebfilterFtgdrisklevel
    func GetObjectWebfilterFtgdrisklevel(ctx *Context, name string, id IDInput, state *ObjectWebfilterFtgdrisklevelState, opts ...ResourceOption) (*ObjectWebfilterFtgdrisklevel, error)
    public static ObjectWebfilterFtgdrisklevel Get(string name, Input<string> id, ObjectWebfilterFtgdrisklevelState? state, CustomResourceOptions? opts = null)
    public static ObjectWebfilterFtgdrisklevel get(String name, Output<String> id, ObjectWebfilterFtgdrisklevelState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectWebfilterFtgdrisklevel    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.
    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.
    High double
    Risk level high.
    Low double
    Risk level low.
    Name string
    Risk level name.
    ObjectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    High float64
    Risk level high.
    Low float64
    Risk level low.
    Name string
    Risk level name.
    ObjectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high Double
    Risk level high.
    low Double
    Risk level low.
    name String
    Risk level name.
    objectWebfilterFtgdrisklevelId String
    an identifier for the resource with format {{name}}.
    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.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high number
    Risk level high.
    low number
    Risk level low.
    name string
    Risk level name.
    objectWebfilterFtgdrisklevelId string
    an identifier for the resource with format {{name}}.
    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.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high float
    Risk level high.
    low float
    Risk level low.
    name str
    Risk level name.
    object_webfilter_ftgdrisklevel_id str
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    high Number
    Risk level high.
    low Number
    Risk level low.
    name String
    Risk level name.
    objectWebfilterFtgdrisklevelId String
    an identifier for the resource with format {{name}}.
    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.

    Import

    ObjectWebfilter FtgdRiskLevel can be imported using any of these accepted formats:

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectWebfilterFtgdrisklevel:ObjectWebfilterFtgdrisklevel labelname {{name}}
    

    $ 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.
    fortimanager logo
    fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
      Meet Neo: Your AI Platform Teammate