Documentation ¶
Index ¶
- type Profile
- type ProfileArgs
- type ProfileArray
- type ProfileArrayInput
- type ProfileArrayOutput
- type ProfileFileFilter
- type ProfileFileFilterArgs
- func (ProfileFileFilterArgs) ElementType() reflect.Type
- func (i ProfileFileFilterArgs) ToProfileFileFilterOutput() ProfileFileFilterOutput
- func (i ProfileFileFilterArgs) ToProfileFileFilterOutputWithContext(ctx context.Context) ProfileFileFilterOutput
- func (i ProfileFileFilterArgs) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
- func (i ProfileFileFilterArgs) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
- type ProfileFileFilterEntry
- type ProfileFileFilterEntryArgs
- type ProfileFileFilterEntryArray
- func (ProfileFileFilterEntryArray) ElementType() reflect.Type
- func (i ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutput() ProfileFileFilterEntryArrayOutput
- func (i ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryArrayOutput
- type ProfileFileFilterEntryArrayInput
- type ProfileFileFilterEntryArrayOutput
- func (ProfileFileFilterEntryArrayOutput) ElementType() reflect.Type
- func (o ProfileFileFilterEntryArrayOutput) Index(i pulumi.IntInput) ProfileFileFilterEntryOutput
- func (o ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutput() ProfileFileFilterEntryArrayOutput
- func (o ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryArrayOutput
- type ProfileFileFilterEntryFileType
- type ProfileFileFilterEntryFileTypeArgs
- func (ProfileFileFilterEntryFileTypeArgs) ElementType() reflect.Type
- func (i ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutput() ProfileFileFilterEntryFileTypeOutput
- func (i ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeOutput
- type ProfileFileFilterEntryFileTypeArray
- func (ProfileFileFilterEntryFileTypeArray) ElementType() reflect.Type
- func (i ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutput() ProfileFileFilterEntryFileTypeArrayOutput
- func (i ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeArrayOutput
- type ProfileFileFilterEntryFileTypeArrayInput
- type ProfileFileFilterEntryFileTypeArrayOutput
- func (ProfileFileFilterEntryFileTypeArrayOutput) ElementType() reflect.Type
- func (o ProfileFileFilterEntryFileTypeArrayOutput) Index(i pulumi.IntInput) ProfileFileFilterEntryFileTypeOutput
- func (o ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutput() ProfileFileFilterEntryFileTypeArrayOutput
- func (o ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeArrayOutput
- type ProfileFileFilterEntryFileTypeInput
- type ProfileFileFilterEntryFileTypeOutput
- func (ProfileFileFilterEntryFileTypeOutput) ElementType() reflect.Type
- func (o ProfileFileFilterEntryFileTypeOutput) Name() pulumi.StringPtrOutput
- func (o ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutput() ProfileFileFilterEntryFileTypeOutput
- func (o ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeOutput
- type ProfileFileFilterEntryInput
- type ProfileFileFilterEntryOutput
- func (o ProfileFileFilterEntryOutput) Action() pulumi.StringPtrOutput
- func (o ProfileFileFilterEntryOutput) Comment() pulumi.StringPtrOutput
- func (o ProfileFileFilterEntryOutput) Direction() pulumi.StringPtrOutput
- func (ProfileFileFilterEntryOutput) ElementType() reflect.Type
- func (o ProfileFileFilterEntryOutput) FileTypes() ProfileFileFilterEntryFileTypeArrayOutput
- func (o ProfileFileFilterEntryOutput) Filter() pulumi.StringPtrOutput
- func (o ProfileFileFilterEntryOutput) PasswordProtected() pulumi.StringPtrOutput
- func (o ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutput() ProfileFileFilterEntryOutput
- func (o ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutputWithContext(ctx context.Context) ProfileFileFilterEntryOutput
- type ProfileFileFilterInput
- type ProfileFileFilterOutput
- func (ProfileFileFilterOutput) ElementType() reflect.Type
- func (o ProfileFileFilterOutput) Entries() ProfileFileFilterEntryArrayOutput
- func (o ProfileFileFilterOutput) Log() pulumi.StringPtrOutput
- func (o ProfileFileFilterOutput) ScanArchiveContents() pulumi.StringPtrOutput
- func (o ProfileFileFilterOutput) Status() pulumi.StringPtrOutput
- func (o ProfileFileFilterOutput) ToProfileFileFilterOutput() ProfileFileFilterOutput
- func (o ProfileFileFilterOutput) ToProfileFileFilterOutputWithContext(ctx context.Context) ProfileFileFilterOutput
- func (o ProfileFileFilterOutput) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
- func (o ProfileFileFilterOutput) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
- type ProfileFileFilterPtrInput
- type ProfileFileFilterPtrOutput
- func (o ProfileFileFilterPtrOutput) Elem() ProfileFileFilterOutput
- func (ProfileFileFilterPtrOutput) ElementType() reflect.Type
- func (o ProfileFileFilterPtrOutput) Entries() ProfileFileFilterEntryArrayOutput
- func (o ProfileFileFilterPtrOutput) Log() pulumi.StringPtrOutput
- func (o ProfileFileFilterPtrOutput) ScanArchiveContents() pulumi.StringPtrOutput
- func (o ProfileFileFilterPtrOutput) Status() pulumi.StringPtrOutput
- func (o ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
- func (o ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
- type ProfileInput
- type ProfileMap
- type ProfileMapInput
- type ProfileMapOutput
- type ProfileOutput
- func (o ProfileOutput) Block() pulumi.StringOutput
- func (o ProfileOutput) DefaultCommandLog() pulumi.StringOutput
- func (o ProfileOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (ProfileOutput) ElementType() reflect.Type
- func (o ProfileOutput) FileFilter() ProfileFileFilterOutput
- func (o ProfileOutput) GetAllTables() pulumi.StringPtrOutput
- func (o ProfileOutput) Log() pulumi.StringOutput
- func (o ProfileOutput) Name() pulumi.StringOutput
- func (o ProfileOutput) ShellCommands() ProfileShellCommandArrayOutput
- func (o ProfileOutput) ToProfileOutput() ProfileOutput
- func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
- func (o ProfileOutput) Vdomparam() pulumi.StringPtrOutput
- type ProfileShellCommand
- type ProfileShellCommandArgs
- type ProfileShellCommandArray
- type ProfileShellCommandArrayInput
- type ProfileShellCommandArrayOutput
- func (ProfileShellCommandArrayOutput) ElementType() reflect.Type
- func (o ProfileShellCommandArrayOutput) Index(i pulumi.IntInput) ProfileShellCommandOutput
- func (o ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutput() ProfileShellCommandArrayOutput
- func (o ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutputWithContext(ctx context.Context) ProfileShellCommandArrayOutput
- type ProfileShellCommandInput
- type ProfileShellCommandOutput
- func (o ProfileShellCommandOutput) Action() pulumi.StringPtrOutput
- func (o ProfileShellCommandOutput) Alert() pulumi.StringPtrOutput
- func (ProfileShellCommandOutput) ElementType() reflect.Type
- func (o ProfileShellCommandOutput) Id() pulumi.IntPtrOutput
- func (o ProfileShellCommandOutput) Log() pulumi.StringPtrOutput
- func (o ProfileShellCommandOutput) Pattern() pulumi.StringPtrOutput
- func (o ProfileShellCommandOutput) Severity() pulumi.StringPtrOutput
- func (o ProfileShellCommandOutput) ToProfileShellCommandOutput() ProfileShellCommandOutput
- func (o ProfileShellCommandOutput) ToProfileShellCommandOutputWithContext(ctx context.Context) ProfileShellCommandOutput
- func (o ProfileShellCommandOutput) Type() pulumi.StringPtrOutput
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { pulumi.CustomResourceState // SSH blocking options. Block pulumi.StringOutput `pulumi:"block"` // Enable/disable logging unmatched shell commands. Valid values: `enable`, `disable`. DefaultCommandLog pulumi.StringOutput `pulumi:"defaultCommandLog"` // 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"` // File filter. The structure of `fileFilter` block is documented below. FileFilter ProfileFileFilterOutput `pulumi:"fileFilter"` // 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"` // SSH logging options. Log pulumi.StringOutput `pulumi:"log"` // SSH filter profile name. Name pulumi.StringOutput `pulumi:"name"` // SSH command filter. The structure of `shellCommands` block is documented below. ShellCommands ProfileShellCommandArrayOutput `pulumi:"shellCommands"` // 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"` }
SSH filter profile.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/filter"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := filter.NewProfile(ctx, "trname", &filter.ProfileArgs{ Block: pulumi.String("x11"), DefaultCommandLog: pulumi.String("enable"), Log: pulumi.String("x11"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
SshFilter Profile can be imported using any of these accepted formats:
```sh $ pulumi import fortios:filter/ssh/profile:Profile labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:filter/ssh/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 { // SSH blocking options. Block pulumi.StringPtrInput // Enable/disable logging unmatched shell commands. Valid values: `enable`, `disable`. DefaultCommandLog 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 // File filter. The structure of `fileFilter` block is documented below. FileFilter ProfileFileFilterPtrInput // 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 // SSH logging options. Log pulumi.StringPtrInput // SSH filter profile name. Name pulumi.StringPtrInput // SSH command filter. The structure of `shellCommands` block is documented below. ShellCommands ProfileShellCommandArrayInput // 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 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 ProfileFileFilter ¶
type ProfileFileFilter struct { // File filter entries. The structure of `entries` block is documented below. Entries []ProfileFileFilterEntry `pulumi:"entries"` // Enable/disable file filter logging. Valid values: `enable`, `disable`. Log *string `pulumi:"log"` // Enable/disable file filter archive contents scan. Valid values: `enable`, `disable`. ScanArchiveContents *string `pulumi:"scanArchiveContents"` // Enable/disable file filter. Valid values: `enable`, `disable`. Status *string `pulumi:"status"` }
type ProfileFileFilterArgs ¶
type ProfileFileFilterArgs struct { // File filter entries. The structure of `entries` block is documented below. Entries ProfileFileFilterEntryArrayInput `pulumi:"entries"` // Enable/disable file filter logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput `pulumi:"log"` // Enable/disable file filter archive contents scan. Valid values: `enable`, `disable`. ScanArchiveContents pulumi.StringPtrInput `pulumi:"scanArchiveContents"` // Enable/disable file filter. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput `pulumi:"status"` }
func (ProfileFileFilterArgs) ElementType ¶
func (ProfileFileFilterArgs) ElementType() reflect.Type
func (ProfileFileFilterArgs) ToProfileFileFilterOutput ¶
func (i ProfileFileFilterArgs) ToProfileFileFilterOutput() ProfileFileFilterOutput
func (ProfileFileFilterArgs) ToProfileFileFilterOutputWithContext ¶
func (i ProfileFileFilterArgs) ToProfileFileFilterOutputWithContext(ctx context.Context) ProfileFileFilterOutput
func (ProfileFileFilterArgs) ToProfileFileFilterPtrOutput ¶
func (i ProfileFileFilterArgs) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
func (ProfileFileFilterArgs) ToProfileFileFilterPtrOutputWithContext ¶
func (i ProfileFileFilterArgs) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
type ProfileFileFilterEntry ¶
type ProfileFileFilterEntry struct { // Action taken for matched file. Valid values: `log`, `block`. Action *string `pulumi:"action"` // Comment. Comment *string `pulumi:"comment"` // Match files transmitted in the session's originating or reply direction. Valid values: `incoming`, `outgoing`, `any`. Direction *string `pulumi:"direction"` // Select file type. The structure of `fileType` block is documented below. FileTypes []ProfileFileFilterEntryFileType `pulumi:"fileTypes"` // Add a file filter. Filter *string `pulumi:"filter"` // Match password-protected files. Valid values: `yes`, `any`. PasswordProtected *string `pulumi:"passwordProtected"` }
type ProfileFileFilterEntryArgs ¶
type ProfileFileFilterEntryArgs struct { // Action taken for matched file. Valid values: `log`, `block`. Action pulumi.StringPtrInput `pulumi:"action"` // Comment. Comment pulumi.StringPtrInput `pulumi:"comment"` // Match files transmitted in the session's originating or reply direction. Valid values: `incoming`, `outgoing`, `any`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Select file type. The structure of `fileType` block is documented below. FileTypes ProfileFileFilterEntryFileTypeArrayInput `pulumi:"fileTypes"` // Add a file filter. Filter pulumi.StringPtrInput `pulumi:"filter"` // Match password-protected files. Valid values: `yes`, `any`. PasswordProtected pulumi.StringPtrInput `pulumi:"passwordProtected"` }
func (ProfileFileFilterEntryArgs) ElementType ¶
func (ProfileFileFilterEntryArgs) ElementType() reflect.Type
func (ProfileFileFilterEntryArgs) ToProfileFileFilterEntryOutput ¶
func (i ProfileFileFilterEntryArgs) ToProfileFileFilterEntryOutput() ProfileFileFilterEntryOutput
func (ProfileFileFilterEntryArgs) ToProfileFileFilterEntryOutputWithContext ¶
func (i ProfileFileFilterEntryArgs) ToProfileFileFilterEntryOutputWithContext(ctx context.Context) ProfileFileFilterEntryOutput
type ProfileFileFilterEntryArray ¶
type ProfileFileFilterEntryArray []ProfileFileFilterEntryInput
func (ProfileFileFilterEntryArray) ElementType ¶
func (ProfileFileFilterEntryArray) ElementType() reflect.Type
func (ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutput ¶
func (i ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutput() ProfileFileFilterEntryArrayOutput
func (ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutputWithContext ¶
func (i ProfileFileFilterEntryArray) ToProfileFileFilterEntryArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryArrayOutput
type ProfileFileFilterEntryArrayInput ¶
type ProfileFileFilterEntryArrayInput interface { pulumi.Input ToProfileFileFilterEntryArrayOutput() ProfileFileFilterEntryArrayOutput ToProfileFileFilterEntryArrayOutputWithContext(context.Context) ProfileFileFilterEntryArrayOutput }
ProfileFileFilterEntryArrayInput is an input type that accepts ProfileFileFilterEntryArray and ProfileFileFilterEntryArrayOutput values. You can construct a concrete instance of `ProfileFileFilterEntryArrayInput` via:
ProfileFileFilterEntryArray{ ProfileFileFilterEntryArgs{...} }
type ProfileFileFilterEntryArrayOutput ¶
type ProfileFileFilterEntryArrayOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterEntryArrayOutput) ElementType ¶
func (ProfileFileFilterEntryArrayOutput) ElementType() reflect.Type
func (ProfileFileFilterEntryArrayOutput) Index ¶
func (o ProfileFileFilterEntryArrayOutput) Index(i pulumi.IntInput) ProfileFileFilterEntryOutput
func (ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutput ¶
func (o ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutput() ProfileFileFilterEntryArrayOutput
func (ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutputWithContext ¶
func (o ProfileFileFilterEntryArrayOutput) ToProfileFileFilterEntryArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryArrayOutput
type ProfileFileFilterEntryFileType ¶
type ProfileFileFilterEntryFileType struct { // File type name. Name *string `pulumi:"name"` }
type ProfileFileFilterEntryFileTypeArgs ¶
type ProfileFileFilterEntryFileTypeArgs struct { // File type name. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ProfileFileFilterEntryFileTypeArgs) ElementType ¶
func (ProfileFileFilterEntryFileTypeArgs) ElementType() reflect.Type
func (ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutput ¶
func (i ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutput() ProfileFileFilterEntryFileTypeOutput
func (ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutputWithContext ¶
func (i ProfileFileFilterEntryFileTypeArgs) ToProfileFileFilterEntryFileTypeOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeOutput
type ProfileFileFilterEntryFileTypeArray ¶
type ProfileFileFilterEntryFileTypeArray []ProfileFileFilterEntryFileTypeInput
func (ProfileFileFilterEntryFileTypeArray) ElementType ¶
func (ProfileFileFilterEntryFileTypeArray) ElementType() reflect.Type
func (ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutput ¶
func (i ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutput() ProfileFileFilterEntryFileTypeArrayOutput
func (ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutputWithContext ¶
func (i ProfileFileFilterEntryFileTypeArray) ToProfileFileFilterEntryFileTypeArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeArrayOutput
type ProfileFileFilterEntryFileTypeArrayInput ¶
type ProfileFileFilterEntryFileTypeArrayInput interface { pulumi.Input ToProfileFileFilterEntryFileTypeArrayOutput() ProfileFileFilterEntryFileTypeArrayOutput ToProfileFileFilterEntryFileTypeArrayOutputWithContext(context.Context) ProfileFileFilterEntryFileTypeArrayOutput }
ProfileFileFilterEntryFileTypeArrayInput is an input type that accepts ProfileFileFilterEntryFileTypeArray and ProfileFileFilterEntryFileTypeArrayOutput values. You can construct a concrete instance of `ProfileFileFilterEntryFileTypeArrayInput` via:
ProfileFileFilterEntryFileTypeArray{ ProfileFileFilterEntryFileTypeArgs{...} }
type ProfileFileFilterEntryFileTypeArrayOutput ¶
type ProfileFileFilterEntryFileTypeArrayOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterEntryFileTypeArrayOutput) ElementType ¶
func (ProfileFileFilterEntryFileTypeArrayOutput) ElementType() reflect.Type
func (ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutput ¶
func (o ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutput() ProfileFileFilterEntryFileTypeArrayOutput
func (ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutputWithContext ¶
func (o ProfileFileFilterEntryFileTypeArrayOutput) ToProfileFileFilterEntryFileTypeArrayOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeArrayOutput
type ProfileFileFilterEntryFileTypeInput ¶
type ProfileFileFilterEntryFileTypeInput interface { pulumi.Input ToProfileFileFilterEntryFileTypeOutput() ProfileFileFilterEntryFileTypeOutput ToProfileFileFilterEntryFileTypeOutputWithContext(context.Context) ProfileFileFilterEntryFileTypeOutput }
ProfileFileFilterEntryFileTypeInput is an input type that accepts ProfileFileFilterEntryFileTypeArgs and ProfileFileFilterEntryFileTypeOutput values. You can construct a concrete instance of `ProfileFileFilterEntryFileTypeInput` via:
ProfileFileFilterEntryFileTypeArgs{...}
type ProfileFileFilterEntryFileTypeOutput ¶
type ProfileFileFilterEntryFileTypeOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterEntryFileTypeOutput) ElementType ¶
func (ProfileFileFilterEntryFileTypeOutput) ElementType() reflect.Type
func (ProfileFileFilterEntryFileTypeOutput) Name ¶
func (o ProfileFileFilterEntryFileTypeOutput) Name() pulumi.StringPtrOutput
File type name.
func (ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutput ¶
func (o ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutput() ProfileFileFilterEntryFileTypeOutput
func (ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutputWithContext ¶
func (o ProfileFileFilterEntryFileTypeOutput) ToProfileFileFilterEntryFileTypeOutputWithContext(ctx context.Context) ProfileFileFilterEntryFileTypeOutput
type ProfileFileFilterEntryInput ¶
type ProfileFileFilterEntryInput interface { pulumi.Input ToProfileFileFilterEntryOutput() ProfileFileFilterEntryOutput ToProfileFileFilterEntryOutputWithContext(context.Context) ProfileFileFilterEntryOutput }
ProfileFileFilterEntryInput is an input type that accepts ProfileFileFilterEntryArgs and ProfileFileFilterEntryOutput values. You can construct a concrete instance of `ProfileFileFilterEntryInput` via:
ProfileFileFilterEntryArgs{...}
type ProfileFileFilterEntryOutput ¶
type ProfileFileFilterEntryOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterEntryOutput) Action ¶
func (o ProfileFileFilterEntryOutput) Action() pulumi.StringPtrOutput
Action taken for matched file. Valid values: `log`, `block`.
func (ProfileFileFilterEntryOutput) Comment ¶
func (o ProfileFileFilterEntryOutput) Comment() pulumi.StringPtrOutput
Comment.
func (ProfileFileFilterEntryOutput) Direction ¶
func (o ProfileFileFilterEntryOutput) Direction() pulumi.StringPtrOutput
Match files transmitted in the session's originating or reply direction. Valid values: `incoming`, `outgoing`, `any`.
func (ProfileFileFilterEntryOutput) ElementType ¶
func (ProfileFileFilterEntryOutput) ElementType() reflect.Type
func (ProfileFileFilterEntryOutput) FileTypes ¶
func (o ProfileFileFilterEntryOutput) FileTypes() ProfileFileFilterEntryFileTypeArrayOutput
Select file type. The structure of `fileType` block is documented below.
func (ProfileFileFilterEntryOutput) Filter ¶
func (o ProfileFileFilterEntryOutput) Filter() pulumi.StringPtrOutput
Add a file filter.
func (ProfileFileFilterEntryOutput) PasswordProtected ¶
func (o ProfileFileFilterEntryOutput) PasswordProtected() pulumi.StringPtrOutput
Match password-protected files. Valid values: `yes`, `any`.
func (ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutput ¶
func (o ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutput() ProfileFileFilterEntryOutput
func (ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutputWithContext ¶
func (o ProfileFileFilterEntryOutput) ToProfileFileFilterEntryOutputWithContext(ctx context.Context) ProfileFileFilterEntryOutput
type ProfileFileFilterInput ¶
type ProfileFileFilterInput interface { pulumi.Input ToProfileFileFilterOutput() ProfileFileFilterOutput ToProfileFileFilterOutputWithContext(context.Context) ProfileFileFilterOutput }
ProfileFileFilterInput is an input type that accepts ProfileFileFilterArgs and ProfileFileFilterOutput values. You can construct a concrete instance of `ProfileFileFilterInput` via:
ProfileFileFilterArgs{...}
type ProfileFileFilterOutput ¶
type ProfileFileFilterOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterOutput) ElementType ¶
func (ProfileFileFilterOutput) ElementType() reflect.Type
func (ProfileFileFilterOutput) Entries ¶
func (o ProfileFileFilterOutput) Entries() ProfileFileFilterEntryArrayOutput
File filter entries. The structure of `entries` block is documented below.
func (ProfileFileFilterOutput) Log ¶
func (o ProfileFileFilterOutput) Log() pulumi.StringPtrOutput
Enable/disable file filter logging. Valid values: `enable`, `disable`.
func (ProfileFileFilterOutput) ScanArchiveContents ¶
func (o ProfileFileFilterOutput) ScanArchiveContents() pulumi.StringPtrOutput
Enable/disable file filter archive contents scan. Valid values: `enable`, `disable`.
func (ProfileFileFilterOutput) Status ¶
func (o ProfileFileFilterOutput) Status() pulumi.StringPtrOutput
Enable/disable file filter. Valid values: `enable`, `disable`.
func (ProfileFileFilterOutput) ToProfileFileFilterOutput ¶
func (o ProfileFileFilterOutput) ToProfileFileFilterOutput() ProfileFileFilterOutput
func (ProfileFileFilterOutput) ToProfileFileFilterOutputWithContext ¶
func (o ProfileFileFilterOutput) ToProfileFileFilterOutputWithContext(ctx context.Context) ProfileFileFilterOutput
func (ProfileFileFilterOutput) ToProfileFileFilterPtrOutput ¶
func (o ProfileFileFilterOutput) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
func (ProfileFileFilterOutput) ToProfileFileFilterPtrOutputWithContext ¶
func (o ProfileFileFilterOutput) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
type ProfileFileFilterPtrInput ¶
type ProfileFileFilterPtrInput interface { pulumi.Input ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput ToProfileFileFilterPtrOutputWithContext(context.Context) ProfileFileFilterPtrOutput }
ProfileFileFilterPtrInput is an input type that accepts ProfileFileFilterArgs, ProfileFileFilterPtr and ProfileFileFilterPtrOutput values. You can construct a concrete instance of `ProfileFileFilterPtrInput` via:
ProfileFileFilterArgs{...} or: nil
func ProfileFileFilterPtr ¶
func ProfileFileFilterPtr(v *ProfileFileFilterArgs) ProfileFileFilterPtrInput
type ProfileFileFilterPtrOutput ¶
type ProfileFileFilterPtrOutput struct{ *pulumi.OutputState }
func (ProfileFileFilterPtrOutput) Elem ¶
func (o ProfileFileFilterPtrOutput) Elem() ProfileFileFilterOutput
func (ProfileFileFilterPtrOutput) ElementType ¶
func (ProfileFileFilterPtrOutput) ElementType() reflect.Type
func (ProfileFileFilterPtrOutput) Entries ¶
func (o ProfileFileFilterPtrOutput) Entries() ProfileFileFilterEntryArrayOutput
File filter entries. The structure of `entries` block is documented below.
func (ProfileFileFilterPtrOutput) Log ¶
func (o ProfileFileFilterPtrOutput) Log() pulumi.StringPtrOutput
Enable/disable file filter logging. Valid values: `enable`, `disable`.
func (ProfileFileFilterPtrOutput) ScanArchiveContents ¶
func (o ProfileFileFilterPtrOutput) ScanArchiveContents() pulumi.StringPtrOutput
Enable/disable file filter archive contents scan. Valid values: `enable`, `disable`.
func (ProfileFileFilterPtrOutput) Status ¶
func (o ProfileFileFilterPtrOutput) Status() pulumi.StringPtrOutput
Enable/disable file filter. Valid values: `enable`, `disable`.
func (ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutput ¶
func (o ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutput() ProfileFileFilterPtrOutput
func (ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutputWithContext ¶
func (o ProfileFileFilterPtrOutput) ToProfileFileFilterPtrOutputWithContext(ctx context.Context) ProfileFileFilterPtrOutput
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) Block ¶
func (o ProfileOutput) Block() pulumi.StringOutput
SSH blocking options.
func (ProfileOutput) DefaultCommandLog ¶
func (o ProfileOutput) DefaultCommandLog() pulumi.StringOutput
Enable/disable logging unmatched shell commands. Valid values: `enable`, `disable`.
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) FileFilter ¶
func (o ProfileOutput) FileFilter() ProfileFileFilterOutput
File filter. The structure of `fileFilter` 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) Name ¶
func (o ProfileOutput) Name() pulumi.StringOutput
SSH filter profile name.
func (ProfileOutput) ShellCommands ¶
func (o ProfileOutput) ShellCommands() ProfileShellCommandArrayOutput
SSH command filter. The structure of `shellCommands` block is documented below.
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.
type ProfileShellCommand ¶
type ProfileShellCommand struct { // Action to take for URL filter matches. Valid values: `block`, `allow`. Action *string `pulumi:"action"` // Enable/disable alert. Valid values: `enable`, `disable`. Alert *string `pulumi:"alert"` // Id. Id *int `pulumi:"id"` // Enable/disable logging. Valid values: `enable`, `disable`. Log *string `pulumi:"log"` // SSH shell command pattern. Pattern *string `pulumi:"pattern"` // Log severity. Valid values: `low`, `medium`, `high`, `critical`. Severity *string `pulumi:"severity"` // Matching type. Valid values: `simple`, `regex`. Type *string `pulumi:"type"` }
type ProfileShellCommandArgs ¶
type ProfileShellCommandArgs struct { // Action to take for URL filter matches. Valid values: `block`, `allow`. Action pulumi.StringPtrInput `pulumi:"action"` // Enable/disable alert. Valid values: `enable`, `disable`. Alert pulumi.StringPtrInput `pulumi:"alert"` // Id. Id pulumi.IntPtrInput `pulumi:"id"` // Enable/disable logging. Valid values: `enable`, `disable`. Log pulumi.StringPtrInput `pulumi:"log"` // SSH shell command pattern. Pattern pulumi.StringPtrInput `pulumi:"pattern"` // Log severity. Valid values: `low`, `medium`, `high`, `critical`. Severity pulumi.StringPtrInput `pulumi:"severity"` // Matching type. Valid values: `simple`, `regex`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ProfileShellCommandArgs) ElementType ¶
func (ProfileShellCommandArgs) ElementType() reflect.Type
func (ProfileShellCommandArgs) ToProfileShellCommandOutput ¶
func (i ProfileShellCommandArgs) ToProfileShellCommandOutput() ProfileShellCommandOutput
func (ProfileShellCommandArgs) ToProfileShellCommandOutputWithContext ¶
func (i ProfileShellCommandArgs) ToProfileShellCommandOutputWithContext(ctx context.Context) ProfileShellCommandOutput
type ProfileShellCommandArray ¶
type ProfileShellCommandArray []ProfileShellCommandInput
func (ProfileShellCommandArray) ElementType ¶
func (ProfileShellCommandArray) ElementType() reflect.Type
func (ProfileShellCommandArray) ToProfileShellCommandArrayOutput ¶
func (i ProfileShellCommandArray) ToProfileShellCommandArrayOutput() ProfileShellCommandArrayOutput
func (ProfileShellCommandArray) ToProfileShellCommandArrayOutputWithContext ¶
func (i ProfileShellCommandArray) ToProfileShellCommandArrayOutputWithContext(ctx context.Context) ProfileShellCommandArrayOutput
type ProfileShellCommandArrayInput ¶
type ProfileShellCommandArrayInput interface { pulumi.Input ToProfileShellCommandArrayOutput() ProfileShellCommandArrayOutput ToProfileShellCommandArrayOutputWithContext(context.Context) ProfileShellCommandArrayOutput }
ProfileShellCommandArrayInput is an input type that accepts ProfileShellCommandArray and ProfileShellCommandArrayOutput values. You can construct a concrete instance of `ProfileShellCommandArrayInput` via:
ProfileShellCommandArray{ ProfileShellCommandArgs{...} }
type ProfileShellCommandArrayOutput ¶
type ProfileShellCommandArrayOutput struct{ *pulumi.OutputState }
func (ProfileShellCommandArrayOutput) ElementType ¶
func (ProfileShellCommandArrayOutput) ElementType() reflect.Type
func (ProfileShellCommandArrayOutput) Index ¶
func (o ProfileShellCommandArrayOutput) Index(i pulumi.IntInput) ProfileShellCommandOutput
func (ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutput ¶
func (o ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutput() ProfileShellCommandArrayOutput
func (ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutputWithContext ¶
func (o ProfileShellCommandArrayOutput) ToProfileShellCommandArrayOutputWithContext(ctx context.Context) ProfileShellCommandArrayOutput
type ProfileShellCommandInput ¶
type ProfileShellCommandInput interface { pulumi.Input ToProfileShellCommandOutput() ProfileShellCommandOutput ToProfileShellCommandOutputWithContext(context.Context) ProfileShellCommandOutput }
ProfileShellCommandInput is an input type that accepts ProfileShellCommandArgs and ProfileShellCommandOutput values. You can construct a concrete instance of `ProfileShellCommandInput` via:
ProfileShellCommandArgs{...}
type ProfileShellCommandOutput ¶
type ProfileShellCommandOutput struct{ *pulumi.OutputState }
func (ProfileShellCommandOutput) Action ¶
func (o ProfileShellCommandOutput) Action() pulumi.StringPtrOutput
Action to take for URL filter matches. Valid values: `block`, `allow`.
func (ProfileShellCommandOutput) Alert ¶
func (o ProfileShellCommandOutput) Alert() pulumi.StringPtrOutput
Enable/disable alert. Valid values: `enable`, `disable`.
func (ProfileShellCommandOutput) ElementType ¶
func (ProfileShellCommandOutput) ElementType() reflect.Type
func (ProfileShellCommandOutput) Id ¶
func (o ProfileShellCommandOutput) Id() pulumi.IntPtrOutput
Id.
func (ProfileShellCommandOutput) Log ¶
func (o ProfileShellCommandOutput) Log() pulumi.StringPtrOutput
Enable/disable logging. Valid values: `enable`, `disable`.
func (ProfileShellCommandOutput) Pattern ¶
func (o ProfileShellCommandOutput) Pattern() pulumi.StringPtrOutput
SSH shell command pattern.
func (ProfileShellCommandOutput) Severity ¶
func (o ProfileShellCommandOutput) Severity() pulumi.StringPtrOutput
Log severity. Valid values: `low`, `medium`, `high`, `critical`.
func (ProfileShellCommandOutput) ToProfileShellCommandOutput ¶
func (o ProfileShellCommandOutput) ToProfileShellCommandOutput() ProfileShellCommandOutput
func (ProfileShellCommandOutput) ToProfileShellCommandOutputWithContext ¶
func (o ProfileShellCommandOutput) ToProfileShellCommandOutputWithContext(ctx context.Context) ProfileShellCommandOutput
func (ProfileShellCommandOutput) Type ¶
func (o ProfileShellCommandOutput) Type() pulumi.StringPtrOutput
Matching type. Valid values: `simple`, `regex`.
type ProfileState ¶
type ProfileState struct { // SSH blocking options. Block pulumi.StringPtrInput // Enable/disable logging unmatched shell commands. Valid values: `enable`, `disable`. DefaultCommandLog 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 // File filter. The structure of `fileFilter` block is documented below. FileFilter ProfileFileFilterPtrInput // 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 // SSH logging options. Log pulumi.StringPtrInput // SSH filter profile name. Name pulumi.StringPtrInput // SSH command filter. The structure of `shellCommands` block is documented below. ShellCommands ProfileShellCommandArrayInput // 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 (ProfileState) ElementType ¶
func (ProfileState) ElementType() reflect.Type