diameterfilter

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

	// Action to be taken for messages with cmd flag reserve bits set. Valid values: `allow`, `block`, `reset`, `monitor`.
	CmdFlagsReserveSet pulumi.StringOutput `pulumi:"cmdFlagsReserveSet"`
	// Action to be taken for messages with invalid command code. Valid values: `allow`, `block`, `reset`, `monitor`.
	CommandCodeInvalid pulumi.StringOutput `pulumi:"commandCodeInvalid"`
	// Valid range for command codes (0-16777215).
	CommandCodeRange pulumi.StringOutput `pulumi:"commandCodeRange"`
	// Comment.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Enable/disable packet log for triggered diameter settings. Valid values: `disable`, `enable`.
	LogPacket pulumi.StringOutput `pulumi:"logPacket"`
	// Action to be taken for invalid message length. Valid values: `allow`, `block`, `reset`, `monitor`.
	MessageLengthInvalid pulumi.StringOutput `pulumi:"messageLengthInvalid"`
	// Action to be taken for answers without corresponding request. Valid values: `allow`, `block`, `reset`, `monitor`.
	MissingRequestAction pulumi.StringOutput `pulumi:"missingRequestAction"`
	// Enable/disable logging for all User Name and Result Code AVP messages. Valid values: `disable`, `enable`.
	MonitorAllMessages pulumi.StringOutput `pulumi:"monitorAllMessages"`
	// Profile name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Action to be taken for invalid protocol version. Valid values: `allow`, `block`, `reset`, `monitor`.
	ProtocolVersionInvalid pulumi.StringOutput `pulumi:"protocolVersionInvalid"`
	// Action to be taken for request messages with error flag set. Valid values: `allow`, `block`, `reset`, `monitor`.
	RequestErrorFlagSet pulumi.StringOutput `pulumi:"requestErrorFlagSet"`
	// Enable/disable validation that each answer has a corresponding request. Valid values: `disable`, `enable`.
	TrackRequestsAnswers pulumi.StringOutput `pulumi:"trackRequestsAnswers"`
	// 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 Diameter filter profiles. Applies to FortiOS Version `>= 7.4.2`.

## Import

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

```sh $ pulumi import fortios:diameterfilter/profile:Profile labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:diameterfilter/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 {
	// Action to be taken for messages with cmd flag reserve bits set. Valid values: `allow`, `block`, `reset`, `monitor`.
	CmdFlagsReserveSet pulumi.StringPtrInput
	// Action to be taken for messages with invalid command code. Valid values: `allow`, `block`, `reset`, `monitor`.
	CommandCodeInvalid pulumi.StringPtrInput
	// Valid range for command codes (0-16777215).
	CommandCodeRange pulumi.StringPtrInput
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable packet log for triggered diameter settings. Valid values: `disable`, `enable`.
	LogPacket pulumi.StringPtrInput
	// Action to be taken for invalid message length. Valid values: `allow`, `block`, `reset`, `monitor`.
	MessageLengthInvalid pulumi.StringPtrInput
	// Action to be taken for answers without corresponding request. Valid values: `allow`, `block`, `reset`, `monitor`.
	MissingRequestAction pulumi.StringPtrInput
	// Enable/disable logging for all User Name and Result Code AVP messages. Valid values: `disable`, `enable`.
	MonitorAllMessages pulumi.StringPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Action to be taken for invalid protocol version. Valid values: `allow`, `block`, `reset`, `monitor`.
	ProtocolVersionInvalid pulumi.StringPtrInput
	// Action to be taken for request messages with error flag set. Valid values: `allow`, `block`, `reset`, `monitor`.
	RequestErrorFlagSet pulumi.StringPtrInput
	// Enable/disable validation that each answer has a corresponding request. Valid values: `disable`, `enable`.
	TrackRequestsAnswers 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 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 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) CmdFlagsReserveSet

func (o ProfileOutput) CmdFlagsReserveSet() pulumi.StringOutput

Action to be taken for messages with cmd flag reserve bits set. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) CommandCodeInvalid

func (o ProfileOutput) CommandCodeInvalid() pulumi.StringOutput

Action to be taken for messages with invalid command code. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) CommandCodeRange

func (o ProfileOutput) CommandCodeRange() pulumi.StringOutput

Valid range for command codes (0-16777215).

func (ProfileOutput) Comment

func (o ProfileOutput) Comment() pulumi.StringPtrOutput

Comment.

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) LogPacket

func (o ProfileOutput) LogPacket() pulumi.StringOutput

Enable/disable packet log for triggered diameter settings. Valid values: `disable`, `enable`.

func (ProfileOutput) MessageLengthInvalid

func (o ProfileOutput) MessageLengthInvalid() pulumi.StringOutput

Action to be taken for invalid message length. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) MissingRequestAction

func (o ProfileOutput) MissingRequestAction() pulumi.StringOutput

Action to be taken for answers without corresponding request. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) MonitorAllMessages

func (o ProfileOutput) MonitorAllMessages() pulumi.StringOutput

Enable/disable logging for all User Name and Result Code AVP messages. Valid values: `disable`, `enable`.

func (ProfileOutput) Name

Profile name.

func (ProfileOutput) ProtocolVersionInvalid

func (o ProfileOutput) ProtocolVersionInvalid() pulumi.StringOutput

Action to be taken for invalid protocol version. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) RequestErrorFlagSet

func (o ProfileOutput) RequestErrorFlagSet() pulumi.StringOutput

Action to be taken for request messages with error flag set. Valid values: `allow`, `block`, `reset`, `monitor`.

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

func (ProfileOutput) TrackRequestsAnswers

func (o ProfileOutput) TrackRequestsAnswers() pulumi.StringOutput

Enable/disable validation that each answer has a corresponding request. Valid values: `disable`, `enable`.

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 ProfileState

type ProfileState struct {
	// Action to be taken for messages with cmd flag reserve bits set. Valid values: `allow`, `block`, `reset`, `monitor`.
	CmdFlagsReserveSet pulumi.StringPtrInput
	// Action to be taken for messages with invalid command code. Valid values: `allow`, `block`, `reset`, `monitor`.
	CommandCodeInvalid pulumi.StringPtrInput
	// Valid range for command codes (0-16777215).
	CommandCodeRange pulumi.StringPtrInput
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable packet log for triggered diameter settings. Valid values: `disable`, `enable`.
	LogPacket pulumi.StringPtrInput
	// Action to be taken for invalid message length. Valid values: `allow`, `block`, `reset`, `monitor`.
	MessageLengthInvalid pulumi.StringPtrInput
	// Action to be taken for answers without corresponding request. Valid values: `allow`, `block`, `reset`, `monitor`.
	MissingRequestAction pulumi.StringPtrInput
	// Enable/disable logging for all User Name and Result Code AVP messages. Valid values: `disable`, `enable`.
	MonitorAllMessages pulumi.StringPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Action to be taken for invalid protocol version. Valid values: `allow`, `block`, `reset`, `monitor`.
	ProtocolVersionInvalid pulumi.StringPtrInput
	// Action to be taken for request messages with error flag set. Valid values: `allow`, `block`, `reset`, `monitor`.
	RequestErrorFlagSet pulumi.StringPtrInput
	// Enable/disable validation that each answer has a corresponding request. Valid values: `disable`, `enable`.
	TrackRequestsAnswers 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 (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