Vlan

f5bigip.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

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var vlan1 = new F5BigIP.Net.Vlan("vlan1", new F5BigIP.Net.VlanArgs
        {
            Interfaces = 
            {
                new F5BigIP.Net.Inputs.VlanInterfaceArgs
                {
                    Tagged = false,
                    Vlanport = 1.2,
                },
            },
            Name = "/Common/Internal",
            Tag = 101,
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

vlan1 = f5bigip.net.Vlan("vlan1",
    interfaces=[{
        "tagged": False,
        "vlanport": 1.2,
    }],
    name="/Common/Internal",
    tag=101)
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const vlan1 = new f5bigip.net.Vlan("vlan1", {
    interfaces: [{
        tagged: false,
        vlanport: "1.2",
    }],
    name: "/Common/Internal",
    tag: 101,
});

Create a Vlan Resource

new Vlan(name: string, args: VlanArgs, opts?: CustomResourceOptions);
def Vlan(resource_name, opts=None, interfaces=None, name=None, tag=None, __props__=None);
func NewVlan(ctx *Context, name string, args VlanArgs, opts ...ResourceOption) (*Vlan, error)
public Vlan(string name, VlanArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args VlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Vlan Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Vlan resource accepts the following input properties:

Name string

Name of the vlan

Interfaces List<Pulumi.F5BigIP.Net.Inputs.VlanInterfaceArgs>

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

Tag int

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

Name string

Name of the vlan

Interfaces []VlanInterface

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

Tag int

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

name string

Name of the vlan

interfaces VlanInterface[]

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

tag number

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

name str

Name of the vlan

interfaces List[VlanInterface]

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

tag float

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Vlan resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Vlan Resource

Get an existing Vlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: VlanState, opts?: CustomResourceOptions): Vlan
static get(resource_name, id, opts=None, interfaces=None, name=None, tag=None, __props__=None);
func GetVlan(ctx *Context, name string, id IDInput, state *VlanState, opts ...ResourceOption) (*Vlan, error)
public static Vlan Get(string name, Input<string> id, VlanState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Interfaces List<Pulumi.F5BigIP.Net.Inputs.VlanInterfaceArgs>

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

Name string

Name of the vlan

Tag int

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

Interfaces []VlanInterface

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

Name string

Name of the vlan

Tag int

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

interfaces VlanInterface[]

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

name string

Name of the vlan

tag number

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

interfaces List[VlanInterface]

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

name str

Name of the vlan

tag float

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

Supporting Types

VlanInterface

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Tagged bool

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.

Vlanport string

Physical or virtual port used for traffic

Tagged bool

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.

Vlanport string

Physical or virtual port used for traffic

tagged boolean

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.

vlanport string

Physical or virtual port used for traffic

tagged bool

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.

vlanport str

Physical or virtual port used for traffic

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.