ptp

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 Interfacepolicy

type Interfacepolicy struct {
	pulumi.CustomResourceState

	// Description.
	Description pulumi.StringOutput `pulumi:"description"`
	// Policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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"`
	// PTP VLAN.
	Vlan pulumi.StringOutput `pulumi:"vlan"`
	// Configure PTP VLAN priority (0 - 7, default = 4).
	VlanPri pulumi.IntOutput `pulumi:"vlanPri"`
}

PTP interface-policy configuration. Applies to FortiOS Version `>= 7.4.1`.

## Import

SwitchControllerPtp InterfacePolicy can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/ptp/interfacepolicy:Interfacepolicy labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/ptp/interfacepolicy:Interfacepolicy labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetInterfacepolicy

func GetInterfacepolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InterfacepolicyState, opts ...pulumi.ResourceOption) (*Interfacepolicy, error)

GetInterfacepolicy gets an existing Interfacepolicy 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 NewInterfacepolicy

func NewInterfacepolicy(ctx *pulumi.Context,
	name string, args *InterfacepolicyArgs, opts ...pulumi.ResourceOption) (*Interfacepolicy, error)

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

func (*Interfacepolicy) ElementType

func (*Interfacepolicy) ElementType() reflect.Type

func (*Interfacepolicy) ToInterfacepolicyOutput

func (i *Interfacepolicy) ToInterfacepolicyOutput() InterfacepolicyOutput

func (*Interfacepolicy) ToInterfacepolicyOutputWithContext

func (i *Interfacepolicy) ToInterfacepolicyOutputWithContext(ctx context.Context) InterfacepolicyOutput

type InterfacepolicyArgs

type InterfacepolicyArgs struct {
	// Description.
	Description pulumi.StringPtrInput
	// Policy name.
	Name 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
	// PTP VLAN.
	Vlan pulumi.StringPtrInput
	// Configure PTP VLAN priority (0 - 7, default = 4).
	VlanPri pulumi.IntPtrInput
}

The set of arguments for constructing a Interfacepolicy resource.

func (InterfacepolicyArgs) ElementType

func (InterfacepolicyArgs) ElementType() reflect.Type

type InterfacepolicyArray

type InterfacepolicyArray []InterfacepolicyInput

func (InterfacepolicyArray) ElementType

func (InterfacepolicyArray) ElementType() reflect.Type

func (InterfacepolicyArray) ToInterfacepolicyArrayOutput

func (i InterfacepolicyArray) ToInterfacepolicyArrayOutput() InterfacepolicyArrayOutput

func (InterfacepolicyArray) ToInterfacepolicyArrayOutputWithContext

func (i InterfacepolicyArray) ToInterfacepolicyArrayOutputWithContext(ctx context.Context) InterfacepolicyArrayOutput

type InterfacepolicyArrayInput

type InterfacepolicyArrayInput interface {
	pulumi.Input

	ToInterfacepolicyArrayOutput() InterfacepolicyArrayOutput
	ToInterfacepolicyArrayOutputWithContext(context.Context) InterfacepolicyArrayOutput
}

InterfacepolicyArrayInput is an input type that accepts InterfacepolicyArray and InterfacepolicyArrayOutput values. You can construct a concrete instance of `InterfacepolicyArrayInput` via:

InterfacepolicyArray{ InterfacepolicyArgs{...} }

type InterfacepolicyArrayOutput

type InterfacepolicyArrayOutput struct{ *pulumi.OutputState }

func (InterfacepolicyArrayOutput) ElementType

func (InterfacepolicyArrayOutput) ElementType() reflect.Type

func (InterfacepolicyArrayOutput) Index

func (InterfacepolicyArrayOutput) ToInterfacepolicyArrayOutput

func (o InterfacepolicyArrayOutput) ToInterfacepolicyArrayOutput() InterfacepolicyArrayOutput

func (InterfacepolicyArrayOutput) ToInterfacepolicyArrayOutputWithContext

func (o InterfacepolicyArrayOutput) ToInterfacepolicyArrayOutputWithContext(ctx context.Context) InterfacepolicyArrayOutput

type InterfacepolicyInput

type InterfacepolicyInput interface {
	pulumi.Input

	ToInterfacepolicyOutput() InterfacepolicyOutput
	ToInterfacepolicyOutputWithContext(ctx context.Context) InterfacepolicyOutput
}

type InterfacepolicyMap

type InterfacepolicyMap map[string]InterfacepolicyInput

func (InterfacepolicyMap) ElementType

func (InterfacepolicyMap) ElementType() reflect.Type

func (InterfacepolicyMap) ToInterfacepolicyMapOutput

func (i InterfacepolicyMap) ToInterfacepolicyMapOutput() InterfacepolicyMapOutput

func (InterfacepolicyMap) ToInterfacepolicyMapOutputWithContext

func (i InterfacepolicyMap) ToInterfacepolicyMapOutputWithContext(ctx context.Context) InterfacepolicyMapOutput

type InterfacepolicyMapInput

type InterfacepolicyMapInput interface {
	pulumi.Input

	ToInterfacepolicyMapOutput() InterfacepolicyMapOutput
	ToInterfacepolicyMapOutputWithContext(context.Context) InterfacepolicyMapOutput
}

InterfacepolicyMapInput is an input type that accepts InterfacepolicyMap and InterfacepolicyMapOutput values. You can construct a concrete instance of `InterfacepolicyMapInput` via:

InterfacepolicyMap{ "key": InterfacepolicyArgs{...} }

type InterfacepolicyMapOutput

type InterfacepolicyMapOutput struct{ *pulumi.OutputState }

func (InterfacepolicyMapOutput) ElementType

func (InterfacepolicyMapOutput) ElementType() reflect.Type

func (InterfacepolicyMapOutput) MapIndex

func (InterfacepolicyMapOutput) ToInterfacepolicyMapOutput

func (o InterfacepolicyMapOutput) ToInterfacepolicyMapOutput() InterfacepolicyMapOutput

func (InterfacepolicyMapOutput) ToInterfacepolicyMapOutputWithContext

func (o InterfacepolicyMapOutput) ToInterfacepolicyMapOutputWithContext(ctx context.Context) InterfacepolicyMapOutput

type InterfacepolicyOutput

type InterfacepolicyOutput struct{ *pulumi.OutputState }

func (InterfacepolicyOutput) Description

func (o InterfacepolicyOutput) Description() pulumi.StringOutput

Description.

func (InterfacepolicyOutput) ElementType

func (InterfacepolicyOutput) ElementType() reflect.Type

func (InterfacepolicyOutput) Name

Policy name.

func (InterfacepolicyOutput) ToInterfacepolicyOutput

func (o InterfacepolicyOutput) ToInterfacepolicyOutput() InterfacepolicyOutput

func (InterfacepolicyOutput) ToInterfacepolicyOutputWithContext

func (o InterfacepolicyOutput) ToInterfacepolicyOutputWithContext(ctx context.Context) InterfacepolicyOutput

func (InterfacepolicyOutput) Vdomparam

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.

func (InterfacepolicyOutput) Vlan

PTP VLAN.

func (InterfacepolicyOutput) VlanPri

Configure PTP VLAN priority (0 - 7, default = 4).

type InterfacepolicyState

type InterfacepolicyState struct {
	// Description.
	Description pulumi.StringPtrInput
	// Policy name.
	Name 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
	// PTP VLAN.
	Vlan pulumi.StringPtrInput
	// Configure PTP VLAN priority (0 - 7, default = 4).
	VlanPri pulumi.IntPtrInput
}

func (InterfacepolicyState) ElementType

func (InterfacepolicyState) ElementType() reflect.Type

type Policy

type Policy struct {
	pulumi.CustomResourceState

	// Policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Enable/disable PTP policy. Valid values: `disable`, `enable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// 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"`
}

PTP policy configuration. Applies to FortiOS Version `6.4.2,6.4.10,6.4.11,6.4.12,6.4.13,6.4.14,7.0.0,7.0.1,7.0.2,7.0.3,7.0.4,7.0.5,7.0.6,7.0.7,7.0.8,7.0.9,7.0.10,7.0.11,7.0.12,7.0.13,7.2.0,7.2.1,7.2.2,7.2.3,7.2.4,7.2.6,7.4.0`.

## Import

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

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

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/ptp/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 {
	// Policy name.
	Name pulumi.StringPtrInput
	// Enable/disable PTP policy. Valid values: `disable`, `enable`.
	Status 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) Name

func (o PolicyOutput) Name() pulumi.StringOutput

Policy name.

func (PolicyOutput) Status

func (o PolicyOutput) Status() pulumi.StringOutput

