Documentation ¶
Index ¶
- type Keyword
- type KeywordArgs
- type KeywordArray
- type KeywordArrayInput
- type KeywordArrayOutput
- type KeywordInput
- type KeywordMap
- type KeywordMapInput
- type KeywordMapOutput
- type KeywordOutput
- func (o KeywordOutput) Comment() pulumi.StringPtrOutput
- func (o KeywordOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (KeywordOutput) ElementType() reflect.Type
- func (o KeywordOutput) Fosid() pulumi.IntOutput
- func (o KeywordOutput) GetAllTables() pulumi.StringPtrOutput
- func (o KeywordOutput) Match() pulumi.StringOutput
- func (o KeywordOutput) Name() pulumi.StringOutput
- func (o KeywordOutput) ToKeywordOutput() KeywordOutput
- func (o KeywordOutput) ToKeywordOutputWithContext(ctx context.Context) KeywordOutput
- func (o KeywordOutput) Vdomparam() pulumi.StringPtrOutput
- func (o KeywordOutput) Words() KeywordWordArrayOutput
- type KeywordState
- type KeywordWord
- type KeywordWordArgs
- type KeywordWordArray
- type KeywordWordArrayInput
- type KeywordWordArrayOutput
- func (KeywordWordArrayOutput) ElementType() reflect.Type
- func (o KeywordWordArrayOutput) Index(i pulumi.IntInput) KeywordWordOutput
- func (o KeywordWordArrayOutput) ToKeywordWordArrayOutput() KeywordWordArrayOutput
- func (o KeywordWordArrayOutput) ToKeywordWordArrayOutputWithContext(ctx context.Context) KeywordWordArrayOutput
- type KeywordWordInput
- type KeywordWordOutput
- func (o KeywordWordOutput) Comment() pulumi.StringPtrOutput
- func (KeywordWordOutput) ElementType() reflect.Type
- func (o KeywordWordOutput) Name() pulumi.StringPtrOutput
- func (o KeywordWordOutput) PatternType() pulumi.StringPtrOutput
- func (o KeywordWordOutput) Status() pulumi.StringPtrOutput
- func (o KeywordWordOutput) ToKeywordWordOutput() KeywordWordOutput
- func (o KeywordWordOutput) ToKeywordWordOutputWithContext(ctx context.Context) KeywordWordOutput
- type Profile
- type ProfileArgs
- type ProfileArray
- type ProfileArrayInput
- type ProfileArrayOutput
- type ProfileFilter
- type ProfileFilterArgs
- type ProfileFilterArray
- type ProfileFilterArrayInput
- type ProfileFilterArrayOutput
- func (ProfileFilterArrayOutput) ElementType() reflect.Type
- func (o ProfileFilterArrayOutput) Index(i pulumi.IntInput) ProfileFilterOutput
- func (o ProfileFilterArrayOutput) ToProfileFilterArrayOutput() ProfileFilterArrayOutput
- func (o ProfileFilterArrayOutput) ToProfileFilterArrayOutputWithContext(ctx context.Context) ProfileFilterArrayOutput
- type ProfileFilterInput
- type ProfileFilterOutput
- func (o ProfileFilterOutput) Action() pulumi.StringPtrOutput
- func (o ProfileFilterOutput) Category() pulumi.StringPtrOutput
- func (o ProfileFilterOutput) Channel() pulumi.StringPtrOutput
- func (o ProfileFilterOutput) Comment() pulumi.StringPtrOutput
- func (ProfileFilterOutput) ElementType() reflect.Type
- func (o ProfileFilterOutput) Id() pulumi.IntPtrOutput
- func (o ProfileFilterOutput) Keyword() pulumi.IntPtrOutput
- func (o ProfileFilterOutput) Log() pulumi.StringPtrOutput
- func (o ProfileFilterOutput) ToProfileFilterOutput() ProfileFilterOutput
- func (o ProfileFilterOutput) ToProfileFilterOutputWithContext(ctx context.Context) ProfileFilterOutput
- func (o ProfileFilterOutput) Type() pulumi.StringPtrOutput
- type ProfileFortiguardCategory
- type ProfileFortiguardCategoryArgs
- func (ProfileFortiguardCategoryArgs) ElementType() reflect.Type
- func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutput() ProfileFortiguardCategoryOutput
- func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutputWithContext(ctx context.Context) ProfileFortiguardCategoryOutput
- func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
- func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
- type ProfileFortiguardCategoryFilter
- type ProfileFortiguardCategoryFilterArgs
- func (ProfileFortiguardCategoryFilterArgs) ElementType() reflect.Type
- func (i ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutput() ProfileFortiguardCategoryFilterOutput
- func (i ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterOutput
- type ProfileFortiguardCategoryFilterArray
- func (ProfileFortiguardCategoryFilterArray) ElementType() reflect.Type
- func (i ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutput() ProfileFortiguardCategoryFilterArrayOutput
- func (i ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterArrayOutput
- type ProfileFortiguardCategoryFilterArrayInput
- type ProfileFortiguardCategoryFilterArrayOutput
- func (ProfileFortiguardCategoryFilterArrayOutput) ElementType() reflect.Type
- func (o ProfileFortiguardCategoryFilterArrayOutput) Index(i pulumi.IntInput) ProfileFortiguardCategoryFilterOutput
- func (o ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutput() ProfileFortiguardCategoryFilterArrayOutput
- func (o ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterArrayOutput
- type ProfileFortiguardCategoryFilterInput
- type ProfileFortiguardCategoryFilterOutput
- func (o ProfileFortiguardCategoryFilterOutput) Action() pulumi.StringPtrOutput
- func (o ProfileFortiguardCategoryFilterOutput) CategoryId() pulumi.IntPtrOutput
- func (ProfileFortiguardCategoryFilterOutput) ElementType() reflect.Type
- func (o ProfileFortiguardCategoryFilterOutput) Id() pulumi.IntPtrOutput
- func (o ProfileFortiguardCategoryFilterOutput) Log() pulumi.StringPtrOutput
- func (o ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutput() ProfileFortiguardCategoryFilterOutput
- func (o ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterOutput
- type ProfileFortiguardCategoryInput
- type ProfileFortiguardCategoryOutput
- func (ProfileFortiguardCategoryOutput) ElementType() reflect.Type
- func (o ProfileFortiguardCategoryOutput) Filters() ProfileFortiguardCategoryFilterArrayOutput
- func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutput() ProfileFortiguardCategoryOutput
- func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutputWithContext(ctx context.Context) ProfileFortiguardCategoryOutput
- func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
- func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
- type ProfileFortiguardCategoryPtrInput
- type ProfileFortiguardCategoryPtrOutput
- func (o ProfileFortiguardCategoryPtrOutput) Elem() ProfileFortiguardCategoryOutput
- func (ProfileFortiguardCategoryPtrOutput) ElementType() reflect.Type
- func (o ProfileFortiguardCategoryPtrOutput) Filters() ProfileFortiguardCategoryFilterArrayOutput
- func (o ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
- func (o ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
- type ProfileInput
- type ProfileMap
- type ProfileMapInput
- type ProfileMapOutput
- type ProfileOutput
- func (o ProfileOutput) Comment() pulumi.StringPtrOutput
- func (o ProfileOutput) Dailymotion() pulumi.StringOutput
- func (o ProfileOutput) DefaultAction() pulumi.StringOutput
- func (o ProfileOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (ProfileOutput) ElementType() reflect.Type
- func (o ProfileOutput) Filters() ProfileFilterArrayOutput
- func (o ProfileOutput) FortiguardCategory() ProfileFortiguardCategoryOutput
- func (o ProfileOutput) GetAllTables() pulumi.StringPtrOutput
- func (o ProfileOutput) Log() pulumi.StringOutput
- func (o ProfileOutput) Name() pulumi.StringOutput
- func (o ProfileOutput) ReplacemsgGroup() pulumi.StringOutput
- func (o ProfileOutput) ToProfileOutput() ProfileOutput
- func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
- func (o ProfileOutput) Vdomparam() pulumi.StringPtrOutput
- func (o ProfileOutput) Vimeo() pulumi.StringOutput
- func (o ProfileOutput) Youtube() pulumi.StringOutput
- func (o ProfileOutput) YoutubeChannelFilter() pulumi.IntOutput
- type ProfileState
- type Youtubechannelfilter
- type YoutubechannelfilterArgs
- type YoutubechannelfilterArray
- type YoutubechannelfilterArrayInput
- type YoutubechannelfilterArrayOutput
- func (YoutubechannelfilterArrayOutput) ElementType() reflect.Type
- func (o YoutubechannelfilterArrayOutput) Index(i pulumi.IntInput) YoutubechannelfilterOutput
- func (o YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutput() YoutubechannelfilterArrayOutput
- func (o YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutputWithContext(ctx context.Context) YoutubechannelfilterArrayOutput
- type YoutubechannelfilterEntry
- type YoutubechannelfilterEntryArgs
- func (YoutubechannelfilterEntryArgs) ElementType() reflect.Type
- func (i YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutput() YoutubechannelfilterEntryOutput
- func (i YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutputWithContext(ctx context.Context) YoutubechannelfilterEntryOutput
- type YoutubechannelfilterEntryArray
- func (YoutubechannelfilterEntryArray) ElementType() reflect.Type
- func (i YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutput() YoutubechannelfilterEntryArrayOutput
- func (i YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutputWithContext(ctx context.Context) YoutubechannelfilterEntryArrayOutput
- type YoutubechannelfilterEntryArrayInput
- type YoutubechannelfilterEntryArrayOutput
- func (YoutubechannelfilterEntryArrayOutput) ElementType() reflect.Type
- func (o YoutubechannelfilterEntryArrayOutput) Index(i pulumi.IntInput) YoutubechannelfilterEntryOutput
- func (o YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutput() YoutubechannelfilterEntryArrayOutput
- func (o YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutputWithContext(ctx context.Context) YoutubechannelfilterEntryArrayOutput
- type YoutubechannelfilterEntryInput
- type YoutubechannelfilterEntryOutput
- func (o YoutubechannelfilterEntryOutput) Action() pulumi.StringPtrOutput
- func (o YoutubechannelfilterEntryOutput) ChannelId() pulumi.StringPtrOutput
- func (o YoutubechannelfilterEntryOutput) Comment() pulumi.StringPtrOutput
- func (YoutubechannelfilterEntryOutput) ElementType() reflect.Type
- func (o YoutubechannelfilterEntryOutput) Id() pulumi.IntPtrOutput
- func (o YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutput() YoutubechannelfilterEntryOutput
- func (o YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutputWithContext(ctx context.Context) YoutubechannelfilterEntryOutput
- type YoutubechannelfilterInput
- type YoutubechannelfilterMap
- type YoutubechannelfilterMapInput
- type YoutubechannelfilterMapOutput
- func (YoutubechannelfilterMapOutput) ElementType() reflect.Type
- func (o YoutubechannelfilterMapOutput) MapIndex(k pulumi.StringInput) YoutubechannelfilterOutput
- func (o YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutput() YoutubechannelfilterMapOutput
- func (o YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutputWithContext(ctx context.Context) YoutubechannelfilterMapOutput
- type YoutubechannelfilterOutput
- func (o YoutubechannelfilterOutput) Comment() pulumi.StringPtrOutput
- func (o YoutubechannelfilterOutput) DefaultAction() pulumi.StringOutput
- func (o YoutubechannelfilterOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (YoutubechannelfilterOutput) ElementType() reflect.Type
- func (o YoutubechannelfilterOutput) Entries() YoutubechannelfilterEntryArrayOutput
- func (o YoutubechannelfilterOutput) Fosid() pulumi.IntOutput
- func (o YoutubechannelfilterOutput) GetAllTables() pulumi.StringPtrOutput
- func (o YoutubechannelfilterOutput) Log() pulumi.StringOutput
- func (o YoutubechannelfilterOutput) Name() pulumi.StringOutput
- func (o YoutubechannelfilterOutput) OverrideCategory() pulumi.StringOutput
- func (o YoutubechannelfilterOutput) ToYoutubechannelfilterOutput() YoutubechannelfilterOutput
- func (o YoutubechannelfilterOutput) ToYoutubechannelfilterOutputWithContext(ctx context.Context) YoutubechannelfilterOutput
- func (o YoutubechannelfilterOutput) Vdomparam() pulumi.StringPtrOutput
- type YoutubechannelfilterState
- type Youtubekey
- type YoutubekeyArgs
- type YoutubekeyArray
- type YoutubekeyArrayInput
- type YoutubekeyArrayOutput
- func (YoutubekeyArrayOutput) ElementType() reflect.Type
- func (o YoutubekeyArrayOutput) Index(i pulumi.IntInput) YoutubekeyOutput
- func (o YoutubekeyArrayOutput) ToYoutubekeyArrayOutput() YoutubekeyArrayOutput
- func (o YoutubekeyArrayOutput) ToYoutubekeyArrayOutputWithContext(ctx context.Context) YoutubekeyArrayOutput
- type YoutubekeyInput
- type YoutubekeyMap
- type YoutubekeyMapInput
- type YoutubekeyMapOutput
- func (YoutubekeyMapOutput) ElementType() reflect.Type
- func (o YoutubekeyMapOutput) MapIndex(k pulumi.StringInput) YoutubekeyOutput
- func (o YoutubekeyMapOutput) ToYoutubekeyMapOutput() YoutubekeyMapOutput
- func (o YoutubekeyMapOutput) ToYoutubekeyMapOutputWithContext(ctx context.Context) YoutubekeyMapOutput
- type YoutubekeyOutput
- func (YoutubekeyOutput) ElementType() reflect.Type
- func (o YoutubekeyOutput) Fosid() pulumi.IntOutput
- func (o YoutubekeyOutput) Key() pulumi.StringOutput
- func (o YoutubekeyOutput) ToYoutubekeyOutput() YoutubekeyOutput
- func (o YoutubekeyOutput) ToYoutubekeyOutputWithContext(ctx context.Context) YoutubekeyOutput
- func (o YoutubekeyOutput) Vdomparam() pulumi.StringPtrOutput
- type YoutubekeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keyword ¶
type Keyword struct { pulumi.CustomResourceState // Comment. Comment pulumi.StringPtrOutput `pulumi:"comment"` // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // ID. Fosid pulumi.IntOutput `pulumi:"fosid"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Keyword matching logic. Valid values: `or`, `and`. Match pulumi.StringOutput `pulumi:"match"` // Name. Name pulumi.StringOutput `pulumi:"name"` // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"` // List of keywords. The structure of `word` block is documented below. Words KeywordWordArrayOutput `pulumi:"words"` }
Configure video filter keywords. Applies to FortiOS Version `>= 7.4.2`.
## Import
Videofilter Keyword can be imported using any of these accepted formats:
```sh $ pulumi import fortios:filter/video/keyword:Keyword labelname {{fosid}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:filter/video/keyword:Keyword labelname {{fosid}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetKeyword ¶
func GetKeyword(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeywordState, opts ...pulumi.ResourceOption) (*Keyword, error)
GetKeyword gets an existing Keyword resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKeyword ¶
func NewKeyword(ctx *pulumi.Context, name string, args *KeywordArgs, opts ...pulumi.ResourceOption) (*Keyword, error)
NewKeyword registers a new resource with the given unique name, arguments, and options.
func (*Keyword) ElementType ¶
func (*Keyword) ToKeywordOutput ¶
func (i *Keyword) ToKeywordOutput() KeywordOutput
func (*Keyword) ToKeywordOutputWithContext ¶
func (i *Keyword) ToKeywordOutputWithContext(ctx context.Context) KeywordOutput
type KeywordArgs ¶
type KeywordArgs struct { // Comment. Comment pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // ID. Fosid pulumi.IntPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Keyword matching logic. Valid values: `or`, `and`. Match pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput // List of keywords. The structure of `word` block is documented below. Words KeywordWordArrayInput }
The set of arguments for constructing a Keyword resource.
func (KeywordArgs) ElementType ¶
func (KeywordArgs) ElementType() reflect.Type
type KeywordArray ¶
type KeywordArray []KeywordInput
func (KeywordArray) ElementType ¶
func (KeywordArray) ElementType() reflect.Type
func (KeywordArray) ToKeywordArrayOutput ¶
func (i KeywordArray) ToKeywordArrayOutput() KeywordArrayOutput
func (KeywordArray) ToKeywordArrayOutputWithContext ¶
func (i KeywordArray) ToKeywordArrayOutputWithContext(ctx context.Context) KeywordArrayOutput
type KeywordArrayInput ¶
type KeywordArrayInput interface { pulumi.Input ToKeywordArrayOutput() KeywordArrayOutput ToKeywordArrayOutputWithContext(context.Context) KeywordArrayOutput }
KeywordArrayInput is an input type that accepts KeywordArray and KeywordArrayOutput values. You can construct a concrete instance of `KeywordArrayInput` via:
KeywordArray{ KeywordArgs{...} }
type KeywordArrayOutput ¶
type KeywordArrayOutput struct{ *pulumi.OutputState }
func (KeywordArrayOutput) ElementType ¶
func (KeywordArrayOutput) ElementType() reflect.Type
func (KeywordArrayOutput) Index ¶
func (o KeywordArrayOutput) Index(i pulumi.IntInput) KeywordOutput
func (KeywordArrayOutput) ToKeywordArrayOutput ¶
func (o KeywordArrayOutput) ToKeywordArrayOutput() KeywordArrayOutput
func (KeywordArrayOutput) ToKeywordArrayOutputWithContext ¶
func (o KeywordArrayOutput) ToKeywordArrayOutputWithContext(ctx context.Context) KeywordArrayOutput
type KeywordInput ¶
type KeywordInput interface { pulumi.Input ToKeywordOutput() KeywordOutput ToKeywordOutputWithContext(ctx context.Context) KeywordOutput }
type KeywordMap ¶
type KeywordMap map[string]KeywordInput
func (KeywordMap) ElementType ¶
func (KeywordMap) ElementType() reflect.Type
func (KeywordMap) ToKeywordMapOutput ¶
func (i KeywordMap) ToKeywordMapOutput() KeywordMapOutput
func (KeywordMap) ToKeywordMapOutputWithContext ¶
func (i KeywordMap) ToKeywordMapOutputWithContext(ctx context.Context) KeywordMapOutput
type KeywordMapInput ¶
type KeywordMapInput interface { pulumi.Input ToKeywordMapOutput() KeywordMapOutput ToKeywordMapOutputWithContext(context.Context) KeywordMapOutput }
KeywordMapInput is an input type that accepts KeywordMap and KeywordMapOutput values. You can construct a concrete instance of `KeywordMapInput` via:
KeywordMap{ "key": KeywordArgs{...} }
type KeywordMapOutput ¶
type KeywordMapOutput struct{ *pulumi.OutputState }
func (KeywordMapOutput) ElementType ¶
func (KeywordMapOutput) ElementType() reflect.Type
func (KeywordMapOutput) MapIndex ¶
func (o KeywordMapOutput) MapIndex(k pulumi.StringInput) KeywordOutput
func (KeywordMapOutput) ToKeywordMapOutput ¶
func (o KeywordMapOutput) ToKeywordMapOutput() KeywordMapOutput
func (KeywordMapOutput) ToKeywordMapOutputWithContext ¶
func (o KeywordMapOutput) ToKeywordMapOutputWithContext(ctx context.Context) KeywordMapOutput
type KeywordOutput ¶
type KeywordOutput struct{ *pulumi.OutputState }
func (KeywordOutput) DynamicSortSubtable ¶
func (o KeywordOutput) DynamicSortSubtable() pulumi.StringPtrOutput
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
func (KeywordOutput) ElementType ¶
func (KeywordOutput) ElementType() reflect.Type
func (KeywordOutput) GetAllTables ¶
func (o KeywordOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (KeywordOutput) Match ¶
func (o KeywordOutput) Match() pulumi.StringOutput
Keyword matching logic. Valid values: `or`, `and`.
func (KeywordOutput) ToKeywordOutput ¶
func (o KeywordOutput) ToKeywordOutput() KeywordOutput
func (KeywordOutput) ToKeywordOutputWithContext ¶
func (o KeywordOutput) ToKeywordOutputWithContext(ctx context.Context) KeywordOutput
func (KeywordOutput) Vdomparam ¶
func (o KeywordOutput) Vdomparam() pulumi.StringPtrOutput
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
func (KeywordOutput) Words ¶
func (o KeywordOutput) Words() KeywordWordArrayOutput
List of keywords. The structure of `word` block is documented below.
type KeywordState ¶
type KeywordState struct { // Comment. Comment pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // ID. Fosid pulumi.IntPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Keyword matching logic. Valid values: `or`, `and`. Match pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput // List of keywords. The structure of `word` block is documented below. Words KeywordWordArrayInput }
func (KeywordState) ElementType ¶
func (KeywordState) ElementType() reflect.Type
type KeywordWord ¶
type KeywordWord struct { // Comment. Comment *string `pulumi:"comment"` // Name. Name *string `pulumi:"name"` // Pattern type. Valid values: `wildcard`, `regex`. PatternType *string `pulumi:"patternType"` // Enable(consider)/disable(ignore) this keyword. Valid values: `enable`, `disable`. Status *string `pulumi:"status"` }
type KeywordWordArgs ¶
type KeywordWordArgs struct { // Comment. Comment pulumi.StringPtrInput `pulumi:"comment"` // Name. Name pulumi.StringPtrInput `pulumi:"name"` // Pattern type. Valid values: `wildcard`, `regex`. PatternType pulumi.StringPtrInput `pulumi:"patternType"` // Enable(consider)/disable(ignore) this keyword. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput `pulumi:"status"` }
func (KeywordWordArgs) ElementType ¶
func (KeywordWordArgs) ElementType() reflect.Type
func (KeywordWordArgs) ToKeywordWordOutput ¶
func (i KeywordWordArgs) ToKeywordWordOutput() KeywordWordOutput
func (KeywordWordArgs) ToKeywordWordOutputWithContext ¶
func (i KeywordWordArgs) ToKeywordWordOutputWithContext(ctx context.Context) KeywordWordOutput
type KeywordWordArray ¶
type KeywordWordArray []KeywordWordInput
func (KeywordWordArray) ElementType ¶
func (KeywordWordArray) ElementType() reflect.Type
func (KeywordWordArray) ToKeywordWordArrayOutput ¶
func (i KeywordWordArray) ToKeywordWordArrayOutput() KeywordWordArrayOutput
func (KeywordWordArray) ToKeywordWordArrayOutputWithContext ¶
func (i KeywordWordArray) ToKeywordWordArrayOutputWithContext(ctx context.Context) KeywordWordArrayOutput
type KeywordWordArrayInput ¶
type KeywordWordArrayInput interface { pulumi.Input ToKeywordWordArrayOutput() KeywordWordArrayOutput ToKeywordWordArrayOutputWithContext(context.Context) KeywordWordArrayOutput }
KeywordWordArrayInput is an input type that accepts KeywordWordArray and KeywordWordArrayOutput values. You can construct a concrete instance of `KeywordWordArrayInput` via:
KeywordWordArray{ KeywordWordArgs{...} }
type KeywordWordArrayOutput ¶
type KeywordWordArrayOutput struct{ *pulumi.OutputState }
func (KeywordWordArrayOutput) ElementType ¶
func (KeywordWordArrayOutput) ElementType() reflect.Type
func (KeywordWordArrayOutput) Index ¶
func (o KeywordWordArrayOutput) Index(i pulumi.IntInput) KeywordWordOutput
func (KeywordWordArrayOutput) ToKeywordWordArrayOutput ¶
func (o KeywordWordArrayOutput) ToKeywordWordArrayOutput() KeywordWordArrayOutput
func (KeywordWordArrayOutput) ToKeywordWordArrayOutputWithContext ¶
func (o KeywordWordArrayOutput) ToKeywordWordArrayOutputWithContext(ctx context.Context) KeywordWordArrayOutput
type KeywordWordInput ¶
type KeywordWordInput interface { pulumi.Input ToKeywordWordOutput() KeywordWordOutput ToKeywordWordOutputWithContext(context.Context) KeywordWordOutput }
KeywordWordInput is an input type that accepts KeywordWordArgs and KeywordWordOutput values. You can construct a concrete instance of `KeywordWordInput` via:
KeywordWordArgs{...}
type KeywordWordOutput ¶
type KeywordWordOutput struct{ *pulumi.OutputState }
func (KeywordWordOutput) Comment ¶
func (o KeywordWordOutput) Comment() pulumi.StringPtrOutput
Comment.
func (KeywordWordOutput) ElementType ¶
func (KeywordWordOutput) ElementType() reflect.Type
func (KeywordWordOutput) PatternType ¶
func (o KeywordWordOutput) PatternType() pulumi.StringPtrOutput
Pattern type. Valid values: `wildcard`, `regex`.
func (KeywordWordOutput) Status ¶
func (o KeywordWordOutput) Status() pulumi.StringPtrOutput
Enable(consider)/disable(ignore) this keyword. Valid values: `enable`, `disable`.
func (KeywordWordOutput) ToKeywordWordOutput ¶
func (o KeywordWordOutput) ToKeywordWordOutput() KeywordWordOutput
func (KeywordWordOutput) ToKeywordWordOutputWithContext ¶
func (o KeywordWordOutput) ToKeywordWordOutputWithContext(ctx context.Context) KeywordWordOutput
type Profile ¶
type Profile struct { pulumi.CustomResourceState // Comment. Comment pulumi.StringPtrOutput `pulumi:"comment"` // Enable/disable Dailymotion video source. Valid values: `enable`, `disable`. Dailymotion pulumi.StringOutput `pulumi:"dailymotion"` // Video filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringOutput `pulumi:"defaultAction"` // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // YouTube filter entries. The structure of `filters` block is documented below. Filters ProfileFilterArrayOutput `pulumi:"filters"` // Configure FortiGuard categories. The structure of `fortiguardCategory` block is documented below. FortiguardCategory ProfileFortiguardCategoryOutput `pulumi:"fortiguardCategory"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringOutput `pulumi:"log"` // Name. Name pulumi.StringOutput `pulumi:"name"` // Replacement message group. ReplacemsgGroup pulumi.StringOutput `pulumi:"replacemsgGroup"` // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"` // Enable/disable Vimeo video source. Valid values: `enable`, `disable`. Vimeo pulumi.StringOutput `pulumi:"vimeo"` // Enable/disable YouTube video source. Valid values: `enable`, `disable`. Youtube pulumi.StringOutput `pulumi:"youtube"` // Set YouTube channel filter. YoutubeChannelFilter pulumi.IntOutput `pulumi:"youtubeChannelFilter"` }
Configure VideoFilter profile. Applies to FortiOS Version `>= 7.0.1`.
## Import
Videofilter Profile can be imported using any of these accepted formats:
```sh $ pulumi import fortios:filter/video/profile:Profile labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:filter/video/profile:Profile labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetProfile ¶
func GetProfile(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)
GetProfile gets an existing Profile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProfile ¶
func NewProfile(ctx *pulumi.Context, name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)
NewProfile registers a new resource with the given unique name, arguments, and options.
func (*Profile) ElementType ¶
func (*Profile) ToProfileOutput ¶
func (i *Profile) ToProfileOutput() ProfileOutput
func (*Profile) ToProfileOutputWithContext ¶
func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
type ProfileArgs ¶
type ProfileArgs struct { // Comment. Comment pulumi.StringPtrInput // Enable/disable Dailymotion video source. Valid values: `enable`, `disable`. Dailymotion pulumi.StringPtrInput // Video filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // YouTube filter entries. The structure of `filters` block is documented below. Filters ProfileFilterArrayInput // Configure FortiGuard categories. The structure of `fortiguardCategory` block is documented below. FortiguardCategory ProfileFortiguardCategoryPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Replacement message group. ReplacemsgGroup pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput // Enable/disable Vimeo video source. Valid values: `enable`, `disable`. Vimeo pulumi.StringPtrInput // Enable/disable YouTube video source. Valid values: `enable`, `disable`. Youtube pulumi.StringPtrInput // Set YouTube channel filter. YoutubeChannelFilter pulumi.IntPtrInput }
The set of arguments for constructing a Profile resource.
func (ProfileArgs) ElementType ¶
func (ProfileArgs) ElementType() reflect.Type
type ProfileArray ¶
type ProfileArray []ProfileInput
func (ProfileArray) ElementType ¶
func (ProfileArray) ElementType() reflect.Type
func (ProfileArray) ToProfileArrayOutput ¶
func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArray) ToProfileArrayOutputWithContext ¶
func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
type ProfileArrayInput ¶
type ProfileArrayInput interface { pulumi.Input ToProfileArrayOutput() ProfileArrayOutput ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput }
ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:
ProfileArray{ ProfileArgs{...} }
type ProfileArrayOutput ¶
type ProfileArrayOutput struct{ *pulumi.OutputState }
func (ProfileArrayOutput) ElementType ¶
func (ProfileArrayOutput) ElementType() reflect.Type
func (ProfileArrayOutput) Index ¶
func (o ProfileArrayOutput) Index(i pulumi.IntInput) ProfileOutput
func (ProfileArrayOutput) ToProfileArrayOutput ¶
func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArrayOutput) ToProfileArrayOutputWithContext ¶
func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
type ProfileFilter ¶
type ProfileFilter struct { // VideoFilter action. Valid values: `allow`, `monitor`, `block`. Action *string `pulumi:"action"` // FortiGuard category ID. Category *string `pulumi:"category"` // Channel ID. Channel *string `pulumi:"channel"` // Comment. Comment *string `pulumi:"comment"` // ID. Id *int `pulumi:"id"` // Video filter keyword ID. Keyword *int `pulumi:"keyword"` // Enable/disable logging. Valid values: `enable`, `disable`. Log *string `pulumi:"log"` // Filter type. Valid values: `category`, `channel`, `title`, `description`. Type *string `pulumi:"type"` }
type ProfileFilterArgs ¶
type ProfileFilterArgs struct { // VideoFilter action. Valid values: `allow`, `monitor`, `block`. Action pulumi.StringPtrInput `pulumi:"action"` // FortiGuard category ID. Category pulumi.StringPtrInput `pulumi:"category"` // Channel ID. Channel pulumi.StringPtrInput `pulumi:"channel"` // Comment. Comment pulumi.StringPtrInput `pulumi:"comment"` // ID. Id pulumi.IntPtrInput `pulumi:"id"` // Video filter keyword ID. Keyword pulumi.IntPtrInput `pulumi:"keyword"` // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput `pulumi:"log"` // Filter type. Valid values: `category`, `channel`, `title`, `description`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ProfileFilterArgs) ElementType ¶
func (ProfileFilterArgs) ElementType() reflect.Type
func (ProfileFilterArgs) ToProfileFilterOutput ¶
func (i ProfileFilterArgs) ToProfileFilterOutput() ProfileFilterOutput
func (ProfileFilterArgs) ToProfileFilterOutputWithContext ¶
func (i ProfileFilterArgs) ToProfileFilterOutputWithContext(ctx context.Context) ProfileFilterOutput
type ProfileFilterArray ¶
type ProfileFilterArray []ProfileFilterInput
func (ProfileFilterArray) ElementType ¶
func (ProfileFilterArray) ElementType() reflect.Type
func (ProfileFilterArray) ToProfileFilterArrayOutput ¶
func (i ProfileFilterArray) ToProfileFilterArrayOutput() ProfileFilterArrayOutput
func (ProfileFilterArray) ToProfileFilterArrayOutputWithContext ¶
func (i ProfileFilterArray) ToProfileFilterArrayOutputWithContext(ctx context.Context) ProfileFilterArrayOutput
type ProfileFilterArrayInput ¶
type ProfileFilterArrayInput interface { pulumi.Input ToProfileFilterArrayOutput() ProfileFilterArrayOutput ToProfileFilterArrayOutputWithContext(context.Context) ProfileFilterArrayOutput }
ProfileFilterArrayInput is an input type that accepts ProfileFilterArray and ProfileFilterArrayOutput values. You can construct a concrete instance of `ProfileFilterArrayInput` via:
ProfileFilterArray{ ProfileFilterArgs{...} }
type ProfileFilterArrayOutput ¶
type ProfileFilterArrayOutput struct{ *pulumi.OutputState }
func (ProfileFilterArrayOutput) ElementType ¶
func (ProfileFilterArrayOutput) ElementType() reflect.Type
func (ProfileFilterArrayOutput) Index ¶
func (o ProfileFilterArrayOutput) Index(i pulumi.IntInput) ProfileFilterOutput
func (ProfileFilterArrayOutput) ToProfileFilterArrayOutput ¶
func (o ProfileFilterArrayOutput) ToProfileFilterArrayOutput() ProfileFilterArrayOutput
func (ProfileFilterArrayOutput) ToProfileFilterArrayOutputWithContext ¶
func (o ProfileFilterArrayOutput) ToProfileFilterArrayOutputWithContext(ctx context.Context) ProfileFilterArrayOutput
type ProfileFilterInput ¶
type ProfileFilterInput interface { pulumi.Input ToProfileFilterOutput() ProfileFilterOutput ToProfileFilterOutputWithContext(context.Context) ProfileFilterOutput }
ProfileFilterInput is an input type that accepts ProfileFilterArgs and ProfileFilterOutput values. You can construct a concrete instance of `ProfileFilterInput` via:
ProfileFilterArgs{...}
type ProfileFilterOutput ¶
type ProfileFilterOutput struct{ *pulumi.OutputState }
func (ProfileFilterOutput) Action ¶
func (o ProfileFilterOutput) Action() pulumi.StringPtrOutput
VideoFilter action. Valid values: `allow`, `monitor`, `block`.
func (ProfileFilterOutput) Category ¶
func (o ProfileFilterOutput) Category() pulumi.StringPtrOutput
FortiGuard category ID.
func (ProfileFilterOutput) Channel ¶
func (o ProfileFilterOutput) Channel() pulumi.StringPtrOutput
Channel ID.
func (ProfileFilterOutput) Comment ¶
func (o ProfileFilterOutput) Comment() pulumi.StringPtrOutput
Comment.
func (ProfileFilterOutput) ElementType ¶
func (ProfileFilterOutput) ElementType() reflect.Type
func (ProfileFilterOutput) Keyword ¶
func (o ProfileFilterOutput) Keyword() pulumi.IntPtrOutput
Video filter keyword ID.
func (ProfileFilterOutput) Log ¶
func (o ProfileFilterOutput) Log() pulumi.StringPtrOutput
Enable/disable logging. Valid values: `enable`, `disable`.
func (ProfileFilterOutput) ToProfileFilterOutput ¶
func (o ProfileFilterOutput) ToProfileFilterOutput() ProfileFilterOutput
func (ProfileFilterOutput) ToProfileFilterOutputWithContext ¶
func (o ProfileFilterOutput) ToProfileFilterOutputWithContext(ctx context.Context) ProfileFilterOutput
func (ProfileFilterOutput) Type ¶
func (o ProfileFilterOutput) Type() pulumi.StringPtrOutput
Filter type. Valid values: `category`, `channel`, `title`, `description`.
type ProfileFortiguardCategory ¶
type ProfileFortiguardCategory struct { // Configure VideoFilter FortiGuard category. The structure of `filters` block is documented below. Filters []ProfileFortiguardCategoryFilter `pulumi:"filters"` }
type ProfileFortiguardCategoryArgs ¶
type ProfileFortiguardCategoryArgs struct { // Configure VideoFilter FortiGuard category. The structure of `filters` block is documented below. Filters ProfileFortiguardCategoryFilterArrayInput `pulumi:"filters"` }
func (ProfileFortiguardCategoryArgs) ElementType ¶
func (ProfileFortiguardCategoryArgs) ElementType() reflect.Type
func (ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutput ¶
func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutput() ProfileFortiguardCategoryOutput
func (ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutputWithContext ¶
func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryOutputWithContext(ctx context.Context) ProfileFortiguardCategoryOutput
func (ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutput ¶
func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
func (ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutputWithContext ¶
func (i ProfileFortiguardCategoryArgs) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
type ProfileFortiguardCategoryFilter ¶
type ProfileFortiguardCategoryFilter struct { // VideoFilter action. Valid values: `allow`, `monitor`, `block`. Action *string `pulumi:"action"` // Category ID. CategoryId *int `pulumi:"categoryId"` // ID. Id *int `pulumi:"id"` // Enable/disable logging. Valid values: `enable`, `disable`. Log *string `pulumi:"log"` }
type ProfileFortiguardCategoryFilterArgs ¶
type ProfileFortiguardCategoryFilterArgs struct { // VideoFilter action. Valid values: `allow`, `monitor`, `block`. Action pulumi.StringPtrInput `pulumi:"action"` // Category ID. CategoryId pulumi.IntPtrInput `pulumi:"categoryId"` // ID. Id pulumi.IntPtrInput `pulumi:"id"` // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput `pulumi:"log"` }
func (ProfileFortiguardCategoryFilterArgs) ElementType ¶
func (ProfileFortiguardCategoryFilterArgs) ElementType() reflect.Type
func (ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutput ¶
func (i ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutput() ProfileFortiguardCategoryFilterOutput
func (ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutputWithContext ¶
func (i ProfileFortiguardCategoryFilterArgs) ToProfileFortiguardCategoryFilterOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterOutput
type ProfileFortiguardCategoryFilterArray ¶
type ProfileFortiguardCategoryFilterArray []ProfileFortiguardCategoryFilterInput
func (ProfileFortiguardCategoryFilterArray) ElementType ¶
func (ProfileFortiguardCategoryFilterArray) ElementType() reflect.Type
func (ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutput ¶
func (i ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutput() ProfileFortiguardCategoryFilterArrayOutput
func (ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutputWithContext ¶
func (i ProfileFortiguardCategoryFilterArray) ToProfileFortiguardCategoryFilterArrayOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterArrayOutput
type ProfileFortiguardCategoryFilterArrayInput ¶
type ProfileFortiguardCategoryFilterArrayInput interface { pulumi.Input ToProfileFortiguardCategoryFilterArrayOutput() ProfileFortiguardCategoryFilterArrayOutput ToProfileFortiguardCategoryFilterArrayOutputWithContext(context.Context) ProfileFortiguardCategoryFilterArrayOutput }
ProfileFortiguardCategoryFilterArrayInput is an input type that accepts ProfileFortiguardCategoryFilterArray and ProfileFortiguardCategoryFilterArrayOutput values. You can construct a concrete instance of `ProfileFortiguardCategoryFilterArrayInput` via:
ProfileFortiguardCategoryFilterArray{ ProfileFortiguardCategoryFilterArgs{...} }
type ProfileFortiguardCategoryFilterArrayOutput ¶
type ProfileFortiguardCategoryFilterArrayOutput struct{ *pulumi.OutputState }
func (ProfileFortiguardCategoryFilterArrayOutput) ElementType ¶
func (ProfileFortiguardCategoryFilterArrayOutput) ElementType() reflect.Type
func (ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutput ¶
func (o ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutput() ProfileFortiguardCategoryFilterArrayOutput
func (ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutputWithContext ¶
func (o ProfileFortiguardCategoryFilterArrayOutput) ToProfileFortiguardCategoryFilterArrayOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterArrayOutput
type ProfileFortiguardCategoryFilterInput ¶
type ProfileFortiguardCategoryFilterInput interface { pulumi.Input ToProfileFortiguardCategoryFilterOutput() ProfileFortiguardCategoryFilterOutput ToProfileFortiguardCategoryFilterOutputWithContext(context.Context) ProfileFortiguardCategoryFilterOutput }
ProfileFortiguardCategoryFilterInput is an input type that accepts ProfileFortiguardCategoryFilterArgs and ProfileFortiguardCategoryFilterOutput values. You can construct a concrete instance of `ProfileFortiguardCategoryFilterInput` via:
ProfileFortiguardCategoryFilterArgs{...}
type ProfileFortiguardCategoryFilterOutput ¶
type ProfileFortiguardCategoryFilterOutput struct{ *pulumi.OutputState }
func (ProfileFortiguardCategoryFilterOutput) Action ¶
func (o ProfileFortiguardCategoryFilterOutput) Action() pulumi.StringPtrOutput
VideoFilter action. Valid values: `allow`, `monitor`, `block`.
func (ProfileFortiguardCategoryFilterOutput) CategoryId ¶
func (o ProfileFortiguardCategoryFilterOutput) CategoryId() pulumi.IntPtrOutput
Category ID.
func (ProfileFortiguardCategoryFilterOutput) ElementType ¶
func (ProfileFortiguardCategoryFilterOutput) ElementType() reflect.Type
func (ProfileFortiguardCategoryFilterOutput) Id ¶
func (o ProfileFortiguardCategoryFilterOutput) Id() pulumi.IntPtrOutput
ID.
func (ProfileFortiguardCategoryFilterOutput) Log ¶
func (o ProfileFortiguardCategoryFilterOutput) Log() pulumi.StringPtrOutput
Enable/disable logging. Valid values: `enable`, `disable`.
func (ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutput ¶
func (o ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutput() ProfileFortiguardCategoryFilterOutput
func (ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutputWithContext ¶
func (o ProfileFortiguardCategoryFilterOutput) ToProfileFortiguardCategoryFilterOutputWithContext(ctx context.Context) ProfileFortiguardCategoryFilterOutput
type ProfileFortiguardCategoryInput ¶
type ProfileFortiguardCategoryInput interface { pulumi.Input ToProfileFortiguardCategoryOutput() ProfileFortiguardCategoryOutput ToProfileFortiguardCategoryOutputWithContext(context.Context) ProfileFortiguardCategoryOutput }
ProfileFortiguardCategoryInput is an input type that accepts ProfileFortiguardCategoryArgs and ProfileFortiguardCategoryOutput values. You can construct a concrete instance of `ProfileFortiguardCategoryInput` via:
ProfileFortiguardCategoryArgs{...}
type ProfileFortiguardCategoryOutput ¶
type ProfileFortiguardCategoryOutput struct{ *pulumi.OutputState }
func (ProfileFortiguardCategoryOutput) ElementType ¶
func (ProfileFortiguardCategoryOutput) ElementType() reflect.Type
func (ProfileFortiguardCategoryOutput) Filters ¶
func (o ProfileFortiguardCategoryOutput) Filters() ProfileFortiguardCategoryFilterArrayOutput
Configure VideoFilter FortiGuard category. The structure of `filters` block is documented below.
func (ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutput ¶
func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutput() ProfileFortiguardCategoryOutput
func (ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutputWithContext ¶
func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryOutputWithContext(ctx context.Context) ProfileFortiguardCategoryOutput
func (ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutput ¶
func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
func (ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutputWithContext ¶
func (o ProfileFortiguardCategoryOutput) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
type ProfileFortiguardCategoryPtrInput ¶
type ProfileFortiguardCategoryPtrInput interface { pulumi.Input ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput ToProfileFortiguardCategoryPtrOutputWithContext(context.Context) ProfileFortiguardCategoryPtrOutput }
ProfileFortiguardCategoryPtrInput is an input type that accepts ProfileFortiguardCategoryArgs, ProfileFortiguardCategoryPtr and ProfileFortiguardCategoryPtrOutput values. You can construct a concrete instance of `ProfileFortiguardCategoryPtrInput` via:
ProfileFortiguardCategoryArgs{...} or: nil
func ProfileFortiguardCategoryPtr ¶
func ProfileFortiguardCategoryPtr(v *ProfileFortiguardCategoryArgs) ProfileFortiguardCategoryPtrInput
type ProfileFortiguardCategoryPtrOutput ¶
type ProfileFortiguardCategoryPtrOutput struct{ *pulumi.OutputState }
func (ProfileFortiguardCategoryPtrOutput) Elem ¶
func (o ProfileFortiguardCategoryPtrOutput) Elem() ProfileFortiguardCategoryOutput
func (ProfileFortiguardCategoryPtrOutput) ElementType ¶
func (ProfileFortiguardCategoryPtrOutput) ElementType() reflect.Type
func (ProfileFortiguardCategoryPtrOutput) Filters ¶
func (o ProfileFortiguardCategoryPtrOutput) Filters() ProfileFortiguardCategoryFilterArrayOutput
Configure VideoFilter FortiGuard category. The structure of `filters` block is documented below.
func (ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutput ¶
func (o ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutput() ProfileFortiguardCategoryPtrOutput
func (ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutputWithContext ¶
func (o ProfileFortiguardCategoryPtrOutput) ToProfileFortiguardCategoryPtrOutputWithContext(ctx context.Context) ProfileFortiguardCategoryPtrOutput
type ProfileInput ¶
type ProfileInput interface { pulumi.Input ToProfileOutput() ProfileOutput ToProfileOutputWithContext(ctx context.Context) ProfileOutput }
type ProfileMap ¶
type ProfileMap map[string]ProfileInput
func (ProfileMap) ElementType ¶
func (ProfileMap) ElementType() reflect.Type
func (ProfileMap) ToProfileMapOutput ¶
func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput
func (ProfileMap) ToProfileMapOutputWithContext ¶
func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
type ProfileMapInput ¶
type ProfileMapInput interface { pulumi.Input ToProfileMapOutput() ProfileMapOutput ToProfileMapOutputWithContext(context.Context) ProfileMapOutput }
ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:
ProfileMap{ "key": ProfileArgs{...} }
type ProfileMapOutput ¶
type ProfileMapOutput struct{ *pulumi.OutputState }
func (ProfileMapOutput) ElementType ¶
func (ProfileMapOutput) ElementType() reflect.Type
func (ProfileMapOutput) MapIndex ¶
func (o ProfileMapOutput) MapIndex(k pulumi.StringInput) ProfileOutput
func (ProfileMapOutput) ToProfileMapOutput ¶
func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput
func (ProfileMapOutput) ToProfileMapOutputWithContext ¶
func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
type ProfileOutput ¶
type ProfileOutput struct{ *pulumi.OutputState }
func (ProfileOutput) Dailymotion ¶
func (o ProfileOutput) Dailymotion() pulumi.StringOutput
Enable/disable Dailymotion video source. Valid values: `enable`, `disable`.
func (ProfileOutput) DefaultAction ¶
func (o ProfileOutput) DefaultAction() pulumi.StringOutput
Video filter default action. Valid values: `allow`, `monitor`, `block`.
func (ProfileOutput) DynamicSortSubtable ¶
func (o ProfileOutput) DynamicSortSubtable() pulumi.StringPtrOutput
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
func (ProfileOutput) ElementType ¶
func (ProfileOutput) ElementType() reflect.Type
func (ProfileOutput) Filters ¶
func (o ProfileOutput) Filters() ProfileFilterArrayOutput
YouTube filter entries. The structure of `filters` block is documented below.
func (ProfileOutput) FortiguardCategory ¶
func (o ProfileOutput) FortiguardCategory() ProfileFortiguardCategoryOutput
Configure FortiGuard categories. The structure of `fortiguardCategory` block is documented below.
func (ProfileOutput) GetAllTables ¶
func (o ProfileOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (ProfileOutput) Log ¶
func (o ProfileOutput) Log() pulumi.StringOutput
Enable/disable logging. Valid values: `enable`, `disable`.
func (ProfileOutput) ReplacemsgGroup ¶
func (o ProfileOutput) ReplacemsgGroup() pulumi.StringOutput
Replacement message group.
func (ProfileOutput) ToProfileOutput ¶
func (o ProfileOutput) ToProfileOutput() ProfileOutput
func (ProfileOutput) ToProfileOutputWithContext ¶
func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
func (ProfileOutput) Vdomparam ¶
func (o ProfileOutput) Vdomparam() pulumi.StringPtrOutput
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
func (ProfileOutput) Vimeo ¶
func (o ProfileOutput) Vimeo() pulumi.StringOutput
Enable/disable Vimeo video source. Valid values: `enable`, `disable`.
func (ProfileOutput) Youtube ¶
func (o ProfileOutput) Youtube() pulumi.StringOutput
Enable/disable YouTube video source. Valid values: `enable`, `disable`.
func (ProfileOutput) YoutubeChannelFilter ¶
func (o ProfileOutput) YoutubeChannelFilter() pulumi.IntOutput
Set YouTube channel filter.
type ProfileState ¶
type ProfileState struct { // Comment. Comment pulumi.StringPtrInput // Enable/disable Dailymotion video source. Valid values: `enable`, `disable`. Dailymotion pulumi.StringPtrInput // Video filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // YouTube filter entries. The structure of `filters` block is documented below. Filters ProfileFilterArrayInput // Configure FortiGuard categories. The structure of `fortiguardCategory` block is documented below. FortiguardCategory ProfileFortiguardCategoryPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Replacement message group. ReplacemsgGroup pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput // Enable/disable Vimeo video source. Valid values: `enable`, `disable`. Vimeo pulumi.StringPtrInput // Enable/disable YouTube video source. Valid values: `enable`, `disable`. Youtube pulumi.StringPtrInput // Set YouTube channel filter. YoutubeChannelFilter pulumi.IntPtrInput }
func (ProfileState) ElementType ¶
func (ProfileState) ElementType() reflect.Type
type Youtubechannelfilter ¶
type Youtubechannelfilter struct { pulumi.CustomResourceState // Comment. Comment pulumi.StringPtrOutput `pulumi:"comment"` // YouTube channel filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringOutput `pulumi:"defaultAction"` // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // YouTube filter entries. The structure of `entries` block is documented below. Entries YoutubechannelfilterEntryArrayOutput `pulumi:"entries"` // ID. Fosid pulumi.IntOutput `pulumi:"fosid"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Eanble/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringOutput `pulumi:"log"` // Name. Name pulumi.StringOutput `pulumi:"name"` // Enable/disable overriding category filtering result. Valid values: `enable`, `disable`. OverrideCategory pulumi.StringOutput `pulumi:"overrideCategory"` // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"` }
Configure YouTube channel filter. Applies to FortiOS Version `7.0.1,7.0.2,7.0.3,7.0.4,7.0.5,7.0.6,7.0.7,7.0.8,7.0.9,7.0.10,7.0.11,7.0.12,7.0.13,7.2.0,7.2.1,7.2.2,7.2.3,7.2.4,7.2.6,7.4.0,7.4.1`.
## Import
Videofilter YoutubeChannelFilter can be imported using any of these accepted formats:
```sh $ pulumi import fortios:filter/video/youtubechannelfilter:Youtubechannelfilter labelname {{fosid}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:filter/video/youtubechannelfilter:Youtubechannelfilter labelname {{fosid}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetYoutubechannelfilter ¶
func GetYoutubechannelfilter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *YoutubechannelfilterState, opts ...pulumi.ResourceOption) (*Youtubechannelfilter, error)
GetYoutubechannelfilter gets an existing Youtubechannelfilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewYoutubechannelfilter ¶
func NewYoutubechannelfilter(ctx *pulumi.Context, name string, args *YoutubechannelfilterArgs, opts ...pulumi.ResourceOption) (*Youtubechannelfilter, error)
NewYoutubechannelfilter registers a new resource with the given unique name, arguments, and options.
func (*Youtubechannelfilter) ElementType ¶
func (*Youtubechannelfilter) ElementType() reflect.Type
func (*Youtubechannelfilter) ToYoutubechannelfilterOutput ¶
func (i *Youtubechannelfilter) ToYoutubechannelfilterOutput() YoutubechannelfilterOutput
func (*Youtubechannelfilter) ToYoutubechannelfilterOutputWithContext ¶
func (i *Youtubechannelfilter) ToYoutubechannelfilterOutputWithContext(ctx context.Context) YoutubechannelfilterOutput
type YoutubechannelfilterArgs ¶
type YoutubechannelfilterArgs struct { // Comment. Comment pulumi.StringPtrInput // YouTube channel filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // YouTube filter entries. The structure of `entries` block is documented below. Entries YoutubechannelfilterEntryArrayInput // ID. Fosid pulumi.IntPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Eanble/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Enable/disable overriding category filtering result. Valid values: `enable`, `disable`. OverrideCategory pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput }
The set of arguments for constructing a Youtubechannelfilter resource.
func (YoutubechannelfilterArgs) ElementType ¶
func (YoutubechannelfilterArgs) ElementType() reflect.Type
type YoutubechannelfilterArray ¶
type YoutubechannelfilterArray []YoutubechannelfilterInput
func (YoutubechannelfilterArray) ElementType ¶
func (YoutubechannelfilterArray) ElementType() reflect.Type
func (YoutubechannelfilterArray) ToYoutubechannelfilterArrayOutput ¶
func (i YoutubechannelfilterArray) ToYoutubechannelfilterArrayOutput() YoutubechannelfilterArrayOutput
func (YoutubechannelfilterArray) ToYoutubechannelfilterArrayOutputWithContext ¶
func (i YoutubechannelfilterArray) ToYoutubechannelfilterArrayOutputWithContext(ctx context.Context) YoutubechannelfilterArrayOutput
type YoutubechannelfilterArrayInput ¶
type YoutubechannelfilterArrayInput interface { pulumi.Input ToYoutubechannelfilterArrayOutput() YoutubechannelfilterArrayOutput ToYoutubechannelfilterArrayOutputWithContext(context.Context) YoutubechannelfilterArrayOutput }
YoutubechannelfilterArrayInput is an input type that accepts YoutubechannelfilterArray and YoutubechannelfilterArrayOutput values. You can construct a concrete instance of `YoutubechannelfilterArrayInput` via:
YoutubechannelfilterArray{ YoutubechannelfilterArgs{...} }
type YoutubechannelfilterArrayOutput ¶
type YoutubechannelfilterArrayOutput struct{ *pulumi.OutputState }
func (YoutubechannelfilterArrayOutput) ElementType ¶
func (YoutubechannelfilterArrayOutput) ElementType() reflect.Type
func (YoutubechannelfilterArrayOutput) Index ¶
func (o YoutubechannelfilterArrayOutput) Index(i pulumi.IntInput) YoutubechannelfilterOutput
func (YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutput ¶
func (o YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutput() YoutubechannelfilterArrayOutput
func (YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutputWithContext ¶
func (o YoutubechannelfilterArrayOutput) ToYoutubechannelfilterArrayOutputWithContext(ctx context.Context) YoutubechannelfilterArrayOutput
type YoutubechannelfilterEntryArgs ¶
type YoutubechannelfilterEntryArgs struct { // YouTube channel filter action. Valid values: `allow`, `monitor`, `block`. Action pulumi.StringPtrInput `pulumi:"action"` // Channel ID. ChannelId pulumi.StringPtrInput `pulumi:"channelId"` // Comment. Comment pulumi.StringPtrInput `pulumi:"comment"` // ID. Id pulumi.IntPtrInput `pulumi:"id"` }
func (YoutubechannelfilterEntryArgs) ElementType ¶
func (YoutubechannelfilterEntryArgs) ElementType() reflect.Type
func (YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutput ¶
func (i YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutput() YoutubechannelfilterEntryOutput
func (YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutputWithContext ¶
func (i YoutubechannelfilterEntryArgs) ToYoutubechannelfilterEntryOutputWithContext(ctx context.Context) YoutubechannelfilterEntryOutput
type YoutubechannelfilterEntryArray ¶
type YoutubechannelfilterEntryArray []YoutubechannelfilterEntryInput
func (YoutubechannelfilterEntryArray) ElementType ¶
func (YoutubechannelfilterEntryArray) ElementType() reflect.Type
func (YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutput ¶
func (i YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutput() YoutubechannelfilterEntryArrayOutput
func (YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutputWithContext ¶
func (i YoutubechannelfilterEntryArray) ToYoutubechannelfilterEntryArrayOutputWithContext(ctx context.Context) YoutubechannelfilterEntryArrayOutput
type YoutubechannelfilterEntryArrayInput ¶
type YoutubechannelfilterEntryArrayInput interface { pulumi.Input ToYoutubechannelfilterEntryArrayOutput() YoutubechannelfilterEntryArrayOutput ToYoutubechannelfilterEntryArrayOutputWithContext(context.Context) YoutubechannelfilterEntryArrayOutput }
YoutubechannelfilterEntryArrayInput is an input type that accepts YoutubechannelfilterEntryArray and YoutubechannelfilterEntryArrayOutput values. You can construct a concrete instance of `YoutubechannelfilterEntryArrayInput` via:
YoutubechannelfilterEntryArray{ YoutubechannelfilterEntryArgs{...} }
type YoutubechannelfilterEntryArrayOutput ¶
type YoutubechannelfilterEntryArrayOutput struct{ *pulumi.OutputState }
func (YoutubechannelfilterEntryArrayOutput) ElementType ¶
func (YoutubechannelfilterEntryArrayOutput) ElementType() reflect.Type
func (YoutubechannelfilterEntryArrayOutput) Index ¶
func (o YoutubechannelfilterEntryArrayOutput) Index(i pulumi.IntInput) YoutubechannelfilterEntryOutput
func (YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutput ¶
func (o YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutput() YoutubechannelfilterEntryArrayOutput
func (YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutputWithContext ¶
func (o YoutubechannelfilterEntryArrayOutput) ToYoutubechannelfilterEntryArrayOutputWithContext(ctx context.Context) YoutubechannelfilterEntryArrayOutput
type YoutubechannelfilterEntryInput ¶
type YoutubechannelfilterEntryInput interface { pulumi.Input ToYoutubechannelfilterEntryOutput() YoutubechannelfilterEntryOutput ToYoutubechannelfilterEntryOutputWithContext(context.Context) YoutubechannelfilterEntryOutput }
YoutubechannelfilterEntryInput is an input type that accepts YoutubechannelfilterEntryArgs and YoutubechannelfilterEntryOutput values. You can construct a concrete instance of `YoutubechannelfilterEntryInput` via:
YoutubechannelfilterEntryArgs{...}
type YoutubechannelfilterEntryOutput ¶
type YoutubechannelfilterEntryOutput struct{ *pulumi.OutputState }
func (YoutubechannelfilterEntryOutput) Action ¶
func (o YoutubechannelfilterEntryOutput) Action() pulumi.StringPtrOutput
YouTube channel filter action. Valid values: `allow`, `monitor`, `block`.
func (YoutubechannelfilterEntryOutput) ChannelId ¶
func (o YoutubechannelfilterEntryOutput) ChannelId() pulumi.StringPtrOutput
Channel ID.
func (YoutubechannelfilterEntryOutput) Comment ¶
func (o YoutubechannelfilterEntryOutput) Comment() pulumi.StringPtrOutput
Comment.
func (YoutubechannelfilterEntryOutput) ElementType ¶
func (YoutubechannelfilterEntryOutput) ElementType() reflect.Type
func (YoutubechannelfilterEntryOutput) Id ¶
func (o YoutubechannelfilterEntryOutput) Id() pulumi.IntPtrOutput
ID.
func (YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutput ¶
func (o YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutput() YoutubechannelfilterEntryOutput
func (YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutputWithContext ¶
func (o YoutubechannelfilterEntryOutput) ToYoutubechannelfilterEntryOutputWithContext(ctx context.Context) YoutubechannelfilterEntryOutput
type YoutubechannelfilterInput ¶
type YoutubechannelfilterInput interface { pulumi.Input ToYoutubechannelfilterOutput() YoutubechannelfilterOutput ToYoutubechannelfilterOutputWithContext(ctx context.Context) YoutubechannelfilterOutput }
type YoutubechannelfilterMap ¶
type YoutubechannelfilterMap map[string]YoutubechannelfilterInput
func (YoutubechannelfilterMap) ElementType ¶
func (YoutubechannelfilterMap) ElementType() reflect.Type
func (YoutubechannelfilterMap) ToYoutubechannelfilterMapOutput ¶
func (i YoutubechannelfilterMap) ToYoutubechannelfilterMapOutput() YoutubechannelfilterMapOutput
func (YoutubechannelfilterMap) ToYoutubechannelfilterMapOutputWithContext ¶
func (i YoutubechannelfilterMap) ToYoutubechannelfilterMapOutputWithContext(ctx context.Context) YoutubechannelfilterMapOutput
type YoutubechannelfilterMapInput ¶
type YoutubechannelfilterMapInput interface { pulumi.Input ToYoutubechannelfilterMapOutput() YoutubechannelfilterMapOutput ToYoutubechannelfilterMapOutputWithContext(context.Context) YoutubechannelfilterMapOutput }
YoutubechannelfilterMapInput is an input type that accepts YoutubechannelfilterMap and YoutubechannelfilterMapOutput values. You can construct a concrete instance of `YoutubechannelfilterMapInput` via:
YoutubechannelfilterMap{ "key": YoutubechannelfilterArgs{...} }
type YoutubechannelfilterMapOutput ¶
type YoutubechannelfilterMapOutput struct{ *pulumi.OutputState }
func (YoutubechannelfilterMapOutput) ElementType ¶
func (YoutubechannelfilterMapOutput) ElementType() reflect.Type
func (YoutubechannelfilterMapOutput) MapIndex ¶
func (o YoutubechannelfilterMapOutput) MapIndex(k pulumi.StringInput) YoutubechannelfilterOutput
func (YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutput ¶
func (o YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutput() YoutubechannelfilterMapOutput
func (YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutputWithContext ¶
func (o YoutubechannelfilterMapOutput) ToYoutubechannelfilterMapOutputWithContext(ctx context.Context) YoutubechannelfilterMapOutput
type YoutubechannelfilterOutput ¶
type YoutubechannelfilterOutput struct{ *pulumi.OutputState }
func (YoutubechannelfilterOutput) Comment ¶
func (o YoutubechannelfilterOutput) Comment() pulumi.StringPtrOutput
Comment.
func (YoutubechannelfilterOutput) DefaultAction ¶
func (o YoutubechannelfilterOutput) DefaultAction() pulumi.StringOutput
YouTube channel filter default action. Valid values: `allow`, `monitor`, `block`.
func (YoutubechannelfilterOutput) DynamicSortSubtable ¶
func (o YoutubechannelfilterOutput) DynamicSortSubtable() pulumi.StringPtrOutput
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
func (YoutubechannelfilterOutput) ElementType ¶
func (YoutubechannelfilterOutput) ElementType() reflect.Type
func (YoutubechannelfilterOutput) Entries ¶
func (o YoutubechannelfilterOutput) Entries() YoutubechannelfilterEntryArrayOutput
YouTube filter entries. The structure of `entries` block is documented below.
func (YoutubechannelfilterOutput) Fosid ¶
func (o YoutubechannelfilterOutput) Fosid() pulumi.IntOutput
ID.
func (YoutubechannelfilterOutput) GetAllTables ¶
func (o YoutubechannelfilterOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (YoutubechannelfilterOutput) Log ¶
func (o YoutubechannelfilterOutput) Log() pulumi.StringOutput
Eanble/disable logging. Valid values: `enable`, `disable`.
func (YoutubechannelfilterOutput) Name ¶
func (o YoutubechannelfilterOutput) Name() pulumi.StringOutput
Name.
func (YoutubechannelfilterOutput) OverrideCategory ¶
func (o YoutubechannelfilterOutput) OverrideCategory() pulumi.StringOutput
Enable/disable overriding category filtering result. Valid values: `enable`, `disable`.
func (YoutubechannelfilterOutput) ToYoutubechannelfilterOutput ¶
func (o YoutubechannelfilterOutput) ToYoutubechannelfilterOutput() YoutubechannelfilterOutput
func (YoutubechannelfilterOutput) ToYoutubechannelfilterOutputWithContext ¶
func (o YoutubechannelfilterOutput) ToYoutubechannelfilterOutputWithContext(ctx context.Context) YoutubechannelfilterOutput
func (YoutubechannelfilterOutput) Vdomparam ¶
func (o YoutubechannelfilterOutput) Vdomparam() pulumi.StringPtrOutput
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
type YoutubechannelfilterState ¶
type YoutubechannelfilterState struct { // Comment. Comment pulumi.StringPtrInput // YouTube channel filter default action. Valid values: `allow`, `monitor`, `block`. DefaultAction pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // YouTube filter entries. The structure of `entries` block is documented below. Entries YoutubechannelfilterEntryArrayInput // ID. Fosid pulumi.IntPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Eanble/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput // Name. Name pulumi.StringPtrInput // Enable/disable overriding category filtering result. Valid values: `enable`, `disable`. OverrideCategory pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput }
func (YoutubechannelfilterState) ElementType ¶
func (YoutubechannelfilterState) ElementType() reflect.Type
type Youtubekey ¶
type Youtubekey struct { pulumi.CustomResourceState // ID. Fosid pulumi.IntOutput `pulumi:"fosid"` // Key. Key pulumi.StringOutput `pulumi:"key"` // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"` }
Configure YouTube API keys. Applies to FortiOS Version `>= 7.0.1`.
## Import
Videofilter YoutubeKey can be imported using any of these accepted formats:
```sh $ pulumi import fortios:filter/video/youtubekey:Youtubekey labelname {{fosid}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:filter/video/youtubekey:Youtubekey labelname {{fosid}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetYoutubekey ¶
func GetYoutubekey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *YoutubekeyState, opts ...pulumi.ResourceOption) (*Youtubekey, error)
GetYoutubekey gets an existing Youtubekey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewYoutubekey ¶
func NewYoutubekey(ctx *pulumi.Context, name string, args *YoutubekeyArgs, opts ...pulumi.ResourceOption) (*Youtubekey, error)
NewYoutubekey registers a new resource with the given unique name, arguments, and options.
func (*Youtubekey) ElementType ¶
func (*Youtubekey) ElementType() reflect.Type
func (*Youtubekey) ToYoutubekeyOutput ¶
func (i *Youtubekey) ToYoutubekeyOutput() YoutubekeyOutput
func (*Youtubekey) ToYoutubekeyOutputWithContext ¶
func (i *Youtubekey) ToYoutubekeyOutputWithContext(ctx context.Context) YoutubekeyOutput
type YoutubekeyArgs ¶
type YoutubekeyArgs struct { // ID. Fosid pulumi.IntPtrInput // Key. Key pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput }
The set of arguments for constructing a Youtubekey resource.
func (YoutubekeyArgs) ElementType ¶
func (YoutubekeyArgs) ElementType() reflect.Type
type YoutubekeyArray ¶
type YoutubekeyArray []YoutubekeyInput
func (YoutubekeyArray) ElementType ¶
func (YoutubekeyArray) ElementType() reflect.Type
func (YoutubekeyArray) ToYoutubekeyArrayOutput ¶
func (i YoutubekeyArray) ToYoutubekeyArrayOutput() YoutubekeyArrayOutput
func (YoutubekeyArray) ToYoutubekeyArrayOutputWithContext ¶
func (i YoutubekeyArray) ToYoutubekeyArrayOutputWithContext(ctx context.Context) YoutubekeyArrayOutput
type YoutubekeyArrayInput ¶
type YoutubekeyArrayInput interface { pulumi.Input ToYoutubekeyArrayOutput() YoutubekeyArrayOutput ToYoutubekeyArrayOutputWithContext(context.Context) YoutubekeyArrayOutput }
YoutubekeyArrayInput is an input type that accepts YoutubekeyArray and YoutubekeyArrayOutput values. You can construct a concrete instance of `YoutubekeyArrayInput` via:
YoutubekeyArray{ YoutubekeyArgs{...} }
type YoutubekeyArrayOutput ¶
type YoutubekeyArrayOutput struct{ *pulumi.OutputState }
func (YoutubekeyArrayOutput) ElementType ¶
func (YoutubekeyArrayOutput) ElementType() reflect.Type
func (YoutubekeyArrayOutput) Index ¶
func (o YoutubekeyArrayOutput) Index(i pulumi.IntInput) YoutubekeyOutput
func (YoutubekeyArrayOutput) ToYoutubekeyArrayOutput ¶
func (o YoutubekeyArrayOutput) ToYoutubekeyArrayOutput() YoutubekeyArrayOutput
func (YoutubekeyArrayOutput) ToYoutubekeyArrayOutputWithContext ¶
func (o YoutubekeyArrayOutput) ToYoutubekeyArrayOutputWithContext(ctx context.Context) YoutubekeyArrayOutput
type YoutubekeyInput ¶
type YoutubekeyInput interface { pulumi.Input ToYoutubekeyOutput() YoutubekeyOutput ToYoutubekeyOutputWithContext(ctx context.Context) YoutubekeyOutput }
type YoutubekeyMap ¶
type YoutubekeyMap map[string]YoutubekeyInput
func (YoutubekeyMap) ElementType ¶
func (YoutubekeyMap) ElementType() reflect.Type
func (YoutubekeyMap) ToYoutubekeyMapOutput ¶
func (i YoutubekeyMap) ToYoutubekeyMapOutput() YoutubekeyMapOutput
func (YoutubekeyMap) ToYoutubekeyMapOutputWithContext ¶
func (i YoutubekeyMap) ToYoutubekeyMapOutputWithContext(ctx context.Context) YoutubekeyMapOutput
type YoutubekeyMapInput ¶
type YoutubekeyMapInput interface { pulumi.Input ToYoutubekeyMapOutput() YoutubekeyMapOutput ToYoutubekeyMapOutputWithContext(context.Context) YoutubekeyMapOutput }
YoutubekeyMapInput is an input type that accepts YoutubekeyMap and YoutubekeyMapOutput values. You can construct a concrete instance of `YoutubekeyMapInput` via:
YoutubekeyMap{ "key": YoutubekeyArgs{...} }
type YoutubekeyMapOutput ¶
type YoutubekeyMapOutput struct{ *pulumi.OutputState }
func (YoutubekeyMapOutput) ElementType ¶
func (YoutubekeyMapOutput) ElementType() reflect.Type
func (YoutubekeyMapOutput) MapIndex ¶
func (o YoutubekeyMapOutput) MapIndex(k pulumi.StringInput) YoutubekeyOutput
func (YoutubekeyMapOutput) ToYoutubekeyMapOutput ¶
func (o YoutubekeyMapOutput) ToYoutubekeyMapOutput() YoutubekeyMapOutput
func (YoutubekeyMapOutput) ToYoutubekeyMapOutputWithContext ¶
func (o YoutubekeyMapOutput) ToYoutubekeyMapOutputWithContext(ctx context.Context) YoutubekeyMapOutput
type YoutubekeyOutput ¶
type YoutubekeyOutput struct{ *pulumi.OutputState }
func (YoutubekeyOutput) ElementType ¶
func (YoutubekeyOutput) ElementType() reflect.Type
func (YoutubekeyOutput) ToYoutubekeyOutput ¶
func (o YoutubekeyOutput) ToYoutubekeyOutput() YoutubekeyOutput
func (YoutubekeyOutput) ToYoutubekeyOutputWithContext ¶
func (o YoutubekeyOutput) ToYoutubekeyOutputWithContext(ctx context.Context) YoutubekeyOutput
func (YoutubekeyOutput) Vdomparam ¶
func (o YoutubekeyOutput) Vdomparam() pulumi.StringPtrOutput
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
type YoutubekeyState ¶
type YoutubekeyState struct { // ID. Fosid pulumi.IntPtrInput // Key. Key pulumi.StringPtrInput // Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. Vdomparam pulumi.StringPtrInput }
func (YoutubekeyState) ElementType ¶
func (YoutubekeyState) ElementType() reflect.Type