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

fortimanager.ObjectVideofilterProfile

Explore with Pulumi AI

Configure VideoFilter profile.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • filters: fortimanager.ObjectVideofilterProfileFilters
  • fortiguard_category: fortimanager.ObjectVideofilterProfileFortiguardcategory

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectVideofilterProfile("trname", {
    comment: "This is a Terraform example",
    dailymotion: "enable",
    fortiguardCategory: {
        filters: [{
            id: 1,
        }],
    },
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectVideofilterProfile("trname",
    comment="This is a Terraform example",
    dailymotion="enable",
    fortiguard_category={
        "filters": [{
            "id": 1,
        }],
    })
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 {
		_, err := fortimanager.NewObjectVideofilterProfile(ctx, "trname", &fortimanager.ObjectVideofilterProfileArgs{
			Comment:     pulumi.String("This is a Terraform example"),
			Dailymotion: pulumi.String("enable"),
			FortiguardCategory: &fortimanager.ObjectVideofilterProfileFortiguardCategoryTypeArgs{
				Filters: fortimanager.ObjectVideofilterProfileFortiguardCategoryFilterArray{
					&fortimanager.ObjectVideofilterProfileFortiguardCategoryFilterArgs{
						Id: pulumi.Float64(1),
					},
				},
			},
		})
		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 trname = new Fortimanager.ObjectVideofilterProfile("trname", new()
    {
        Comment = "This is a Terraform example",
        Dailymotion = "enable",
        FortiguardCategory = new Fortimanager.Inputs.ObjectVideofilterProfileFortiguardCategoryArgs
        {
            Filters = new[]
            {
                new Fortimanager.Inputs.ObjectVideofilterProfileFortiguardCategoryFilterArgs
                {
                    Id = 1,
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectVideofilterProfile;
import com.pulumi.fortimanager.ObjectVideofilterProfileArgs;
import com.pulumi.fortimanager.inputs.ObjectVideofilterProfileFortiguardCategoryArgs;
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 trname = new ObjectVideofilterProfile("trname", ObjectVideofilterProfileArgs.builder()
            .comment("This is a Terraform example")
            .dailymotion("enable")
            .fortiguardCategory(ObjectVideofilterProfileFortiguardCategoryArgs.builder()
                .filters(ObjectVideofilterProfileFortiguardCategoryFilterArgs.builder()
                    .id(1)
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectVideofilterProfile
    properties:
      comment: This is a Terraform example
      dailymotion: enable
      fortiguardCategory:
        filters:
          - id: 1
Copy

Create ObjectVideofilterProfile Resource

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

Constructor syntax

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

@overload
def ObjectVideofilterProfile(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             adom: Optional[str] = None,
                             comment: Optional[str] = None,
                             dailymotion: Optional[str] = None,
                             default_action: Optional[str] = None,
                             dynamic_sort_subtable: Optional[str] = None,
                             filters: Optional[Sequence[ObjectVideofilterProfileFilterArgs]] = None,
                             fortiguard_category: Optional[ObjectVideofilterProfileFortiguardCategoryArgs] = None,
                             log: Optional[str] = None,
                             name: Optional[str] = None,
                             object_videofilter_profile_id: Optional[str] = None,
                             replacemsg_group: Optional[str] = None,
                             scopetype: Optional[str] = None,
                             vimeo: Optional[str] = None,
                             vimeo_restrict: Optional[str] = None,
                             youtube: Optional[str] = None,
                             youtube_channel_filter: Optional[str] = None,
                             youtube_restrict: Optional[str] = None)
func NewObjectVideofilterProfile(ctx *Context, name string, args *ObjectVideofilterProfileArgs, opts ...ResourceOption) (*ObjectVideofilterProfile, error)
public ObjectVideofilterProfile(string name, ObjectVideofilterProfileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectVideofilterProfile(String name, ObjectVideofilterProfileArgs args)
public ObjectVideofilterProfile(String name, ObjectVideofilterProfileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVideofilterProfile
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 ObjectVideofilterProfileArgs
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 ObjectVideofilterProfileArgs
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 ObjectVideofilterProfileArgs
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 ObjectVideofilterProfileArgs
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. ObjectVideofilterProfileArgs
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 objectVideofilterProfileResource = new Fortimanager.ObjectVideofilterProfile("objectVideofilterProfileResource", new()
{
    Adom = "string",
    Comment = "string",
    Dailymotion = "string",
    DefaultAction = "string",
    DynamicSortSubtable = "string",
    Filters = new[]
    {
        new Fortimanager.Inputs.ObjectVideofilterProfileFilterArgs
        {
            Action = "string",
            Category = "string",
            Channel = "string",
            Comment = "string",
            Id = 0,
            Keyword = "string",
            Log = "string",
            Type = "string",
        },
    },
    FortiguardCategory = new Fortimanager.Inputs.ObjectVideofilterProfileFortiguardCategoryArgs
    {
        Filters = new[]
        {
            new Fortimanager.Inputs.ObjectVideofilterProfileFortiguardCategoryFilterArgs
            {
                Action = "string",
                CategoryId = 0,
                Id = 0,
                Log = "string",
            },
        },
    },
    Log = "string",
    Name = "string",
    ObjectVideofilterProfileId = "string",
    ReplacemsgGroup = "string",
    Scopetype = "string",
    Vimeo = "string",
    VimeoRestrict = "string",
    Youtube = "string",
    YoutubeChannelFilter = "string",
    YoutubeRestrict = "string",
});
Copy
example, err := fortimanager.NewObjectVideofilterProfile(ctx, "objectVideofilterProfileResource", &fortimanager.ObjectVideofilterProfileArgs{
	Adom:                pulumi.String("string"),
	Comment:             pulumi.String("string"),
	Dailymotion:         pulumi.String("string"),
	DefaultAction:       pulumi.String("string"),
	DynamicSortSubtable: pulumi.String("string"),
	Filters: fortimanager.ObjectVideofilterProfileFilterArray{
		&fortimanager.ObjectVideofilterProfileFilterArgs{
			Action:   pulumi.String("string"),
			Category: pulumi.String("string"),
			Channel:  pulumi.String("string"),
			Comment:  pulumi.String("string"),
			Id:       pulumi.Float64(0),
			Keyword:  pulumi.String("string"),
			Log:      pulumi.String("string"),
			Type:     pulumi.String("string"),
		},
	},
	FortiguardCategory: &fortimanager.ObjectVideofilterProfileFortiguardCategoryTypeArgs{
		Filters: fortimanager.ObjectVideofilterProfileFortiguardCategoryFilterArray{
			&fortimanager.ObjectVideofilterProfileFortiguardCategoryFilterArgs{
				Action:     pulumi.String("string"),
				CategoryId: pulumi.Float64(0),
				Id:         pulumi.Float64(0),
				Log:        pulumi.String("string"),
			},
		},
	},
	Log:                        pulumi.String("string"),
	Name:                       pulumi.String("string"),
	ObjectVideofilterProfileId: pulumi.String("string"),
	ReplacemsgGroup:            pulumi.String("string"),
	Scopetype:                  pulumi.String("string"),
	Vimeo:                      pulumi.String("string"),
	VimeoRestrict:              pulumi.String("string"),
	Youtube:                    pulumi.String("string"),
	YoutubeChannelFilter:       pulumi.String("string"),
	YoutubeRestrict:            pulumi.String("string"),
})
Copy
var objectVideofilterProfileResource = new ObjectVideofilterProfile("objectVideofilterProfileResource", ObjectVideofilterProfileArgs.builder()
    .adom("string")
    .comment("string")
    .dailymotion("string")
    .defaultAction("string")
    .dynamicSortSubtable("string")
    .filters(ObjectVideofilterProfileFilterArgs.builder()
        .action("string")
        .category("string")
        .channel("string")
        .comment("string")
        .id(0)
        .keyword("string")
        .log("string")
        .type("string")
        .build())
    .fortiguardCategory(ObjectVideofilterProfileFortiguardCategoryArgs.builder()
        .filters(ObjectVideofilterProfileFortiguardCategoryFilterArgs.builder()
            .action("string")
            .categoryId(0)
            .id(0)
            .log("string")
            .build())
        .build())
    .log("string")
    .name("string")
    .objectVideofilterProfileId("string")
    .replacemsgGroup("string")
    .scopetype("string")
    .vimeo("string")
    .vimeoRestrict("string")
    .youtube("string")
    .youtubeChannelFilter("string")
    .youtubeRestrict("string")
    .build());
Copy
object_videofilter_profile_resource = fortimanager.ObjectVideofilterProfile("objectVideofilterProfileResource",
    adom="string",
    comment="string",
    dailymotion="string",
    default_action="string",
    dynamic_sort_subtable="string",
    filters=[{
        "action": "string",
        "category": "string",
        "channel": "string",
        "comment": "string",
        "id": 0,
        "keyword": "string",
        "log": "string",
        "type": "string",
    }],
    fortiguard_category={
        "filters": [{
            "action": "string",
            "category_id": 0,
            "id": 0,
            "log": "string",
        }],
    },
    log="string",
    name="string",
    object_videofilter_profile_id="string",
    replacemsg_group="string",
    scopetype="string",
    vimeo="string",
    vimeo_restrict="string",
    youtube="string",
    youtube_channel_filter="string",
    youtube_restrict="string")
Copy
const objectVideofilterProfileResource = new fortimanager.ObjectVideofilterProfile("objectVideofilterProfileResource", {
    adom: "string",
    comment: "string",
    dailymotion: "string",
    defaultAction: "string",
    dynamicSortSubtable: "string",
    filters: [{
        action: "string",
        category: "string",
        channel: "string",
        comment: "string",
        id: 0,
        keyword: "string",
        log: "string",
        type: "string",
    }],
    fortiguardCategory: {
        filters: [{
            action: "string",
            categoryId: 0,
            id: 0,
            log: "string",
        }],
    },
    log: "string",
    name: "string",
    objectVideofilterProfileId: "string",
    replacemsgGroup: "string",
    scopetype: "string",
    vimeo: "string",
    vimeoRestrict: "string",
    youtube: "string",
    youtubeChannelFilter: "string",
    youtubeRestrict: "string",
});
Copy
type: fortimanager:ObjectVideofilterProfile
properties:
    adom: string
    comment: string
    dailymotion: string
    defaultAction: string
    dynamicSortSubtable: string
    filters:
        - action: string
          category: string
          channel: string
          comment: string
          id: 0
          keyword: string
          log: string
          type: string
    fortiguardCategory:
        filters:
            - action: string
              categoryId: 0
              id: 0
              log: string
    log: string
    name: string
    objectVideofilterProfileId: string
    replacemsgGroup: string
    scopetype: string
    vimeo: string
    vimeoRestrict: string
    youtube: string
    youtubeChannelFilter: string
    youtubeRestrict: string
Copy

ObjectVideofilterProfile 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 ObjectVideofilterProfile 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.
Comment string
Comment.
Dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
DefaultAction string
Video filter default action. Valid values: block, monitor, allow.
DynamicSortSubtable string
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.
Filters List<ObjectVideofilterProfileFilter>
Filters. The structure of filters block is documented below.
FortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
Log string
Enable/disable logging. Valid values: disable, enable.
Name string
Name.
ObjectVideofilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group.
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.
Vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
VimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
Youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
YoutubeChannelFilter string
Set YouTube channel filter.
YoutubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
Dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
DefaultAction string
Video filter default action. Valid values: block, monitor, allow.
DynamicSortSubtable string
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.
Filters []ObjectVideofilterProfileFilterArgs
Filters. The structure of filters block is documented below.
FortiguardCategory ObjectVideofilterProfileFortiguardCategoryTypeArgs
Fortiguard-Category. The structure of fortiguard_category block is documented below.
Log string
Enable/disable logging. Valid values: disable, enable.
Name string
Name.
ObjectVideofilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group.
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.
Vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
VimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
Youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
YoutubeChannelFilter string
Set YouTube channel filter.
YoutubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dailymotion String
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction String
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable String
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.
filters List<ObjectVideofilterProfileFilter>
Filters. The structure of filters block is documented below.
fortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log String
Enable/disable logging. Valid values: disable, enable.
name String
Name.
objectVideofilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group.
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.
vimeo String
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict String
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube String
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter String
Set YouTube channel filter.
youtubeRestrict String
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction string
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable string
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.
filters ObjectVideofilterProfileFilter[]
Filters. The structure of filters block is documented below.
fortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log string
Enable/disable logging. Valid values: disable, enable.
name string
Name.
objectVideofilterProfileId string
an identifier for the resource with format {{name}}.
replacemsgGroup string
Replacement message group.
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.
vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter string
Set YouTube channel filter.
youtubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
dailymotion str
Enable/disable Dailymotion video source. Valid values: disable, enable.
default_action str
Video filter default action. Valid values: block, monitor, allow.
dynamic_sort_subtable str
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.
filters Sequence[ObjectVideofilterProfileFilterArgs]
Filters. The structure of filters block is documented below.
fortiguard_category ObjectVideofilterProfileFortiguardCategoryArgs
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log str
Enable/disable logging. Valid values: disable, enable.
name str
Name.
object_videofilter_profile_id str
an identifier for the resource with format {{name}}.
replacemsg_group str
Replacement message group.
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.
vimeo str
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeo_restrict str
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube str
Enable/disable YouTube video source. Valid values: disable, enable.
youtube_channel_filter str
Set YouTube channel filter.
youtube_restrict str
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dailymotion String
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction String
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable String
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.
filters List<Property Map>
Filters. The structure of filters block is documented below.
fortiguardCategory Property Map
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log String
Enable/disable logging. Valid values: disable, enable.
name String
Name.
objectVideofilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group.
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.
vimeo String
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict String
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube String
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter String
Set YouTube channel filter.
youtubeRestrict String
Set YouTube-restrict mode. Valid values: strict, none, moderate.

Outputs

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

Get an existing ObjectVideofilterProfile 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?: ObjectVideofilterProfileState, opts?: CustomResourceOptions): ObjectVideofilterProfile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        dailymotion: Optional[str] = None,
        default_action: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        filters: Optional[Sequence[ObjectVideofilterProfileFilterArgs]] = None,
        fortiguard_category: Optional[ObjectVideofilterProfileFortiguardCategoryArgs] = None,
        log: Optional[str] = None,
        name: Optional[str] = None,
        object_videofilter_profile_id: Optional[str] = None,
        replacemsg_group: Optional[str] = None,
        scopetype: Optional[str] = None,
        vimeo: Optional[str] = None,
        vimeo_restrict: Optional[str] = None,
        youtube: Optional[str] = None,
        youtube_channel_filter: Optional[str] = None,
        youtube_restrict: Optional[str] = None) -> ObjectVideofilterProfile
func GetObjectVideofilterProfile(ctx *Context, name string, id IDInput, state *ObjectVideofilterProfileState, opts ...ResourceOption) (*ObjectVideofilterProfile, error)
public static ObjectVideofilterProfile Get(string name, Input<string> id, ObjectVideofilterProfileState? state, CustomResourceOptions? opts = null)
public static ObjectVideofilterProfile get(String name, Output<String> id, ObjectVideofilterProfileState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectVideofilterProfile    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.
Comment string
Comment.
Dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
DefaultAction string
Video filter default action. Valid values: block, monitor, allow.
DynamicSortSubtable string
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.
Filters List<ObjectVideofilterProfileFilter>
Filters. The structure of filters block is documented below.
FortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
Log string
Enable/disable logging. Valid values: disable, enable.
Name string
Name.
ObjectVideofilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group.
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.
Vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
VimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
Youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
YoutubeChannelFilter string
Set YouTube channel filter.
YoutubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
Dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
DefaultAction string
Video filter default action. Valid values: block, monitor, allow.
DynamicSortSubtable string
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.
Filters []ObjectVideofilterProfileFilterArgs
Filters. The structure of filters block is documented below.
FortiguardCategory ObjectVideofilterProfileFortiguardCategoryTypeArgs
Fortiguard-Category. The structure of fortiguard_category block is documented below.
Log string
Enable/disable logging. Valid values: disable, enable.
Name string
Name.
ObjectVideofilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group.
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.
Vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
VimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
Youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
YoutubeChannelFilter string
Set YouTube channel filter.
YoutubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dailymotion String
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction String
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable String
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.
filters List<ObjectVideofilterProfileFilter>
Filters. The structure of filters block is documented below.
fortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log String
Enable/disable logging. Valid values: disable, enable.
name String
Name.
objectVideofilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group.
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.
vimeo String
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict String
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube String
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter String
Set YouTube channel filter.
youtubeRestrict String
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
dailymotion string
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction string
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable string
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.
filters ObjectVideofilterProfileFilter[]
Filters. The structure of filters block is documented below.
fortiguardCategory ObjectVideofilterProfileFortiguardCategory
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log string
Enable/disable logging. Valid values: disable, enable.
name string
Name.
objectVideofilterProfileId string
an identifier for the resource with format {{name}}.
replacemsgGroup string
Replacement message group.
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.
vimeo string
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict string
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube string
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter string
Set YouTube channel filter.
youtubeRestrict string
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
dailymotion str
Enable/disable Dailymotion video source. Valid values: disable, enable.
default_action str
Video filter default action. Valid values: block, monitor, allow.
dynamic_sort_subtable str
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.
filters Sequence[ObjectVideofilterProfileFilterArgs]
Filters. The structure of filters block is documented below.
fortiguard_category ObjectVideofilterProfileFortiguardCategoryArgs
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log str
Enable/disable logging. Valid values: disable, enable.
name str
Name.
object_videofilter_profile_id str
an identifier for the resource with format {{name}}.
replacemsg_group str
Replacement message group.
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.
vimeo str
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeo_restrict str
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube str
Enable/disable YouTube video source. Valid values: disable, enable.
youtube_channel_filter str
Set YouTube channel filter.
youtube_restrict str
Set YouTube-restrict mode. Valid values: strict, none, moderate.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dailymotion String
Enable/disable Dailymotion video source. Valid values: disable, enable.
defaultAction String
Video filter default action. Valid values: block, monitor, allow.
dynamicSortSubtable String
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.
filters List<Property Map>
Filters. The structure of filters block is documented below.
fortiguardCategory Property Map
Fortiguard-Category. The structure of fortiguard_category block is documented below.
log String
Enable/disable logging. Valid values: disable, enable.
name String
Name.
objectVideofilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group.
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.
vimeo String
Enable/disable Vimeo video source. Valid values: disable, enable.
vimeoRestrict String
Set Vimeo-restrict ("7" = don't show mature content, "134" = don't show unrated and mature content). A value of cookie "content_rating".
youtube String
Enable/disable YouTube video source. Valid values: disable, enable.
youtubeChannelFilter String
Set YouTube channel filter.
youtubeRestrict String
Set YouTube-restrict mode. Valid values: strict, none, moderate.

Supporting Types

ObjectVideofilterProfileFilter
, ObjectVideofilterProfileFilterArgs

Action string
VideoFilter action. Valid values: block, bypass, monitor.
Category string
FortiGuard category ID.
Channel string
Channel ID.
Comment string
Comment.
Id double
ID.
Keyword string
Video filter keyword ID.
Log string
Enable/disable logging. Valid values: disable, enable.
Type string
Filter type. Valid values: category, channel, title, description.
Action string
VideoFilter action. Valid values: block, bypass, monitor.
Category string
FortiGuard category ID.
Channel string
Channel ID.
Comment string
Comment.
Id float64
ID.
Keyword string
Video filter keyword ID.
Log string
Enable/disable logging. Valid values: disable, enable.
Type string
Filter type. Valid values: category, channel, title, description.
action String
VideoFilter action. Valid values: block, bypass, monitor.
category String
FortiGuard category ID.
channel String
Channel ID.
comment String
Comment.
id Double
ID.
keyword String
Video filter keyword ID.
log String
Enable/disable logging. Valid values: disable, enable.
type String
Filter type. Valid values: category, channel, title, description.
action string
VideoFilter action. Valid values: block, bypass, monitor.
category string
FortiGuard category ID.
channel string
Channel ID.
comment string
Comment.
id number
ID.
keyword string
Video filter keyword ID.
log string
Enable/disable logging. Valid values: disable, enable.
type string
Filter type. Valid values: category, channel, title, description.
action str
VideoFilter action. Valid values: block, bypass, monitor.
category str
FortiGuard category ID.
channel str
Channel ID.
comment str
Comment.
id float
ID.
keyword str
Video filter keyword ID.
log str
Enable/disable logging. Valid values: disable, enable.
type str
Filter type. Valid values: category, channel, title, description.
action String
VideoFilter action. Valid values: block, bypass, monitor.
category String
FortiGuard category ID.
channel String
Channel ID.
comment String
Comment.
id Number
ID.
keyword String
Video filter keyword ID.
log String
Enable/disable logging. Valid values: disable, enable.
type String
Filter type. Valid values: category, channel, title, description.

ObjectVideofilterProfileFortiguardCategory
, ObjectVideofilterProfileFortiguardCategoryArgs

Filters List<ObjectVideofilterProfileFortiguardCategoryFilter>
Filters. The structure of filters block is documented below.
Filters []ObjectVideofilterProfileFortiguardCategoryFilter
Filters. The structure of filters block is documented below.
filters List<ObjectVideofilterProfileFortiguardCategoryFilter>
Filters. The structure of filters block is documented below.
filters ObjectVideofilterProfileFortiguardCategoryFilter[]
Filters. The structure of filters block is documented below.
filters Sequence[ObjectVideofilterProfileFortiguardCategoryFilter]
Filters. The structure of filters block is documented below.
filters List<Property Map>
Filters. The structure of filters block is documented below.

ObjectVideofilterProfileFortiguardCategoryFilter
, ObjectVideofilterProfileFortiguardCategoryFilterArgs

Action string
VideoFilter action. Valid values: block, bypass, monitor.
CategoryId double
Category ID.
Id double
ID.
Log string
Enable/disable logging. Valid values: disable, enable.
Action string
VideoFilter action. Valid values: block, bypass, monitor.
CategoryId float64
Category ID.
Id float64
ID.
Log string
Enable/disable logging. Valid values: disable, enable.
action String
VideoFilter action. Valid values: block, bypass, monitor.
categoryId Double
Category ID.
id Double
ID.
log String
Enable/disable logging. Valid values: disable, enable.
action string
VideoFilter action. Valid values: block, bypass, monitor.
categoryId number
Category ID.
id number
ID.
log string
Enable/disable logging. Valid values: disable, enable.
action str
VideoFilter action. Valid values: block, bypass, monitor.
category_id float
Category ID.
id float
ID.
log str
Enable/disable logging. Valid values: disable, enable.
action String
VideoFilter action. Valid values: block, bypass, monitor.
categoryId Number
Category ID.
id Number
ID.
log String
Enable/disable logging. Valid values: disable, enable.

Import

ObjectVideofilter Profile can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectVideofilterProfile:ObjectVideofilterProfile labelname {{name}}
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.