autoconfig

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 Custom

type Custom struct {
	pulumi.CustomResourceState

	// 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"`
	// Auto-Config FortiLink or ISL/ICL interface name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Switch binding list. The structure of `switchBinding` block is documented below.
	SwitchBindings CustomSwitchBindingArrayOutput `pulumi:"switchBindings"`
	// 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 FortiSwitch Auto-Config custom QoS policy.

## Import

SwitchControllerAutoConfig Custom can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/autoconfig/custom:Custom labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/autoconfig/custom:Custom labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetCustom

func GetCustom(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomState, opts ...pulumi.ResourceOption) (*Custom, error)

GetCustom gets an existing Custom 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 NewCustom

func NewCustom(ctx *pulumi.Context,
	name string, args *CustomArgs, opts ...pulumi.ResourceOption) (*Custom, error)

NewCustom registers a new resource with the given unique name, arguments, and options.

func (*Custom) ElementType

func (*Custom) ElementType() reflect.Type

func (*Custom) ToCustomOutput

func (i *Custom) ToCustomOutput() CustomOutput

func (*Custom) ToCustomOutputWithContext

func (i *Custom) ToCustomOutputWithContext(ctx context.Context) CustomOutput

type CustomArgs

type CustomArgs struct {
	// 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
	// Auto-Config FortiLink or ISL/ICL interface name.
	Name pulumi.StringPtrInput
	// Switch binding list. The structure of `switchBinding` block is documented below.
	SwitchBindings CustomSwitchBindingArrayInput
	// 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 Custom resource.

func (CustomArgs) ElementType

func (CustomArgs) ElementType() reflect.Type

type CustomArray

type CustomArray []CustomInput

func (CustomArray) ElementType

func (CustomArray) ElementType() reflect.Type

func (CustomArray) ToCustomArrayOutput

func (i CustomArray) ToCustomArrayOutput() CustomArrayOutput

func (CustomArray) ToCustomArrayOutputWithContext

func (i CustomArray) ToCustomArrayOutputWithContext(ctx context.Context) CustomArrayOutput

type CustomArrayInput

type CustomArrayInput interface {
	pulumi.Input

	ToCustomArrayOutput() CustomArrayOutput
	ToCustomArrayOutputWithContext(context.Context) CustomArrayOutput
}

CustomArrayInput is an input type that accepts CustomArray and CustomArrayOutput values. You can construct a concrete instance of `CustomArrayInput` via:

CustomArray{ CustomArgs{...} }

type CustomArrayOutput

type CustomArrayOutput struct{ *pulumi.OutputState }

func (CustomArrayOutput) ElementType

func (CustomArrayOutput) ElementType() reflect.Type

func (CustomArrayOutput) Index

func (CustomArrayOutput) ToCustomArrayOutput

func (o CustomArrayOutput) ToCustomArrayOutput() CustomArrayOutput

func (CustomArrayOutput) ToCustomArrayOutputWithContext

func (o CustomArrayOutput) ToCustomArrayOutputWithContext(ctx context.Context) CustomArrayOutput

type CustomInput

type CustomInput interface {
	pulumi.Input

	ToCustomOutput() CustomOutput
	ToCustomOutputWithContext(ctx context.Context) CustomOutput
}

type CustomMap

type CustomMap map[string]CustomInput

func (CustomMap) ElementType

func (CustomMap) ElementType() reflect.Type

func (CustomMap) ToCustomMapOutput

func (i CustomMap) ToCustomMapOutput() CustomMapOutput

func (CustomMap) ToCustomMapOutputWithContext

func (i CustomMap) ToCustomMapOutputWithContext(ctx context.Context) CustomMapOutput

type CustomMapInput

type CustomMapInput interface {
	pulumi.Input

	ToCustomMapOutput() CustomMapOutput
	ToCustomMapOutputWithContext(context.Context) CustomMapOutput
}

CustomMapInput is an input type that accepts CustomMap and CustomMapOutput values. You can construct a concrete instance of `CustomMapInput` via:

CustomMap{ "key": CustomArgs{...} }

type CustomMapOutput

type CustomMapOutput struct{ *pulumi.OutputState }

func (CustomMapOutput) ElementType

func (CustomMapOutput) ElementType() reflect.Type

func (CustomMapOutput) MapIndex

func (CustomMapOutput) ToCustomMapOutput

func (o CustomMapOutput) ToCustomMapOutput() CustomMapOutput

func (CustomMapOutput) ToCustomMapOutputWithContext

func (o CustomMapOutput) ToCustomMapOutputWithContext(ctx context.Context) CustomMapOutput

type CustomOutput

type CustomOutput struct{ *pulumi.OutputState }

func (CustomOutput) DynamicSortSubtable

func (o CustomOutput) 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 (CustomOutput) ElementType

func (CustomOutput) ElementType() reflect.Type

func (CustomOutput) GetAllTables

func (o CustomOutput) 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 (CustomOutput) Name

func (o CustomOutput) Name() pulumi.StringOutput

Auto-Config FortiLink or ISL/ICL interface name.

func (CustomOutput) SwitchBindings

func (o CustomOutput) SwitchBindings() CustomSwitchBindingArrayOutput

Switch binding list. The structure of `switchBinding` block is documented below.

func (CustomOutput) ToCustomOutput

func (o CustomOutput) ToCustomOutput() CustomOutput

func (CustomOutput) ToCustomOutputWithContext

func (o CustomOutput) ToCustomOutputWithContext(ctx context.Context) CustomOutput

func (CustomOutput) Vdomparam

func (o CustomOutput) 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 CustomState

type CustomState struct {
	// 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
	// Auto-Config FortiLink or ISL/ICL interface name.
	Name pulumi.StringPtrInput
	// Switch binding list. The structure of `switchBinding` block is documented below.
	SwitchBindings CustomSwitchBindingArrayInput
	// 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 (CustomState) ElementType

func (CustomState) ElementType() reflect.Type

type CustomSwitchBinding

type CustomSwitchBinding struct {
	// Custom auto-config policy.
	Policy *string `pulumi:"policy"`
	// Switch name.
	SwitchId *string `pulumi:"switchId"`
}

type CustomSwitchBindingArgs

type CustomSwitchBindingArgs struct {
	// Custom auto-config policy.
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// Switch name.
	SwitchId pulumi.StringPtrInput `pulumi:"switchId"`
}

func (CustomSwitchBindingArgs) ElementType

func (CustomSwitchBindingArgs) ElementType() reflect.Type

func (CustomSwitchBindingArgs) ToCustomSwitchBindingOutput

func (i CustomSwitchBindingArgs) ToCustomSwitchBindingOutput() CustomSwitchBindingOutput

func (CustomSwitchBindingArgs) ToCustomSwitchBindingOutputWithContext

func (i CustomSwitchBindingArgs) ToCustomSwitchBindingOutputWithContext(ctx context.Context) CustomSwitchBindingOutput

type CustomSwitchBindingArray

type CustomSwitchBindingArray []CustomSwitchBindingInput

func (CustomSwitchBindingArray) ElementType

func (CustomSwitchBindingArray) ElementType() reflect.Type

func (CustomSwitchBindingArray) ToCustomSwitchBindingArrayOutput

func (i CustomSwitchBindingArray) ToCustomSwitchBindingArrayOutput() CustomSwitchBindingArrayOutput

func (CustomSwitchBindingArray) ToCustomSwitchBindingArrayOutputWithContext

func (i CustomSwitchBindingArray) ToCustomSwitchBindingArrayOutputWithContext(ctx context.Context) CustomSwitchBindingArrayOutput

type CustomSwitchBindingArrayInput

type CustomSwitchBindingArrayInput interface {
	pulumi.Input

	ToCustomSwitchBindingArrayOutput() CustomSwitchBindingArrayOutput
	ToCustomSwitchBindingArrayOutputWithContext(context.Context) CustomSwitchBindingArrayOutput
}

CustomSwitchBindingArrayInput is an input type that accepts CustomSwitchBindingArray and CustomSwitchBindingArrayOutput values. You can construct a concrete instance of `CustomSwitchBindingArrayInput` via:

CustomSwitchBindingArray{ CustomSwitchBindingArgs{...} }

type CustomSwitchBindingArrayOutput

type CustomSwitchBindingArrayOutput struct{ *pulumi.OutputState }

func (CustomSwitchBindingArrayOutput) ElementType

func (CustomSwitchBindingArrayOutput) Index

func (CustomSwitchBindingArrayOutput) ToCustomSwitchBindingArrayOutput

func (o CustomSwitchBindingArrayOutput) ToCustomSwitchBindingArrayOutput() CustomSwitchBindingArrayOutput

func (CustomSwitchBindingArrayOutput) ToCustomSwitchBindingArrayOutputWithContext

func (o CustomSwitchBindingArrayOutput) ToCustomSwitchBindingArrayOutputWithContext(ctx context.Context) CustomSwitchBindingArrayOutput

type CustomSwitchBindingInput

type CustomSwitchBindingInput interface {
	pulumi.Input

	ToCustomSwitchBindingOutput() CustomSwitchBindingOutput
	ToCustomSwitchBindingOutputWithContext(context.Context) CustomSwitchBindingOutput
}

CustomSwitchBindingInput is an input type that accepts CustomSwitchBindingArgs and CustomSwitchBindingOutput values. You can construct a concrete instance of `CustomSwitchBindingInput` via:

CustomSwitchBindingArgs{...}

type CustomSwitchBindingOutput

type CustomSwitchBindingOutput struct{ *pulumi.OutputState }

func (CustomSwitchBindingOutput) ElementType

func (CustomSwitchBindingOutput) ElementType() reflect.Type

func (CustomSwitchBindingOutput) Policy

Custom auto-config policy.

func (CustomSwitchBindingOutput) SwitchId

Switch name.

func (CustomSwitchBindingOutput) ToCustomSwitchBindingOutput

func (o CustomSwitchBindingOutput) ToCustomSwitchBindingOutput() CustomSwitchBindingOutput

func (CustomSwitchBindingOutput) ToCustomSwitchBindingOutputWithContext

func (o CustomSwitchBindingOutput) ToCustomSwitchBindingOutputWithContext(ctx context.Context) CustomSwitchBindingOutput

type Default

type Default struct {
	pulumi.CustomResourceState

	// Default FortiLink auto-config policy.
	FgtPolicy pulumi.StringOutput `pulumi:"fgtPolicy"`
	// Default ICL auto-config policy.
	IclPolicy pulumi.StringOutput `pulumi:"iclPolicy"`
	// Default ISL auto-config policy.
	IslPolicy pulumi.StringOutput `pulumi:"islPolicy"`
	// 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 default auto-config QoS policy for FortiSwitch.

## Import

SwitchControllerAutoConfig Default can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/autoconfig/default:Default labelname SwitchControllerAutoConfigDefault ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/autoconfig/default:Default labelname SwitchControllerAutoConfigDefault ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetDefault

func GetDefault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultState, opts ...pulumi.ResourceOption) (*Default, error)

GetDefault gets an existing Default 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 NewDefault

func NewDefault(ctx *pulumi.Context,
	name string, args *DefaultArgs, opts ...pulumi.ResourceOption) (*Default, error)

NewDefault registers a new resource with the given unique name, arguments, and options.

func (*Default) ElementType

func (*Default) ElementType() reflect.Type

func (*Default) ToDefaultOutput

func (i *Default) ToDefaultOutput() DefaultOutput

func (*Default) ToDefaultOutputWithContext

func (i *Default) ToDefaultOutputWithContext(ctx context.Context) DefaultOutput

type DefaultArgs

type DefaultArgs struct {
	// Default FortiLink auto-config policy.
	FgtPolicy pulumi.StringPtrInput
	// Default ICL auto-config policy.
	IclPolicy pulumi.StringPtrInput
	// Default ISL auto-config policy.
	IslPolicy 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 Default resource.

func (DefaultArgs) ElementType

func (DefaultArgs) ElementType() reflect.Type

type DefaultArray

type DefaultArray []DefaultInput

func (DefaultArray) ElementType

func (DefaultArray) ElementType() reflect.Type

func (DefaultArray) ToDefaultArrayOutput

func (i DefaultArray) ToDefaultArrayOutput() DefaultArrayOutput

func (DefaultArray) ToDefaultArrayOutputWithContext

func (i DefaultArray) ToDefaultArrayOutputWithContext(ctx context.Context) DefaultArrayOutput

type DefaultArrayInput

type DefaultArrayInput interface {
	pulumi.Input

	ToDefaultArrayOutput() DefaultArrayOutput
	ToDefaultArrayOutputWithContext(context.Context) DefaultArrayOutput
}

DefaultArrayInput is an input type that accepts DefaultArray and DefaultArrayOutput values. You can construct a concrete instance of `DefaultArrayInput` via:

DefaultArray{ DefaultArgs{...} }

type DefaultArrayOutput

type DefaultArrayOutput struct{ *pulumi.OutputState }

func (DefaultArrayOutput) ElementType

func (DefaultArrayOutput) ElementType() reflect.Type

func (DefaultArrayOutput) Index

func (DefaultArrayOutput) ToDefaultArrayOutput

func (o DefaultArrayOutput) ToDefaultArrayOutput() DefaultArrayOutput

func (DefaultArrayOutput) ToDefaultArrayOutputWithContext

func (o DefaultArrayOutput) ToDefaultArrayOutputWithContext(ctx context.Context) DefaultArrayOutput

type DefaultInput

type DefaultInput interface {
	pulumi.Input

	ToDefaultOutput() DefaultOutput
	ToDefaultOutputWithContext(ctx context.Context) DefaultOutput
}

type DefaultMap

type DefaultMap map[string]DefaultInput

func (DefaultMap) ElementType

func (DefaultMap) ElementType() reflect.Type

func (DefaultMap) ToDefaultMapOutput

func (i DefaultMap) ToDefaultMapOutput() DefaultMapOutput

func (DefaultMap) ToDefaultMapOutputWithContext

func (i DefaultMap) ToDefaultMapOutputWithContext(ctx context.Context) DefaultMapOutput

type DefaultMapInput

type DefaultMapInput interface {
	pulumi.Input

	ToDefaultMapOutput() DefaultMapOutput
	ToDefaultMapOutputWithContext(context.Context) DefaultMapOutput
}

DefaultMapInput is an input type that accepts DefaultMap and DefaultMapOutput values. You can construct a concrete instance of `DefaultMapInput` via:

DefaultMap{ "key": DefaultArgs{...} }

type DefaultMapOutput

type DefaultMapOutput struct{ *pulumi.OutputState }

func (DefaultMapOutput) ElementType

func (DefaultMapOutput) ElementType() reflect.Type

func (DefaultMapOutput) MapIndex

func (DefaultMapOutput) ToDefaultMapOutput

func (o DefaultMapOutput) ToDefaultMapOutput() DefaultMapOutput

func (DefaultMapOutput) ToDefaultMapOutputWithContext

func (o DefaultMapOutput) ToDefaultMapOutputWithContext(ctx context.Context) DefaultMapOutput

type DefaultOutput

type DefaultOutput struct{ *pulumi.OutputState }

func (DefaultOutput) ElementType

func (DefaultOutput) ElementType() reflect.Type

func (DefaultOutput) FgtPolicy

func (o DefaultOutput) FgtPolicy() pulumi.StringOutput

Default FortiLink auto-config policy.

func (DefaultOutput) IclPolicy

func (o DefaultOutput) IclPolicy() pulumi.StringOutput

Default ICL auto-config policy.

func (DefaultOutput) IslPolicy

func (o DefaultOutput) IslPolicy() pulumi.StringOutput

Default ISL auto-config policy.

func (DefaultOutput) ToDefaultOutput

func (o DefaultOutput) ToDefaultOutput() DefaultOutput

func (DefaultOutput) ToDefaultOutputWithContext

func (o DefaultOutput) ToDefaultOutputWithContext(ctx context.Context) DefaultOutput

func (DefaultOutput) Vdomparam

func (o DefaultOutput) 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 DefaultState

type DefaultState struct {
	// Default FortiLink auto-config policy.
	FgtPolicy pulumi.StringPtrInput
	// Default ICL auto-config policy.
	IclPolicy pulumi.StringPtrInput
	// Default ISL auto-config policy.
	IslPolicy 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 (DefaultState) ElementType

func (DefaultState) ElementType() reflect.Type

type Policy

type Policy struct {
	pulumi.CustomResourceState

	// Enable/disable IGMP flood report. Valid values: `enable`, `disable`.
	IgmpFloodReport pulumi.StringOutput `pulumi:"igmpFloodReport"`
	// Enable/disable IGMP flood traffic. Valid values: `enable`, `disable`.
	IgmpFloodTraffic pulumi.StringOutput `pulumi:"igmpFloodTraffic"`
	// Auto-Config QoS policy name
	Name pulumi.StringOutput `pulumi:"name"`
	// Enable/disable PoE status. Valid values: `enable`, `disable`.
	PoeStatus pulumi.StringOutput `pulumi:"poeStatus"`
	// Auto-Config QoS policy.
	QosPolicy pulumi.StringOutput `pulumi:"qosPolicy"`
	// Auto-Config storm control policy.
	StormControlPolicy pulumi.StringOutput `pulumi:"stormControlPolicy"`
	// 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 FortiSwitch Auto-Config QoS policy.

## Import

SwitchControllerAutoConfig Policy can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/autoconfig/policy:Policy labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/autoconfig/policy:Policy labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)

GetPolicy gets an existing Policy 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 NewPolicy

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

func (*Policy) ElementType

func (*Policy) ElementType() reflect.Type

func (*Policy) ToPolicyOutput

func (i *Policy) ToPolicyOutput() PolicyOutput

func (*Policy) ToPolicyOutputWithContext

func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

type PolicyArgs

type PolicyArgs struct {
	// Enable/disable IGMP flood report. Valid values: `enable`, `disable`.
	IgmpFloodReport pulumi.StringPtrInput
	// Enable/disable IGMP flood traffic. Valid values: `enable`, `disable`.
	IgmpFloodTraffic pulumi.StringPtrInput
	// Auto-Config QoS policy name
	Name pulumi.StringPtrInput
	// Enable/disable PoE status. Valid values: `enable`, `disable`.
	PoeStatus pulumi.StringPtrInput
	// Auto-Config QoS policy.
	QosPolicy pulumi.StringPtrInput
	// Auto-Config storm control policy.
	StormControlPolicy 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 Policy resource.

func (PolicyArgs) ElementType

func (PolicyArgs) ElementType() reflect.Type

type PolicyArray

type PolicyArray []PolicyInput

func (PolicyArray) ElementType

func (PolicyArray) ElementType() reflect.Type

func (PolicyArray) ToPolicyArrayOutput

func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput

func (PolicyArray) ToPolicyArrayOutputWithContext

func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput

type PolicyArrayInput

type PolicyArrayInput interface {
	pulumi.Input

	ToPolicyArrayOutput() PolicyArrayOutput
	ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput
}

PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:

PolicyArray{ PolicyArgs{...} }

type PolicyArrayOutput

type PolicyArrayOutput struct{ *pulumi.OutputState }

func (PolicyArrayOutput) ElementType

func (PolicyArrayOutput) ElementType() reflect.Type

func (PolicyArrayOutput) Index

func (PolicyArrayOutput) ToPolicyArrayOutput

func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput

func (PolicyArrayOutput) ToPolicyArrayOutputWithContext

func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput

type PolicyInput

type PolicyInput interface {
	pulumi.Input

	ToPolicyOutput() PolicyOutput
	ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
}

type PolicyMap

type PolicyMap map[string]PolicyInput

func (PolicyMap) ElementType

func (PolicyMap) ElementType() reflect.Type

func (PolicyMap) ToPolicyMapOutput

func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput

func (PolicyMap) ToPolicyMapOutputWithContext

func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput

type PolicyMapInput

type PolicyMapInput interface {
	pulumi.Input

	ToPolicyMapOutput() PolicyMapOutput
	ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput
}

PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:

PolicyMap{ "key": PolicyArgs{...} }

type PolicyMapOutput

type PolicyMapOutput struct{ *pulumi.OutputState }

func (PolicyMapOutput) ElementType

func (PolicyMapOutput) ElementType() reflect.Type

func (PolicyMapOutput) MapIndex

func (PolicyMapOutput) ToPolicyMapOutput

func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput

func (PolicyMapOutput) ToPolicyMapOutputWithContext

func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput

type PolicyOutput

type PolicyOutput struct{ *pulumi.OutputState }

func (PolicyOutput) ElementType

func (PolicyOutput) ElementType() reflect.Type

func (PolicyOutput) IgmpFloodReport

func (o PolicyOutput) IgmpFloodReport() pulumi.StringOutput

Enable/disable IGMP flood report. Valid values: `enable`, `disable`.

func (PolicyOutput) IgmpFloodTraffic

func (o PolicyOutput) IgmpFloodTraffic() pulumi.StringOutput

Enable/disable IGMP flood traffic. Valid values: `enable`, `disable`.

func (PolicyOutput) Name

func (o PolicyOutput) Name() pulumi.StringOutput

Auto-Config QoS policy name

func (PolicyOutput) PoeStatus

func (o PolicyOutput) PoeStatus() pulumi.StringOutput

Enable/disable PoE status. Valid values: `enable`, `disable`.

func (PolicyOutput) QosPolicy

func (o PolicyOutput) QosPolicy() pulumi.StringOutput

Auto-Config QoS policy.

func (PolicyOutput) StormControlPolicy

func (o PolicyOutput) StormControlPolicy() pulumi.StringOutput

Auto-Config storm control policy.

func (PolicyOutput) ToPolicyOutput

func (o PolicyOutput) ToPolicyOutput() PolicyOutput

func (PolicyOutput) ToPolicyOutputWithContext

func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

func (PolicyOutput) Vdomparam

func (o PolicyOutput) 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 PolicyState

type PolicyState struct {
	// Enable/disable IGMP flood report. Valid values: `enable`, `disable`.
	IgmpFloodReport pulumi.StringPtrInput
	// Enable/disable IGMP flood traffic. Valid values: `enable`, `disable`.
	IgmpFloodTraffic pulumi.StringPtrInput
	// Auto-Config QoS policy name
	Name pulumi.StringPtrInput
	// Enable/disable PoE status. Valid values: `enable`, `disable`.
	PoeStatus pulumi.StringPtrInput
	// Auto-Config QoS policy.
	QosPolicy pulumi.StringPtrInput
	// Auto-Config storm control policy.
	StormControlPolicy 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 (PolicyState) ElementType

func (PolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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