dhcp6

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 Server

type Server struct {
	pulumi.CustomResourceState

	// IAID of obtained delegated-prefix from the upstream interface.
	DelegatedPrefixIaid pulumi.IntOutput `pulumi:"delegatedPrefixIaid"`
	// DNS search list options. Valid values: `delegated`, `specify`.
	DnsSearchList pulumi.StringOutput `pulumi:"dnsSearchList"`
	// DNS server 1.
	DnsServer1 pulumi.StringOutput `pulumi:"dnsServer1"`
	// DNS server 2.
	DnsServer2 pulumi.StringOutput `pulumi:"dnsServer2"`
	// DNS server 3.
	DnsServer3 pulumi.StringOutput `pulumi:"dnsServer3"`
	// DNS server 4.
	DnsServer4 pulumi.StringOutput `pulumi:"dnsServer4"`
	// Options for assigning DNS servers to DHCPv6 clients. Valid values: `delegated`, `default`, `specify`.
	DnsService pulumi.StringOutput `pulumi:"dnsService"`
	// Domain name suffix for the IP addresses that the DHCP server assigns to clients.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// 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"`
	// ID.
	Fosid pulumi.IntOutput `pulumi:"fosid"`
	// 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"`
	// DHCP server can assign IP configurations to clients connected to this interface.
	Interface pulumi.StringOutput `pulumi:"interface"`
	// Method used to assign client IP. Valid values: `range`, `delegated`.
	IpMode pulumi.StringOutput `pulumi:"ipMode"`
	// DHCP IP range configuration. The structure of `ipRange` block is documented below.
	IpRanges ServerIpRangeArrayOutput `pulumi:"ipRanges"`
	// Lease time in seconds, 0 means unlimited.
	LeaseTime pulumi.IntOutput `pulumi:"leaseTime"`
	// Option 1.
	Option1 pulumi.StringOutput `pulumi:"option1"`
	// Option 2.
	Option2 pulumi.StringOutput `pulumi:"option2"`
	// Option 3.
	Option3 pulumi.StringOutput `pulumi:"option3"`
	// Assigning a prefix from a DHCPv6 client or RA. Valid values: `dhcp6`, `ra`.
	PrefixMode pulumi.StringOutput `pulumi:"prefixMode"`
	// DHCP prefix configuration. The structure of `prefixRange` block is documented below.
	PrefixRanges ServerPrefixRangeArrayOutput `pulumi:"prefixRanges"`
	// Enable/disable allow/disallow rapid commit. Valid values: `disable`, `enable`.
	RapidCommit pulumi.StringOutput `pulumi:"rapidCommit"`
	// Enable/disable this DHCPv6 configuration. Valid values: `disable`, `enable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Subnet or subnet-id if the IP mode is delegated.
	Subnet pulumi.StringOutput `pulumi:"subnet"`
	// Interface name from where delegated information is provided.
	UpstreamInterface pulumi.StringOutput `pulumi:"upstreamInterface"`
	// 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 DHCPv6 servers.

## 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.NewServer(ctx, "trname", &system.ServerArgs{
			Fosid:       pulumi.Int(1),
			Interface:   pulumi.String("port3"),
			LeaseTime:   pulumi.Int(604800),
			RapidCommit: pulumi.String("disable"),
			Status:      pulumi.String("enable"),
			Subnet:      pulumi.String("2001:db8:1234:113::/64"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

SystemDhcp6 Server can be imported using any of these accepted formats:

```sh $ pulumi import fortios:system/dhcp6/server:Server labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:system/dhcp6/server:Server labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

GetServer gets an existing Server 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 NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

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

func (*Server) ElementType

func (*Server) ElementType() reflect.Type

func (*Server) ToServerOutput

func (i *Server) ToServerOutput() ServerOutput

func (*Server) ToServerOutputWithContext

func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerArgs

type ServerArgs struct {
	// IAID of obtained delegated-prefix from the upstream interface.
	DelegatedPrefixIaid pulumi.IntPtrInput
	// DNS search list options. Valid values: `delegated`, `specify`.
	DnsSearchList pulumi.StringPtrInput
	// DNS server 1.
	DnsServer1 pulumi.StringPtrInput
	// DNS server 2.
	DnsServer2 pulumi.StringPtrInput
	// DNS server 3.
	DnsServer3 pulumi.StringPtrInput
	// DNS server 4.
	DnsServer4 pulumi.StringPtrInput
	// Options for assigning DNS servers to DHCPv6 clients. Valid values: `delegated`, `default`, `specify`.
	DnsService pulumi.StringPtrInput
	// Domain name suffix for the IP addresses that the DHCP server assigns to clients.
	Domain pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// ID.
	Fosid pulumi.IntInput
	// 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
	// DHCP server can assign IP configurations to clients connected to this interface.
	Interface pulumi.StringInput
	// Method used to assign client IP. Valid values: `range`, `delegated`.
	IpMode pulumi.StringPtrInput
	// DHCP IP range configuration. The structure of `ipRange` block is documented below.
	IpRanges ServerIpRangeArrayInput
	// Lease time in seconds, 0 means unlimited.
	LeaseTime pulumi.IntPtrInput
	// Option 1.
	Option1 pulumi.StringPtrInput
	// Option 2.
	Option2 pulumi.StringPtrInput
	// Option 3.
	Option3 pulumi.StringPtrInput
	// Assigning a prefix from a DHCPv6 client or RA. Valid values: `dhcp6`, `ra`.
	PrefixMode pulumi.StringPtrInput
	// DHCP prefix configuration. The structure of `prefixRange` block is documented below.
	PrefixRanges ServerPrefixRangeArrayInput
	// Enable/disable allow/disallow rapid commit. Valid values: `disable`, `enable`.
	RapidCommit pulumi.StringPtrInput
	// Enable/disable this DHCPv6 configuration. Valid values: `disable`, `enable`.
	Status pulumi.StringPtrInput
	// Subnet or subnet-id if the IP mode is delegated.
	Subnet pulumi.StringInput
	// Interface name from where delegated information is provided.
	UpstreamInterface 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 Server resource.

func (ServerArgs) ElementType

func (ServerArgs) ElementType() reflect.Type

type ServerArray

type ServerArray []ServerInput

func (ServerArray) ElementType

func (ServerArray) ElementType() reflect.Type

func (ServerArray) ToServerArrayOutput

func (i ServerArray) ToServerArrayOutput() ServerArrayOutput

func (ServerArray) ToServerArrayOutputWithContext

func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerArrayInput

type ServerArrayInput interface {
	pulumi.Input

	ToServerArrayOutput() ServerArrayOutput
	ToServerArrayOutputWithContext(context.Context) ServerArrayOutput
}

ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:

ServerArray{ ServerArgs{...} }

type ServerArrayOutput

type ServerArrayOutput struct{ *pulumi.OutputState }

func (ServerArrayOutput) ElementType

func (ServerArrayOutput) ElementType() reflect.Type

func (ServerArrayOutput) Index

func (ServerArrayOutput) ToServerArrayOutput

func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput

func (ServerArrayOutput) ToServerArrayOutputWithContext

func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerInput

type ServerInput interface {
	pulumi.Input

	ToServerOutput() ServerOutput
	ToServerOutputWithContext(ctx context.Context) ServerOutput
}

type ServerIpRange

type ServerIpRange struct {
	// End of IP range.
	EndIp *string `pulumi:"endIp"`
	// ID.
	Id *int `pulumi:"id"`
	// Start of IP range.
	StartIp *string `pulumi:"startIp"`
}

type ServerIpRangeArgs

type ServerIpRangeArgs struct {
	// End of IP range.
	EndIp pulumi.StringPtrInput `pulumi:"endIp"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Start of IP range.
	StartIp pulumi.StringPtrInput `pulumi:"startIp"`
}

func (ServerIpRangeArgs) ElementType

func (ServerIpRangeArgs) ElementType() reflect.Type

func (ServerIpRangeArgs) ToServerIpRangeOutput

func (i ServerIpRangeArgs) ToServerIpRangeOutput() ServerIpRangeOutput

func (ServerIpRangeArgs) ToServerIpRangeOutputWithContext

func (i ServerIpRangeArgs) ToServerIpRangeOutputWithContext(ctx context.Context) ServerIpRangeOutput

type ServerIpRangeArray

type ServerIpRangeArray []ServerIpRangeInput

func (ServerIpRangeArray) ElementType

func (ServerIpRangeArray) ElementType() reflect.Type

func (ServerIpRangeArray) ToServerIpRangeArrayOutput

func (i ServerIpRangeArray) ToServerIpRangeArrayOutput() ServerIpRangeArrayOutput

func (ServerIpRangeArray) ToServerIpRangeArrayOutputWithContext

func (i ServerIpRangeArray) ToServerIpRangeArrayOutputWithContext(ctx context.Context) ServerIpRangeArrayOutput

type ServerIpRangeArrayInput

type ServerIpRangeArrayInput interface {
	pulumi.Input

	ToServerIpRangeArrayOutput() ServerIpRangeArrayOutput
	ToServerIpRangeArrayOutputWithContext(context.Context) ServerIpRangeArrayOutput
}

ServerIpRangeArrayInput is an input type that accepts ServerIpRangeArray and ServerIpRangeArrayOutput values. You can construct a concrete instance of `ServerIpRangeArrayInput` via:

ServerIpRangeArray{ ServerIpRangeArgs{...} }

type ServerIpRangeArrayOutput

type ServerIpRangeArrayOutput struct{ *pulumi.OutputState }

func (ServerIpRangeArrayOutput) ElementType

func (ServerIpRangeArrayOutput) ElementType() reflect.Type

func (ServerIpRangeArrayOutput) Index

func (ServerIpRangeArrayOutput) ToServerIpRangeArrayOutput

func (o ServerIpRangeArrayOutput) ToServerIpRangeArrayOutput() ServerIpRangeArrayOutput

func (ServerIpRangeArrayOutput) ToServerIpRangeArrayOutputWithContext

func (o ServerIpRangeArrayOutput) ToServerIpRangeArrayOutputWithContext(ctx context.Context) ServerIpRangeArrayOutput

type ServerIpRangeInput

type ServerIpRangeInput interface {
	pulumi.Input

	ToServerIpRangeOutput() ServerIpRangeOutput
	ToServerIpRangeOutputWithContext(context.Context) ServerIpRangeOutput
}

ServerIpRangeInput is an input type that accepts ServerIpRangeArgs and ServerIpRangeOutput values. You can construct a concrete instance of `ServerIpRangeInput` via:

ServerIpRangeArgs{...}

type ServerIpRangeOutput

type ServerIpRangeOutput struct{ *pulumi.OutputState }

func (ServerIpRangeOutput) ElementType

func (ServerIpRangeOutput) ElementType() reflect.Type

func (ServerIpRangeOutput) EndIp

End of IP range.

func (ServerIpRangeOutput) Id

ID.

func (ServerIpRangeOutput) StartIp

Start of IP range.

func (ServerIpRangeOutput) ToServerIpRangeOutput

func (o ServerIpRangeOutput) ToServerIpRangeOutput() ServerIpRangeOutput

func (ServerIpRangeOutput) ToServerIpRangeOutputWithContext

func (o ServerIpRangeOutput) ToServerIpRangeOutputWithContext(ctx context.Context) ServerIpRangeOutput

type ServerMap

type ServerMap map[string]ServerInput

func (ServerMap) ElementType

func (ServerMap) ElementType() reflect.Type

func (ServerMap) ToServerMapOutput

func (i ServerMap) ToServerMapOutput() ServerMapOutput

func (ServerMap) ToServerMapOutputWithContext

func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerMapInput

type ServerMapInput interface {
	pulumi.Input

	ToServerMapOutput() ServerMapOutput
	ToServerMapOutputWithContext(context.Context) ServerMapOutput
}

ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:

ServerMap{ "key": ServerArgs{...} }

type ServerMapOutput

type ServerMapOutput struct{ *pulumi.OutputState }

func (ServerMapOutput) ElementType

func (ServerMapOutput) ElementType() reflect.Type

func (ServerMapOutput) MapIndex

func (ServerMapOutput) ToServerMapOutput

func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput

func (ServerMapOutput) ToServerMapOutputWithContext

func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerOutput

type ServerOutput struct{ *pulumi.OutputState }

func (ServerOutput) DelegatedPrefixIaid

func (o ServerOutput) DelegatedPrefixIaid() pulumi.IntOutput

IAID of obtained delegated-prefix from the upstream interface.

func (ServerOutput) DnsSearchList

func (o ServerOutput) DnsSearchList() pulumi.StringOutput

DNS search list options. Valid values: `delegated`, `specify`.

func (ServerOutput) DnsServer1

func (o ServerOutput) DnsServer1() pulumi.StringOutput

DNS server 1.

func (ServerOutput) DnsServer2

func (o ServerOutput) DnsServer2() pulumi.StringOutput

DNS server 2.

func (ServerOutput) DnsServer3

func (o ServerOutput) DnsServer3() pulumi.StringOutput

DNS server 3.

func (ServerOutput) DnsServer4

func (o ServerOutput) DnsServer4() pulumi.StringOutput

DNS server 4.

func (ServerOutput) DnsService

func (o ServerOutput) DnsService() pulumi.StringOutput

Options for assigning DNS servers to DHCPv6 clients. Valid values: `delegated`, `default`, `specify`.

func (ServerOutput) Domain

func (o ServerOutput) Domain() pulumi.StringOutput

Domain name suffix for the IP addresses that the DHCP server assigns to clients.

func (ServerOutput) DynamicSortSubtable

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

func (ServerOutput) ElementType() reflect.Type

func (ServerOutput) Fosid

func (o ServerOutput) Fosid() pulumi.IntOutput

ID.

func (ServerOutput) GetAllTables

func (o ServerOutput) 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 (ServerOutput) Interface

func (o ServerOutput) Interface() pulumi.StringOutput

DHCP server can assign IP configurations to clients connected to this interface.

func (ServerOutput) IpMode

func (o ServerOutput) IpMode() pulumi.StringOutput

Method used to assign client IP. Valid values: `range`, `delegated`.

func (ServerOutput) IpRanges

DHCP IP range configuration. The structure of `ipRange` block is documented below.

func (ServerOutput) LeaseTime

func (o ServerOutput) LeaseTime() pulumi.IntOutput

Lease time in seconds, 0 means unlimited.

func (ServerOutput) Option1

func (o ServerOutput) Option1() pulumi.StringOutput

Option 1.

func (ServerOutput) Option2

func (o ServerOutput) Option2() pulumi.StringOutput

Option 2.

func (ServerOutput) Option3

func (o ServerOutput) Option3() pulumi.StringOutput

Option 3.

func (ServerOutput) PrefixMode

func (o ServerOutput) PrefixMode() pulumi.StringOutput

Assigning a prefix from a DHCPv6 client or RA. Valid values: `dhcp6`, `ra`.

func (ServerOutput) PrefixRanges

func (o ServerOutput) PrefixRanges() ServerPrefixRangeArrayOutput

DHCP prefix configuration. The structure of `prefixRange` block is documented below.

func (ServerOutput) RapidCommit

func (o ServerOutput) RapidCommit() pulumi.StringOutput

Enable/disable allow/disallow rapid commit. Valid values: `disable`, `enable`.

func (ServerOutput) Status

func (o ServerOutput) Status() pulumi.StringOutput

Enable/disable this DHCPv6 configuration. Valid values: `disable`, `enable`.

func (ServerOutput) Subnet

func (o ServerOutput) Subnet() pulumi.StringOutput

Subnet or subnet-id if the IP mode is delegated.

func (ServerOutput) ToServerOutput

func (o ServerOutput) ToServerOutput() ServerOutput

func (ServerOutput) ToServerOutputWithContext

func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput

func (ServerOutput) UpstreamInterface

func (o ServerOutput) UpstreamInterface() pulumi.StringOutput

Interface name from where delegated information is provided.

func (ServerOutput) Vdomparam

func (o ServerOutput) 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 ServerPrefixRange

type ServerPrefixRange struct {
	// End of prefix range.
	EndPrefix *string `pulumi:"endPrefix"`
	// ID.
	Id *int `pulumi:"id"`
	// Prefix length.
	PrefixLength *int `pulumi:"prefixLength"`
	// Start of prefix range.
	StartPrefix *string `pulumi:"startPrefix"`
}

type ServerPrefixRangeArgs

type ServerPrefixRangeArgs struct {
	// End of prefix range.
	EndPrefix pulumi.StringPtrInput `pulumi:"endPrefix"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Prefix length.
	PrefixLength pulumi.IntPtrInput `pulumi:"prefixLength"`
	// Start of prefix range.
	StartPrefix pulumi.StringPtrInput `pulumi:"startPrefix"`
}

func (ServerPrefixRangeArgs) ElementType

func (ServerPrefixRangeArgs) ElementType() reflect.Type

func (ServerPrefixRangeArgs) ToServerPrefixRangeOutput

func (i ServerPrefixRangeArgs) ToServerPrefixRangeOutput() ServerPrefixRangeOutput

func (ServerPrefixRangeArgs) ToServerPrefixRangeOutputWithContext

func (i ServerPrefixRangeArgs) ToServerPrefixRangeOutputWithContext(ctx context.Context) ServerPrefixRangeOutput

type ServerPrefixRangeArray

type ServerPrefixRangeArray []ServerPrefixRangeInput

func (ServerPrefixRangeArray) ElementType

func (ServerPrefixRangeArray) ElementType() reflect.Type

func (ServerPrefixRangeArray) ToServerPrefixRangeArrayOutput

func (i ServerPrefixRangeArray) ToServerPrefixRangeArrayOutput() ServerPrefixRangeArrayOutput

func (ServerPrefixRangeArray) ToServerPrefixRangeArrayOutputWithContext

func (i ServerPrefixRangeArray) ToServerPrefixRangeArrayOutputWithContext(ctx context.Context) ServerPrefixRangeArrayOutput

type ServerPrefixRangeArrayInput

type ServerPrefixRangeArrayInput interface {
	pulumi.Input

	ToServerPrefixRangeArrayOutput() ServerPrefixRangeArrayOutput
	ToServerPrefixRangeArrayOutputWithContext(context.Context) ServerPrefixRangeArrayOutput
}

ServerPrefixRangeArrayInput is an input type that accepts ServerPrefixRangeArray and ServerPrefixRangeArrayOutput values. You can construct a concrete instance of `ServerPrefixRangeArrayInput` via:

ServerPrefixRangeArray{ ServerPrefixRangeArgs{...} }

type ServerPrefixRangeArrayOutput

type ServerPrefixRangeArrayOutput struct{ *pulumi.OutputState }

func (ServerPrefixRangeArrayOutput) ElementType

func (ServerPrefixRangeArrayOutput) Index

func (ServerPrefixRangeArrayOutput) ToServerPrefixRangeArrayOutput

func (o ServerPrefixRangeArrayOutput) ToServerPrefixRangeArrayOutput() ServerPrefixRangeArrayOutput

func (ServerPrefixRangeArrayOutput) ToServerPrefixRangeArrayOutputWithContext

func (o ServerPrefixRangeArrayOutput) ToServerPrefixRangeArrayOutputWithContext(ctx context.Context) ServerPrefixRangeArrayOutput

type ServerPrefixRangeInput

type ServerPrefixRangeInput interface {
	pulumi.Input

	ToServerPrefixRangeOutput() ServerPrefixRangeOutput
	ToServerPrefixRangeOutputWithContext(context.Context) ServerPrefixRangeOutput
}

ServerPrefixRangeInput is an input type that accepts ServerPrefixRangeArgs and ServerPrefixRangeOutput values. You can construct a concrete instance of `ServerPrefixRangeInput` via:

ServerPrefixRangeArgs{...}

type ServerPrefixRangeOutput

type ServerPrefixRangeOutput struct{ *pulumi.OutputState }

func (ServerPrefixRangeOutput) ElementType

func (ServerPrefixRangeOutput) ElementType() reflect.Type

func (ServerPrefixRangeOutput) EndPrefix

End of prefix range.

func (ServerPrefixRangeOutput) Id

ID.

func (ServerPrefixRangeOutput) PrefixLength

func (o ServerPrefixRangeOutput) PrefixLength() pulumi.IntPtrOutput

Prefix length.

func (ServerPrefixRangeOutput) StartPrefix

Start of prefix range.

func (ServerPrefixRangeOutput) ToServerPrefixRangeOutput

func (o ServerPrefixRangeOutput) ToServerPrefixRangeOutput() ServerPrefixRangeOutput

func (ServerPrefixRangeOutput) ToServerPrefixRangeOutputWithContext

func (o ServerPrefixRangeOutput) ToServerPrefixRangeOutputWithContext(ctx context.Context) ServerPrefixRangeOutput

type ServerState

type ServerState struct {
	// IAID of obtained delegated-prefix from the upstream interface.
	DelegatedPrefixIaid pulumi.IntPtrInput
	// DNS search list options. Valid values: `delegated`, `specify`.
	DnsSearchList pulumi.StringPtrInput
	// DNS server 1.
	DnsServer1 pulumi.StringPtrInput
	// DNS server 2.
	DnsServer2 pulumi.StringPtrInput
	// DNS server 3.
	DnsServer3 pulumi.StringPtrInput
	// DNS server 4.
	DnsServer4 pulumi.StringPtrInput
	// Options for assigning DNS servers to DHCPv6 clients. Valid values: `delegated`, `default`, `specify`.
	DnsService pulumi.StringPtrInput
	// Domain name suffix for the IP addresses that the DHCP server assigns to clients.
	Domain pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// ID.
	Fosid pulumi.IntPtrInput
	// 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
	// DHCP server can assign IP configurations to clients connected to this interface.
	Interface pulumi.StringPtrInput
	// Method used to assign client IP. Valid values: `range`, `delegated`.
	IpMode pulumi.StringPtrInput
	// DHCP IP range configuration. The structure of `ipRange` block is documented below.
	IpRanges ServerIpRangeArrayInput
	// Lease time in seconds, 0 means unlimited.
	LeaseTime pulumi.IntPtrInput
	// Option 1.
	Option1 pulumi.StringPtrInput
	// Option 2.
	Option2 pulumi.StringPtrInput
	// Option 3.
	Option3 pulumi.StringPtrInput
	// Assigning a prefix from a DHCPv6 client or RA. Valid values: `dhcp6`, `ra`.
	PrefixMode pulumi.StringPtrInput
	// DHCP prefix configuration. The structure of `prefixRange` block is documented below.
	PrefixRanges ServerPrefixRangeArrayInput
	// Enable/disable allow/disallow rapid commit. Valid values: `disable`, `enable`.
	RapidCommit pulumi.StringPtrInput
	// Enable/disable this DHCPv6 configuration. Valid values: `disable`, `enable`.
	Status pulumi.StringPtrInput
	// Subnet or subnet-id if the IP mode is delegated.
	Subnet pulumi.StringPtrInput
	// Interface name from where delegated information is provided.
	UpstreamInterface 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 (ServerState) ElementType

func (ServerState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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