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,
        }],
    },
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectVideofilterProfile("trname",
    comment="This is a Terraform example",
    dailymotion="enable",
    fortiguard_category={
        "filters": [{
            "id": 1,
        }],
    })
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
	})
}
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,
                },
            },
        },
    });
});
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());
    }
}
resources:
  trname:
    type: fortimanager:ObjectVideofilterProfile
    properties:
      comment: This is a Terraform example
      dailymotion: enable
      fortiguardCategory:
        filters:
          - id: 1
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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: .ObjectVideofilterProfileFilterArray{
&.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: &.ObjectVideofilterProfileFortiguardCategoryTypeArgs{
Filters: .ObjectVideofilterProfileFortiguardCategoryFilterArray{
&.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"),
})
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());
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")
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",
});
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
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 scopetypeisadom, 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.
- 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.
- Filters
List<ObjectVideofilter Profile Filter> 
- Filters. The structure of filtersblock is documented below.
- FortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Name string
- Name.
- ObjectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- YoutubeChannel stringFilter 
- 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 scopetypeisadom, 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.
- 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.
- Filters
[]ObjectVideofilter Profile Filter Args 
- Filters. The structure of filtersblock is documented below.
- FortiguardCategory ObjectVideofilter Profile Fortiguard Category Type Args 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Name string
- Name.
- ObjectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- YoutubeChannel stringFilter 
- 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 scopetypeisadom, 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.
- 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.
- filters
List<ObjectVideofilter Profile Filter> 
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log String
- Enable/disable logging. Valid values: disable,enable.
- name String
- Name.
- objectVideofilter StringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel StringFilter 
- 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 scopetypeisadom, 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.
- 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.
- filters
ObjectVideofilter Profile Filter[] 
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log string
- Enable/disable logging. Valid values: disable,enable.
- name string
- Name.
- objectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel stringFilter 
- 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 scopetypeisadom, 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_ 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.
- filters
Sequence[ObjectVideofilter Profile Filter Args] 
- Filters. The structure of filtersblock is documented below.
- fortiguard_category ObjectVideofilter Profile Fortiguard Category Args 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log str
- Enable/disable logging. Valid values: disable,enable.
- name str
- Name.
- object_videofilter_ strprofile_ id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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_ strfilter 
- 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 scopetypeisadom, 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.
- 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.
- filters List<Property Map>
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory Property Map
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log String
- Enable/disable logging. Valid values: disable,enable.
- name String
- Name.
- objectVideofilter StringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel StringFilter 
- 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) -> ObjectVideofilterProfilefunc 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
- 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.
- 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.
- 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.
- Filters
List<ObjectVideofilter Profile Filter> 
- Filters. The structure of filtersblock is documented below.
- FortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Name string
- Name.
- ObjectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- YoutubeChannel stringFilter 
- 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 scopetypeisadom, 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.
- 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.
- Filters
[]ObjectVideofilter Profile Filter Args 
- Filters. The structure of filtersblock is documented below.
- FortiguardCategory ObjectVideofilter Profile Fortiguard Category Type Args 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Name string
- Name.
- ObjectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- YoutubeChannel stringFilter 
- 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 scopetypeisadom, 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.
- 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.
- filters
List<ObjectVideofilter Profile Filter> 
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log String
- Enable/disable logging. Valid values: disable,enable.
- name String
- Name.
- objectVideofilter StringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel StringFilter 
- 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 scopetypeisadom, 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.
- 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.
- filters
ObjectVideofilter Profile Filter[] 
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory ObjectVideofilter Profile Fortiguard Category 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log string
- Enable/disable logging. Valid values: disable,enable.
- name string
- Name.
- objectVideofilter stringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel stringFilter 
- 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 scopetypeisadom, 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_ 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.
- filters
Sequence[ObjectVideofilter Profile Filter Args] 
- Filters. The structure of filtersblock is documented below.
- fortiguard_category ObjectVideofilter Profile Fortiguard Category Args 
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log str
- Enable/disable logging. Valid values: disable,enable.
- name str
- Name.
- object_videofilter_ strprofile_ id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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_ strfilter 
- 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 scopetypeisadom, 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.
- 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.
- filters List<Property Map>
- Filters. The structure of filtersblock is documented below.
- fortiguardCategory Property Map
- Fortiguard-Category. The structure of fortiguard_categoryblock is documented below.
- log String
- Enable/disable logging. Valid values: disable,enable.
- name String
- Name.
- objectVideofilter StringProfile Id 
- 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- youtubeChannel StringFilter 
- 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<ObjectVideofilter Profile Fortiguard Category Filter> 
- Filters. The structure of filtersblock is documented below.
- Filters
[]ObjectVideofilter Profile Fortiguard Category Filter 
- Filters. The structure of filtersblock is documented below.
- filters
List<ObjectVideofilter Profile Fortiguard Category Filter> 
- Filters. The structure of filtersblock is documented below.
- filters
ObjectVideofilter Profile Fortiguard Category Filter[] 
- Filters. The structure of filtersblock is documented below.
- filters
Sequence[ObjectVideofilter Profile Fortiguard Category Filter] 
- Filters. The structure of filtersblock is documented below.
- filters List<Property Map>
- Filters. The structure of filtersblock 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}}
$ 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.