Enable/disable PTP policy. Valid values: `disable`, `enable`.

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 {
	// Policy name.
	Name pulumi.StringPtrInput
	// Enable/disable PTP policy. Valid values: `disable`, `enable`.
	Status 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

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// Description.
	Description pulumi.StringOutput `pulumi:"description"`
	// Configure PTP domain value (0 - 255, default = 254).
	Domain pulumi.IntOutput `pulumi:"domain"`
	// Select PTP mode. Valid values: `transparent-e2e`, `transparent-p2p`.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Profile name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configure PTP peer delay request interval. Valid values: `1sec`, `2sec`, `4sec`, `8sec`, `16sec`, `32sec`.
	PdelayReqInterval pulumi.StringOutput `pulumi:"pdelayReqInterval"`
	// Configure PTP power profile. Valid values: `C37.238-2017`.
	PtpProfile pulumi.StringOutput `pulumi:"ptpProfile"`
	// Configure PTP transport mode. Valid values: `l2-mcast`.
	Transport pulumi.StringOutput `pulumi:"transport"`
	// 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"`
}

Global PTP profile. Applies to FortiOS Version `>= 7.4.1`.

## Import

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

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

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/ptp/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 {
	// Description.
	Description pulumi.StringPtrInput
	// Configure PTP domain value (0 - 255, default = 254).
	Domain pulumi.IntPtrInput
	// Select PTP mode. Valid values: `transparent-e2e`, `transparent-p2p`.
	Mode pulumi.StringPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Configure PTP peer delay request interval. Valid values: `1sec`, `2sec`, `4sec`, `8sec`, `16sec`, `32sec`.
	PdelayReqInterval pulumi.StringPtrInput
	// Configure PTP power profile. Valid values: `C37.238-2017`.
	PtpProfile pulumi.StringPtrInput
	// Configure PTP transport mode. Valid values: `l2-mcast`.
	Transport 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) Description

func (o ProfileOutput) Description() pulumi.StringOutput

Description.

func (ProfileOutput) Domain

func (o ProfileOutput) Domain() pulumi.IntOutput

Configure PTP domain value (0 - 255, default = 254).

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) Mode

Select PTP mode. Valid values: `transparent-e2e`, `transparent-p2p`.

func (ProfileOutput) Name

Profile name.

func (ProfileOutput) PdelayReqInterval

func (o ProfileOutput) PdelayReqInterval() pulumi.StringOutput

Configure PTP peer delay request interval. Valid values: `1sec`, `2sec`, `4sec`, `8sec`, `16sec`, `32sec`.

func (ProfileOutput) PtpProfile

func (o ProfileOutput) PtpProfile() pulumi.StringOutput

Configure PTP power profile. Valid values: `C37.238-2017`.

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

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

func (ProfileOutput) Transport

func (o ProfileOutput) Transport() pulumi.StringOutput

Configure PTP transport mode. Valid values: `l2-mcast`.

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 {
	// Description.
	Description pulumi.StringPtrInput
	// Configure PTP domain value (0 - 255, default = 254).
	Domain pulumi.IntPtrInput
	// Select PTP mode. Valid values: `transparent-e2e`, `transparent-p2p`.
	Mode pulumi.StringPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Configure PTP peer delay request interval. Valid values: `1sec`, `2sec`, `4sec`, `8sec`, `16sec`, `32sec`.
	PdelayReqInterval pulumi.StringPtrInput
	// Configure PTP power profile. Valid values: `C37.238-2017`.
	PtpProfile pulumi.StringPtrInput
	// Configure PTP transport mode. Valid values: `l2-mcast`.
	Transport 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

type Settings

type Settings struct {
	pulumi.CustomResourceState

	// Enable/disable PTP mode. Valid values: `disable`, `transparent-e2e`, `transparent-p2p`.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// 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"`
}

Global PTP settings. Applies to FortiOS Version `6.4.2,6.4.10,6.4.11,6.4.12,6.4.13,6.4.14,7.0.0,7.0.1,7.0.2,7.0.3,7.0.4,7.0.5,7.0.6,7.0.7,7.0.8,7.0.9,7.0.10,7.0.11,7.0.12,7.0.13,7.2.0,7.2.1,7.2.2,7.2.3,7.2.4,7.2.6,7.4.0`.

## Import

SwitchControllerPtp Settings can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/ptp/settings:Settings labelname SwitchControllerPtpSettings ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/ptp/settings:Settings labelname SwitchControllerPtpSettings ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSettings

func GetSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingsState, opts ...pulumi.ResourceOption) (*Settings, error)

GetSettings gets an existing Settings 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 NewSettings

func NewSettings(ctx *pulumi.Context,
	name string, args *SettingsArgs, opts ...pulumi.ResourceOption) (*Settings, error)

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

func (*Settings) ElementType

func (*Settings) ElementType() reflect.Type

func (*Settings) ToSettingsOutput

func (i *Settings) ToSettingsOutput() SettingsOutput

