networking

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 InterfacePort

type InterfacePort struct {
	pulumi.CustomResourceState

	// Alias will be displayed with the interface name to make it easier to distinguish.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// Permitted types of management access to this interface.
	Allowaccess pulumi.StringOutput `pulumi:"allowaccess"`
	// Enable to get the gateway IP from the DHCP or PPPoE server.
	Defaultgw pulumi.StringOutput `pulumi:"defaultgw"`
	// Description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
	DeviceIdentification pulumi.StringOutput `pulumi:"deviceIdentification"`
	// Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
	Distance pulumi.StringOutput `pulumi:"distance"`
	// Enable/disable use DNS acquired by DHCP or PPPoE.
	DnsServerOverride pulumi.StringOutput `pulumi:"dnsServerOverride"`
	// Interface name.
	Interface pulumi.StringOutput `pulumi:"interface"`
	// Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Addressing mode.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// MTU value for this interface.
	Mtu pulumi.StringOutput `pulumi:"mtu"`
	// Enable to set a custom MTU for this interface.
	MtuOverride pulumi.StringOutput `pulumi:"mtuOverride"`
	// Name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Interface role.
	Role pulumi.StringOutput `pulumi:"role"`
	// Interface speed. The default setting and the options available depend on the interface hardware.
	Speed pulumi.StringOutput `pulumi:"speed"`
	// Bring the interface up or shut the interface down.
	Status pulumi.StringOutput `pulumi:"status"`
	// TCP maximum segment size. 0 means do not change segment size.
	TcpMss pulumi.StringOutput `pulumi:"tcpMss"`
	// Interface type (support physical, vlan, loopback).
	Type pulumi.StringOutput `pulumi:"type"`
	// Interface is in this virtual domain (VDOM).
	Vdom pulumi.StringOutput `pulumi:"vdom"`
	// VLAN ID.
	Vlanid pulumi.StringOutput `pulumi:"vlanid"`
}

Provides a resource to configure interface settings of FortiOS.

!> **Warning:** The resource will be deprecated and replaced by new resource `system.Interface`, we recommend that you use the new resource.

## Example Usage

