1. Packages
  2. Hpegl Provider
  3. API Docs
  4. MetalNetwork
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

hpegl.MetalNetwork

Explore with Pulumi AI

hpegl logo
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

    Provides Network resource. This allows creation, deletion and update of Metal networks.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hpegl from "@pulumi/hpegl";
    
    const config = new pulumi.Config();
    const location = config.get("location") || "USA:Texas:AUSL2";
    const pnet = new hpegl.MetalNetwork("pnet", {
        description: "A description of pnet",
        location: location,
        ipPool: {
            name: "npool",
            description: "A description of npool",
            ipVer: "IPv4",
            baseIp: "10.0.0.0",
            netmask: "/24",
            defaultRoute: "10.0.0.1",
            sources: [{
                baseIp: "10.0.0.3",
                count: 10,
            }],
            dns: ["10.0.0.50"],
            proxy: "10.0.0.60",
            noProxy: "10.0.0.5",
            ntps: ["10.0.0.80"],
        },
        vlan: 4000,
        vni: 10400,
    });
    
    import pulumi
    import pulumi_hpegl as hpegl
    
    config = pulumi.Config()
    location = config.get("location")
    if location is None:
        location = "USA:Texas:AUSL2"
    pnet = hpegl.MetalNetwork("pnet",
        description="A description of pnet",
        location=location,
        ip_pool={
            "name": "npool",
            "description": "A description of npool",
            "ip_ver": "IPv4",
            "base_ip": "10.0.0.0",
            "netmask": "/24",
            "default_route": "10.0.0.1",
            "sources": [{
                "base_ip": "10.0.0.3",
                "count": 10,
            }],
            "dns": ["10.0.0.50"],
            "proxy": "10.0.0.60",
            "no_proxy": "10.0.0.5",
            "ntps": ["10.0.0.80"],
        },
        vlan=4000,
        vni=10400)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		location := "USA:Texas:AUSL2"
    		if param := cfg.Get("location"); param != "" {
    			location = param
    		}
    		_, err := hpegl.NewMetalNetwork(ctx, "pnet", &hpegl.MetalNetworkArgs{
    			Description: pulumi.String("A description of pnet"),
    			Location:    pulumi.String(location),
    			IpPool: &hpegl.MetalNetworkIpPoolArgs{
    				Name:         pulumi.String("npool"),
    				Description:  pulumi.String("A description of npool"),
    				IpVer:        pulumi.String("IPv4"),
    				BaseIp:       pulumi.String("10.0.0.0"),
    				Netmask:      pulumi.String("/24"),
    				DefaultRoute: pulumi.String("10.0.0.1"),
    				Sources: hpegl.MetalNetworkIpPoolSourceArray{
    					&hpegl.MetalNetworkIpPoolSourceArgs{
    						BaseIp: pulumi.String("10.0.0.3"),
    						Count:  pulumi.Float64(10),
    					},
    				},
    				Dns: pulumi.StringArray{
    					pulumi.String("10.0.0.50"),
    				},
    				Proxy:   pulumi.String("10.0.0.60"),
    				NoProxy: pulumi.String("10.0.0.5"),
    				Ntps: pulumi.StringArray{
    					pulumi.String("10.0.0.80"),
    				},
    			},
    			Vlan: pulumi.Float64(4000),
    			Vni:  pulumi.Float64(10400),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hpegl = Pulumi.Hpegl;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var location = config.Get("location") ?? "USA:Texas:AUSL2";
        var pnet = new Hpegl.MetalNetwork("pnet", new()
        {
            Description = "A description of pnet",
            Location = location,
            IpPool = new Hpegl.Inputs.MetalNetworkIpPoolArgs
            {
                Name = "npool",
                Description = "A description of npool",
                IpVer = "IPv4",
                BaseIp = "10.0.0.0",
                Netmask = "/24",
                DefaultRoute = "10.0.0.1",
                Sources = new[]
                {
                    new Hpegl.Inputs.MetalNetworkIpPoolSourceArgs
                    {
                        BaseIp = "10.0.0.3",
                        Count = 10,
                    },
                },
                Dns = new[]
                {
                    "10.0.0.50",
                },
                Proxy = "10.0.0.60",
                NoProxy = "10.0.0.5",
                Ntps = new[]
                {
                    "10.0.0.80",
                },
            },
            Vlan = 4000,
            Vni = 10400,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hpegl.MetalNetwork;
    import com.pulumi.hpegl.MetalNetworkArgs;
    import com.pulumi.hpegl.inputs.MetalNetworkIpPoolArgs;
    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) {
            final var config = ctx.config();
            final var location = config.get("location").orElse("USA:Texas:AUSL2");
            var pnet = new MetalNetwork("pnet", MetalNetworkArgs.builder()
                .description("A description of pnet")
                .location(location)
                .ipPool(MetalNetworkIpPoolArgs.builder()
                    .name("npool")
                    .description("A description of npool")
                    .ipVer("IPv4")
                    .baseIp("10.0.0.0")
                    .netmask("/24")
                    .defaultRoute("10.0.0.1")
                    .sources(MetalNetworkIpPoolSourceArgs.builder()
                        .baseIp("10.0.0.3")
                        .count(10)
                        .build())
                    .dns("10.0.0.50")
                    .proxy("10.0.0.60")
                    .noProxy("10.0.0.5")
                    .ntps("10.0.0.80")
                    .build())
                .vlan(4000)
                .vni(10400)
                .build());
    
        }
    }
    
    configuration:
      location:
        type: string
        default: USA:Texas:AUSL2
    resources:
      pnet:
        type: hpegl:MetalNetwork
        properties:
          description: A description of pnet
          location: ${location}
          ipPool:
            name: npool
            description: A description of npool
            ipVer: IPv4
            baseIp: 10.0.0.0
            netmask: /24
            defaultRoute: 10.0.0.1
            sources:
              - baseIp: 10.0.0.3
                count: 10
            dns:
              - 10.0.0.50
            proxy: 10.0.0.60
            noProxy: 10.0.0.5
            ntps:
              - 10.0.0.80
          vlan: 4000
          vni: 10400
    

    Create MetalNetwork Resource

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

    Constructor syntax

    new MetalNetwork(name: string, args: MetalNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def MetalNetwork(resource_name: str,
                     args: MetalNetworkArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetalNetwork(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     location: Optional[str] = None,
                     description: Optional[str] = None,
                     host_use: Optional[str] = None,
                     ip_pool: Optional[MetalNetworkIpPoolArgs] = None,
                     metal_network_id: Optional[str] = None,
                     name: Optional[str] = None,
                     purpose: Optional[str] = None,
                     vlan: Optional[float] = None,
                     vni: Optional[float] = None)
    func NewMetalNetwork(ctx *Context, name string, args MetalNetworkArgs, opts ...ResourceOption) (*MetalNetwork, error)
    public MetalNetwork(string name, MetalNetworkArgs args, CustomResourceOptions? opts = null)
    public MetalNetwork(String name, MetalNetworkArgs args)
    public MetalNetwork(String name, MetalNetworkArgs args, CustomResourceOptions options)
    
    type: hpegl:MetalNetwork
    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 MetalNetworkArgs
    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 MetalNetworkArgs
    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 MetalNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetalNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetalNetworkArgs
    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 metalNetworkResource = new Hpegl.MetalNetwork("metalNetworkResource", new()
    {
        Location = "string",
        Description = "string",
        HostUse = "string",
        IpPool = new Hpegl.Inputs.MetalNetworkIpPoolArgs
        {
            BaseIp = "string",
            IpVer = "string",
            Name = "string",
            Netmask = "string",
            DefaultRoute = "string",
            Description = "string",
            Dns = new[]
            {
                "string",
            },
            NoProxy = "string",
            Ntps = new[]
            {
                "string",
            },
            Proxy = "string",
            Sources = new[]
            {
                new Hpegl.Inputs.MetalNetworkIpPoolSourceArgs
                {
                    BaseIp = "string",
                    Count = 0,
                },
            },
        },
        MetalNetworkId = "string",
        Name = "string",
        Purpose = "string",
        Vlan = 0,
        Vni = 0,
    });
    
    example, err := hpegl.NewMetalNetwork(ctx, "metalNetworkResource", &hpegl.MetalNetworkArgs{
    	Location:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	HostUse:     pulumi.String("string"),
    	IpPool: &hpegl.MetalNetworkIpPoolArgs{
    		BaseIp:       pulumi.String("string"),
    		IpVer:        pulumi.String("string"),
    		Name:         pulumi.String("string"),
    		Netmask:      pulumi.String("string"),
    		DefaultRoute: pulumi.String("string"),
    		Description:  pulumi.String("string"),
    		Dns: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		NoProxy: pulumi.String("string"),
    		Ntps: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Proxy: pulumi.String("string"),
    		Sources: hpegl.MetalNetworkIpPoolSourceArray{
    			&hpegl.MetalNetworkIpPoolSourceArgs{
    				BaseIp: pulumi.String("string"),
    				Count:  pulumi.Float64(0),
    			},
    		},
    	},
    	MetalNetworkId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Purpose:        pulumi.String("string"),
    	Vlan:           pulumi.Float64(0),
    	Vni:            pulumi.Float64(0),
    })
    
    var metalNetworkResource = new MetalNetwork("metalNetworkResource", MetalNetworkArgs.builder()
        .location("string")
        .description("string")
        .hostUse("string")
        .ipPool(MetalNetworkIpPoolArgs.builder()
            .baseIp("string")
            .ipVer("string")
            .name("string")
            .netmask("string")
            .defaultRoute("string")
            .description("string")
            .dns("string")
            .noProxy("string")
            .ntps("string")
            .proxy("string")
            .sources(MetalNetworkIpPoolSourceArgs.builder()
                .baseIp("string")
                .count(0)
                .build())
            .build())
        .metalNetworkId("string")
        .name("string")
        .purpose("string")
        .vlan(0)
        .vni(0)
        .build());
    
    metal_network_resource = hpegl.MetalNetwork("metalNetworkResource",
        location="string",
        description="string",
        host_use="string",
        ip_pool={
            "base_ip": "string",
            "ip_ver": "string",
            "name": "string",
            "netmask": "string",
            "default_route": "string",
            "description": "string",
            "dns": ["string"],
            "no_proxy": "string",
            "ntps": ["string"],
            "proxy": "string",
            "sources": [{
                "base_ip": "string",
                "count": 0,
            }],
        },
        metal_network_id="string",
        name="string",
        purpose="string",
        vlan=0,
        vni=0)
    
    const metalNetworkResource = new hpegl.MetalNetwork("metalNetworkResource", {
        location: "string",
        description: "string",
        hostUse: "string",
        ipPool: {
            baseIp: "string",
            ipVer: "string",
            name: "string",
            netmask: "string",
            defaultRoute: "string",
            description: "string",
            dns: ["string"],
            noProxy: "string",
            ntps: ["string"],
            proxy: "string",
            sources: [{
                baseIp: "string",
                count: 0,
            }],
        },
        metalNetworkId: "string",
        name: "string",
        purpose: "string",
        vlan: 0,
        vni: 0,
    });
    
    type: hpegl:MetalNetwork
    properties:
        description: string
        hostUse: string
        ipPool:
            baseIp: string
            defaultRoute: string
            description: string
            dns:
                - string
            ipVer: string
            name: string
            netmask: string
            noProxy: string
            ntps:
                - string
            proxy: string
            sources:
                - baseIp: string
                  count: 0
        location: string
        metalNetworkId: string
        name: string
        purpose: string
        vlan: 0
        vni: 0
    

    MetalNetwork 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 MetalNetwork resource accepts the following input properties:

    Location string
    Textual representation of the location country:region:enter
    Description string
    HostUse string
    Required, Optional or Default
    IpPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    MetalNetworkId string
    The ID of this resource.
    Name string
    Purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    Vlan double
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    Vni double
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    Location string
    Textual representation of the location country:region:enter
    Description string
    HostUse string
    Required, Optional or Default
    IpPool MetalNetworkIpPoolArgs
    Create the specified IP Pool to be used for the network
    MetalNetworkId string
    The ID of this resource.
    Name string
    Purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    Vlan float64
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    Vni float64
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    location String
    Textual representation of the location country:region:enter
    description String
    hostUse String
    Required, Optional or Default
    ipPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    metalNetworkId String
    The ID of this resource.
    name String
    purpose String
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan Double
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni Double
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    location string
    Textual representation of the location country:region:enter
    description string
    hostUse string
    Required, Optional or Default
    ipPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    metalNetworkId string
    The ID of this resource.
    name string
    purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan number
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni number
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    location str
    Textual representation of the location country:region:enter
    description str
    host_use str
    Required, Optional or Default
    ip_pool MetalNetworkIpPoolArgs
    Create the specified IP Pool to be used for the network
    metal_network_id str
    The ID of this resource.
    name str
    purpose str
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan float
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni float
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    location String
    Textual representation of the location country:region:enter
    description String
    hostUse String
    Required, Optional or Default
    ipPool Property Map
    Create the specified IP Pool to be used for the network
    metalNetworkId String
    The ID of this resource.
    name String
    purpose String
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan Number
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni Number
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IpPoolId string
    IP pool ID associated with the network
    LocationId string
    The PodID of the network
    Id string
    The provider-assigned unique ID for this managed resource.
    IpPoolId string
    IP pool ID associated with the network
    LocationId string
    The PodID of the network
    id String
    The provider-assigned unique ID for this managed resource.
    ipPoolId String
    IP pool ID associated with the network
    locationId String
    The PodID of the network
    id string
    The provider-assigned unique ID for this managed resource.
    ipPoolId string
    IP pool ID associated with the network
    locationId string
    The PodID of the network
    id str
    The provider-assigned unique ID for this managed resource.
    ip_pool_id str
    IP pool ID associated with the network
    location_id str
    The PodID of the network
    id String
    The provider-assigned unique ID for this managed resource.
    ipPoolId String
    IP pool ID associated with the network
    locationId String
    The PodID of the network

    Look up Existing MetalNetwork Resource

    Get an existing MetalNetwork 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?: MetalNetworkState, opts?: CustomResourceOptions): MetalNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            host_use: Optional[str] = None,
            ip_pool: Optional[MetalNetworkIpPoolArgs] = None,
            ip_pool_id: Optional[str] = None,
            location: Optional[str] = None,
            location_id: Optional[str] = None,
            metal_network_id: Optional[str] = None,
            name: Optional[str] = None,
            purpose: Optional[str] = None,
            vlan: Optional[float] = None,
            vni: Optional[float] = None) -> MetalNetwork
    func GetMetalNetwork(ctx *Context, name string, id IDInput, state *MetalNetworkState, opts ...ResourceOption) (*MetalNetwork, error)
    public static MetalNetwork Get(string name, Input<string> id, MetalNetworkState? state, CustomResourceOptions? opts = null)
    public static MetalNetwork get(String name, Output<String> id, MetalNetworkState state, CustomResourceOptions options)
    resources:  _:    type: hpegl:MetalNetwork    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:
    Description string
    HostUse string
    Required, Optional or Default
    IpPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    IpPoolId string
    IP pool ID associated with the network
    Location string
    Textual representation of the location country:region:enter
    LocationId string
    The PodID of the network
    MetalNetworkId string
    The ID of this resource.
    Name string
    Purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    Vlan double
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    Vni double
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    Description string
    HostUse string
    Required, Optional or Default
    IpPool MetalNetworkIpPoolArgs
    Create the specified IP Pool to be used for the network
    IpPoolId string
    IP pool ID associated with the network
    Location string
    Textual representation of the location country:region:enter
    LocationId string
    The PodID of the network
    MetalNetworkId string
    The ID of this resource.
    Name string
    Purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    Vlan float64
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    Vni float64
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    description String
    hostUse String
    Required, Optional or Default
    ipPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    ipPoolId String
    IP pool ID associated with the network
    location String
    Textual representation of the location country:region:enter
    locationId String
    The PodID of the network
    metalNetworkId String
    The ID of this resource.
    name String
    purpose String
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan Double
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni Double
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    description string
    hostUse string
    Required, Optional or Default
    ipPool MetalNetworkIpPool
    Create the specified IP Pool to be used for the network
    ipPoolId string
    IP pool ID associated with the network
    location string
    Textual representation of the location country:region:enter
    locationId string
    The PodID of the network
    metalNetworkId string
    The ID of this resource.
    name string
    purpose string
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan number
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni number
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    description str
    host_use str
    Required, Optional or Default
    ip_pool MetalNetworkIpPoolArgs
    Create the specified IP Pool to be used for the network
    ip_pool_id str
    IP pool ID associated with the network
    location str
    Textual representation of the location country:region:enter
    location_id str
    The PodID of the network
    metal_network_id str
    The ID of this resource.
    name str
    purpose str
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan float
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni float
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required
    description String
    hostUse String
    Required, Optional or Default
    ipPool Property Map
    Create the specified IP Pool to be used for the network
    ipPoolId String
    IP pool ID associated with the network
    location String
    Textual representation of the location country:region:enter
    locationId String
    The PodID of the network
    metalNetworkId String
    The ID of this resource.
    name String
    purpose String
    Purpose of the network. Allowed values: Backup, Storage, vmKernel, vmNSX-T, vMotion, vCHA, vmFT, iSCSI-A, iSCSI-B, Telemetry or External
    vlan Number
    Optional VLAN ID of the network. If not specified, it is allocated from reserved pool
    vni Number
    Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required

    Supporting Types

    MetalNetworkIpPool, MetalNetworkIpPoolArgs

    BaseIp string
    Base IP of the pool.
    IpVer string
    IP version of the pool (IPv4 or IPv6).
    Name string
    A friendly name of the IP pool.
    Netmask string
    Netmask of the IP pool.
    DefaultRoute string
    Default route of the IP pool.
    Description string
    A description of the IP pool.
    Dns List<string>
    DNS servers to be specified in each allocation from the pool
    NoProxy string
    IPs or CIDRs for which proxy requests are not made.
    Ntps List<string>
    NTP servers of the IP pool
    Proxy string
    Web-proxy for external internet access should this pool actually be behind a firewall.
    Sources List<MetalNetworkIpPoolSource>
    IP ranges that are to be included in the pool within the base IP and netmask
    BaseIp string
    Base IP of the pool.
    IpVer string
    IP version of the pool (IPv4 or IPv6).
    Name string
    A friendly name of the IP pool.
    Netmask string
    Netmask of the IP pool.
    DefaultRoute string
    Default route of the IP pool.
    Description string
    A description of the IP pool.
    Dns []string
    DNS servers to be specified in each allocation from the pool
    NoProxy string
    IPs or CIDRs for which proxy requests are not made.
    Ntps []string
    NTP servers of the IP pool
    Proxy string
    Web-proxy for external internet access should this pool actually be behind a firewall.
    Sources []MetalNetworkIpPoolSource
    IP ranges that are to be included in the pool within the base IP and netmask
    baseIp String
    Base IP of the pool.
    ipVer String
    IP version of the pool (IPv4 or IPv6).
    name String
    A friendly name of the IP pool.
    netmask String
    Netmask of the IP pool.
    defaultRoute String
    Default route of the IP pool.
    description String
    A description of the IP pool.
    dns List<String>
    DNS servers to be specified in each allocation from the pool
    noProxy String
    IPs or CIDRs for which proxy requests are not made.
    ntps List<String>
    NTP servers of the IP pool
    proxy String
    Web-proxy for external internet access should this pool actually be behind a firewall.
    sources List<MetalNetworkIpPoolSource>
    IP ranges that are to be included in the pool within the base IP and netmask
    baseIp string
    Base IP of the pool.
    ipVer string
    IP version of the pool (IPv4 or IPv6).
    name string
    A friendly name of the IP pool.
    netmask string
    Netmask of the IP pool.
    defaultRoute string
    Default route of the IP pool.
    description string
    A description of the IP pool.
    dns string[]
    DNS servers to be specified in each allocation from the pool
    noProxy string
    IPs or CIDRs for which proxy requests are not made.
    ntps string[]
    NTP servers of the IP pool
    proxy string
    Web-proxy for external internet access should this pool actually be behind a firewall.
    sources MetalNetworkIpPoolSource[]
    IP ranges that are to be included in the pool within the base IP and netmask
    base_ip str
    Base IP of the pool.
    ip_ver str
    IP version of the pool (IPv4 or IPv6).
    name str
    A friendly name of the IP pool.
    netmask str
    Netmask of the IP pool.
    default_route str
    Default route of the IP pool.
    description str
    A description of the IP pool.
    dns Sequence[str]
    DNS servers to be specified in each allocation from the pool
    no_proxy str
    IPs or CIDRs for which proxy requests are not made.
    ntps Sequence[str]
    NTP servers of the IP pool
    proxy str
    Web-proxy for external internet access should this pool actually be behind a firewall.
    sources Sequence[MetalNetworkIpPoolSource]
    IP ranges that are to be included in the pool within the base IP and netmask
    baseIp String
    Base IP of the pool.
    ipVer String
    IP version of the pool (IPv4 or IPv6).
    name String
    A friendly name of the IP pool.
    netmask String
    Netmask of the IP pool.
    defaultRoute String
    Default route of the IP pool.
    description String
    A description of the IP pool.
    dns List<String>
    DNS servers to be specified in each allocation from the pool
    noProxy String
    IPs or CIDRs for which proxy requests are not made.
    ntps List<String>
    NTP servers of the IP pool
    proxy String
    Web-proxy for external internet access should this pool actually be behind a firewall.
    sources List<Property Map>
    IP ranges that are to be included in the pool within the base IP and netmask

    MetalNetworkIpPoolSource, MetalNetworkIpPoolSourceArgs

    BaseIp string
    Base IP for the source.
    Count double
    Number of IPs to include starting from the base.
    BaseIp string
    Base IP for the source.
    Count float64
    Number of IPs to include starting from the base.
    baseIp String
    Base IP for the source.
    count Double
    Number of IPs to include starting from the base.
    baseIp string
    Base IP for the source.
    count number
    Number of IPs to include starting from the base.
    base_ip str
    Base IP for the source.
    count float
    Number of IPs to include starting from the base.
    baseIp String
    Base IP for the source.
    count Number
    Number of IPs to include starting from the base.

    Package Details

    Repository
    hpegl hpe/terraform-provider-hpegl
    License
    Notes
    This Pulumi package is based on the hpegl Terraform Provider.
    hpegl logo
    hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe