hpegl.VmaasNetwork
Explore with Pulumi AI
Compatible version >= 5.2.13
Network resource facilitates creating,
updating and deleting NSX-T Networks.
hpegl.VmaasNetwork
resource supports NSX-T network creation.
For more information, see Private cloud networking using VMware NSX-T.
For creating an NSX-T network, see the following examples.
Example Usage
Creating Static NSX-T Network With All Possible Attributes
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
const testNet = new hpegl.VmaasNetwork("testNet", {
description: "Static Network create using tf",
groupId: data.hpegl_vmaas_group.default_group.id,
scopeId: data.hpegl_vmaas_transport_zone.tf_zone.provider_id,
cidr: "10.100.0.1/24",
gateway: "10.100.0.1",
primaryDns: "8.8.8.8",
scanNetwork: false,
active: true,
dhcpEnabled: false,
connectedGateway: data.hpegl_vmaas_router.tier1_router.provider_id,
resourcePermissions: {
all: true,
},
staticNetwork: {
poolId: data.hpegl_vmaas_network_pool.tf_pool.id,
},
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
test_net = hpegl.VmaasNetwork("testNet",
description="Static Network create using tf",
group_id=data["hpegl_vmaas_group"]["default_group"]["id"],
scope_id=data["hpegl_vmaas_transport_zone"]["tf_zone"]["provider_id"],
cidr="10.100.0.1/24",
gateway="10.100.0.1",
primary_dns="8.8.8.8",
scan_network=False,
active=True,
dhcp_enabled=False,
connected_gateway=data["hpegl_vmaas_router"]["tier1_router"]["provider_id"],
resource_permissions={
"all": True,
},
static_network={
"pool_id": data["hpegl_vmaas_network_pool"]["tf_pool"]["id"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
_, err := hpegl.NewVmaasNetwork(ctx, "testNet", &hpegl.VmaasNetworkArgs{
Description: pulumi.String("Static Network create using tf"),
GroupId: pulumi.Any(data.Hpegl_vmaas_group.Default_group.Id),
ScopeId: pulumi.Any(data.Hpegl_vmaas_transport_zone.Tf_zone.Provider_id),
Cidr: pulumi.String("10.100.0.1/24"),
Gateway: pulumi.String("10.100.0.1"),
PrimaryDns: pulumi.String("8.8.8.8"),
ScanNetwork: pulumi.Bool(false),
Active: pulumi.Bool(true),
DhcpEnabled: pulumi.Bool(false),
ConnectedGateway: pulumi.Any(data.Hpegl_vmaas_router.Tier1_router.Provider_id),
ResourcePermissions: &hpegl.VmaasNetworkResourcePermissionsArgs{
All: pulumi.Bool(true),
},
StaticNetwork: &hpegl.VmaasNetworkStaticNetworkArgs{
PoolId: pulumi.Any(data.Hpegl_vmaas_network_pool.Tf_pool.Id),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() =>
{
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
var testNet = new Hpegl.VmaasNetwork("testNet", new()
{
Description = "Static Network create using tf",
GroupId = data.Hpegl_vmaas_group.Default_group.Id,
ScopeId = data.Hpegl_vmaas_transport_zone.Tf_zone.Provider_id,
Cidr = "10.100.0.1/24",
Gateway = "10.100.0.1",
PrimaryDns = "8.8.8.8",
ScanNetwork = false,
Active = true,
DhcpEnabled = false,
ConnectedGateway = data.Hpegl_vmaas_router.Tier1_router.Provider_id,
ResourcePermissions = new Hpegl.Inputs.VmaasNetworkResourcePermissionsArgs
{
All = true,
},
StaticNetwork = new Hpegl.Inputs.VmaasNetworkStaticNetworkArgs
{
PoolId = data.Hpegl_vmaas_network_pool.Tf_pool.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasNetwork;
import com.pulumi.hpegl.VmaasNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasNetworkResourcePermissionsArgs;
import com.pulumi.hpegl.inputs.VmaasNetworkStaticNetworkArgs;
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) {
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
var testNet = new VmaasNetwork("testNet", VmaasNetworkArgs.builder()
.description("Static Network create using tf")
.groupId(data.hpegl_vmaas_group().default_group().id())
.scopeId(data.hpegl_vmaas_transport_zone().tf_zone().provider_id())
.cidr("10.100.0.1/24")
.gateway("10.100.0.1")
.primaryDns("8.8.8.8")
.scanNetwork(false)
.active(true)
.dhcpEnabled(false)
.connectedGateway(data.hpegl_vmaas_router().tier1_router().provider_id())
.resourcePermissions(VmaasNetworkResourcePermissionsArgs.builder()
.all(true)
.build())
.staticNetwork(VmaasNetworkStaticNetworkArgs.builder()
.poolId(data.hpegl_vmaas_network_pool().tf_pool().id())
.build())
.build());
}
}
resources:
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
testNet:
type: hpegl:VmaasNetwork
properties:
description: Static Network create using tf
groupId: ${data.hpegl_vmaas_group.default_group.id}
scopeId: ${data.hpegl_vmaas_transport_zone.tf_zone.provider_id}
cidr: 10.100.0.1/24
gateway: 10.100.0.1
primaryDns: 8.8.8.8
scanNetwork: false
active: true
dhcpEnabled: false
connectedGateway: ${data.hpegl_vmaas_router.tier1_router.provider_id}
resourcePermissions:
all: true
staticNetwork:
poolId: ${data.hpegl_vmaas_network_pool.tf_pool.id}
Creating DHCP NSX-T Network With All Possible Attributes
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
const dhcpNet = new hpegl.VmaasNetwork("dhcpNet", {
description: "DHCP Network create using tf",
displayName: "tf_nsx_t_dhcp_network",
scopeId: data.hpegl_vmaas_transport_zone.tf_zone.provider_id,
cidr: "10.100.0.1/24",
primaryDns: "8.8.8.8",
scanNetwork: false,
active: true,
allowStaticOverride: true,
applianceUrlProxyBypass: true,
groupId: "shared",
dhcpEnabled: true,
connectedGateway: data.hpegl_vmaas_router.tier1_router.provider_id,
resourcePermissions: {
all: true,
},
dhcpNetwork: {
dhcpType: "dhcpLocal",
dhcpServer: data.hpegl_vmaas_dhcp_server.tf_dhcp.provider_id,
dhcpLeaseTime: "86400",
dhcpRange: "10.100.0.11-10.100.0.250",
dhcpServerAddress: "10.100.0.2/24",
},
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
dhcp_net = hpegl.VmaasNetwork("dhcpNet",
description="DHCP Network create using tf",
display_name="tf_nsx_t_dhcp_network",
scope_id=data["hpegl_vmaas_transport_zone"]["tf_zone"]["provider_id"],
cidr="10.100.0.1/24",
primary_dns="8.8.8.8",
scan_network=False,
active=True,
allow_static_override=True,
appliance_url_proxy_bypass=True,
group_id="shared",
dhcp_enabled=True,
connected_gateway=data["hpegl_vmaas_router"]["tier1_router"]["provider_id"],
resource_permissions={
"all": True,
},
dhcp_network={
"dhcp_type": "dhcpLocal",
"dhcp_server": data["hpegl_vmaas_dhcp_server"]["tf_dhcp"]["provider_id"],
"dhcp_lease_time": "86400",
"dhcp_range": "10.100.0.11-10.100.0.250",
"dhcp_server_address": "10.100.0.2/24",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
_, err := hpegl.NewVmaasNetwork(ctx, "dhcpNet", &hpegl.VmaasNetworkArgs{
Description: pulumi.String("DHCP Network create using tf"),
DisplayName: pulumi.String("tf_nsx_t_dhcp_network"),
ScopeId: pulumi.Any(data.Hpegl_vmaas_transport_zone.Tf_zone.Provider_id),
Cidr: pulumi.String("10.100.0.1/24"),
PrimaryDns: pulumi.String("8.8.8.8"),
ScanNetwork: pulumi.Bool(false),
Active: pulumi.Bool(true),
AllowStaticOverride: pulumi.Bool(true),
ApplianceUrlProxyBypass: pulumi.Bool(true),
GroupId: pulumi.String("shared"),
DhcpEnabled: pulumi.Bool(true),
ConnectedGateway: pulumi.Any(data.Hpegl_vmaas_router.Tier1_router.Provider_id),
ResourcePermissions: &hpegl.VmaasNetworkResourcePermissionsArgs{
All: pulumi.Bool(true),
},
DhcpNetwork: &hpegl.VmaasNetworkDhcpNetworkArgs{
DhcpType: pulumi.String("dhcpLocal"),
DhcpServer: pulumi.Any(data.Hpegl_vmaas_dhcp_server.Tf_dhcp.Provider_id),
DhcpLeaseTime: pulumi.String("86400"),
DhcpRange: pulumi.String("10.100.0.11-10.100.0.250"),
DhcpServerAddress: pulumi.String("10.100.0.2/24"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() =>
{
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
var dhcpNet = new Hpegl.VmaasNetwork("dhcpNet", new()
{
Description = "DHCP Network create using tf",
DisplayName = "tf_nsx_t_dhcp_network",
ScopeId = data.Hpegl_vmaas_transport_zone.Tf_zone.Provider_id,
Cidr = "10.100.0.1/24",
PrimaryDns = "8.8.8.8",
ScanNetwork = false,
Active = true,
AllowStaticOverride = true,
ApplianceUrlProxyBypass = true,
GroupId = "shared",
DhcpEnabled = true,
ConnectedGateway = data.Hpegl_vmaas_router.Tier1_router.Provider_id,
ResourcePermissions = new Hpegl.Inputs.VmaasNetworkResourcePermissionsArgs
{
All = true,
},
DhcpNetwork = new Hpegl.Inputs.VmaasNetworkDhcpNetworkArgs
{
DhcpType = "dhcpLocal",
DhcpServer = data.Hpegl_vmaas_dhcp_server.Tf_dhcp.Provider_id,
DhcpLeaseTime = "86400",
DhcpRange = "10.100.0.11-10.100.0.250",
DhcpServerAddress = "10.100.0.2/24",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasNetwork;
import com.pulumi.hpegl.VmaasNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasNetworkResourcePermissionsArgs;
import com.pulumi.hpegl.inputs.VmaasNetworkDhcpNetworkArgs;
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) {
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
var dhcpNet = new VmaasNetwork("dhcpNet", VmaasNetworkArgs.builder()
.description("DHCP Network create using tf")
.displayName("tf_nsx_t_dhcp_network")
.scopeId(data.hpegl_vmaas_transport_zone().tf_zone().provider_id())
.cidr("10.100.0.1/24")
.primaryDns("8.8.8.8")
.scanNetwork(false)
.active(true)
.allowStaticOverride(true)
.applianceUrlProxyBypass(true)
.groupId("shared")
.dhcpEnabled(true)
.connectedGateway(data.hpegl_vmaas_router().tier1_router().provider_id())
.resourcePermissions(VmaasNetworkResourcePermissionsArgs.builder()
.all(true)
.build())
.dhcpNetwork(VmaasNetworkDhcpNetworkArgs.builder()
.dhcpType("dhcpLocal")
.dhcpServer(data.hpegl_vmaas_dhcp_server().tf_dhcp().provider_id())
.dhcpLeaseTime("86400")
.dhcpRange("10.100.0.11-10.100.0.250")
.dhcpServerAddress("10.100.0.2/24")
.build())
.build());
}
}
resources:
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
dhcpNet:
type: hpegl:VmaasNetwork
properties:
description: DHCP Network create using tf
displayName: tf_nsx_t_dhcp_network
scopeId: ${data.hpegl_vmaas_transport_zone.tf_zone.provider_id}
cidr: 10.100.0.1/24
primaryDns: 8.8.8.8
scanNetwork: false
active: true
allowStaticOverride: true
applianceUrlProxyBypass: true
groupId: shared
dhcpEnabled: true
connectedGateway: ${data.hpegl_vmaas_router.tier1_router.provider_id}
resourcePermissions:
all: true
dhcpNetwork:
dhcpType: dhcpLocal
dhcpServer: ${data.hpegl_vmaas_dhcp_server.tf_dhcp.provider_id}
dhcpLeaseTime: '86400'
dhcpRange: 10.100.0.11-10.100.0.250
dhcpServerAddress: 10.100.0.2/24
Transport Zone Data Source
hpegl.getVmaasTransportZone
which is used for thescope_id
is supported from 5.2.13.
There is an open issue with the Network Resource in 5.4.4 where it does not attach the provided IP pools. This issue is already fixed in the later versions and will be released soon. For time being we are recommending manually updating the IP pool from UI. This issue is fixed in 5.4.9 versions.
From 6.2.4 version, DataSource
hpegl.getVmaasNetworkType
expectsNSX Segment
instead ofNSX-T Segment
in thename
attribute.
Create VmaasNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmaasNetwork(name: string, args: VmaasNetworkArgs, opts?: CustomResourceOptions);
@overload
def VmaasNetwork(resource_name: str,
args: VmaasNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VmaasNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
connected_gateway: Optional[str] = None,
scope_id: Optional[str] = None,
group_id: Optional[str] = None,
cidr: Optional[str] = None,
dhcp_enabled: Optional[bool] = None,
no_proxy: Optional[str] = None,
active: Optional[bool] = None,
dhcp_network: Optional[VmaasNetworkDhcpNetworkArgs] = None,
display_name: Optional[str] = None,
domain_id: Optional[float] = None,
gateway: Optional[str] = None,
appliance_url_proxy_bypass: Optional[bool] = None,
name: Optional[str] = None,
description: Optional[str] = None,
primary_dns: Optional[str] = None,
proxy_id: Optional[float] = None,
resource_permissions: Optional[VmaasNetworkResourcePermissionsArgs] = None,
scan_network: Optional[bool] = None,
allow_static_override: Optional[bool] = None,
search_domains: Optional[str] = None,
secondary_dns: Optional[str] = None,
static_network: Optional[VmaasNetworkStaticNetworkArgs] = None,
vlan_ids: Optional[str] = None,
vmaas_network_id: Optional[str] = None)
func NewVmaasNetwork(ctx *Context, name string, args VmaasNetworkArgs, opts ...ResourceOption) (*VmaasNetwork, error)
public VmaasNetwork(string name, VmaasNetworkArgs args, CustomResourceOptions? opts = null)
public VmaasNetwork(String name, VmaasNetworkArgs args)
public VmaasNetwork(String name, VmaasNetworkArgs args, CustomResourceOptions options)
type: hpegl:VmaasNetwork
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 VmaasNetworkArgs
- 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 VmaasNetworkArgs
- 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 VmaasNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmaasNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmaasNetworkArgs
- 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 vmaasNetworkResource = new Hpegl.VmaasNetwork("vmaasNetworkResource", new()
{
ConnectedGateway = "string",
ScopeId = "string",
GroupId = "string",
Cidr = "string",
DhcpEnabled = false,
NoProxy = "string",
Active = false,
DhcpNetwork = new Hpegl.Inputs.VmaasNetworkDhcpNetworkArgs
{
DhcpLeaseTime = "string",
DhcpRange = "string",
DhcpServer = "string",
DhcpType = "string",
DhcpServerAddress = "string",
},
DisplayName = "string",
DomainId = 0,
Gateway = "string",
ApplianceUrlProxyBypass = false,
Name = "string",
Description = "string",
PrimaryDns = "string",
ProxyId = 0,
ResourcePermissions = new Hpegl.Inputs.VmaasNetworkResourcePermissionsArgs
{
All = false,
Sites = new[]
{
new Hpegl.Inputs.VmaasNetworkResourcePermissionsSiteArgs
{
Id = 0,
Default = false,
},
},
},
ScanNetwork = false,
AllowStaticOverride = false,
SearchDomains = "string",
SecondaryDns = "string",
StaticNetwork = new Hpegl.Inputs.VmaasNetworkStaticNetworkArgs
{
PoolId = 0,
},
VlanIds = "string",
VmaasNetworkId = "string",
});
example, err := hpegl.NewVmaasNetwork(ctx, "vmaasNetworkResource", &hpegl.VmaasNetworkArgs{
ConnectedGateway: pulumi.String("string"),
ScopeId: pulumi.String("string"),
GroupId: pulumi.String("string"),
Cidr: pulumi.String("string"),
DhcpEnabled: pulumi.Bool(false),
NoProxy: pulumi.String("string"),
Active: pulumi.Bool(false),
DhcpNetwork: &hpegl.VmaasNetworkDhcpNetworkArgs{
DhcpLeaseTime: pulumi.String("string"),
DhcpRange: pulumi.String("string"),
DhcpServer: pulumi.String("string"),
DhcpType: pulumi.String("string"),
DhcpServerAddress: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
DomainId: pulumi.Float64(0),
Gateway: pulumi.String("string"),
ApplianceUrlProxyBypass: pulumi.Bool(false),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
PrimaryDns: pulumi.String("string"),
ProxyId: pulumi.Float64(0),
ResourcePermissions: &hpegl.VmaasNetworkResourcePermissionsArgs{
All: pulumi.Bool(false),
Sites: hpegl.VmaasNetworkResourcePermissionsSiteArray{
&hpegl.VmaasNetworkResourcePermissionsSiteArgs{
Id: pulumi.Float64(0),
Default: pulumi.Bool(false),
},
},
},
ScanNetwork: pulumi.Bool(false),
AllowStaticOverride: pulumi.Bool(false),
SearchDomains: pulumi.String("string"),
SecondaryDns: pulumi.String("string"),
StaticNetwork: &hpegl.VmaasNetworkStaticNetworkArgs{
PoolId: pulumi.Float64(0),
},
VlanIds: pulumi.String("string"),
VmaasNetworkId: pulumi.String("string"),
})
var vmaasNetworkResource = new VmaasNetwork("vmaasNetworkResource", VmaasNetworkArgs.builder()
.connectedGateway("string")
.scopeId("string")
.groupId("string")
.cidr("string")
.dhcpEnabled(false)
.noProxy("string")
.active(false)
.dhcpNetwork(VmaasNetworkDhcpNetworkArgs.builder()
.dhcpLeaseTime("string")
.dhcpRange("string")
.dhcpServer("string")
.dhcpType("string")
.dhcpServerAddress("string")
.build())
.displayName("string")
.domainId(0)
.gateway("string")
.applianceUrlProxyBypass(false)
.name("string")
.description("string")
.primaryDns("string")
.proxyId(0)
.resourcePermissions(VmaasNetworkResourcePermissionsArgs.builder()
.all(false)
.sites(VmaasNetworkResourcePermissionsSiteArgs.builder()
.id(0)
.default_(false)
.build())
.build())
.scanNetwork(false)
.allowStaticOverride(false)
.searchDomains("string")
.secondaryDns("string")
.staticNetwork(VmaasNetworkStaticNetworkArgs.builder()
.poolId(0)
.build())
.vlanIds("string")
.vmaasNetworkId("string")
.build());
vmaas_network_resource = hpegl.VmaasNetwork("vmaasNetworkResource",
connected_gateway="string",
scope_id="string",
group_id="string",
cidr="string",
dhcp_enabled=False,
no_proxy="string",
active=False,
dhcp_network={
"dhcp_lease_time": "string",
"dhcp_range": "string",
"dhcp_server": "string",
"dhcp_type": "string",
"dhcp_server_address": "string",
},
display_name="string",
domain_id=0,
gateway="string",
appliance_url_proxy_bypass=False,
name="string",
description="string",
primary_dns="string",
proxy_id=0,
resource_permissions={
"all": False,
"sites": [{
"id": 0,
"default": False,
}],
},
scan_network=False,
allow_static_override=False,
search_domains="string",
secondary_dns="string",
static_network={
"pool_id": 0,
},
vlan_ids="string",
vmaas_network_id="string")
const vmaasNetworkResource = new hpegl.VmaasNetwork("vmaasNetworkResource", {
connectedGateway: "string",
scopeId: "string",
groupId: "string",
cidr: "string",
dhcpEnabled: false,
noProxy: "string",
active: false,
dhcpNetwork: {
dhcpLeaseTime: "string",
dhcpRange: "string",
dhcpServer: "string",
dhcpType: "string",
dhcpServerAddress: "string",
},
displayName: "string",
domainId: 0,
gateway: "string",
applianceUrlProxyBypass: false,
name: "string",
description: "string",
primaryDns: "string",
proxyId: 0,
resourcePermissions: {
all: false,
sites: [{
id: 0,
"default": false,
}],
},
scanNetwork: false,
allowStaticOverride: false,
searchDomains: "string",
secondaryDns: "string",
staticNetwork: {
poolId: 0,
},
vlanIds: "string",
vmaasNetworkId: "string",
});
type: hpegl:VmaasNetwork
properties:
active: false
allowStaticOverride: false
applianceUrlProxyBypass: false
cidr: string
connectedGateway: string
description: string
dhcpEnabled: false
dhcpNetwork:
dhcpLeaseTime: string
dhcpRange: string
dhcpServer: string
dhcpServerAddress: string
dhcpType: string
displayName: string
domainId: 0
gateway: string
groupId: string
name: string
noProxy: string
primaryDns: string
proxyId: 0
resourcePermissions:
all: false
sites:
- default: false
id: 0
scanNetwork: false
scopeId: string
searchDomains: string
secondaryDns: string
staticNetwork:
poolId: 0
vlanIds: string
vmaasNetworkId: string
VmaasNetwork 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 VmaasNetwork resource accepts the following input properties:
- Cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- Connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- Group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - Scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - Active bool
- Activate (
true
) or disable (false
) the network - Allow
Static boolOverride - If set to true, network will allow static override
- Appliance
Url boolProxy Bypass - Bypass Proxy for Appliance URL
- Description string
- Description of the network to be created.
- Dhcp
Enabled bool - Enable DHCP Server.
- Dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- Display
Name string - Display name of the NSX-T network.
- Domain
Id double - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- Gateway string
- Gateway IP address of the network
- Name string
- Name of the NSX-T Static Segment to be created.
- No
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- Primary
Dns string - Primary DNS IP Address
- Proxy
Id double - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- Resource
Permissions VmaasNetwork Resource Permissions - Scan
Network bool - Scan Network
- Search
Domains string - Search Domains
- Secondary
Dns string - Secondary DNS IP Address
- Static
Network VmaasNetwork Static Network - static Network configuration
- Vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - Vmaas
Network stringId - The ID of this resource.
- Cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- Connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- Group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - Scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - Active bool
- Activate (
true
) or disable (false
) the network - Allow
Static boolOverride - If set to true, network will allow static override
- Appliance
Url boolProxy Bypass - Bypass Proxy for Appliance URL
- Description string
- Description of the network to be created.
- Dhcp
Enabled bool - Enable DHCP Server.
- Dhcp
Network VmaasNetwork Dhcp Network Args - DHCP Network configuration
- Display
Name string - Display name of the NSX-T network.
- Domain
Id float64 - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- Gateway string
- Gateway IP address of the network
- Name string
- Name of the NSX-T Static Segment to be created.
- No
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- Primary
Dns string - Primary DNS IP Address
- Proxy
Id float64 - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- Resource
Permissions VmaasNetwork Resource Permissions Args - Scan
Network bool - Scan Network
- Search
Domains string - Search Domains
- Secondary
Dns string - Secondary DNS IP Address
- Static
Network VmaasNetwork Static Network Args - static Network configuration
- Vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - Vmaas
Network stringId - The ID of this resource.
- cidr String
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- connected
Gateway String - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- group
Id String - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - scope
Id String - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - active Boolean
- Activate (
true
) or disable (false
) the network - allow
Static BooleanOverride - If set to true, network will allow static override
- appliance
Url BooleanProxy Bypass - Bypass Proxy for Appliance URL
- description String
- Description of the network to be created.
- dhcp
Enabled Boolean - Enable DHCP Server.
- dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- display
Name String - Display name of the NSX-T network.
- domain
Id Double - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- gateway String
- Gateway IP address of the network
- name String
- Name of the NSX-T Static Segment to be created.
- no
Proxy String - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns String - Primary DNS IP Address
- proxy
Id Double - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions VmaasNetwork Resource Permissions - scan
Network Boolean - Scan Network
- search
Domains String - Search Domains
- secondary
Dns String - Secondary DNS IP Address
- static
Network VmaasNetwork Static Network - static Network configuration
- vlan
Ids String - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network StringId - The ID of this resource.
- cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - active boolean
- Activate (
true
) or disable (false
) the network - allow
Static booleanOverride - If set to true, network will allow static override
- appliance
Url booleanProxy Bypass - Bypass Proxy for Appliance URL
- description string
- Description of the network to be created.
- dhcp
Enabled boolean - Enable DHCP Server.
- dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- display
Name string - Display name of the NSX-T network.
- domain
Id number - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- gateway string
- Gateway IP address of the network
- name string
- Name of the NSX-T Static Segment to be created.
- no
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns string - Primary DNS IP Address
- proxy
Id number - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions VmaasNetwork Resource Permissions - scan
Network boolean - Scan Network
- search
Domains string - Search Domains
- secondary
Dns string - Secondary DNS IP Address
- static
Network VmaasNetwork Static Network - static Network configuration
- vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network stringId - The ID of this resource.
- cidr str
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- connected_
gateway str - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- group_
id str - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - scope_
id str - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - active bool
- Activate (
true
) or disable (false
) the network - allow_
static_ booloverride - If set to true, network will allow static override
- appliance_
url_ boolproxy_ bypass - Bypass Proxy for Appliance URL
- description str
- Description of the network to be created.
- dhcp_
enabled bool - Enable DHCP Server.
- dhcp_
network VmaasNetwork Dhcp Network Args - DHCP Network configuration
- display_
name str - Display name of the NSX-T network.
- domain_
id float - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- gateway str
- Gateway IP address of the network
- name str
- Name of the NSX-T Static Segment to be created.
- no_
proxy str - List of IP addresses or name servers for which to exclude proxy traversal.
- primary_
dns str - Primary DNS IP Address
- proxy_
id float - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource_
permissions VmaasNetwork Resource Permissions Args - scan_
network bool - Scan Network
- search_
domains str - Search Domains
- secondary_
dns str - Secondary DNS IP Address
- static_
network VmaasNetwork Static Network Args - static Network configuration
- vlan_
ids str - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas_
network_ strid - The ID of this resource.
- cidr String
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- connected
Gateway String - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- group
Id String - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - scope
Id String - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - active Boolean
- Activate (
true
) or disable (false
) the network - allow
Static BooleanOverride - If set to true, network will allow static override
- appliance
Url BooleanProxy Bypass - Bypass Proxy for Appliance URL
- description String
- Description of the network to be created.
- dhcp
Enabled Boolean - Enable DHCP Server.
- dhcp
Network Property Map - DHCP Network configuration
- display
Name String - Display name of the NSX-T network.
- domain
Id Number - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- gateway String
- Gateway IP address of the network
- name String
- Name of the NSX-T Static Segment to be created.
- no
Proxy String - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns String - Primary DNS IP Address
- proxy
Id Number - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions Property Map - scan
Network Boolean - Scan Network
- search
Domains String - Search Domains
- secondary
Dns String - Secondary DNS IP Address
- static
Network Property Map - static Network configuration
- vlan
Ids String - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmaasNetwork resource produces the following output properties:
- Code string
- Network Type code
- External
Id string - External ID of the network
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - Internal ID of the network
- Status string
- Status of the network
- Type
Id double - Type ID for the NSX-T Network.
- Unique
Id string - Unique ID of the network
- Code string
- Network Type code
- External
Id string - External ID of the network
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - Internal ID of the network
- Status string
- Status of the network
- Type
Id float64 - Type ID for the NSX-T Network.
- Unique
Id string - Unique ID of the network
- code String
- Network Type code
- external
Id String - External ID of the network
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - Internal ID of the network
- status String
- Status of the network
- type
Id Double - Type ID for the NSX-T Network.
- unique
Id String - Unique ID of the network
- code string
- Network Type code
- external
Id string - External ID of the network
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Id string - Internal ID of the network
- status string
- Status of the network
- type
Id number - Type ID for the NSX-T Network.
- unique
Id string - Unique ID of the network
- code str
- Network Type code
- external_
id str - External ID of the network
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
id str - Internal ID of the network
- status str
- Status of the network
- type_
id float - Type ID for the NSX-T Network.
- unique_
id str - Unique ID of the network
- code String
- Network Type code
- external
Id String - External ID of the network
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - Internal ID of the network
- status String
- Status of the network
- type
Id Number - Type ID for the NSX-T Network.
- unique
Id String - Unique ID of the network
Look up Existing VmaasNetwork Resource
Get an existing VmaasNetwork 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?: VmaasNetworkState, opts?: CustomResourceOptions): VmaasNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
allow_static_override: Optional[bool] = None,
appliance_url_proxy_bypass: Optional[bool] = None,
cidr: Optional[str] = None,
code: Optional[str] = None,
connected_gateway: Optional[str] = None,
description: Optional[str] = None,
dhcp_enabled: Optional[bool] = None,
dhcp_network: Optional[VmaasNetworkDhcpNetworkArgs] = None,
display_name: Optional[str] = None,
domain_id: Optional[float] = None,
external_id: Optional[str] = None,
gateway: Optional[str] = None,
group_id: Optional[str] = None,
internal_id: Optional[str] = None,
name: Optional[str] = None,
no_proxy: Optional[str] = None,
primary_dns: Optional[str] = None,
proxy_id: Optional[float] = None,
resource_permissions: Optional[VmaasNetworkResourcePermissionsArgs] = None,
scan_network: Optional[bool] = None,
scope_id: Optional[str] = None,
search_domains: Optional[str] = None,
secondary_dns: Optional[str] = None,
static_network: Optional[VmaasNetworkStaticNetworkArgs] = None,
status: Optional[str] = None,
type_id: Optional[float] = None,
unique_id: Optional[str] = None,
vlan_ids: Optional[str] = None,
vmaas_network_id: Optional[str] = None) -> VmaasNetwork
func GetVmaasNetwork(ctx *Context, name string, id IDInput, state *VmaasNetworkState, opts ...ResourceOption) (*VmaasNetwork, error)
public static VmaasNetwork Get(string name, Input<string> id, VmaasNetworkState? state, CustomResourceOptions? opts = null)
public static VmaasNetwork get(String name, Output<String> id, VmaasNetworkState state, CustomResourceOptions options)
resources: _: type: hpegl:VmaasNetwork 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.
- Active bool
- Activate (
true
) or disable (false
) the network - Allow
Static boolOverride - If set to true, network will allow static override
- Appliance
Url boolProxy Bypass - Bypass Proxy for Appliance URL
- Cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- Code string
- Network Type code
- Connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- Description string
- Description of the network to be created.
- Dhcp
Enabled bool - Enable DHCP Server.
- Dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- Display
Name string - Display name of the NSX-T network.
- Domain
Id double - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- External
Id string - External ID of the network
- Gateway string
- Gateway IP address of the network
- Group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - Internal
Id string - Internal ID of the network
- Name string
- Name of the NSX-T Static Segment to be created.
- No
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- Primary
Dns string - Primary DNS IP Address
- Proxy
Id double - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- Resource
Permissions VmaasNetwork Resource Permissions - Scan
Network bool - Scan Network
- Scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - Search
Domains string - Search Domains
- Secondary
Dns string - Secondary DNS IP Address
- Static
Network VmaasNetwork Static Network - static Network configuration
- Status string
- Status of the network
- Type
Id double - Type ID for the NSX-T Network.
- Unique
Id string - Unique ID of the network
- Vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - Vmaas
Network stringId - The ID of this resource.
- Active bool
- Activate (
true
) or disable (false
) the network - Allow
Static boolOverride - If set to true, network will allow static override
- Appliance
Url boolProxy Bypass - Bypass Proxy for Appliance URL
- Cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- Code string
- Network Type code
- Connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- Description string
- Description of the network to be created.
- Dhcp
Enabled bool - Enable DHCP Server.
- Dhcp
Network VmaasNetwork Dhcp Network Args - DHCP Network configuration
- Display
Name string - Display name of the NSX-T network.
- Domain
Id float64 - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- External
Id string - External ID of the network
- Gateway string
- Gateway IP address of the network
- Group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - Internal
Id string - Internal ID of the network
- Name string
- Name of the NSX-T Static Segment to be created.
- No
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- Primary
Dns string - Primary DNS IP Address
- Proxy
Id float64 - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- Resource
Permissions VmaasNetwork Resource Permissions Args - Scan
Network bool - Scan Network
- Scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - Search
Domains string - Search Domains
- Secondary
Dns string - Secondary DNS IP Address
- Static
Network VmaasNetwork Static Network Args - static Network configuration
- Status string
- Status of the network
- Type
Id float64 - Type ID for the NSX-T Network.
- Unique
Id string - Unique ID of the network
- Vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - Vmaas
Network stringId - The ID of this resource.
- active Boolean
- Activate (
true
) or disable (false
) the network - allow
Static BooleanOverride - If set to true, network will allow static override
- appliance
Url BooleanProxy Bypass - Bypass Proxy for Appliance URL
- cidr String
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- code String
- Network Type code
- connected
Gateway String - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- description String
- Description of the network to be created.
- dhcp
Enabled Boolean - Enable DHCP Server.
- dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- display
Name String - Display name of the NSX-T network.
- domain
Id Double - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- external
Id String - External ID of the network
- gateway String
- Gateway IP address of the network
- group
Id String - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - internal
Id String - Internal ID of the network
- name String
- Name of the NSX-T Static Segment to be created.
- no
Proxy String - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns String - Primary DNS IP Address
- proxy
Id Double - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions VmaasNetwork Resource Permissions - scan
Network Boolean - Scan Network
- scope
Id String - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - search
Domains String - Search Domains
- secondary
Dns String - Secondary DNS IP Address
- static
Network VmaasNetwork Static Network - static Network configuration
- status String
- Status of the network
- type
Id Double - Type ID for the NSX-T Network.
- unique
Id String - Unique ID of the network
- vlan
Ids String - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network StringId - The ID of this resource.
- active boolean
- Activate (
true
) or disable (false
) the network - allow
Static booleanOverride - If set to true, network will allow static override
- appliance
Url booleanProxy Bypass - Bypass Proxy for Appliance URL
- cidr string
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- code string
- Network Type code
- connected
Gateway string - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- description string
- Description of the network to be created.
- dhcp
Enabled boolean - Enable DHCP Server.
- dhcp
Network VmaasNetwork Dhcp Network - DHCP Network configuration
- display
Name string - Display name of the NSX-T network.
- domain
Id number - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- external
Id string - External ID of the network
- gateway string
- Gateway IP address of the network
- group
Id string - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - internal
Id string - Internal ID of the network
- name string
- Name of the NSX-T Static Segment to be created.
- no
Proxy string - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns string - Primary DNS IP Address
- proxy
Id number - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions VmaasNetwork Resource Permissions - scan
Network boolean - Scan Network
- scope
Id string - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - search
Domains string - Search Domains
- secondary
Dns string - Secondary DNS IP Address
- static
Network VmaasNetwork Static Network - static Network configuration
- status string
- Status of the network
- type
Id number - Type ID for the NSX-T Network.
- unique
Id string - Unique ID of the network
- vlan
Ids string - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network stringId - The ID of this resource.
- active bool
- Activate (
true
) or disable (false
) the network - allow_
static_ booloverride - If set to true, network will allow static override
- appliance_
url_ boolproxy_ bypass - Bypass Proxy for Appliance URL
- cidr str
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- code str
- Network Type code
- connected_
gateway str - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- description str
- Description of the network to be created.
- dhcp_
enabled bool - Enable DHCP Server.
- dhcp_
network VmaasNetwork Dhcp Network Args - DHCP Network configuration
- display_
name str - Display name of the NSX-T network.
- domain_
id float - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- external_
id str - External ID of the network
- gateway str
- Gateway IP address of the network
- group_
id str - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - internal_
id str - Internal ID of the network
- name str
- Name of the NSX-T Static Segment to be created.
- no_
proxy str - List of IP addresses or name servers for which to exclude proxy traversal.
- primary_
dns str - Primary DNS IP Address
- proxy_
id float - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource_
permissions VmaasNetwork Resource Permissions Args - scan_
network bool - Scan Network
- scope_
id str - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - search_
domains str - Search Domains
- secondary_
dns str - Secondary DNS IP Address
- static_
network VmaasNetwork Static Network Args - static Network configuration
- status str
- Status of the network
- type_
id float - Type ID for the NSX-T Network.
- unique_
id str - Unique ID of the network
- vlan_
ids str - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas_
network_ strid - The ID of this resource.
- active Boolean
- Activate (
true
) or disable (false
) the network - allow
Static BooleanOverride - If set to true, network will allow static override
- appliance
Url BooleanProxy Bypass - Bypass Proxy for Appliance URL
- cidr String
- Gateway Classless Inter-Domain Routing (CIDR) of the network
- code String
- Network Type code
- connected
Gateway String - Connected Gateway. Pass Provider ID of the Tier1 gateway. Use hpeglvmaasrouter.provider_id here.
- description String
- Description of the network to be created.
- dhcp
Enabled Boolean - Enable DHCP Server.
- dhcp
Network Property Map - DHCP Network configuration
- display
Name String - Display name of the NSX-T network.
- domain
Id Number - ID of the Network domain. Use hpeglvmaasnetwork_domain datasource to obtain the ID.
- external
Id String - External ID of the network
- gateway String
- Gateway IP address of the network
- group
Id String - Group ID of the Network. Please use hpeglvmaasgroup data source to retrieve ID or pass
shared
. - internal
Id String - Internal ID of the network
- name String
- Name of the NSX-T Static Segment to be created.
- no
Proxy String - List of IP addresses or name servers for which to exclude proxy traversal.
- primary
Dns String - Primary DNS IP Address
- proxy
Id Number - Network Proxy ID. Use hpeglvmaasnetwork_proxy data source to obtain the ID.
- resource
Permissions Property Map - scan
Network Boolean - Scan Network
- scope
Id String - Transport Zone ID. Use hpeglvmaastransport_zone Data source's
provider_id
here. - search
Domains String - Search Domains
- secondary
Dns String - Secondary DNS IP Address
- static
Network Property Map - static Network configuration
- status String
- Status of the network
- type
Id Number - Type ID for the NSX-T Network.
- unique
Id String - Unique ID of the network
- vlan
Ids String - VLAN IDs eg.
0,3-5
. Use this field for VLAN based segments. - vmaas
Network StringId - The ID of this resource.
Supporting Types
VmaasNetworkDhcpNetwork, VmaasNetworkDhcpNetworkArgs
- Dhcp
Lease stringTime - DHCP Server default lease time
- Dhcp
Range string - DHCP server IP Address range
- Dhcp
Server string - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - Dhcp
Type string - DHCP Server type. Supported Values is "dhcpLocal"
- Dhcp
Server stringAddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
- Dhcp
Lease stringTime - DHCP Server default lease time
- Dhcp
Range string - DHCP server IP Address range
- Dhcp
Server string - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - Dhcp
Type string - DHCP Server type. Supported Values is "dhcpLocal"
- Dhcp
Server stringAddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
- dhcp
Lease StringTime - DHCP Server default lease time
- dhcp
Range String - DHCP server IP Address range
- dhcp
Server String - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - dhcp
Type String - DHCP Server type. Supported Values is "dhcpLocal"
- dhcp
Server StringAddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
- dhcp
Lease stringTime - DHCP Server default lease time
- dhcp
Range string - DHCP server IP Address range
- dhcp
Server string - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - dhcp
Type string - DHCP Server type. Supported Values is "dhcpLocal"
- dhcp
Server stringAddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
- dhcp_
lease_ strtime - DHCP Server default lease time
- dhcp_
range str - DHCP server IP Address range
- dhcp_
server str - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - dhcp_
type str - DHCP Server type. Supported Values is "dhcpLocal"
- dhcp_
server_ straddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
- dhcp
Lease StringTime - DHCP Server default lease time
- dhcp
Range String - DHCP server IP Address range
- dhcp
Server String - DHCP server ID. Use hpeglvmaasdhcp_server Data source's
provider_id
here. - dhcp
Type String - DHCP Server type. Supported Values is "dhcpLocal"
- dhcp
Server StringAddress - DHCP Server address and its CIDR. This address must not overlap theip-ranges of the subnet, or the gateway address of the subnet,or the DHCP static-binding addresses of this segment
VmaasNetworkResourcePermissions, VmaasNetworkResourcePermissionsArgs
- All bool
- Pass
true
to allow access to all groups. - Sites
List<Vmaas
Network Resource Permissions Site> - List of sites/groups
- All bool
- Pass
true
to allow access to all groups. - Sites
[]Vmaas
Network Resource Permissions Site - List of sites/groups
- all Boolean
- Pass
true
to allow access to all groups. - sites
List<Vmaas
Network Resource Permissions Site> - List of sites/groups
- all boolean
- Pass
true
to allow access to all groups. - sites
Vmaas
Network Resource Permissions Site[] - List of sites/groups
- all bool
- Pass
true
to allow access to all groups. - sites
Sequence[Vmaas
Network Resource Permissions Site] - List of sites/groups
- all Boolean
- Pass
true
to allow access to all groups. - sites List<Property Map>
- List of sites/groups
VmaasNetworkResourcePermissionsSite, VmaasNetworkResourcePermissionsSiteArgs
VmaasNetworkStaticNetwork, VmaasNetworkStaticNetworkArgs
- Pool
Id double - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
- Pool
Id float64 - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
- pool
Id Double - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
- pool
Id number - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
- pool_
id float - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
- pool
Id Number - Pool ID can be obtained with hpeglvmaasnetwork_pool data source.
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpegl
Terraform Provider.