### Loopback Interface <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networking.NewInterfacePort(ctx, "loopback1", &networking.InterfacePortArgs{
			Alias:       pulumi.String("cc1"),
			Allowaccess: pulumi.String("ping http"),
			Description: pulumi.String("description"),
			Ip:          pulumi.String("23.123.33.10 255.255.255.0"),
			Mode:        pulumi.String("static"),
			Role:        pulumi.String("lan"),
			Status:      pulumi.String("up"),
			Type:        pulumi.String("loopback"),
			Vdom:        pulumi.String("root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### VLAN Interface <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networking.NewInterfacePort(ctx, "vlan1", &networking.InterfacePortArgs{
			Allowaccess: pulumi.String("ping"),
			Defaultgw:   pulumi.String("enable"),
			Distance:    pulumi.String("33"),
			Interface:   pulumi.String("port2"),
			Ip:          pulumi.String("3.123.33.10 255.255.255.0"),
			Mode:        pulumi.String("static"),
			Role:        pulumi.String("lan"),
			Type:        pulumi.String("vlan"),
			Vdom:        pulumi.String("root"),
			Vlanid:      pulumi.String("3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### Physical Interface <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networking.NewInterfacePort(ctx, "test1", &networking.InterfacePortArgs{
			Alias:                pulumi.String("dkeeew"),
			Allowaccess:          pulumi.String("ping https"),
			Defaultgw:            pulumi.String("enable"),
			Description:          pulumi.String("description"),
			DeviceIdentification: pulumi.String("enable"),
			Distance:             pulumi.String("33"),
			DnsServerOverride:    pulumi.String("enable"),
			Ip:                   pulumi.String("93.133.133.110 255.255.255.0"),
			Mode:                 pulumi.String("static"),
			Mtu:                  pulumi.String("2933"),
			MtuOverride:          pulumi.String("enable"),
			Role:                 pulumi.String("lan"),
			Speed:                pulumi.String("auto"),
			Status:               pulumi.String("up"),
			TcpMss:               pulumi.String("3232"),
			Type:                 pulumi.String("physical"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetInterfacePort

func GetInterfacePort(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InterfacePortState, opts ...pulumi.ResourceOption) (*InterfacePort, error)

GetInterfacePort gets an existing InterfacePort 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 NewInterfacePort

func NewInterfacePort(ctx *pulumi.Context,
	name string, args *InterfacePortArgs, opts ...pulumi.ResourceOption) (*InterfacePort, error)

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

func (*InterfacePort) ElementType

func (*InterfacePort) ElementType() reflect.Type

func (*InterfacePort) ToInterfacePortOutput

func (i *InterfacePort) ToInterfacePortOutput() InterfacePortOutput

func (*InterfacePort) ToInterfacePortOutputWithContext

func (i *InterfacePort) ToInterfacePortOutputWithContext(ctx context.Context) InterfacePortOutput

type InterfacePortArgs

type InterfacePortArgs struct {
	// Alias will be displayed with the interface name to make it easier to distinguish.
	Alias pulumi.StringPtrInput
	// Permitted types of management access to this interface.
	Allowaccess pulumi.StringPtrInput
	// Enable to get the gateway IP from the DHCP or PPPoE server.
	Defaultgw pulumi.StringPtrInput
	// Description.
	Description pulumi.StringPtrInput
	// Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
	DeviceIdentification pulumi.StringPtrInput
	// Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
	Distance pulumi.StringPtrInput
	// Enable/disable use DNS acquired by DHCP or PPPoE.
	DnsServerOverride pulumi.StringPtrInput
	// Interface name.
	Interface pulumi.StringPtrInput
	// Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
	Ip pulumi.StringPtrInput
	// Addressing mode.
	Mode pulumi.StringPtrInput
	// MTU value for this interface.
	Mtu pulumi.StringPtrInput
	// Enable to set a custom MTU for this interface.
	MtuOverride pulumi.StringPtrInput
	// Name.
	Name pulumi.StringPtrInput
	// Interface role.
	Role pulumi.StringPtrInput
	// Interface speed. The default setting and the options available depend on the interface hardware.
	Speed pulumi.StringPtrInput
	// Bring the interface up or shut the interface down.
	Status pulumi.StringPtrInput
	// TCP maximum segment size. 0 means do not change segment size.
	TcpMss pulumi.StringPtrInput
	// Interface type (support physical, vlan, loopback).
	Type pulumi.StringInput
	// Interface is in this virtual domain (VDOM).
	Vdom pulumi.StringPtrInput
	// VLAN ID.
	Vlanid pulumi.StringPtrInput
}

The set of arguments for constructing a InterfacePort resource.

func (InterfacePortArgs) ElementType

func (InterfacePortArgs) ElementType() reflect.Type

type InterfacePortArray

type InterfacePortArray []InterfacePortInput

func (InterfacePortArray) ElementType

func (InterfacePortArray) ElementType() reflect.Type

func (InterfacePortArray) ToInterfacePortArrayOutput

func (i InterfacePortArray) ToInterfacePortArrayOutput() InterfacePortArrayOutput

func (InterfacePortArray) ToInterfacePortArrayOutputWithContext

func (i InterfacePortArray) ToInterfacePortArrayOutputWithContext(ctx context.Context) InterfacePortArrayOutput

type InterfacePortArrayInput

type InterfacePortArrayInput interface {
	pulumi.Input

	ToInterfacePortArrayOutput() InterfacePortArrayOutput
	ToInterfacePortArrayOutputWithContext(context.Context) InterfacePortArrayOutput
}

InterfacePortArrayInput is an input type that accepts InterfacePortArray and InterfacePortArrayOutput values. You can construct a concrete instance of `InterfacePortArrayInput` via:

InterfacePortArray{ InterfacePortArgs{...} }

type InterfacePortArrayOutput

type InterfacePortArrayOutput struct{ *pulumi.OutputState }

func (InterfacePortArrayOutput) ElementType

func (InterfacePortArrayOutput) ElementType() reflect.Type

func (InterfacePortArrayOutput) Index

func (InterfacePortArrayOutput) ToInterfacePortArrayOutput

func (o InterfacePortArrayOutput) ToInterfacePortArrayOutput() InterfacePortArrayOutput

func (InterfacePortArrayOutput) ToInterfacePortArrayOutputWithContext

func (o InterfacePortArrayOutput) ToInterfacePortArrayOutputWithContext(ctx context.Context) InterfacePortArrayOutput

type InterfacePortInput

type InterfacePortInput interface {
	pulumi.Input

	ToInterfacePortOutput() InterfacePortOutput
	ToInterfacePortOutputWithContext(ctx context.Context) InterfacePortOutput
}

type InterfacePortMap

type InterfacePortMap map[string]InterfacePortInput

func (InterfacePortMap) ElementType

func (InterfacePortMap) ElementType() reflect.Type

func (InterfacePortMap) ToInterfacePortMapOutput

func (i InterfacePortMap) ToInterfacePortMapOutput() InterfacePortMapOutput

func (InterfacePortMap) ToInterfacePortMapOutputWithContext

func (i InterfacePortMap) ToInterfacePortMapOutputWithContext(ctx context.Context) InterfacePortMapOutput

type InterfacePortMapInput

type InterfacePortMapInput interface {
	pulumi.Input

	ToInterfacePortMapOutput() InterfacePortMapOutput
	ToInterfacePortMapOutputWithContext(context.Context) InterfacePortMapOutput
}

InterfacePortMapInput is an input type that accepts InterfacePortMap and InterfacePortMapOutput values. You can construct a concrete instance of `InterfacePortMapInput` via:

InterfacePortMap{ "key": InterfacePortArgs{...} }

type InterfacePortMapOutput

type InterfacePortMapOutput struct{ *pulumi.OutputState }

func (InterfacePortMapOutput) ElementType

func (InterfacePortMapOutput) ElementType() reflect.Type

func (InterfacePortMapOutput) MapIndex

func (InterfacePortMapOutput) ToInterfacePortMapOutput

func (o InterfacePortMapOutput) ToInterfacePortMapOutput() InterfacePortMapOutput

func (InterfacePortMapOutput) ToInterfacePortMapOutputWithContext

func (o InterfacePortMapOutput) ToInterfacePortMapOutputWithContext(ctx context.Context) InterfacePortMapOutput

type InterfacePortOutput

type InterfacePortOutput struct{ *pulumi.OutputState }

func (InterfacePortOutput) Alias

Alias will be displayed with the interface name to make it easier to distinguish.

func (InterfacePortOutput) Allowaccess

func (o InterfacePortOutput) Allowaccess() pulumi.StringOutput

Permitted types of management access to this interface.

func (InterfacePortOutput) Defaultgw

func (o InterfacePortOutput) Defaultgw() pulumi.StringOutput

Enable to get the gateway IP from the DHCP or PPPoE server.

func (InterfacePortOutput) Description

func (o InterfacePortOutput) Description() pulumi.StringPtrOutput

Description.

func (InterfacePortOutput) DeviceIdentification

func (o InterfacePortOutput) DeviceIdentification() pulumi.StringOutput

Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.

func (InterfacePortOutput) Distance

Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.

func (InterfacePortOutput) DnsServerOverride

func (o InterfacePortOutput) DnsServerOverride() pulumi.StringOutput

Enable/disable use DNS acquired by DHCP or PPPoE.

func (InterfacePortOutput) ElementType

func (InterfacePortOutput) ElementType() reflect.Type

func (InterfacePortOutput) Interface

func (o InterfacePortOutput) Interface() pulumi.StringOutput

Interface name.

func (InterfacePortOutput) Ip

Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.

func (InterfacePortOutput) Mode

Addressing mode.

func (InterfacePortOutput) Mtu

MTU value for this interface.

func (InterfacePortOutput) MtuOverride

func (o InterfacePortOutput) MtuOverride() pulumi.StringOutput

Enable to set a custom MTU for this interface.

func (InterfacePortOutput) Name

Name.

func (InterfacePortOutput) Role

Interface role.

func (InterfacePortOutput) Speed

Interface speed. The default setting and the options available depend on the interface hardware.

func (InterfacePortOutput) Status

Bring the interface up or shut the interface down.

func (InterfacePortOutput) TcpMss

TCP maximum segment size. 0 means do not change segment size.

func (InterfacePortOutput) ToInterfacePortOutput

func (o InterfacePortOutput) ToInterfacePortOutput() InterfacePortOutput

func (InterfacePortOutput) ToInterfacePortOutputWithContext

func (o InterfacePortOutput) ToInterfacePortOutputWithContext(ctx context.Context) InterfacePortOutput

func (InterfacePortOutput) Type

Interface type (support physical, vlan, loopback).

func (InterfacePortOutput) Vdom

Interface is in this virtual domain (VDOM).

func (InterfacePortOutput) Vlanid

VLAN ID.

type InterfacePortState

type InterfacePortState struct {
	// Alias will be displayed with the interface name to make it easier to distinguish.
	Alias pulumi.StringPtrInput
	// Permitted types of management access to this interface.
	Allowaccess pulumi.StringPtrInput
	// Enable to get the gateway IP from the DHCP or PPPoE server.
	Defaultgw pulumi.StringPtrInput
	// Description.
	Description pulumi.StringPtrInput
	// Enable/disable passively gathering of device identity information about the devices on the network connected to this interface.
	DeviceIdentification pulumi.StringPtrInput
	// Distance for routes learned through PPPoE or DHCP, lower distance indicates preferred route.
	Distance pulumi.StringPtrInput
	// Enable/disable use DNS acquired by DHCP or PPPoE.
	DnsServerOverride pulumi.StringPtrInput
	// Interface name.
	Interface pulumi.StringPtrInput
	// Interface IPv4 address and subnet mask, syntax` - X.X.X.X X.X.X.X.
	Ip pulumi.StringPtrInput
	// Addressing mode.
	Mode pulumi.StringPtrInput
	// MTU value for this interface.
	Mtu pulumi.StringPtrInput
	// Enable to set a custom MTU for this interface.
	MtuOverride pulumi.StringPtrInput
	// Name.
	Name pulumi.StringPtrInput
	// Interface role.
	Role pulumi.StringPtrInput
	// Interface speed. The default setting and the options available depend on the interface hardware.
	Speed pulumi.StringPtrInput
	// Bring the interface up or shut the interface down.
	Status pulumi.StringPtrInput
	// TCP maximum segment size. 0 means do not change segment size.
	TcpMss pulumi.StringPtrInput
	// Interface type (support physical, vlan, loopback).
	Type pulumi.StringPtrInput
	// Interface is in this virtual domain (VDOM).
	Vdom pulumi.StringPtrInput
	// VLAN ID.
	Vlanid pulumi.StringPtrInput
}

func (InterfacePortState) ElementType

func (InterfacePortState) ElementType() reflect.Type

type RouteStatic

type RouteStatic struct {
	pulumi.CustomResourceState

	// Enable/disable black hole.
	Blackhole pulumi.StringOutput `pulumi:"blackhole"`
	// Optional comments.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Gateway out interface or tunnel.
	Device pulumi.StringOutput `pulumi:"device"`
	// Administrative distance.
	Distance pulumi.StringOutput `pulumi:"distance"`
	// Destination IP and mask for this route.
	Dst pulumi.StringOutput `pulumi:"dst"`
	// Gateway IP for this route.
	Gateway pulumi.StringOutput `pulumi:"gateway"`
	// Application ID in the Internet service database.
	InternetService pulumi.IntOutput `pulumi:"internetService"`
	// Administrative priority.
	Priority pulumi.StringOutput `pulumi:"priority"`
	// Enable/disable this static route. default is "enable".
	Status pulumi.StringOutput `pulumi:"status"`
	// Administrative weight.
	Weight pulumi.StringOutput `pulumi:"weight"`
}

Provides a resource to configure static route of FortiOS.

!> **Warning:** The resource will be deprecated and replaced by new resource `router.Static`, we recommend that you use the new resource.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networking.NewRouteStatic(ctx, "subnet", &networking.RouteStaticArgs{
			Blackhole: pulumi.String("disable"),
			Comment:   pulumi.String("Terraform test"),
			Device:    pulumi.String("port2"),
			Distance:  pulumi.String("22"),
			Dst:       pulumi.String("110.2.2.122/32"),
			Gateway:   pulumi.String("2.2.2.2"),
			Priority:  pulumi.String("3"),
			Status:    pulumi.String("enable"),
			Weight:    pulumi.String("3"),
		})
		if err != nil {
			return err
		}
		_, err = networking.NewRouteStatic(ctx, "internetService", &networking.RouteStaticArgs{
			Blackhole:       pulumi.String("disable"),
			Comment:         pulumi.String("Terraform Test"),
			Device:          pulumi.String("port2"),
			Distance:        pulumi.String("22"),
			Gateway:         pulumi.String("2.2.2.2"),
			InternetService: pulumi.Int(5242881),
			Priority:        pulumi.String("3"),
			Status:          pulumi.String("enable"),
			Weight:          pulumi.String("3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetRouteStatic

func GetRouteStatic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteStaticState, opts ...pulumi.ResourceOption) (*RouteStatic, error)

GetRouteStatic gets an existing RouteStatic 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 NewRouteStatic

func NewRouteStatic(ctx *pulumi.Context,
	name string, args *RouteStaticArgs, opts ...pulumi.ResourceOption) (*RouteStatic, error)

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

func (*RouteStatic) ElementType

func (*RouteStatic) ElementType() reflect.Type

func (*RouteStatic) ToRouteStaticOutput

func (i *RouteStatic) ToRouteStaticOutput() RouteStaticOutput

func (*RouteStatic) ToRouteStaticOutputWithContext

func (i *RouteStatic) ToRouteStaticOutputWithContext(ctx context.Context) RouteStaticOutput

type RouteStaticArgs

type RouteStaticArgs struct {
	// Enable/disable black hole.
	Blackhole pulumi.StringPtrInput
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Gateway out interface or tunnel.
	Device pulumi.StringInput
	// Administrative distance.
	Distance pulumi.StringPtrInput
	// Destination IP and mask for this route.
	Dst pulumi.StringPtrInput
	// Gateway IP for this route.
	Gateway pulumi.StringInput
	// Application ID in the Internet service database.
	InternetService pulumi.IntPtrInput
	// Administrative priority.
	Priority pulumi.StringPtrInput
	// Enable/disable this static route. default is "enable".
	Status pulumi.StringPtrInput
	// Administrative weight.
	Weight pulumi.StringPtrInput
}

The set of arguments for constructing a RouteStatic resource.

func (RouteStaticArgs) ElementType

func (RouteStaticArgs) ElementType() reflect.Type

type RouteStaticArray

type RouteStaticArray []RouteStaticInput

func (RouteStaticArray) ElementType

func (RouteStaticArray) ElementType() reflect.Type

func (RouteStaticArray) ToRouteStaticArrayOutput

func (i RouteStaticArray) ToRouteStaticArrayOutput() RouteStaticArrayOutput

func (RouteStaticArray) ToRouteStaticArrayOutputWithContext

func (i RouteStaticArray) ToRouteStaticArrayOutputWithContext(ctx context.Context) RouteStaticArrayOutput

type RouteStaticArrayInput

type RouteStaticArrayInput interface {
	pulumi.Input

	ToRouteStaticArrayOutput() RouteStaticArrayOutput
	ToRouteStaticArrayOutputWithContext(context.Context) RouteStaticArrayOutput
}

RouteStaticArrayInput is an input type that accepts RouteStaticArray and RouteStaticArrayOutput values. You can construct a concrete instance of `RouteStaticArrayInput` via:

RouteStaticArray{ RouteStaticArgs{...} }

type RouteStaticArrayOutput

type RouteStaticArrayOutput struct{ *pulumi.OutputState }

func (RouteStaticArrayOutput) ElementType

func (RouteStaticArrayOutput) ElementType() reflect.Type

func (RouteStaticArrayOutput) Index

func (RouteStaticArrayOutput) ToRouteStaticArrayOutput

func (o RouteStaticArrayOutput) ToRouteStaticArrayOutput() RouteStaticArrayOutput

func (RouteStaticArrayOutput) ToRouteStaticArrayOutputWithContext

func (o RouteStaticArrayOutput) ToRouteStaticArrayOutputWithContext(ctx context.Context) RouteStaticArrayOutput

type RouteStaticInput

type RouteStaticInput interface {
	pulumi.Input

	ToRouteStaticOutput() RouteStaticOutput
	ToRouteStaticOutputWithContext(ctx context.Context) RouteStaticOutput
}

type RouteStaticMap

type RouteStaticMap map[string]RouteStaticInput

func (RouteStaticMap) ElementType

func (RouteStaticMap) ElementType() reflect.Type

func (RouteStaticMap) ToRouteStaticMapOutput

func (i RouteStaticMap) ToRouteStaticMapOutput() RouteStaticMapOutput

func (RouteStaticMap) ToRouteStaticMapOutputWithContext

func (i RouteStaticMap) ToRouteStaticMapOutputWithContext(ctx context.Context) RouteStaticMapOutput

type RouteStaticMapInput

type RouteStaticMapInput interface {
	pulumi.Input

	ToRouteStaticMapOutput() RouteStaticMapOutput
	ToRouteStaticMapOutputWithContext(context.Context) RouteStaticMapOutput
}

RouteStaticMapInput is an input type that accepts RouteStaticMap and RouteStaticMapOutput values. You can construct a concrete instance of `RouteStaticMapInput` via:

RouteStaticMap{ "key": RouteStaticArgs{...} }

type RouteStaticMapOutput

type RouteStaticMapOutput struct{ *pulumi.OutputState }

func (RouteStaticMapOutput) ElementType

func (RouteStaticMapOutput) ElementType() reflect.Type

func (RouteStaticMapOutput) MapIndex

func (RouteStaticMapOutput) ToRouteStaticMapOutput

func (o RouteStaticMapOutput) ToRouteStaticMapOutput() RouteStaticMapOutput

func (RouteStaticMapOutput) ToRouteStaticMapOutputWithContext

func (o RouteStaticMapOutput) ToRouteStaticMapOutputWithContext(ctx context.Context) RouteStaticMapOutput

type RouteStaticOutput

type RouteStaticOutput struct{ *pulumi.OutputState }

func (RouteStaticOutput) Blackhole

func (o RouteStaticOutput) Blackhole() pulumi.StringOutput

Enable/disable black hole.

func (RouteStaticOutput) Comment

Optional comments.

func (RouteStaticOutput) Device

Gateway out interface or tunnel.

func (RouteStaticOutput) Distance

func (o RouteStaticOutput) Distance() pulumi.StringOutput

Administrative distance.

func (RouteStaticOutput) Dst

Destination IP and mask for this route.

func (RouteStaticOutput) ElementType

func (RouteStaticOutput) ElementType() reflect.Type

func (RouteStaticOutput) Gateway

Gateway IP for this route.

func (RouteStaticOutput) InternetService

func (o RouteStaticOutput) InternetService() pulumi.IntOutput

Application ID in the Internet service database.

func (RouteStaticOutput) Priority

func (o RouteStaticOutput) Priority() pulumi.StringOutput

Administrative priority.

func (RouteStaticOutput) Status

Enable/disable this static route. default is "enable".

func (RouteStaticOutput) ToRouteStaticOutput

func (o RouteStaticOutput) ToRouteStaticOutput() RouteStaticOutput

func (RouteStaticOutput) ToRouteStaticOutputWithContext

func (o RouteStaticOutput) ToRouteStaticOutputWithContext(ctx context.Context) RouteStaticOutput

func (RouteStaticOutput) Weight

Administrative weight.

type RouteStaticState

type RouteStaticState struct {
	// Enable/disable black hole.
	Blackhole pulumi.StringPtrInput
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Gateway out interface or tunnel.
	Device pulumi.StringPtrInput
	// Administrative distance.
	Distance pulumi.StringPtrInput
	// Destination IP and mask for this route.
	Dst pulumi.StringPtrInput
	// Gateway IP for this route.
	Gateway pulumi.StringPtrInput
	// Application ID in the Internet service database.
	InternetService pulumi.IntPtrInput
	// Administrative priority.
	Priority pulumi.StringPtrInput
	// Enable/disable this static route. default is "enable".
	Status pulumi.StringPtrInput
	// Administrative weight.
	Weight pulumi.StringPtrInput
}

func (RouteStaticState) ElementType

func (RouteStaticState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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