schedule

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 GetGroupMember

type GetGroupMember struct {
	// Specify the name of the desired firewallschedule group.
	Name string `pulumi:"name"`
}

type GetGroupMemberArgs

type GetGroupMemberArgs struct {
	// Specify the name of the desired firewallschedule group.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetGroupMemberArgs) ElementType

func (GetGroupMemberArgs) ElementType() reflect.Type

func (GetGroupMemberArgs) ToGetGroupMemberOutput

func (i GetGroupMemberArgs) ToGetGroupMemberOutput() GetGroupMemberOutput

func (GetGroupMemberArgs) ToGetGroupMemberOutputWithContext

func (i GetGroupMemberArgs) ToGetGroupMemberOutputWithContext(ctx context.Context) GetGroupMemberOutput

type GetGroupMemberArray

type GetGroupMemberArray []GetGroupMemberInput

func (GetGroupMemberArray) ElementType

func (GetGroupMemberArray) ElementType() reflect.Type

func (GetGroupMemberArray) ToGetGroupMemberArrayOutput

func (i GetGroupMemberArray) ToGetGroupMemberArrayOutput() GetGroupMemberArrayOutput

func (GetGroupMemberArray) ToGetGroupMemberArrayOutputWithContext

func (i GetGroupMemberArray) ToGetGroupMemberArrayOutputWithContext(ctx context.Context) GetGroupMemberArrayOutput

type GetGroupMemberArrayInput

type GetGroupMemberArrayInput interface {
	pulumi.Input

	ToGetGroupMemberArrayOutput() GetGroupMemberArrayOutput
	ToGetGroupMemberArrayOutputWithContext(context.Context) GetGroupMemberArrayOutput
}

GetGroupMemberArrayInput is an input type that accepts GetGroupMemberArray and GetGroupMemberArrayOutput values. You can construct a concrete instance of `GetGroupMemberArrayInput` via:

GetGroupMemberArray{ GetGroupMemberArgs{...} }

type GetGroupMemberArrayOutput

type GetGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (GetGroupMemberArrayOutput) ElementType

func (GetGroupMemberArrayOutput) ElementType() reflect.Type

func (GetGroupMemberArrayOutput) Index

func (GetGroupMemberArrayOutput) ToGetGroupMemberArrayOutput

func (o GetGroupMemberArrayOutput) ToGetGroupMemberArrayOutput() GetGroupMemberArrayOutput

func (GetGroupMemberArrayOutput) ToGetGroupMemberArrayOutputWithContext

func (o GetGroupMemberArrayOutput) ToGetGroupMemberArrayOutputWithContext(ctx context.Context) GetGroupMemberArrayOutput

type GetGroupMemberInput

type GetGroupMemberInput interface {
	pulumi.Input

	ToGetGroupMemberOutput() GetGroupMemberOutput
	ToGetGroupMemberOutputWithContext(context.Context) GetGroupMemberOutput
}

GetGroupMemberInput is an input type that accepts GetGroupMemberArgs and GetGroupMemberOutput values. You can construct a concrete instance of `GetGroupMemberInput` via:

GetGroupMemberArgs{...}

type GetGroupMemberOutput

type GetGroupMemberOutput struct{ *pulumi.OutputState }

func (GetGroupMemberOutput) ElementType

func (GetGroupMemberOutput) ElementType() reflect.Type

func (GetGroupMemberOutput) Name

Specify the name of the desired firewallschedule group.

func (GetGroupMemberOutput) ToGetGroupMemberOutput

func (o GetGroupMemberOutput) ToGetGroupMemberOutput() GetGroupMemberOutput

func (GetGroupMemberOutput) ToGetGroupMemberOutputWithContext

func (o GetGroupMemberOutput) ToGetGroupMemberOutputWithContext(ctx context.Context) GetGroupMemberOutput

type GetGrouplistArgs

type GetGrouplistArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter *string `pulumi:"filter"`
	// 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 getGrouplist.

type GetGrouplistOutputArgs

type GetGrouplistOutputArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// 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 getGrouplist.

func (GetGrouplistOutputArgs) ElementType

func (GetGrouplistOutputArgs) ElementType() reflect.Type

type GetGrouplistResult

type GetGrouplistResult struct {
	Filter *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the `firewall/schedule.Group`.
	Namelists []string `pulumi:"namelists"`
	Vdomparam *string  `pulumi:"vdomparam"`
}

A collection of values returned by getGrouplist.

func GetGrouplist

func GetGrouplist(ctx *pulumi.Context, args *GetGrouplistArgs, opts ...pulumi.InvokeOption) (*GetGrouplistResult, error)

Provides a list of `firewall/schedule.Group`.

type GetGrouplistResultOutput

type GetGrouplistResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGrouplist.

func (GetGrouplistResultOutput) ElementType

func (GetGrouplistResultOutput) ElementType() reflect.Type

func (GetGrouplistResultOutput) Filter

func (GetGrouplistResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGrouplistResultOutput) Namelists

A list of the `firewall/schedule.Group`.

func (GetGrouplistResultOutput) ToGetGrouplistResultOutput

func (o GetGrouplistResultOutput) ToGetGrouplistResultOutput() GetGrouplistResultOutput

func (GetGrouplistResultOutput) ToGetGrouplistResultOutputWithContext

func (o GetGrouplistResultOutput) ToGetGrouplistResultOutputWithContext(ctx context.Context) GetGrouplistResultOutput

func (GetGrouplistResultOutput) Vdomparam

type GetOnetimelistArgs

type GetOnetimelistArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter *string `pulumi:"filter"`
	// 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 getOnetimelist.

type GetOnetimelistOutputArgs

type GetOnetimelistOutputArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// 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 getOnetimelist.

func (GetOnetimelistOutputArgs) ElementType

func (GetOnetimelistOutputArgs) ElementType() reflect.Type

type GetOnetimelistResult

type GetOnetimelistResult struct {
	Filter *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the `firewall/schedule.Onetime`.
	Namelists []string `pulumi:"namelists"`
	Vdomparam *string  `pulumi:"vdomparam"`
}

A collection of values returned by getOnetimelist.

func GetOnetimelist

func GetOnetimelist(ctx *pulumi.Context, args *GetOnetimelistArgs, opts ...pulumi.InvokeOption) (*GetOnetimelistResult, error)

Provides a list of `firewall/schedule.Onetime`.

type GetOnetimelistResultOutput

type GetOnetimelistResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOnetimelist.

func (GetOnetimelistResultOutput) ElementType

func (GetOnetimelistResultOutput) ElementType() reflect.Type

func (GetOnetimelistResultOutput) Filter

func (GetOnetimelistResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOnetimelistResultOutput) Namelists

A list of the `firewall/schedule.Onetime`.

func (GetOnetimelistResultOutput) ToGetOnetimelistResultOutput

func (o GetOnetimelistResultOutput) ToGetOnetimelistResultOutput() GetOnetimelistResultOutput

func (GetOnetimelistResultOutput) ToGetOnetimelistResultOutputWithContext

func (o GetOnetimelistResultOutput) ToGetOnetimelistResultOutputWithContext(ctx context.Context) GetOnetimelistResultOutput

func (GetOnetimelistResultOutput) Vdomparam

type GetRecurringlistArgs

type GetRecurringlistArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter *string `pulumi:"filter"`
	// 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 getRecurringlist.

type GetRecurringlistOutputArgs

type GetRecurringlistOutputArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// 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 getRecurringlist.

func (GetRecurringlistOutputArgs) ElementType

func (GetRecurringlistOutputArgs) ElementType() reflect.Type

type GetRecurringlistResult

type GetRecurringlistResult struct {
	Filter *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the `firewall/schedule.Recurring`.
	Namelists []string `pulumi:"namelists"`
	Vdomparam *string  `pulumi:"vdomparam"`
}

A collection of values returned by getRecurringlist.

func GetRecurringlist

func GetRecurringlist(ctx *pulumi.Context, args *GetRecurringlistArgs, opts ...pulumi.InvokeOption) (*GetRecurringlistResult, error)

Provides a list of `firewall/schedule.Recurring`.

type GetRecurringlistResultOutput

type GetRecurringlistResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecurringlist.

func (GetRecurringlistResultOutput) ElementType

func (GetRecurringlistResultOutput) Filter

func (GetRecurringlistResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecurringlistResultOutput) Namelists

A list of the `firewall/schedule.Recurring`.

func (GetRecurringlistResultOutput) ToGetRecurringlistResultOutput

func (o GetRecurringlistResultOutput) ToGetRecurringlistResultOutput() GetRecurringlistResultOutput

func (GetRecurringlistResultOutput) ToGetRecurringlistResultOutputWithContext

func (o GetRecurringlistResultOutput) ToGetRecurringlistResultOutputWithContext(ctx context.Context) GetRecurringlistResultOutput

func (GetRecurringlistResultOutput) Vdomparam

type Group

type Group struct {
	pulumi.CustomResourceState

	// Color of icon on the GUI.
	Color pulumi.IntOutput `pulumi:"color"`
	// 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"`
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringOutput `pulumi:"fabricObject"`
	// 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"`
	// Schedules added to the schedule group. The structure of `member` block is documented below.
	Members GroupMemberArrayOutput `pulumi:"members"`
	// Schedule group 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"`
}

Schedule group configuration.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trname1, err := firewall.NewRecurring(ctx, "trname1", &firewall.RecurringArgs{
			Color: pulumi.Int(0),
			Day:   pulumi.String("sunday"),
			End:   pulumi.String("00:00"),
			Start: pulumi.String("00:00"),
		})
		if err != nil {
			return err
		}
		_, err = firewall.NewGroup(ctx, "trname", &firewall.GroupArgs{
			Color: pulumi.Int(0),
			Members: schedule.GroupMemberArray{
				&schedule.GroupMemberArgs{
					Name: trname1.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

FirewallSchedule Group can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/schedule/group:Group labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/schedule/group:Group labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group 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 NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

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

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// 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
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject 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
	// Schedules added to the schedule group. The structure of `member` block is documented below.
	Members GroupMemberArrayInput
	// Schedule group 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
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMember

type GroupMember struct {
	// Schedule name.
	Name *string `pulumi:"name"`
}

type GroupMemberArgs

type GroupMemberArgs struct {
	// Schedule name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (GroupMemberArgs) ElementType

func (GroupMemberArgs) ElementType() reflect.Type

func (GroupMemberArgs) ToGroupMemberOutput

func (i GroupMemberArgs) ToGroupMemberOutput() GroupMemberOutput

func (GroupMemberArgs) ToGroupMemberOutputWithContext

func (i GroupMemberArgs) ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput

type GroupMemberArray

type GroupMemberArray []GroupMemberInput

func (GroupMemberArray) ElementType

func (GroupMemberArray) ElementType() reflect.Type

func (GroupMemberArray) ToGroupMemberArrayOutput

func (i GroupMemberArray) ToGroupMemberArrayOutput() GroupMemberArrayOutput

func (GroupMemberArray) ToGroupMemberArrayOutputWithContext

func (i GroupMemberArray) ToGroupMemberArrayOutputWithContext(ctx context.Context) GroupMemberArrayOutput

type GroupMemberArrayInput

type GroupMemberArrayInput interface {
	pulumi.Input

	ToGroupMemberArrayOutput() GroupMemberArrayOutput
	ToGroupMemberArrayOutputWithContext(context.Context) GroupMemberArrayOutput
}

GroupMemberArrayInput is an input type that accepts GroupMemberArray and GroupMemberArrayOutput values. You can construct a concrete instance of `GroupMemberArrayInput` via:

GroupMemberArray{ GroupMemberArgs{...} }

type GroupMemberArrayOutput

type GroupMemberArrayOutput struct{ *pulumi.OutputState }

func (GroupMemberArrayOutput) ElementType

func (GroupMemberArrayOutput) ElementType() reflect.Type

func (GroupMemberArrayOutput) Index

func (GroupMemberArrayOutput) ToGroupMemberArrayOutput

func (o GroupMemberArrayOutput) ToGroupMemberArrayOutput() GroupMemberArrayOutput

func (GroupMemberArrayOutput) ToGroupMemberArrayOutputWithContext

func (o GroupMemberArrayOutput) ToGroupMemberArrayOutputWithContext(ctx context.Context) GroupMemberArrayOutput

type GroupMemberInput

type GroupMemberInput interface {
	pulumi.Input

	ToGroupMemberOutput() GroupMemberOutput
	ToGroupMemberOutputWithContext(context.Context) GroupMemberOutput
}

GroupMemberInput is an input type that accepts GroupMemberArgs and GroupMemberOutput values. You can construct a concrete instance of `GroupMemberInput` via:

GroupMemberArgs{...}

type GroupMemberOutput

type GroupMemberOutput struct{ *pulumi.OutputState }

func (GroupMemberOutput) ElementType

func (GroupMemberOutput) ElementType() reflect.Type

func (GroupMemberOutput) Name

Schedule name.

func (GroupMemberOutput) ToGroupMemberOutput

func (o GroupMemberOutput) ToGroupMemberOutput() GroupMemberOutput

func (GroupMemberOutput) ToGroupMemberOutputWithContext

func (o GroupMemberOutput) ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) Color

func (o GroupOutput) Color() pulumi.IntOutput

Color of icon on the GUI.

func (GroupOutput) DynamicSortSubtable

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

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) FabricObject

func (o GroupOutput) FabricObject() pulumi.StringOutput

Security Fabric global object setting. Valid values: `enable`, `disable`.

func (GroupOutput) GetAllTables

func (o GroupOutput) 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 (GroupOutput) Members

func (o GroupOutput) Members() GroupMemberArrayOutput

Schedules added to the schedule group. The structure of `member` block is documented below.

func (GroupOutput) Name

func (o GroupOutput) Name() pulumi.StringOutput

Schedule group name.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) Vdomparam

func (o GroupOutput) 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 GroupState

type GroupState struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// 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
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject 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
	// Schedules added to the schedule group. The structure of `member` block is documented below.
	Members GroupMemberArrayInput
	// Schedule group 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
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type LookupGroupArgs

type LookupGroupArgs struct {
	// Specify the name of the desired firewallschedule group.
	Name string `pulumi:"name"`
	// 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 getGroup.

type LookupGroupOutputArgs

type LookupGroupOutputArgs struct {
	// Specify the name of the desired firewallschedule group.
	Name pulumi.StringInput `pulumi:"name"`
	// 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 getGroup.

func (LookupGroupOutputArgs) ElementType

func (LookupGroupOutputArgs) ElementType() reflect.Type

type LookupGroupResult

type LookupGroupResult struct {
	// Color of icon on the GUI.
	Color int `pulumi:"color"`
	// Security Fabric global object setting.
	FabricObject string `pulumi:"fabricObject"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Schedules added to the schedule group. The structure of `member` block is documented below.
	Members []GetGroupMember `pulumi:"members"`
	// Schedule name.
	Name      string  `pulumi:"name"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getGroup.

func LookupGroup

func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)

Use this data source to get information on an fortios firewallschedule group

type LookupGroupResultOutput

type LookupGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroup.

func (LookupGroupResultOutput) Color

Color of icon on the GUI.

func (LookupGroupResultOutput) ElementType

func (LookupGroupResultOutput) ElementType() reflect.Type

func (LookupGroupResultOutput) FabricObject

func (o LookupGroupResultOutput) FabricObject() pulumi.StringOutput

Security Fabric global object setting.

func (LookupGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupGroupResultOutput) Members

Schedules added to the schedule group. The structure of `member` block is documented below.

func (LookupGroupResultOutput) Name

Schedule name.

func (LookupGroupResultOutput) ToLookupGroupResultOutput

func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput

func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext

func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput

func (LookupGroupResultOutput) Vdomparam

type LookupOnetimeArgs

type LookupOnetimeArgs struct {
	// Specify the name of the desired firewallschedule onetime.
	Name string `pulumi:"name"`
	// 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 getOnetime.

type LookupOnetimeOutputArgs

type LookupOnetimeOutputArgs struct {
	// Specify the name of the desired firewallschedule onetime.
	Name pulumi.StringInput `pulumi:"name"`
	// 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 getOnetime.

func (LookupOnetimeOutputArgs) ElementType

func (LookupOnetimeOutputArgs) ElementType() reflect.Type

type LookupOnetimeResult

type LookupOnetimeResult struct {
	// Color of icon on the GUI.
	Color int `pulumi:"color"`
	// Schedule end date and time, format hh:mm yyyy/mm/dd.
	End string `pulumi:"end"`
	// Schedule end date and time, in epoch format.
	EndUtc string `pulumi:"endUtc"`
	// Write an event log message this many days before the schedule expires.
	ExpirationDays int `pulumi:"expirationDays"`
	// Security Fabric global object setting.
	FabricObject string `pulumi:"fabricObject"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Onetime schedule name.
	Name string `pulumi:"name"`
	// Schedule start date and time, format hh:mm yyyy/mm/dd.
	Start string `pulumi:"start"`
	// Schedule start date and time, in epoch format.
	StartUtc  string  `pulumi:"startUtc"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getOnetime.

func LookupOnetime

func LookupOnetime(ctx *pulumi.Context, args *LookupOnetimeArgs, opts ...pulumi.InvokeOption) (*LookupOnetimeResult, error)

Use this data source to get information on an fortios firewallschedule onetime

type LookupOnetimeResultOutput

type LookupOnetimeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOnetime.

func (LookupOnetimeResultOutput) Color

Color of icon on the GUI.

func (LookupOnetimeResultOutput) ElementType

func (LookupOnetimeResultOutput) ElementType() reflect.Type

func (LookupOnetimeResultOutput) End

Schedule end date and time, format hh:mm yyyy/mm/dd.

func (LookupOnetimeResultOutput) EndUtc

Schedule end date and time, in epoch format.

func (LookupOnetimeResultOutput) ExpirationDays

func (o LookupOnetimeResultOutput) ExpirationDays() pulumi.IntOutput

Write an event log message this many days before the schedule expires.

func (LookupOnetimeResultOutput) FabricObject

Security Fabric global object setting.

func (LookupOnetimeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupOnetimeResultOutput) Name

Onetime schedule name.

func (LookupOnetimeResultOutput) Start

Schedule start date and time, format hh:mm yyyy/mm/dd.

func (LookupOnetimeResultOutput) StartUtc

Schedule start date and time, in epoch format.

func (LookupOnetimeResultOutput) ToLookupOnetimeResultOutput

func (o LookupOnetimeResultOutput) ToLookupOnetimeResultOutput() LookupOnetimeResultOutput

func (LookupOnetimeResultOutput) ToLookupOnetimeResultOutputWithContext

func (o LookupOnetimeResultOutput) ToLookupOnetimeResultOutputWithContext(ctx context.Context) LookupOnetimeResultOutput

func (LookupOnetimeResultOutput) Vdomparam

type LookupRecurringArgs

type LookupRecurringArgs struct {
	// Specify the name of the desired firewallschedule recurring.
	Name string `pulumi:"name"`
	// 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 getRecurring.

type LookupRecurringOutputArgs

type LookupRecurringOutputArgs struct {
	// Specify the name of the desired firewallschedule recurring.
	Name pulumi.StringInput `pulumi:"name"`
	// 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 getRecurring.

func (LookupRecurringOutputArgs) ElementType

func (LookupRecurringOutputArgs) ElementType() reflect.Type

type LookupRecurringResult

type LookupRecurringResult struct {
	// Color of icon on the GUI.
	Color int `pulumi:"color"`
	// One or more days of the week on which the schedule is valid. Separate the names of the days with a space.
	Day string `pulumi:"day"`
	// Time of day to end the schedule, format hh:mm.
	End string `pulumi:"end"`
	// Security Fabric global object setting.
	FabricObject string `pulumi:"fabricObject"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Recurring schedule name.
	Name string `pulumi:"name"`
	// Time of day to start the schedule, format hh:mm.
	Start     string  `pulumi:"start"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getRecurring.

func LookupRecurring

func LookupRecurring(ctx *pulumi.Context, args *LookupRecurringArgs, opts ...pulumi.InvokeOption) (*LookupRecurringResult, error)

Use this data source to get information on an fortios firewallschedule recurring

type LookupRecurringResultOutput

type LookupRecurringResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecurring.

func (LookupRecurringResultOutput) Color

Color of icon on the GUI.

func (LookupRecurringResultOutput) Day

One or more days of the week on which the schedule is valid. Separate the names of the days with a space.

func (LookupRecurringResultOutput) ElementType

func (LookupRecurringResultOutput) End

Time of day to end the schedule, format hh:mm.

func (LookupRecurringResultOutput) FabricObject

Security Fabric global object setting.

func (LookupRecurringResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRecurringResultOutput) Name

Recurring schedule name.

func (LookupRecurringResultOutput) Start

Time of day to start the schedule, format hh:mm.

func (LookupRecurringResultOutput) ToLookupRecurringResultOutput

func (o LookupRecurringResultOutput) ToLookupRecurringResultOutput() LookupRecurringResultOutput

func (LookupRecurringResultOutput) ToLookupRecurringResultOutputWithContext

func (o LookupRecurringResultOutput) ToLookupRecurringResultOutputWithContext(ctx context.Context) LookupRecurringResultOutput

func (LookupRecurringResultOutput) Vdomparam

type Onetime

type Onetime struct {
	pulumi.CustomResourceState

	// Color of icon on the GUI.
	Color pulumi.IntOutput `pulumi:"color"`
	// Schedule end date and time, format hh:mm yyyy/mm/dd.
	End pulumi.StringOutput `pulumi:"end"`
	// Schedule end date and time, in epoch format.
	EndUtc pulumi.StringOutput `pulumi:"endUtc"`
	// Write an event log message this many days before the schedule expires.
	ExpirationDays pulumi.IntOutput `pulumi:"expirationDays"`
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringOutput `pulumi:"fabricObject"`
	// Onetime schedule name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Schedule start date and time, format hh:mm yyyy/mm/dd.
	Start pulumi.StringOutput `pulumi:"start"`
	// Schedule start date and time, in epoch format.
	StartUtc pulumi.StringOutput `pulumi:"startUtc"`
	// 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"`
}

Onetime schedule configuration.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firewall.NewOnetime(ctx, "trname", &firewall.OnetimeArgs{
			Color:          pulumi.Int(0),
			End:            pulumi.String("00:00 2020/12/12"),
			ExpirationDays: pulumi.Int(2),
			Start:          pulumi.String("00:00 2010/12/12"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

FirewallSchedule Onetime can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/schedule/onetime:Onetime labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/schedule/onetime:Onetime labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetOnetime

func GetOnetime(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OnetimeState, opts ...pulumi.ResourceOption) (*Onetime, error)

GetOnetime gets an existing Onetime 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 NewOnetime

func NewOnetime(ctx *pulumi.Context,
	name string, args *OnetimeArgs, opts ...pulumi.ResourceOption) (*Onetime, error)

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

func (*Onetime) ElementType

func (*Onetime) ElementType() reflect.Type

func (*Onetime) ToOnetimeOutput

func (i *Onetime) ToOnetimeOutput() OnetimeOutput

func (*Onetime) ToOnetimeOutputWithContext

func (i *Onetime) ToOnetimeOutputWithContext(ctx context.Context) OnetimeOutput

type OnetimeArgs

type OnetimeArgs struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// Schedule end date and time, format hh:mm yyyy/mm/dd.
	End pulumi.StringInput
	// Schedule end date and time, in epoch format.
	EndUtc pulumi.StringPtrInput
	// Write an event log message this many days before the schedule expires.
	ExpirationDays pulumi.IntPtrInput
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringPtrInput
	// Onetime schedule name.
	Name pulumi.StringPtrInput
	// Schedule start date and time, format hh:mm yyyy/mm/dd.
	Start pulumi.StringInput
	// Schedule start date and time, in epoch format.
	StartUtc 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 Onetime resource.

func (OnetimeArgs) ElementType

func (OnetimeArgs) ElementType() reflect.Type

type OnetimeArray

type OnetimeArray []OnetimeInput

func (OnetimeArray) ElementType

func (OnetimeArray) ElementType() reflect.Type

func (OnetimeArray) ToOnetimeArrayOutput

func (i OnetimeArray) ToOnetimeArrayOutput() OnetimeArrayOutput

func (OnetimeArray) ToOnetimeArrayOutputWithContext

func (i OnetimeArray) ToOnetimeArrayOutputWithContext(ctx context.Context) OnetimeArrayOutput

type OnetimeArrayInput

type OnetimeArrayInput interface {
	pulumi.Input

	ToOnetimeArrayOutput() OnetimeArrayOutput
	ToOnetimeArrayOutputWithContext(context.Context) OnetimeArrayOutput
}

OnetimeArrayInput is an input type that accepts OnetimeArray and OnetimeArrayOutput values. You can construct a concrete instance of `OnetimeArrayInput` via:

OnetimeArray{ OnetimeArgs{...} }

type OnetimeArrayOutput

type OnetimeArrayOutput struct{ *pulumi.OutputState }

func (OnetimeArrayOutput) ElementType

func (OnetimeArrayOutput) ElementType() reflect.Type

func (OnetimeArrayOutput) Index

func (OnetimeArrayOutput) ToOnetimeArrayOutput

func (o OnetimeArrayOutput) ToOnetimeArrayOutput() OnetimeArrayOutput

func (OnetimeArrayOutput) ToOnetimeArrayOutputWithContext

func (o OnetimeArrayOutput) ToOnetimeArrayOutputWithContext(ctx context.Context) OnetimeArrayOutput

type OnetimeInput

type OnetimeInput interface {
	pulumi.Input

	ToOnetimeOutput() OnetimeOutput
	ToOnetimeOutputWithContext(ctx context.Context) OnetimeOutput
}

type OnetimeMap

type OnetimeMap map[string]OnetimeInput

func (OnetimeMap) ElementType

func (OnetimeMap) ElementType() reflect.Type

func (OnetimeMap) ToOnetimeMapOutput

func (i OnetimeMap) ToOnetimeMapOutput() OnetimeMapOutput

func (OnetimeMap) ToOnetimeMapOutputWithContext

func (i OnetimeMap) ToOnetimeMapOutputWithContext(ctx context.Context) OnetimeMapOutput

type OnetimeMapInput

type OnetimeMapInput interface {
	pulumi.Input

	ToOnetimeMapOutput() OnetimeMapOutput
	ToOnetimeMapOutputWithContext(context.Context) OnetimeMapOutput
}

OnetimeMapInput is an input type that accepts OnetimeMap and OnetimeMapOutput values. You can construct a concrete instance of `OnetimeMapInput` via:

OnetimeMap{ "key": OnetimeArgs{...} }

type OnetimeMapOutput

type OnetimeMapOutput struct{ *pulumi.OutputState }

func (OnetimeMapOutput) ElementType

func (OnetimeMapOutput) ElementType() reflect.Type

func (OnetimeMapOutput) MapIndex

func (OnetimeMapOutput) ToOnetimeMapOutput

func (o OnetimeMapOutput) ToOnetimeMapOutput() OnetimeMapOutput

func (OnetimeMapOutput) ToOnetimeMapOutputWithContext

func (o OnetimeMapOutput) ToOnetimeMapOutputWithContext(ctx context.Context) OnetimeMapOutput

type OnetimeOutput

type OnetimeOutput struct{ *pulumi.OutputState }

func (OnetimeOutput) Color

func (o OnetimeOutput) Color() pulumi.IntOutput

Color of icon on the GUI.

func (OnetimeOutput) ElementType

func (OnetimeOutput) ElementType() reflect.Type

func (OnetimeOutput) End

Schedule end date and time, format hh:mm yyyy/mm/dd.

func (OnetimeOutput) EndUtc

func (o OnetimeOutput) EndUtc() pulumi.StringOutput

Schedule end date and time, in epoch format.

func (OnetimeOutput) ExpirationDays

func (o OnetimeOutput) ExpirationDays() pulumi.IntOutput

Write an event log message this many days before the schedule expires.

func (OnetimeOutput) FabricObject

func (o OnetimeOutput) FabricObject() pulumi.StringOutput

Security Fabric global object setting. Valid values: `enable`, `disable`.

func (OnetimeOutput) Name

Onetime schedule name.

func (OnetimeOutput) Start

func (o OnetimeOutput) Start() pulumi.StringOutput

Schedule start date and time, format hh:mm yyyy/mm/dd.

func (OnetimeOutput) StartUtc

func (o OnetimeOutput) StartUtc() pulumi.StringOutput

Schedule start date and time, in epoch format.

func (OnetimeOutput) ToOnetimeOutput

func (o OnetimeOutput) ToOnetimeOutput() OnetimeOutput

func (OnetimeOutput) ToOnetimeOutputWithContext

func (o OnetimeOutput) ToOnetimeOutputWithContext(ctx context.Context) OnetimeOutput

func (OnetimeOutput) Vdomparam

func (o OnetimeOutput) 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 OnetimeState

type OnetimeState struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// Schedule end date and time, format hh:mm yyyy/mm/dd.
	End pulumi.StringPtrInput
	// Schedule end date and time, in epoch format.
	EndUtc pulumi.StringPtrInput
	// Write an event log message this many days before the schedule expires.
	ExpirationDays pulumi.IntPtrInput
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringPtrInput
	// Onetime schedule name.
	Name pulumi.StringPtrInput
	// Schedule start date and time, format hh:mm yyyy/mm/dd.
	Start pulumi.StringPtrInput
	// Schedule start date and time, in epoch format.
	StartUtc 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 (OnetimeState) ElementType

func (OnetimeState) ElementType() reflect.Type

type Recurring

type Recurring struct {
	pulumi.CustomResourceState

	// Color of icon on the GUI.
	Color pulumi.IntOutput `pulumi:"color"`
	// One or more days of the week on which the schedule is valid. Separate the names of the days with a space. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `none`.
	Day pulumi.StringOutput `pulumi:"day"`
	// Time of day to end the schedule, format hh:mm.
	End pulumi.StringOutput `pulumi:"end"`
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringOutput `pulumi:"fabricObject"`
	// Recurring schedule name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Time of day to start the schedule, format hh:mm.
	Start pulumi.StringOutput `pulumi:"start"`
	// 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"`
}

Recurring schedule configuration.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firewall.NewRecurring(ctx, "trname", &firewall.RecurringArgs{
			Color: pulumi.Int(0),
			Day:   pulumi.String("sunday"),
			End:   pulumi.String("00:00"),
			Start: pulumi.String("00:00"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

FirewallSchedule Recurring can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/schedule/recurring:Recurring labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/schedule/recurring:Recurring labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetRecurring

func GetRecurring(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecurringState, opts ...pulumi.ResourceOption) (*Recurring, error)

GetRecurring gets an existing Recurring 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 NewRecurring

func NewRecurring(ctx *pulumi.Context,
	name string, args *RecurringArgs, opts ...pulumi.ResourceOption) (*Recurring, error)

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

func (*Recurring) ElementType

func (*Recurring) ElementType() reflect.Type

func (*Recurring) ToRecurringOutput

func (i *Recurring) ToRecurringOutput() RecurringOutput

func (*Recurring) ToRecurringOutputWithContext

func (i *Recurring) ToRecurringOutputWithContext(ctx context.Context) RecurringOutput

type RecurringArgs

type RecurringArgs struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// One or more days of the week on which the schedule is valid. Separate the names of the days with a space. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `none`.
	Day pulumi.StringPtrInput
	// Time of day to end the schedule, format hh:mm.
	End pulumi.StringInput
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringPtrInput
	// Recurring schedule name.
	Name pulumi.StringPtrInput
	// Time of day to start the schedule, format hh:mm.
	Start 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 Recurring resource.

func (RecurringArgs) ElementType

func (RecurringArgs) ElementType() reflect.Type

type RecurringArray

type RecurringArray []RecurringInput

func (RecurringArray) ElementType

func (RecurringArray) ElementType() reflect.Type

func (RecurringArray) ToRecurringArrayOutput

func (i RecurringArray) ToRecurringArrayOutput() RecurringArrayOutput

func (RecurringArray) ToRecurringArrayOutputWithContext

func (i RecurringArray) ToRecurringArrayOutputWithContext(ctx context.Context) RecurringArrayOutput

type RecurringArrayInput

type RecurringArrayInput interface {
	pulumi.Input

	ToRecurringArrayOutput() RecurringArrayOutput
	ToRecurringArrayOutputWithContext(context.Context) RecurringArrayOutput
}

RecurringArrayInput is an input type that accepts RecurringArray and RecurringArrayOutput values. You can construct a concrete instance of `RecurringArrayInput` via:

RecurringArray{ RecurringArgs{...} }

type RecurringArrayOutput

type RecurringArrayOutput struct{ *pulumi.OutputState }

func (RecurringArrayOutput) ElementType

func (RecurringArrayOutput) ElementType() reflect.Type

func (RecurringArrayOutput) Index

func (RecurringArrayOutput) ToRecurringArrayOutput

func (o RecurringArrayOutput) ToRecurringArrayOutput() RecurringArrayOutput

func (RecurringArrayOutput) ToRecurringArrayOutputWithContext

func (o RecurringArrayOutput) ToRecurringArrayOutputWithContext(ctx context.Context) RecurringArrayOutput

type RecurringInput

type RecurringInput interface {
	pulumi.Input

	ToRecurringOutput() RecurringOutput
	ToRecurringOutputWithContext(ctx context.Context) RecurringOutput
}

type RecurringMap

type RecurringMap map[string]RecurringInput

func (RecurringMap) ElementType

func (RecurringMap) ElementType() reflect.Type

func (RecurringMap) ToRecurringMapOutput

func (i RecurringMap) ToRecurringMapOutput() RecurringMapOutput

func (RecurringMap) ToRecurringMapOutputWithContext

func (i RecurringMap) ToRecurringMapOutputWithContext(ctx context.Context) RecurringMapOutput

type RecurringMapInput

type RecurringMapInput interface {
	pulumi.Input

	ToRecurringMapOutput() RecurringMapOutput
	ToRecurringMapOutputWithContext(context.Context) RecurringMapOutput
}

RecurringMapInput is an input type that accepts RecurringMap and RecurringMapOutput values. You can construct a concrete instance of `RecurringMapInput` via:

RecurringMap{ "key": RecurringArgs{...} }

type RecurringMapOutput

type RecurringMapOutput struct{ *pulumi.OutputState }

func (RecurringMapOutput) ElementType

func (RecurringMapOutput) ElementType() reflect.Type

func (RecurringMapOutput) MapIndex

func (RecurringMapOutput) ToRecurringMapOutput

func (o RecurringMapOutput) ToRecurringMapOutput() RecurringMapOutput

func (RecurringMapOutput) ToRecurringMapOutputWithContext

func (o RecurringMapOutput) ToRecurringMapOutputWithContext(ctx context.Context) RecurringMapOutput

type RecurringOutput

type RecurringOutput struct{ *pulumi.OutputState }

func (RecurringOutput) Color

func (o RecurringOutput) Color() pulumi.IntOutput

Color of icon on the GUI.

func (RecurringOutput) Day

One or more days of the week on which the schedule is valid. Separate the names of the days with a space. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `none`.

func (RecurringOutput) ElementType

func (RecurringOutput) ElementType() reflect.Type

func (RecurringOutput) End

Time of day to end the schedule, format hh:mm.

func (RecurringOutput) FabricObject

func (o RecurringOutput) FabricObject() pulumi.StringOutput

Security Fabric global object setting. Valid values: `enable`, `disable`.

func (RecurringOutput) Name

Recurring schedule name.

func (RecurringOutput) Start

Time of day to start the schedule, format hh:mm.

func (RecurringOutput) ToRecurringOutput

func (o RecurringOutput) ToRecurringOutput() RecurringOutput

func (RecurringOutput) ToRecurringOutputWithContext

func (o RecurringOutput) ToRecurringOutputWithContext(ctx context.Context) RecurringOutput

func (RecurringOutput) Vdomparam

func (o RecurringOutput) 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 RecurringState

type RecurringState struct {
	// Color of icon on the GUI.
	Color pulumi.IntPtrInput
	// One or more days of the week on which the schedule is valid. Separate the names of the days with a space. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `none`.
	Day pulumi.StringPtrInput
	// Time of day to end the schedule, format hh:mm.
	End pulumi.StringPtrInput
	// Security Fabric global object setting. Valid values: `enable`, `disable`.
	FabricObject pulumi.StringPtrInput
	// Recurring schedule name.
	Name pulumi.StringPtrInput
	// Time of day to start the schedule, format hh:mm.
	Start 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 (RecurringState) ElementType

func (RecurringState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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