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);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.
F5Big IP. Net. Inputs. Vlan Interface Args> 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
[]Vlan
Interface 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
Vlan
Interface[] 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[Vlan
Interface] 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:
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): Vlanstatic get(resource_name, id, opts=None, interfaces=None, name=None, tag=None, __props__=None);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.
F5Big IP. Net. Inputs. Vlan Interface Args> 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
[]Vlan
Interface 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
Vlan
Interface[] 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[Vlan
Interface] 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.