autoupdate

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupPushupdateArgs

type LookupPushupdateArgs struct {
	// Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPushupdate.

type LookupPushupdateOutputArgs

type LookupPushupdateOutputArgs struct {
	// Specifies the vdom to which the data source 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 `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPushupdate.

func (LookupPushupdateOutputArgs) ElementType

func (LookupPushupdateOutputArgs) ElementType() reflect.Type

type LookupPushupdateResult

type LookupPushupdateResult struct {
	// Push update override server.
	Address string `pulumi:"address"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Enable/disable push update override server.
	Override string `pulumi:"override"`
	// Push update override port. (Do not overlap with other service ports)
	Port int `pulumi:"port"`
	// Enable/disable push updates.
	Status    string  `pulumi:"status"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getPushupdate.

func LookupPushupdate

func LookupPushupdate(ctx *pulumi.Context, args *LookupPushupdateArgs, opts ...pulumi.InvokeOption) (*LookupPushupdateResult, error)

Use this data source to get information on fortios systemautoupdate pushupdate

type LookupPushupdateResultOutput

type LookupPushupdateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPushupdate.

func (LookupPushupdateResultOutput) Address

Push update override server.

func (LookupPushupdateResultOutput) ElementType

func (LookupPushupdateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPushupdateResultOutput) Override

Enable/disable push update override server.

func (LookupPushupdateResultOutput) Port

Push update override port. (Do not overlap with other service ports)

func (LookupPushupdateResultOutput) Status

Enable/disable push updates.

func (LookupPushupdateResultOutput) ToLookupPushupdateResultOutput

func (o LookupPushupdateResultOutput) ToLookupPushupdateResultOutput() LookupPushupdateResultOutput

func (LookupPushupdateResultOutput) ToLookupPushupdateResultOutputWithContext

func (o LookupPushupdateResultOutput) ToLookupPushupdateResultOutputWithContext(ctx context.Context) LookupPushupdateResultOutput

func (LookupPushupdateResultOutput) Vdomparam

type LookupScheduleArgs

type LookupScheduleArgs struct {
	// Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getSchedule.

type LookupScheduleOutputArgs

type LookupScheduleOutputArgs struct {
	// Specifies the vdom to which the data source 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 `pulumi:"vdomparam"`
}

A collection of arguments for invoking getSchedule.

func (LookupScheduleOutputArgs) ElementType

func (LookupScheduleOutputArgs) ElementType() reflect.Type

type LookupScheduleResult

type LookupScheduleResult struct {
	// Update day.
	Day string `pulumi:"day"`
	// Update frequency.
	Frequency string `pulumi:"frequency"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Enable/disable scheduled updates.
	Status string `pulumi:"status"`
	// Update time.
	Time      string  `pulumi:"time"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getSchedule.

func LookupSchedule

func LookupSchedule(ctx *pulumi.Context, args *LookupScheduleArgs, opts ...pulumi.InvokeOption) (*LookupScheduleResult, error)

Use this data source to get information on fortios systemautoupdate schedule

type LookupScheduleResultOutput

type LookupScheduleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSchedule.

func (LookupScheduleResultOutput) Day

Update day.

func (LookupScheduleResultOutput) ElementType

func (LookupScheduleResultOutput) ElementType() reflect.Type

func (LookupScheduleResultOutput) Frequency

Update frequency.

func (LookupScheduleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupScheduleResultOutput) Status

Enable/disable scheduled updates.

func (LookupScheduleResultOutput) Time

Update time.

func (LookupScheduleResultOutput) ToLookupScheduleResultOutput

func (o LookupScheduleResultOutput) ToLookupScheduleResultOutput() LookupScheduleResultOutput

func (LookupScheduleResultOutput) ToLookupScheduleResultOutputWithContext

func (o LookupScheduleResultOutput) ToLookupScheduleResultOutputWithContext(ctx context.Context) LookupScheduleResultOutput

func (LookupScheduleResultOutput) Vdomparam

type LookupTunnelingArgs

type LookupTunnelingArgs struct {
	// Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTunneling.

type LookupTunnelingOutputArgs

type LookupTunnelingOutputArgs struct {
	// Specifies the vdom to which the data source 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 `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTunneling.

func (LookupTunnelingOutputArgs) ElementType

func (LookupTunnelingOutputArgs) ElementType() reflect.Type

type LookupTunnelingResult

type LookupTunnelingResult struct {
	// Web proxy IP address or FQDN.
	Address string `pulumi:"address"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Web proxy password.
	Password string `pulumi:"password"`
	// Web proxy port.
	Port int `pulumi:"port"`
	// Enable/disable web proxy tunnelling.
	Status string `pulumi:"status"`
	// Web proxy username.
	Username  string  `pulumi:"username"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getTunneling.

func LookupTunneling

func LookupTunneling(ctx *pulumi.Context, args *LookupTunnelingArgs, opts ...pulumi.InvokeOption) (*LookupTunnelingResult, error)

Use this data source to get information on fortios systemautoupdate tunneling

type LookupTunnelingResultOutput

type LookupTunnelingResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTunneling.

func (LookupTunnelingResultOutput) Address

Web proxy IP address or FQDN.

func (LookupTunnelingResultOutput) ElementType

func (LookupTunnelingResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTunnelingResultOutput) Password

Web proxy password.

func (LookupTunnelingResultOutput) Port

Web proxy port.

func (LookupTunnelingResultOutput) Status

Enable/disable web proxy tunnelling.

func (LookupTunnelingResultOutput) ToLookupTunnelingResultOutput

func (o LookupTunnelingResultOutput) ToLookupTunnelingResultOutput() LookupTunnelingResultOutput

func (LookupTunnelingResultOutput) ToLookupTunnelingResultOutputWithContext

func (o LookupTunnelingResultOutput) ToLookupTunnelingResultOutputWithContext(ctx context.Context) LookupTunnelingResultOutput

func (LookupTunnelingResultOutput) Username

Web proxy username.

func (LookupTunnelingResultOutput) Vdomparam

type Pushupdate

type Pushupdate struct {
	pulumi.CustomResourceState

	// Push update override server.
	Address pulumi.StringOutput `pulumi:"address"`
	// Enable/disable push update override server. Valid values: `enable`, `disable`.
	Override pulumi.StringOutput `pulumi:"override"`
	// Push update override port. (Do not overlap with other service ports)
	Port pulumi.IntOutput `pulumi:"port"`
	// Enable/disable push updates. Valid values: `enable`, `disable`.
	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"`
}

Configure push updates. Applies to FortiOS Version `<= 7.0.0`.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := system.NewPushupdate(ctx, "trname", &system.PushupdateArgs{
			Address:  pulumi.String("0.0.0.0"),
			Override: pulumi.String("disable"),
			Port:     pulumi.Int(9443),
			Status:   pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

SystemAutoupdate PushUpdate can be imported using any of these accepted formats:

```sh $ pulumi import fortios:system/autoupdate/pushupdate:Pushupdate labelname SystemAutoupdatePushUpdate ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:system/autoupdate/pushupdate:Pushupdate labelname SystemAutoupdatePushUpdate ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetPushupdate

func GetPushupdate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PushupdateState, opts ...pulumi.ResourceOption) (*Pushupdate, error)

GetPushupdate gets an existing Pushupdate 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 NewPushupdate

func NewPushupdate(ctx *pulumi.Context,
	name string, args *PushupdateArgs, opts ...pulumi.ResourceOption) (*Pushupdate, error)

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

func (*Pushupdate) ElementType

func (*Pushupdate) ElementType() reflect.Type

func (*Pushupdate) ToPushupdateOutput

func (i *Pushupdate) ToPushupdateOutput() PushupdateOutput

func (*Pushupdate) ToPushupdateOutputWithContext

func (i *Pushupdate) ToPushupdateOutputWithContext(ctx context.Context) PushupdateOutput

type PushupdateArgs

type PushupdateArgs struct {
	// Push update override server.
	Address pulumi.StringInput
	// Enable/disable push update override server. Valid values: `enable`, `disable`.
	Override pulumi.StringInput
	// Push update override port. (Do not overlap with other service ports)
	Port pulumi.IntInput
	// Enable/disable push updates. Valid values: `enable`, `disable`.
	Status pulumi.StringInput
	// 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 Pushupdate resource.

func (PushupdateArgs) ElementType

func (PushupdateArgs) ElementType() reflect.Type

type PushupdateArray

type PushupdateArray []PushupdateInput

func (PushupdateArray) ElementType

func (PushupdateArray) ElementType() reflect.Type

func (PushupdateArray) ToPushupdateArrayOutput

func (i PushupdateArray) ToPushupdateArrayOutput() PushupdateArrayOutput

func (PushupdateArray) ToPushupdateArrayOutputWithContext

func (i PushupdateArray) ToPushupdateArrayOutputWithContext(ctx context.Context) PushupdateArrayOutput

type PushupdateArrayInput

type PushupdateArrayInput interface {
	pulumi.Input

	ToPushupdateArrayOutput() PushupdateArrayOutput
	ToPushupdateArrayOutputWithContext(context.Context) PushupdateArrayOutput
}

PushupdateArrayInput is an input type that accepts PushupdateArray and PushupdateArrayOutput values. You can construct a concrete instance of `PushupdateArrayInput` via:

PushupdateArray{ PushupdateArgs{...} }

type PushupdateArrayOutput

type PushupdateArrayOutput struct{ *pulumi.OutputState }

func (PushupdateArrayOutput) ElementType

func (PushupdateArrayOutput) ElementType() reflect.Type

func (PushupdateArrayOutput) Index

func (PushupdateArrayOutput) ToPushupdateArrayOutput

func (o PushupdateArrayOutput) ToPushupdateArrayOutput() PushupdateArrayOutput

func (PushupdateArrayOutput) ToPushupdateArrayOutputWithContext

func (o PushupdateArrayOutput) ToPushupdateArrayOutputWithContext(ctx context.Context) PushupdateArrayOutput

type PushupdateInput

type PushupdateInput interface {
	pulumi.Input

	ToPushupdateOutput() PushupdateOutput
	ToPushupdateOutputWithContext(ctx context.Context) PushupdateOutput
}

type PushupdateMap

type PushupdateMap map[string]PushupdateInput

func (PushupdateMap) ElementType

func (PushupdateMap) ElementType() reflect.Type

func (PushupdateMap) ToPushupdateMapOutput

func (i PushupdateMap) ToPushupdateMapOutput() PushupdateMapOutput

func (PushupdateMap) ToPushupdateMapOutputWithContext

func (i PushupdateMap) ToPushupdateMapOutputWithContext(ctx context.Context) PushupdateMapOutput

type PushupdateMapInput

type PushupdateMapInput interface {
	pulumi.Input

	ToPushupdateMapOutput() PushupdateMapOutput
	ToPushupdateMapOutputWithContext(context.Context) PushupdateMapOutput
}

PushupdateMapInput is an input type that accepts PushupdateMap and PushupdateMapOutput values. You can construct a concrete instance of `PushupdateMapInput` via:

PushupdateMap{ "key": PushupdateArgs{...} }

type PushupdateMapOutput

type PushupdateMapOutput struct{ *pulumi.OutputState }

func (PushupdateMapOutput) ElementType

func (PushupdateMapOutput) ElementType() reflect.Type

func (PushupdateMapOutput) MapIndex

func (PushupdateMapOutput) ToPushupdateMapOutput

func (o PushupdateMapOutput) ToPushupdateMapOutput() PushupdateMapOutput

func (PushupdateMapOutput) ToPushupdateMapOutputWithContext

func (o PushupdateMapOutput) ToPushupdateMapOutputWithContext(ctx context.Context) PushupdateMapOutput

type PushupdateOutput

type PushupdateOutput struct{ *pulumi.OutputState }

func (PushupdateOutput) Address

func (o PushupdateOutput) Address() pulumi.StringOutput

Push update override server.

func (PushupdateOutput) ElementType

func (PushupdateOutput) ElementType() reflect.Type

func (PushupdateOutput) Override

func (o PushupdateOutput) Override() pulumi.StringOutput

Enable/disable push update override server. Valid values: `enable`, `disable`.

func (PushupdateOutput) Port

Push update override port. (Do not overlap with other service ports)

func (PushupdateOutput) Status

Enable/disable push updates. Valid values: `enable`, `disable`.

func (PushupdateOutput) ToPushupdateOutput

func (o PushupdateOutput) ToPushupdateOutput() PushupdateOutput

func (PushupdateOutput) ToPushupdateOutputWithContext

func (o PushupdateOutput) ToPushupdateOutputWithContext(ctx context.Context) PushupdateOutput

func (PushupdateOutput) Vdomparam

func (o PushupdateOutput) 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 PushupdateState

type PushupdateState struct {
	// Push update override server.
	Address pulumi.StringPtrInput
	// Enable/disable push update override server. Valid values: `enable`, `disable`.
	Override pulumi.StringPtrInput
	// Push update override port. (Do not overlap with other service ports)
	Port pulumi.IntPtrInput
	// Enable/disable push updates. Valid values: `enable`, `disable`.
	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 (PushupdateState) ElementType

func (PushupdateState) ElementType() reflect.Type

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	// Update day. Valid values: `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`.
	Day pulumi.StringOutput `pulumi:"day"`
	// Update frequency.
	Frequency pulumi.StringOutput `pulumi:"frequency"`
	// Enable/disable scheduled updates. Valid values: `enable`, `disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Update time.
	Time pulumi.StringOutput `pulumi:"time"`
	// 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 update schedule.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := system.NewSchedule(ctx, "trname", &system.ScheduleArgs{
			Day:       pulumi.String("Monday"),
			Frequency: pulumi.String("every"),
			Status:    pulumi.String("enable"),
			Time:      pulumi.String("02:60"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

SystemAutoupdate Schedule can be imported using any of these accepted formats:

```sh $ pulumi import fortios:system/autoupdate/schedule:Schedule labelname SystemAutoupdateSchedule ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:system/autoupdate/schedule:Schedule labelname SystemAutoupdateSchedule ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSchedule

func GetSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)

GetSchedule gets an existing Schedule 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 NewSchedule

func NewSchedule(ctx *pulumi.Context,
	name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)

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

func (*Schedule) ElementType

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext

func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleArgs

type ScheduleArgs struct {
	// Update day. Valid values: `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`.
	Day pulumi.StringPtrInput
	// Update frequency.
	Frequency pulumi.StringInput
	// Enable/disable scheduled updates. Valid values: `enable`, `disable`.
	Status pulumi.StringInput
	// Update time.
	Time pulumi.StringInput
	// 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 Schedule resource.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

	ToScheduleArrayOutput() ScheduleArrayOutput
	ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput
}

ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

	ToScheduleOutput() ScheduleOutput
	ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
}

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

	ToScheduleMapOutput() ScheduleMapOutput
	ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput
}

ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:

ScheduleMap{ "key": ScheduleArgs{...} }

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) Day

Update day. Valid values: `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`.

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) Frequency

func (o ScheduleOutput) Frequency() pulumi.StringOutput

Update frequency.

func (ScheduleOutput) Status

func (o ScheduleOutput) Status() pulumi.StringOutput

Enable/disable scheduled updates. Valid values: `enable`, `disable`.

func (ScheduleOutput) Time

Update time.

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

func (ScheduleOutput) Vdomparam

func (o ScheduleOutput) 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 ScheduleState

type ScheduleState struct {
	// Update day. Valid values: `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`.
	Day pulumi.StringPtrInput
	// Update frequency.
	Frequency pulumi.StringPtrInput
	// Enable/disable scheduled updates. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Update time.
	Time 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 (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type Tunneling

type Tunneling struct {
	pulumi.CustomResourceState

	// Web proxy IP address or FQDN.
	Address pulumi.StringOutput `pulumi:"address"`
	// Web proxy password.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Web proxy port.
	Port pulumi.IntOutput `pulumi:"port"`
	// Enable/disable web proxy tunnelling. Valid values: `enable`, `disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Web proxy username.
	Username pulumi.StringOutput `pulumi:"username"`
	// 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 web proxy tunnelling for the FDN.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := system.NewTunneling(ctx, "trname", &system.TunnelingArgs{
			Port:   pulumi.Int(0),
			Status: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

SystemAutoupdate Tunneling can be imported using any of these accepted formats:

```sh $ pulumi import fortios:system/autoupdate/tunneling:Tunneling labelname SystemAutoupdateTunneling ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:system/autoupdate/tunneling:Tunneling labelname SystemAutoupdateTunneling ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetTunneling

func GetTunneling(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TunnelingState, opts ...pulumi.ResourceOption) (*Tunneling, error)

GetTunneling gets an existing Tunneling 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 NewTunneling

func NewTunneling(ctx *pulumi.Context,
	name string, args *TunnelingArgs, opts ...pulumi.ResourceOption) (*Tunneling, error)

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

func (*Tunneling) ElementType

func (*Tunneling) ElementType() reflect.Type

func (*Tunneling) ToTunnelingOutput

func (i *Tunneling) ToTunnelingOutput() TunnelingOutput

func (*Tunneling) ToTunnelingOutputWithContext

func (i *Tunneling) ToTunnelingOutputWithContext(ctx context.Context) TunnelingOutput

type TunnelingArgs

type TunnelingArgs struct {
	// Web proxy IP address or FQDN.
	Address pulumi.StringPtrInput
	// Web proxy password.
	Password pulumi.StringPtrInput
	// Web proxy port.
	Port pulumi.IntPtrInput
	// Enable/disable web proxy tunnelling. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Web proxy username.
	Username 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 Tunneling resource.

func (TunnelingArgs) ElementType

func (TunnelingArgs) ElementType() reflect.Type

type TunnelingArray

type TunnelingArray []TunnelingInput

func (TunnelingArray) ElementType

func (TunnelingArray) ElementType() reflect.Type

func (TunnelingArray) ToTunnelingArrayOutput

func (i TunnelingArray) ToTunnelingArrayOutput() TunnelingArrayOutput

func (TunnelingArray) ToTunnelingArrayOutputWithContext

func (i TunnelingArray) ToTunnelingArrayOutputWithContext(ctx context.Context) TunnelingArrayOutput

type TunnelingArrayInput

type TunnelingArrayInput interface {
	pulumi.Input

	ToTunnelingArrayOutput() TunnelingArrayOutput
	ToTunnelingArrayOutputWithContext(context.Context) TunnelingArrayOutput
}

TunnelingArrayInput is an input type that accepts TunnelingArray and TunnelingArrayOutput values. You can construct a concrete instance of `TunnelingArrayInput` via:

TunnelingArray{ TunnelingArgs{...} }

type TunnelingArrayOutput

type TunnelingArrayOutput struct{ *pulumi.OutputState }

func (TunnelingArrayOutput) ElementType

func (TunnelingArrayOutput) ElementType() reflect.Type

func (TunnelingArrayOutput) Index

func (TunnelingArrayOutput) ToTunnelingArrayOutput

func (o TunnelingArrayOutput) ToTunnelingArrayOutput() TunnelingArrayOutput

func (TunnelingArrayOutput) ToTunnelingArrayOutputWithContext

func (o TunnelingArrayOutput) ToTunnelingArrayOutputWithContext(ctx context.Context) TunnelingArrayOutput

type TunnelingInput

type TunnelingInput interface {
	pulumi.Input

	ToTunnelingOutput() TunnelingOutput
	ToTunnelingOutputWithContext(ctx context.Context) TunnelingOutput
}

type TunnelingMap

type TunnelingMap map[string]TunnelingInput

func (TunnelingMap) ElementType

func (TunnelingMap) ElementType() reflect.Type

func (TunnelingMap) ToTunnelingMapOutput

func (i TunnelingMap) ToTunnelingMapOutput() TunnelingMapOutput

func (TunnelingMap) ToTunnelingMapOutputWithContext

func (i TunnelingMap) ToTunnelingMapOutputWithContext(ctx context.Context) TunnelingMapOutput

type TunnelingMapInput

type TunnelingMapInput interface {
	pulumi.Input

	ToTunnelingMapOutput() TunnelingMapOutput
	ToTunnelingMapOutputWithContext(context.Context) TunnelingMapOutput
}

TunnelingMapInput is an input type that accepts TunnelingMap and TunnelingMapOutput values. You can construct a concrete instance of `TunnelingMapInput` via:

TunnelingMap{ "key": TunnelingArgs{...} }

type TunnelingMapOutput

type TunnelingMapOutput struct{ *pulumi.OutputState }

func (TunnelingMapOutput) ElementType

func (TunnelingMapOutput) ElementType() reflect.Type

func (TunnelingMapOutput) MapIndex

func (TunnelingMapOutput) ToTunnelingMapOutput

func (o TunnelingMapOutput) ToTunnelingMapOutput() TunnelingMapOutput

func (TunnelingMapOutput) ToTunnelingMapOutputWithContext

func (o TunnelingMapOutput) ToTunnelingMapOutputWithContext(ctx context.Context) TunnelingMapOutput

type TunnelingOutput

type TunnelingOutput struct{ *pulumi.OutputState }

func (TunnelingOutput) Address

func (o TunnelingOutput) Address() pulumi.StringOutput

Web proxy IP address or FQDN.

func (TunnelingOutput) ElementType

func (TunnelingOutput) ElementType() reflect.Type

func (TunnelingOutput) Password

func (o TunnelingOutput) Password() pulumi.StringPtrOutput

Web proxy password.

func (TunnelingOutput) Port

func (o TunnelingOutput) Port() pulumi.IntOutput

Web proxy port.

func (TunnelingOutput) Status

func (o TunnelingOutput) Status() pulumi.StringOutput

Enable/disable web proxy tunnelling. Valid values: `enable`, `disable`.

func (TunnelingOutput) ToTunnelingOutput

func (o TunnelingOutput) ToTunnelingOutput() TunnelingOutput

func (TunnelingOutput) ToTunnelingOutputWithContext

func (o TunnelingOutput) ToTunnelingOutputWithContext(ctx context.Context) TunnelingOutput

func (TunnelingOutput) Username

func (o TunnelingOutput) Username() pulumi.StringOutput

Web proxy username.

func (TunnelingOutput) Vdomparam

func (o TunnelingOutput) 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 TunnelingState

type TunnelingState struct {
	// Web proxy IP address or FQDN.
	Address pulumi.StringPtrInput
	// Web proxy password.
	Password pulumi.StringPtrInput
	// Web proxy port.
	Port pulumi.IntPtrInput
	// Enable/disable web proxy tunnelling. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Web proxy username.
	Username 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 (TunnelingState) ElementType

func (TunnelingState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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