net

package
v3.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 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 Route

type Route struct {
	pulumi.CustomResourceState

	// Specifies a gateway address for the route.
	Gw pulumi.StringPtrOutput `pulumi:"gw"`
	// Name of the route.Name of Route should be full path,full path is the combination of the `partition + route name`,For ex: `/Common/test-net-route`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The destination subnet and netmask for the route.
	Network pulumi.StringOutput `pulumi:"network"`
	// reject route
	Reject pulumi.BoolPtrOutput `pulumi:"reject"`
	// tunnel_ref to route traffic
	TunnelRef pulumi.StringPtrOutput `pulumi:"tunnelRef"`
}

`net.Route` Manages a route configuration

For resources should be named with their "full path". The full path is the combination of the partition + name of the resource. For example /Common/my-pool.

## Example Usage

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := net.NewRoute(ctx, "route2", &net.RouteArgs{
			Gw:      pulumi.String("1.1.1.2"),
			Name:    pulumi.String("/Common/external-route"),
			Network: pulumi.String("10.10.10.0/24"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route 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 NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

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

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteArgs

type RouteArgs struct {
	// Specifies a gateway address for the route.
	Gw pulumi.StringPtrInput
	// Name of the route.Name of Route should be full path,full path is the combination of the `partition + route name`,For ex: `/Common/test-net-route`.
	Name pulumi.StringInput
	// The destination subnet and netmask for the route.
	Network pulumi.StringInput
	// reject route
	Reject pulumi.BoolPtrInput
	// tunnel_ref to route traffic
	TunnelRef pulumi.StringPtrInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

	ToRouteArrayOutput() RouteArrayOutput
	ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}

RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteInput

type RouteInput interface {
	pulumi.Input

	ToRouteOutput() RouteOutput
	ToRouteOutputWithContext(ctx context.Context) RouteOutput
}

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}

RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:

RouteMap{ "key": RouteArgs{...} }

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) ElementType

func (RouteOutput) ElementType() reflect.Type

func (RouteOutput) Gw added in v3.9.0

Specifies a gateway address for the route.

func (RouteOutput) Name added in v3.9.0

func (o RouteOutput) Name() pulumi.StringOutput

Name of the route.Name of Route should be full path,full path is the combination of the `partition + route name`,For ex: `/Common/test-net-route`.

func (RouteOutput) Network added in v3.9.0

func (o RouteOutput) Network() pulumi.StringOutput

The destination subnet and netmask for the route.

func (RouteOutput) Reject added in v3.9.0

func (o RouteOutput) Reject() pulumi.BoolPtrOutput

reject route

func (RouteOutput) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput

func (RouteOutput) TunnelRef added in v3.9.0

func (o RouteOutput) TunnelRef() pulumi.StringPtrOutput

tunnel_ref to route traffic

type RouteState

type RouteState struct {
	// Specifies a gateway address for the route.
	Gw pulumi.StringPtrInput
	// Name of the route.Name of Route should be full path,full path is the combination of the `partition + route name`,For ex: `/Common/test-net-route`.
	Name pulumi.StringPtrInput
	// The destination subnet and netmask for the route.
	Network pulumi.StringPtrInput
	// reject route
	Reject pulumi.BoolPtrInput
	// tunnel_ref to route traffic
	TunnelRef pulumi.StringPtrInput
}

func (RouteState) ElementType

func (RouteState) ElementType() reflect.Type

type SelfIp

type SelfIp struct {
	pulumi.CustomResourceState

	// The Self IP's address and netmask. The IP address could also contain the route domain, e.g. `10.12.13.14%!/(MISSING)24`.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Name of the selfip
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the port lockdown, defaults to `Allow None` if not specified.
	PortLockdowns pulumi.StringArrayOutput `pulumi:"portLockdowns"`
	// Specifies the traffic group, defaults to `traffic-group-local-only` if not specified.
	TrafficGroup pulumi.StringPtrOutput `pulumi:"trafficGroup"`
	// Specifies the VLAN for which you are setting a self IP address. This setting must be provided when a self IP is created.
	Vlan pulumi.StringOutput `pulumi:"vlan"`
}

`net.SelfIp` Manages a selfip configuration

Resource should be named with their `full path`. The full path is the combination of the `partition + name of the resource`, for example `/Common/my-selfip`.

## Example Usage

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		vlan1, err := net.NewVlan(ctx, "vlan1", &net.VlanArgs{
			Name: pulumi.String("/Common/Internal"),
			Tag:  pulumi.Int(101),
			Interfaces: net.VlanInterfaceArray{
				&net.VlanInterfaceArgs{
					Vlanport: pulumi.String("1.2"),
					Tagged:   pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = net.NewSelfIp(ctx, "selfip1", &net.SelfIpArgs{
			Name: pulumi.String("/Common/internalselfIP"),
			Ip:   pulumi.String("11.1.1.1/24"),
			Vlan: pulumi.String("/Common/internal"),
		}, pulumi.DependsOn([]pulumi.Resource{
			vlan1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> ### Example usage with `portLockdown`

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := net.NewSelfIp(ctx, "selfip1", &net.SelfIpArgs{
			Name:         pulumi.String("/Common/internalselfIP"),
			Ip:           pulumi.String("11.1.1.1/24"),
			Vlan:         pulumi.String("/Common/internal"),
			TrafficGroup: pulumi.String("traffic-group-1"),
			PortLockdowns: pulumi.StringArray{
				pulumi.String("tcp:4040"),
				pulumi.String("udp:5050"),
				pulumi.String("egp:0"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			bigip_net_vlan.Vlan1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

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

### Example usage with `portLockdown` set to `["none"]`

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := net.NewSelfIp(ctx, "selfip1", &net.SelfIpArgs{
			Name:         pulumi.String("/Common/internalselfIP"),
			Ip:           pulumi.String("11.1.1.1/24"),
			Vlan:         pulumi.String("/Common/internal"),
			TrafficGroup: pulumi.String("traffic-group-1"),
			PortLockdowns: pulumi.StringArray{
				pulumi.String("none"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			bigip_net_vlan.Vlan1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

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

### Example usage with route domain embedded in the `ip`

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := net.NewSelfIp(ctx, "selfip1", &net.SelfIpArgs{
			Name:         pulumi.String("/Common/internalselfIP"),
			Ip:           pulumi.String("11.1.1.1%4/24"),
			Vlan:         pulumi.String("/Common/internal"),
			TrafficGroup: pulumi.String("traffic-group-1"),
			PortLockdowns: pulumi.StringArray{
				pulumi.String("none"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			bigip_net_vlan.Vlan1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetSelfIp

func GetSelfIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SelfIpState, opts ...pulumi.ResourceOption) (*SelfIp, error)

GetSelfIp gets an existing SelfIp 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 NewSelfIp

func NewSelfIp(ctx *pulumi.Context,
	name string, args *SelfIpArgs, opts ...pulumi.ResourceOption) (*SelfIp, error)

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

func (*SelfIp) ElementType

func (*SelfIp) ElementType() reflect.Type

func (*SelfIp) ToSelfIpOutput

func (i *SelfIp) ToSelfIpOutput() SelfIpOutput

func (*SelfIp) ToSelfIpOutputWithContext

func (i *SelfIp) ToSelfIpOutputWithContext(ctx context.Context) SelfIpOutput

type SelfIpArgs

type SelfIpArgs struct {
	// The Self IP's address and netmask. The IP address could also contain the route domain, e.g. `10.12.13.14%!/(MISSING)24`.
	Ip pulumi.StringInput
	// Name of the selfip
	Name pulumi.StringInput
	// Specifies the port lockdown, defaults to `Allow None` if not specified.
	PortLockdowns pulumi.StringArrayInput
	// Specifies the traffic group, defaults to `traffic-group-local-only` if not specified.
	TrafficGroup pulumi.StringPtrInput
	// Specifies the VLAN for which you are setting a self IP address. This setting must be provided when a self IP is created.
	Vlan pulumi.StringInput
}

The set of arguments for constructing a SelfIp resource.

func (SelfIpArgs) ElementType

func (SelfIpArgs) ElementType() reflect.Type

type SelfIpArray

type SelfIpArray []SelfIpInput

func (SelfIpArray) ElementType

func (SelfIpArray) ElementType() reflect.Type

func (SelfIpArray) ToSelfIpArrayOutput

func (i SelfIpArray) ToSelfIpArrayOutput() SelfIpArrayOutput

func (SelfIpArray) ToSelfIpArrayOutputWithContext

func (i SelfIpArray) ToSelfIpArrayOutputWithContext(ctx context.Context) SelfIpArrayOutput

type SelfIpArrayInput

type SelfIpArrayInput interface {
	pulumi.Input

	ToSelfIpArrayOutput() SelfIpArrayOutput
	ToSelfIpArrayOutputWithContext(context.Context) SelfIpArrayOutput
}

SelfIpArrayInput is an input type that accepts SelfIpArray and SelfIpArrayOutput values. You can construct a concrete instance of `SelfIpArrayInput` via:

SelfIpArray{ SelfIpArgs{...} }

type SelfIpArrayOutput

type SelfIpArrayOutput struct{ *pulumi.OutputState }

func (SelfIpArrayOutput) ElementType

func (SelfIpArrayOutput) ElementType() reflect.Type

func (SelfIpArrayOutput) Index

func (SelfIpArrayOutput) ToSelfIpArrayOutput

func (o SelfIpArrayOutput) ToSelfIpArrayOutput() SelfIpArrayOutput

func (SelfIpArrayOutput) ToSelfIpArrayOutputWithContext

func (o SelfIpArrayOutput) ToSelfIpArrayOutputWithContext(ctx context.Context) SelfIpArrayOutput

type SelfIpInput

type SelfIpInput interface {
	pulumi.Input

	ToSelfIpOutput() SelfIpOutput
	ToSelfIpOutputWithContext(ctx context.Context) SelfIpOutput
}

type SelfIpMap

type SelfIpMap map[string]SelfIpInput

func (SelfIpMap) ElementType

func (SelfIpMap) ElementType() reflect.Type

func (SelfIpMap) ToSelfIpMapOutput

func (i SelfIpMap) ToSelfIpMapOutput() SelfIpMapOutput

func (SelfIpMap) ToSelfIpMapOutputWithContext

func (i SelfIpMap) ToSelfIpMapOutputWithContext(ctx context.Context) SelfIpMapOutput

type SelfIpMapInput

type SelfIpMapInput interface {
	pulumi.Input

	ToSelfIpMapOutput() SelfIpMapOutput
	ToSelfIpMapOutputWithContext(context.Context) SelfIpMapOutput
}

SelfIpMapInput is an input type that accepts SelfIpMap and SelfIpMapOutput values. You can construct a concrete instance of `SelfIpMapInput` via:

SelfIpMap{ "key": SelfIpArgs{...} }

type SelfIpMapOutput

type SelfIpMapOutput struct{ *pulumi.OutputState }

func (SelfIpMapOutput) ElementType

func (SelfIpMapOutput) ElementType() reflect.Type

func (SelfIpMapOutput) MapIndex

func (SelfIpMapOutput) ToSelfIpMapOutput

func (o SelfIpMapOutput) ToSelfIpMapOutput() SelfIpMapOutput

func (SelfIpMapOutput) ToSelfIpMapOutputWithContext

func (o SelfIpMapOutput) ToSelfIpMapOutputWithContext(ctx context.Context) SelfIpMapOutput

type SelfIpOutput

type SelfIpOutput struct{ *pulumi.OutputState }

func (SelfIpOutput) ElementType

func (SelfIpOutput) ElementType() reflect.Type

func (SelfIpOutput) Ip added in v3.9.0

The Self IP's address and netmask. The IP address could also contain the route domain, e.g. `10.12.13.14%!/(MISSING)24`.

func (SelfIpOutput) Name added in v3.9.0

func (o SelfIpOutput) Name() pulumi.StringOutput

Name of the selfip

func (SelfIpOutput) PortLockdowns added in v3.9.0

func (o SelfIpOutput) PortLockdowns() pulumi.StringArrayOutput

Specifies the port lockdown, defaults to `Allow None` if not specified.

func (SelfIpOutput) ToSelfIpOutput

func (o SelfIpOutput) ToSelfIpOutput() SelfIpOutput

func (SelfIpOutput) ToSelfIpOutputWithContext

func (o SelfIpOutput) ToSelfIpOutputWithContext(ctx context.Context) SelfIpOutput

func (SelfIpOutput) TrafficGroup added in v3.9.0

func (o SelfIpOutput) TrafficGroup() pulumi.StringPtrOutput

Specifies the traffic group, defaults to `traffic-group-local-only` if not specified.

func (SelfIpOutput) Vlan added in v3.9.0

func (o SelfIpOutput) Vlan() pulumi.StringOutput

Specifies the VLAN for which you are setting a self IP address. This setting must be provided when a self IP is created.

type SelfIpState

type SelfIpState struct {
	// The Self IP's address and netmask. The IP address could also contain the route domain, e.g. `10.12.13.14%!/(MISSING)24`.
	Ip pulumi.StringPtrInput
	// Name of the selfip
	Name pulumi.StringPtrInput
	// Specifies the port lockdown, defaults to `Allow None` if not specified.
	PortLockdowns pulumi.StringArrayInput
	// Specifies the traffic group, defaults to `traffic-group-local-only` if not specified.
	TrafficGroup pulumi.StringPtrInput
	// Specifies the VLAN for which you are setting a self IP address. This setting must be provided when a self IP is created.
	Vlan pulumi.StringPtrInput
}

func (SelfIpState) ElementType

func (SelfIpState) ElementType() reflect.Type

type Vlan

type Vlan struct {
	pulumi.CustomResourceState

	// Specifies how the traffic on the VLAN will be disaggregated. The value selected determines the traffic disaggregation method. possible options: [`default`, `src-ip`, `dst-ip`]
	CmpHash pulumi.StringOutput `pulumi:"cmpHash"`
	// Specifies which interfaces you want this VLAN to use for traffic management.
	Interfaces VlanInterfaceArrayOutput `pulumi:"interfaces"`
	// Specifies the maximum transmission unit (MTU) for traffic on this VLAN. The default value is `1500`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// Name of the vlan
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies a number that the system adds into the header of any frame passing through the VLAN.
	Tag pulumi.IntPtrOutput `pulumi:"tag"`
}

`net.Vlan` Manages a vlan configuration

For resources should be named with their "full path". The full path is the combination of the partition + name of the resource. For example /Common/my-pool.

## Example Usage

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

import (

"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/net"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := net.NewVlan(ctx, "vlan1", &net.VlanArgs{
			Interfaces: net.VlanInterfaceArray{
				&net.VlanInterfaceArgs{
					Tagged:   pulumi.Bool(false),
					Vlanport: pulumi.String("1.2"),
				},
			},
			Name: pulumi.String("/Common/Internal"),
			Tag:  pulumi.Int(101),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetVlan

func GetVlan(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VlanState, opts ...pulumi.ResourceOption) (*Vlan, error)

GetVlan gets an existing Vlan 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 NewVlan

func NewVlan(ctx *pulumi.Context,
	name string, args *VlanArgs, opts ...pulumi.ResourceOption) (*Vlan, error)

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

func (*Vlan) ElementType

func (*Vlan) ElementType() reflect.Type

func (*Vlan) ToVlanOutput

func (i *Vlan) ToVlanOutput() VlanOutput

func (*Vlan) ToVlanOutputWithContext

func (i *Vlan) ToVlanOutputWithContext(ctx context.Context) VlanOutput

type VlanArgs

type VlanArgs struct {
	// Specifies how the traffic on the VLAN will be disaggregated. The value selected determines the traffic disaggregation method. possible options: [`default`, `src-ip`, `dst-ip`]
	CmpHash pulumi.StringPtrInput
	// Specifies which interfaces you want this VLAN to use for traffic management.
	Interfaces VlanInterfaceArrayInput
	// Specifies the maximum transmission unit (MTU) for traffic on this VLAN. The default value is `1500`.
	Mtu pulumi.IntPtrInput
	// Name of the vlan
	Name pulumi.StringInput
	// Specifies a number that the system adds into the header of any frame passing through the VLAN.
	Tag pulumi.IntPtrInput
}

The set of arguments for constructing a Vlan resource.

func (VlanArgs) ElementType

func (VlanArgs) ElementType() reflect.Type

type VlanArray

type VlanArray []VlanInput

func (VlanArray) ElementType

func (VlanArray) ElementType() reflect.Type

func (VlanArray) ToVlanArrayOutput

func (i VlanArray) ToVlanArrayOutput() VlanArrayOutput

func (VlanArray) ToVlanArrayOutputWithContext

func (i VlanArray) ToVlanArrayOutputWithContext(ctx context.Context) VlanArrayOutput

type VlanArrayInput

type VlanArrayInput interface {
	pulumi.Input

	ToVlanArrayOutput() VlanArrayOutput
	ToVlanArrayOutputWithContext(context.Context) VlanArrayOutput
}

VlanArrayInput is an input type that accepts VlanArray and VlanArrayOutput values. You can construct a concrete instance of `VlanArrayInput` via:

VlanArray{ VlanArgs{...} }

type VlanArrayOutput

type VlanArrayOutput struct{ *pulumi.OutputState }

func (VlanArrayOutput) ElementType

func (VlanArrayOutput) ElementType() reflect.Type

func (VlanArrayOutput) Index

func (VlanArrayOutput) ToVlanArrayOutput

func (o VlanArrayOutput) ToVlanArrayOutput() VlanArrayOutput

func (VlanArrayOutput) ToVlanArrayOutputWithContext

func (o VlanArrayOutput) ToVlanArrayOutputWithContext(ctx context.Context) VlanArrayOutput

type VlanInput

type VlanInput interface {
	pulumi.Input

	ToVlanOutput() VlanOutput
	ToVlanOutputWithContext(ctx context.Context) VlanOutput
}

type VlanInterface

type VlanInterface struct {
	// Specifies a list of tagged interfaces or trunks associated with this VLAN. Note that you can associate tagged interfaces or trunks with any number of VLANs.
	Tagged *bool `pulumi:"tagged"`
	// Physical or virtual port used for traffic
	Vlanport *string `pulumi:"vlanport"`
}

type VlanInterfaceArgs

type VlanInterfaceArgs struct {
	// Specifies a list of tagged interfaces or trunks associated with this VLAN. Note that you can associate tagged interfaces or trunks with any number of VLANs.
	Tagged pulumi.BoolPtrInput `pulumi:"tagged"`
	// Physical or virtual port used for traffic
	Vlanport pulumi.StringPtrInput `pulumi:"vlanport"`
}

func (VlanInterfaceArgs) ElementType

func (VlanInterfaceArgs) ElementType() reflect.Type

func (VlanInterfaceArgs) ToVlanInterfaceOutput

func (i VlanInterfaceArgs) ToVlanInterfaceOutput() VlanInterfaceOutput

func (VlanInterfaceArgs) ToVlanInterfaceOutputWithContext

func (i VlanInterfaceArgs) ToVlanInterfaceOutputWithContext(ctx context.Context) VlanInterfaceOutput

type VlanInterfaceArray

type VlanInterfaceArray []VlanInterfaceInput

func (VlanInterfaceArray) ElementType

func (VlanInterfaceArray) ElementType() reflect.Type

func (VlanInterfaceArray) ToVlanInterfaceArrayOutput

func (i VlanInterfaceArray) ToVlanInterfaceArrayOutput() VlanInterfaceArrayOutput

func (VlanInterfaceArray) ToVlanInterfaceArrayOutputWithContext

func (i VlanInterfaceArray) ToVlanInterfaceArrayOutputWithContext(ctx context.Context) VlanInterfaceArrayOutput

type VlanInterfaceArrayInput

type VlanInterfaceArrayInput interface {
	pulumi.Input

	ToVlanInterfaceArrayOutput() VlanInterfaceArrayOutput
	ToVlanInterfaceArrayOutputWithContext(context.Context) VlanInterfaceArrayOutput
}

VlanInterfaceArrayInput is an input type that accepts VlanInterfaceArray and VlanInterfaceArrayOutput values. You can construct a concrete instance of `VlanInterfaceArrayInput` via:

VlanInterfaceArray{ VlanInterfaceArgs{...} }

type VlanInterfaceArrayOutput

type VlanInterfaceArrayOutput struct{ *pulumi.OutputState }

func (VlanInterfaceArrayOutput) ElementType

func (VlanInterfaceArrayOutput) ElementType() reflect.Type

func (VlanInterfaceArrayOutput) Index

func (VlanInterfaceArrayOutput) ToVlanInterfaceArrayOutput

func (o VlanInterfaceArrayOutput) ToVlanInterfaceArrayOutput() VlanInterfaceArrayOutput

func (VlanInterfaceArrayOutput) ToVlanInterfaceArrayOutputWithContext

func (o VlanInterfaceArrayOutput) ToVlanInterfaceArrayOutputWithContext(ctx context.Context) VlanInterfaceArrayOutput

type VlanInterfaceInput

type VlanInterfaceInput interface {
	pulumi.Input

	ToVlanInterfaceOutput() VlanInterfaceOutput
	ToVlanInterfaceOutputWithContext(context.Context) VlanInterfaceOutput
}

VlanInterfaceInput is an input type that accepts VlanInterfaceArgs and VlanInterfaceOutput values. You can construct a concrete instance of `VlanInterfaceInput` via:

VlanInterfaceArgs{...}

type VlanInterfaceOutput

type VlanInterfaceOutput struct{ *pulumi.OutputState }

func (VlanInterfaceOutput) ElementType

func (VlanInterfaceOutput) ElementType() reflect.Type

func (VlanInterfaceOutput) Tagged

Specifies a list of tagged interfaces or trunks associated with this VLAN. Note that you can associate tagged interfaces or trunks with any number of VLANs.

func (VlanInterfaceOutput) ToVlanInterfaceOutput

func (o VlanInterfaceOutput) ToVlanInterfaceOutput() VlanInterfaceOutput

func (VlanInterfaceOutput) ToVlanInterfaceOutputWithContext

func (o VlanInterfaceOutput) ToVlanInterfaceOutputWithContext(ctx context.Context) VlanInterfaceOutput

func (VlanInterfaceOutput) Vlanport

Physical or virtual port used for traffic

type VlanMap

type VlanMap map[string]VlanInput

func (VlanMap) ElementType

func (VlanMap) ElementType() reflect.Type

func (VlanMap) ToVlanMapOutput

func (i VlanMap) ToVlanMapOutput() VlanMapOutput

func (VlanMap) ToVlanMapOutputWithContext

func (i VlanMap) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOutput

type VlanMapInput

type VlanMapInput interface {
	pulumi.Input

	ToVlanMapOutput() VlanMapOutput
	ToVlanMapOutputWithContext(context.Context) VlanMapOutput
}

VlanMapInput is an input type that accepts VlanMap and VlanMapOutput values. You can construct a concrete instance of `VlanMapInput` via:

VlanMap{ "key": VlanArgs{...} }

type VlanMapOutput

type VlanMapOutput struct{ *pulumi.OutputState }

func (VlanMapOutput) ElementType

func (VlanMapOutput) ElementType() reflect.Type

func (VlanMapOutput) MapIndex

func (VlanMapOutput) ToVlanMapOutput

func (o VlanMapOutput) ToVlanMapOutput() VlanMapOutput

func (VlanMapOutput) ToVlanMapOutputWithContext

func (o VlanMapOutput) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOutput

type VlanOutput

type VlanOutput struct{ *pulumi.OutputState }

func (VlanOutput) CmpHash added in v3.10.1

func (o VlanOutput) CmpHash() pulumi.StringOutput

Specifies how the traffic on the VLAN will be disaggregated. The value selected determines the traffic disaggregation method. possible options: [`default`, `src-ip`, `dst-ip`]

func (VlanOutput) ElementType

func (VlanOutput) ElementType() reflect.Type

func (VlanOutput) Interfaces added in v3.9.0

func (o VlanOutput) Interfaces() VlanInterfaceArrayOutput

Specifies which interfaces you want this VLAN to use for traffic management.

func (VlanOutput) Mtu added in v3.15.3

func (o VlanOutput) Mtu() pulumi.IntPtrOutput

Specifies the maximum transmission unit (MTU) for traffic on this VLAN. The default value is `1500`.

func (VlanOutput) Name added in v3.9.0

func (o VlanOutput) Name() pulumi.StringOutput

Name of the vlan

func (VlanOutput) Tag added in v3.9.0

func (o VlanOutput) Tag() pulumi.IntPtrOutput

Specifies a number that the system adds into the header of any frame passing through the VLAN.

func (VlanOutput) ToVlanOutput

func (o VlanOutput) ToVlanOutput() VlanOutput

func (VlanOutput) ToVlanOutputWithContext

func (o VlanOutput) ToVlanOutputWithContext(ctx context.Context) VlanOutput

type VlanState

type VlanState struct {
	// Specifies how the traffic on the VLAN will be disaggregated. The value selected determines the traffic disaggregation method. possible options: [`default`, `src-ip`, `dst-ip`]
	CmpHash pulumi.StringPtrInput
	// Specifies which interfaces you want this VLAN to use for traffic management.
	Interfaces VlanInterfaceArrayInput
	// Specifies the maximum transmission unit (MTU) for traffic on this VLAN. The default value is `1500`.
	Mtu pulumi.IntPtrInput
	// Name of the vlan
	Name pulumi.StringPtrInput
	// Specifies a number that the system adds into the header of any frame passing through the VLAN.
	Tag pulumi.IntPtrInput
}

func (VlanState) ElementType

func (VlanState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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