func (*Settings) ToSettingsOutputWithContext

func (i *Settings) ToSettingsOutputWithContext(ctx context.Context) SettingsOutput

type SettingsArgs

type SettingsArgs struct {
	// Enable/disable PTP mode. Valid values: `disable`, `transparent-e2e`, `transparent-p2p`.
	Mode 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 Settings resource.

func (SettingsArgs) ElementType

func (SettingsArgs) ElementType() reflect.Type

type SettingsArray

type SettingsArray []SettingsInput

func (SettingsArray) ElementType

func (SettingsArray) ElementType() reflect.Type

func (SettingsArray) ToSettingsArrayOutput

func (i SettingsArray) ToSettingsArrayOutput() SettingsArrayOutput

func (SettingsArray) ToSettingsArrayOutputWithContext

func (i SettingsArray) ToSettingsArrayOutputWithContext(ctx context.Context) SettingsArrayOutput

type SettingsArrayInput

type SettingsArrayInput interface {
	pulumi.Input

	ToSettingsArrayOutput() SettingsArrayOutput
	ToSettingsArrayOutputWithContext(context.Context) SettingsArrayOutput
}

SettingsArrayInput is an input type that accepts SettingsArray and SettingsArrayOutput values. You can construct a concrete instance of `SettingsArrayInput` via:

SettingsArray{ SettingsArgs{...} }

type SettingsArrayOutput

type SettingsArrayOutput struct{ *pulumi.OutputState }

func (SettingsArrayOutput) ElementType

func (SettingsArrayOutput) ElementType() reflect.Type

func (SettingsArrayOutput) Index

func (SettingsArrayOutput) ToSettingsArrayOutput

func (o SettingsArrayOutput) ToSettingsArrayOutput() SettingsArrayOutput

func (SettingsArrayOutput) ToSettingsArrayOutputWithContext

func (o SettingsArrayOutput) ToSettingsArrayOutputWithContext(ctx context.Context) SettingsArrayOutput

type SettingsInput

type SettingsInput interface {
	pulumi.Input

	ToSettingsOutput() SettingsOutput
	ToSettingsOutputWithContext(ctx context.Context) SettingsOutput
}

type SettingsMap

type SettingsMap map[string]SettingsInput

func (SettingsMap) ElementType

func (SettingsMap) ElementType() reflect.Type

func (SettingsMap) ToSettingsMapOutput

func (i SettingsMap) ToSettingsMapOutput() SettingsMapOutput

func (SettingsMap) ToSettingsMapOutputWithContext

func (i SettingsMap) ToSettingsMapOutputWithContext(ctx context.Context) SettingsMapOutput

type SettingsMapInput

type SettingsMapInput interface {
	pulumi.Input

	ToSettingsMapOutput() SettingsMapOutput
	ToSettingsMapOutputWithContext(context.Context) SettingsMapOutput
}

SettingsMapInput is an input type that accepts SettingsMap and SettingsMapOutput values. You can construct a concrete instance of `SettingsMapInput` via:

SettingsMap{ "key": SettingsArgs{...} }

type SettingsMapOutput

type SettingsMapOutput struct{ *pulumi.OutputState }

func (SettingsMapOutput) ElementType

func (SettingsMapOutput) ElementType() reflect.Type

func (SettingsMapOutput) MapIndex

func (SettingsMapOutput) ToSettingsMapOutput

func (o SettingsMapOutput) ToSettingsMapOutput() SettingsMapOutput

func (SettingsMapOutput) ToSettingsMapOutputWithContext

func (o SettingsMapOutput) ToSettingsMapOutputWithContext(ctx context.Context) SettingsMapOutput

type SettingsOutput

type SettingsOutput struct{ *pulumi.OutputState }

func (SettingsOutput) ElementType

func (SettingsOutput) ElementType() reflect.Type

func (SettingsOutput) Mode

Enable/disable PTP mode. Valid values: `disable`, `transparent-e2e`, `transparent-p2p`.

func (SettingsOutput) ToSettingsOutput

func (o SettingsOutput) ToSettingsOutput() SettingsOutput

func (SettingsOutput) ToSettingsOutputWithContext

func (o SettingsOutput) ToSettingsOutputWithContext(ctx context.Context) SettingsOutput

func (SettingsOutput) Vdomparam

func (o SettingsOutput) 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 SettingsState

type SettingsState struct {
	// Enable/disable PTP mode. Valid values: `disable`, `transparent-e2e`, `transparent-p2p`.
	Mode 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 (SettingsState) ElementType

func (SettingsState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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