sctp

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

	// 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"`
	// 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"`
	// Profile name.
	Name pulumi.StringOutput `pulumi:"name"`
	// PPID filters list. The structure of `ppidFilters` block is documented below.
	PpidFilters ProfilePpidFilterArrayOutput `pulumi:"ppidFilters"`
	// 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 SCTP filter profiles. Applies to FortiOS Version `>= 7.0.1`.

## Import

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

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

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/sctp/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 {
	// 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
	// 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
	// Profile name.
	Name pulumi.StringPtrInput
	// PPID filters list. The structure of `ppidFilters` block is documented below.
	PpidFilters ProfilePpidFilterArrayInput
	// 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) Comment

func (o ProfileOutput) Comment() pulumi.StringPtrOutput

Comment.

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

Profile name.

func (ProfileOutput) PpidFilters

PPID filters list. The structure of `ppidFilters` 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 ProfilePpidFilter

type ProfilePpidFilter struct {
	// Action taken when PPID is matched. Valid values: `pass`, `reset`, `replace`.
	Action *string `pulumi:"action"`
	// Comment.
	Comment *string `pulumi:"comment"`
	// ID.
	Id *int `pulumi:"id"`
	// Payload protocol identifier.
	Ppid *int `pulumi:"ppid"`
}

type ProfilePpidFilterArgs

type ProfilePpidFilterArgs struct {
	// Action taken when PPID is matched. Valid values: `pass`, `reset`, `replace`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Comment.
	Comment pulumi.StringPtrInput `pulumi:"comment"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Payload protocol identifier.
	Ppid pulumi.IntPtrInput `pulumi:"ppid"`
}

func (ProfilePpidFilterArgs) ElementType

func (ProfilePpidFilterArgs) ElementType() reflect.Type

func (ProfilePpidFilterArgs) ToProfilePpidFilterOutput

func (i ProfilePpidFilterArgs) ToProfilePpidFilterOutput() ProfilePpidFilterOutput

func (ProfilePpidFilterArgs) ToProfilePpidFilterOutputWithContext

func (i ProfilePpidFilterArgs) ToProfilePpidFilterOutputWithContext(ctx context.Context) ProfilePpidFilterOutput

type ProfilePpidFilterArray

type ProfilePpidFilterArray []ProfilePpidFilterInput

func (ProfilePpidFilterArray) ElementType

func (ProfilePpidFilterArray) ElementType() reflect.Type

func (ProfilePpidFilterArray) ToProfilePpidFilterArrayOutput

func (i ProfilePpidFilterArray) ToProfilePpidFilterArrayOutput() ProfilePpidFilterArrayOutput

func (ProfilePpidFilterArray) ToProfilePpidFilterArrayOutputWithContext

func (i ProfilePpidFilterArray) ToProfilePpidFilterArrayOutputWithContext(ctx context.Context) ProfilePpidFilterArrayOutput

type ProfilePpidFilterArrayInput

type ProfilePpidFilterArrayInput interface {
	pulumi.Input

	ToProfilePpidFilterArrayOutput() ProfilePpidFilterArrayOutput
	ToProfilePpidFilterArrayOutputWithContext(context.Context) ProfilePpidFilterArrayOutput
}

ProfilePpidFilterArrayInput is an input type that accepts ProfilePpidFilterArray and ProfilePpidFilterArrayOutput values. You can construct a concrete instance of `ProfilePpidFilterArrayInput` via:

ProfilePpidFilterArray{ ProfilePpidFilterArgs{...} }

type ProfilePpidFilterArrayOutput

type ProfilePpidFilterArrayOutput struct{ *pulumi.OutputState }

func (ProfilePpidFilterArrayOutput) ElementType

func (ProfilePpidFilterArrayOutput) Index

func (ProfilePpidFilterArrayOutput) ToProfilePpidFilterArrayOutput

func (o ProfilePpidFilterArrayOutput) ToProfilePpidFilterArrayOutput() ProfilePpidFilterArrayOutput

func (ProfilePpidFilterArrayOutput) ToProfilePpidFilterArrayOutputWithContext

func (o ProfilePpidFilterArrayOutput) ToProfilePpidFilterArrayOutputWithContext(ctx context.Context) ProfilePpidFilterArrayOutput

type ProfilePpidFilterInput

type ProfilePpidFilterInput interface {
	pulumi.Input

	ToProfilePpidFilterOutput() ProfilePpidFilterOutput
	ToProfilePpidFilterOutputWithContext(context.Context) ProfilePpidFilterOutput
}

ProfilePpidFilterInput is an input type that accepts ProfilePpidFilterArgs and ProfilePpidFilterOutput values. You can construct a concrete instance of `ProfilePpidFilterInput` via:

ProfilePpidFilterArgs{...}

type ProfilePpidFilterOutput

type ProfilePpidFilterOutput struct{ *pulumi.OutputState }

func (ProfilePpidFilterOutput) Action

Action taken when PPID is matched. Valid values: `pass`, `reset`, `replace`.

func (ProfilePpidFilterOutput) Comment

Comment.

func (ProfilePpidFilterOutput) ElementType

func (ProfilePpidFilterOutput) ElementType() reflect.Type

func (ProfilePpidFilterOutput) Id

ID.

func (ProfilePpidFilterOutput) Ppid

Payload protocol identifier.

func (ProfilePpidFilterOutput) ToProfilePpidFilterOutput

func (o ProfilePpidFilterOutput) ToProfilePpidFilterOutput() ProfilePpidFilterOutput

func (ProfilePpidFilterOutput) ToProfilePpidFilterOutputWithContext

func (o ProfilePpidFilterOutput) ToProfilePpidFilterOutputWithContext(ctx context.Context) ProfilePpidFilterOutput

type ProfileState

type ProfileState 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
	// 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
	// Profile name.
	Name pulumi.StringPtrInput
	// PPID filters list. The structure of `ppidFilters` block is documented below.
	PpidFilters ProfilePpidFilterArrayInput
	// 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