1. Packages
  2. Ibm Provider
  3. API Docs
  4. NetworkVlan
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.NetworkVlan

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Example Usage

    In the following example, you can create a VLAN:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testVlan = new ibm.NetworkVlan("testVlan", {
        datacenter: "dal06",
        routerHostname: "fcr01a.dal06",
        tags: [
            "collectd",
            "mesos-master",
        ],
        type: "PUBLIC",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_vlan = ibm.NetworkVlan("testVlan",
        datacenter="dal06",
        router_hostname="fcr01a.dal06",
        tags=[
            "collectd",
            "mesos-master",
        ],
        type="PUBLIC")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewNetworkVlan(ctx, "testVlan", &ibm.NetworkVlanArgs{
    			Datacenter:     pulumi.String("dal06"),
    			RouterHostname: pulumi.String("fcr01a.dal06"),
    			Tags: pulumi.StringArray{
    				pulumi.String("collectd"),
    				pulumi.String("mesos-master"),
    			},
    			Type: pulumi.String("PUBLIC"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testVlan = new Ibm.NetworkVlan("testVlan", new()
        {
            Datacenter = "dal06",
            RouterHostname = "fcr01a.dal06",
            Tags = new[]
            {
                "collectd",
                "mesos-master",
            },
            Type = "PUBLIC",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.NetworkVlan;
    import com.pulumi.ibm.NetworkVlanArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testVlan = new NetworkVlan("testVlan", NetworkVlanArgs.builder()
                .datacenter("dal06")
                .routerHostname("fcr01a.dal06")
                .tags(            
                    "collectd",
                    "mesos-master")
                .type("PUBLIC")
                .build());
    
        }
    }
    
    resources:
      testVlan:
        type: ibm:NetworkVlan
        properties:
          datacenter: dal06
          routerHostname: fcr01a.dal06
          tags:
            - collectd
            - mesos-master
          type: PUBLIC
    

    Argument reference

    Review the argument references that you can specify for your resource.

    • datacenter - (Required, Forces new resource, String) The data center in which the VLAN resides.
    • type - (Required, Forces new resource, String)The type of VLAN. Accepted values are PRIVATE and PUBLIC.
    • name - (Optional, String) The name of the VLAN. Maximum length of 20 characters.
    • router_hostname - (Optional, Forces new resource, String) The hostname of the primary router associated with the VLAN.
    • tags - (Optional, Array of string) Tags associated with the VLAN. Permitted characters include: A-Z, 0-9, whitespace, _ (underscore), - (hyphen), . (period), and : (colon). All other characters are removed.

    Create NetworkVlan Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkVlan(name: string, args: NetworkVlanArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkVlan(resource_name: str,
                    args: NetworkVlanArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkVlan(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    datacenter: Optional[str] = None,
                    type: Optional[str] = None,
                    name: Optional[str] = None,
                    network_vlan_id: Optional[str] = None,
                    router_hostname: Optional[str] = None,
                    tags: Optional[Sequence[str]] = None,
                    timeouts: Optional[NetworkVlanTimeoutsArgs] = None)
    func NewNetworkVlan(ctx *Context, name string, args NetworkVlanArgs, opts ...ResourceOption) (*NetworkVlan, error)
    public NetworkVlan(string name, NetworkVlanArgs args, CustomResourceOptions? opts = null)
    public NetworkVlan(String name, NetworkVlanArgs args)
    public NetworkVlan(String name, NetworkVlanArgs args, CustomResourceOptions options)
    
    type: ibm:NetworkVlan
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkVlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkVlanArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkVlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkVlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkVlanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkVlanResource = new Ibm.NetworkVlan("networkVlanResource", new()
    {
        Datacenter = "string",
        Type = "string",
        Name = "string",
        NetworkVlanId = "string",
        RouterHostname = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.NetworkVlanTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := ibm.NewNetworkVlan(ctx, "networkVlanResource", &ibm.NetworkVlanArgs{
    	Datacenter:     pulumi.String("string"),
    	Type:           pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	NetworkVlanId:  pulumi.String("string"),
    	RouterHostname: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &ibm.NetworkVlanTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var networkVlanResource = new NetworkVlan("networkVlanResource", NetworkVlanArgs.builder()
        .datacenter("string")
        .type("string")
        .name("string")
        .networkVlanId("string")
        .routerHostname("string")
        .tags("string")
        .timeouts(NetworkVlanTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    network_vlan_resource = ibm.NetworkVlan("networkVlanResource",
        datacenter="string",
        type="string",
        name="string",
        network_vlan_id="string",
        router_hostname="string",
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const networkVlanResource = new ibm.NetworkVlan("networkVlanResource", {
        datacenter: "string",
        type: "string",
        name: "string",
        networkVlanId: "string",
        routerHostname: "string",
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: ibm:NetworkVlan
    properties:
        datacenter: string
        name: string
        networkVlanId: string
        routerHostname: string
        tags:
            - string
        timeouts:
            create: string
            delete: string
        type: string
    

    NetworkVlan Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NetworkVlan resource accepts the following input properties:

    Datacenter string
    Datacenter name
    Type string
    VLAN type
    Name string
    VLAN name
    NetworkVlanId string
    (String) The unique identifier of the VLAN.
    RouterHostname string
    router host name
    Tags List<string>
    List of tags
    Timeouts NetworkVlanTimeouts
    Datacenter string
    Datacenter name
    Type string
    VLAN type
    Name string
    VLAN name
    NetworkVlanId string
    (String) The unique identifier of the VLAN.
    RouterHostname string
    router host name
    Tags []string
    List of tags
    Timeouts NetworkVlanTimeoutsArgs
    datacenter String
    Datacenter name
    type String
    VLAN type
    name String
    VLAN name
    networkVlanId String
    (String) The unique identifier of the VLAN.
    routerHostname String
    router host name
    tags List<String>
    List of tags
    timeouts NetworkVlanTimeouts
    datacenter string
    Datacenter name
    type string
    VLAN type
    name string
    VLAN name
    networkVlanId string
    (String) The unique identifier of the VLAN.
    routerHostname string
    router host name
    tags string[]
    List of tags
    timeouts NetworkVlanTimeouts
    datacenter str
    Datacenter name
    type str
    VLAN type
    name str
    VLAN name
    network_vlan_id str
    (String) The unique identifier of the VLAN.
    router_hostname str
    router host name
    tags Sequence[str]
    List of tags
    timeouts NetworkVlanTimeoutsArgs
    datacenter String
    Datacenter name
    type String
    VLAN type
    name String
    VLAN name
    networkVlanId String
    (String) The unique identifier of the VLAN.
    routerHostname String
    router host name
    tags List<String>
    List of tags
    timeouts Property Map

    Outputs

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

    ChildResourceCount double
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    SoftlayerManaged bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    Subnets List<NetworkVlanSubnet>
    (List) The collection of subnets associated with the VLAN.
    VlanNumber double
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    ChildResourceCount float64
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    SoftlayerManaged bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    Subnets []NetworkVlanSubnet
    (List) The collection of subnets associated with the VLAN.
    VlanNumber float64
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount Double
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    softlayerManaged Boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets List<NetworkVlanSubnet>
    (List) The collection of subnets associated with the VLAN.
    vlanNumber Double
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount number
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName string
    The name of the resource
    softlayerManaged boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets NetworkVlanSubnet[]
    (List) The collection of subnets associated with the VLAN.
    vlanNumber number
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    child_resource_count float
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_name str
    The name of the resource
    softlayer_managed bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets Sequence[NetworkVlanSubnet]
    (List) The collection of subnets associated with the VLAN.
    vlan_number float
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount Number
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    softlayerManaged Boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets List<Property Map>
    (List) The collection of subnets associated with the VLAN.
    vlanNumber Number
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.

    Look up Existing NetworkVlan Resource

    Get an existing NetworkVlan 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?: NetworkVlanState, opts?: CustomResourceOptions): NetworkVlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            child_resource_count: Optional[float] = None,
            datacenter: Optional[str] = None,
            name: Optional[str] = None,
            network_vlan_id: Optional[str] = None,
            resource_controller_url: Optional[str] = None,
            resource_name: Optional[str] = None,
            router_hostname: Optional[str] = None,
            softlayer_managed: Optional[bool] = None,
            subnets: Optional[Sequence[NetworkVlanSubnetArgs]] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[NetworkVlanTimeoutsArgs] = None,
            type: Optional[str] = None,
            vlan_number: Optional[float] = None) -> NetworkVlan
    func GetNetworkVlan(ctx *Context, name string, id IDInput, state *NetworkVlanState, opts ...ResourceOption) (*NetworkVlan, error)
    public static NetworkVlan Get(string name, Input<string> id, NetworkVlanState? state, CustomResourceOptions? opts = null)
    public static NetworkVlan get(String name, Output<String> id, NetworkVlanState state, CustomResourceOptions options)
    resources:  _:    type: ibm:NetworkVlan    get:      id: ${id}
    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.
    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:
    ChildResourceCount double
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    Datacenter string
    Datacenter name
    Name string
    VLAN name
    NetworkVlanId string
    (String) The unique identifier of the VLAN.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    RouterHostname string
    router host name
    SoftlayerManaged bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    Subnets List<NetworkVlanSubnet>
    (List) The collection of subnets associated with the VLAN.
    Tags List<string>
    List of tags
    Timeouts NetworkVlanTimeouts
    Type string
    VLAN type
    VlanNumber double
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    ChildResourceCount float64
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    Datacenter string
    Datacenter name
    Name string
    VLAN name
    NetworkVlanId string
    (String) The unique identifier of the VLAN.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    RouterHostname string
    router host name
    SoftlayerManaged bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    Subnets []NetworkVlanSubnetArgs
    (List) The collection of subnets associated with the VLAN.
    Tags []string
    List of tags
    Timeouts NetworkVlanTimeoutsArgs
    Type string
    VLAN type
    VlanNumber float64
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount Double
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    datacenter String
    Datacenter name
    name String
    VLAN name
    networkVlanId String
    (String) The unique identifier of the VLAN.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    routerHostname String
    router host name
    softlayerManaged Boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets List<NetworkVlanSubnet>
    (List) The collection of subnets associated with the VLAN.
    tags List<String>
    List of tags
    timeouts NetworkVlanTimeouts
    type String
    VLAN type
    vlanNumber Double
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount number
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    datacenter string
    Datacenter name
    name string
    VLAN name
    networkVlanId string
    (String) The unique identifier of the VLAN.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName string
    The name of the resource
    routerHostname string
    router host name
    softlayerManaged boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets NetworkVlanSubnet[]
    (List) The collection of subnets associated with the VLAN.
    tags string[]
    List of tags
    timeouts NetworkVlanTimeouts
    type string
    VLAN type
    vlanNumber number
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    child_resource_count float
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    datacenter str
    Datacenter name
    name str
    VLAN name
    network_vlan_id str
    (String) The unique identifier of the VLAN.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_name str
    The name of the resource
    router_hostname str
    router host name
    softlayer_managed bool
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets Sequence[NetworkVlanSubnetArgs]
    (List) The collection of subnets associated with the VLAN.
    tags Sequence[str]
    List of tags
    timeouts NetworkVlanTimeoutsArgs
    type str
    VLAN type
    vlan_number float
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.
    childResourceCount Number
    (String) A count of the resources, such as virtual servers and other network components, that are connected to the VLAN.
    datacenter String
    Datacenter name
    name String
    VLAN name
    networkVlanId String
    (String) The unique identifier of the VLAN.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    routerHostname String
    router host name
    softlayerManaged Boolean
    (String) SoftLayer manages the VLAN. If SoftLayer creates the VLAN automatically when SoftLayer creates other resources, this attribute is set to true. If a user creates the VLAN by using the SoftLayer API, portal, or ticket, this attribute is set to false.
    subnets List<Property Map>
    (List) The collection of subnets associated with the VLAN.
    tags List<String>
    List of tags
    timeouts Property Map
    type String
    VLAN type
    vlanNumber Number
    (String) The VLAN number as recorded within the SoftLayer network. This attribute is configured directly on SoftLayer's networking equipment.

    Supporting Types

    NetworkVlanSubnet, NetworkVlanSubnetArgs

    Cidr double
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    Gateway string
    (String) A subnet gateway address.
    Subnet string
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    SubnetSize double
    SubnetType string
    Cidr float64
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    Gateway string
    (String) A subnet gateway address.
    Subnet string
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    SubnetSize float64
    SubnetType string
    cidr Double
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    gateway String
    (String) A subnet gateway address.
    subnet String
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    subnetSize Double
    subnetType String
    cidr number
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    gateway string
    (String) A subnet gateway address.
    subnet string
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    subnetSize number
    subnetType string
    cidr float
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    gateway str
    (String) A subnet gateway address.
    subnet str
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    subnet_size float
    subnet_type str
    cidr Number
    (String) A subnet Classless Inter-Domain Routing prefix. The number in the range of 0 - 32 signifying the number of bits in a subnet mask.
    gateway String
    (String) A subnet gateway address.
    subnet String
    (String) The subnet for the VLAN. .

    • subnet-type - (String) A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A PRIMARY subnet is the primary network that is bound to a VLAN within the SoftLayer network. An ADDITIONAL_PRIMARY subnet is bound to a network VLAN to augment the pool of available primary IP addresses that might be assigned to a server. A SECONDARY subnet is any of the secondary subnets bound to a VLAN interface. A ROUTED_TO_VLAN subnet is a portable subnet that can be routed to any server on a VLAN. A SECONDARY_ON_VLAN subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's.
    • subnet-size - (String) The size of the subnet for the VLAN.
    subnetSize Number
    subnetType String

    NetworkVlanTimeouts, NetworkVlanTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud