ssh

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) ElementType() reflect.Type

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 (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) 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) Index

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) 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) 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) Index

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) Name

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

Action taken for matched file. Valid values: `log`, `block`.

func (ProfileFileFilterEntryOutput) Comment

Comment.

func (ProfileFileFilterEntryOutput) Direction

Match files transmitted in the session's originating or reply direction. Valid values: `incoming`, `outgoing`, `any`.

func (ProfileFileFilterEntryOutput) ElementType

func (ProfileFileFilterEntryOutput) FileTypes

Select file type. The structure of `fileType` block is documented below.

func (ProfileFileFilterEntryOutput) Filter

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

File filter entries. The structure of `entries` block is documented below.

func (ProfileFileFilterOutput) Log

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

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

type ProfileFileFilterPtrOutput

type ProfileFileFilterPtrOutput struct{ *pulumi.OutputState }

func (ProfileFileFilterPtrOutput) Elem

func (ProfileFileFilterPtrOutput) ElementType

func (ProfileFileFilterPtrOutput) ElementType() reflect.Type

func (ProfileFileFilterPtrOutput) Entries

File filter entries. The structure of `entries` block is documented below.

func (ProfileFileFilterPtrOutput) Log

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

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 (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) Log

SSH logging options.

func (ProfileOutput) Name

SSH filter profile name.

func (ProfileOutput) ShellCommands

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) Index

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

Action to take for URL filter matches. Valid values: `block`, `allow`.

func (ProfileShellCommandOutput) Alert

Enable/disable alert. Valid values: `enable`, `disable`.

func (ProfileShellCommandOutput) ElementType

func (ProfileShellCommandOutput) ElementType() reflect.Type

func (ProfileShellCommandOutput) Id

Id.

func (ProfileShellCommandOutput) Log

Enable/disable logging. Valid values: `enable`, `disable`.

func (ProfileShellCommandOutput) Pattern

SSH shell command pattern.

func (ProfileShellCommandOutput) Severity

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL