Class 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,
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Net
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Vlan : CustomResource
Constructors
View SourceVlan(String, VlanArgs, CustomResourceOptions)
Create a Vlan resource with the given unique name, arguments, and options.
Declaration
public Vlan(string name, VlanArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VlanArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceInterfaces
Specifies which interfaces you want this VLAN to use for traffic management.
Declaration
public Output<ImmutableArray<VlanInterface>> Interfaces { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<VlanInterface>> |
Name
Name of the vlan
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tag
Specifies a number that the system adds into the header of any frame passing through the VLAN.
Declaration
public Output<int?> Tag { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Methods
View SourceGet(String, Input<String>, VlanState, CustomResourceOptions)
Get an existing Vlan resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Vlan Get(string name, Input<string> id, VlanState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| VlanState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Vlan |