1. Packages
  2. Azure Native v2
  3. API Docs
  4. azurestackhci
  5. LogicalNetwork
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.azurestackhci.LogicalNetwork

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

The logical network resource definition. Azure REST API version: 2023-09-01-preview.

Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.

Example Usage

PutLogicalNetwork

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var logicalNetwork = new AzureNative.AzureStackHCI.LogicalNetwork("logicalNetwork", new()
    {
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
        },
        Location = "West US2",
        LogicalNetworkName = "test-lnet",
        ResourceGroupName = "test-rg",
    });

});
Copy
package main

import (
	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azurestackhci.NewLogicalNetwork(ctx, "logicalNetwork", &azurestackhci.LogicalNetworkArgs{
			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
			},
			Location:           pulumi.String("West US2"),
			LogicalNetworkName: pulumi.String("test-lnet"),
			ResourceGroupName:  pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurestackhci.LogicalNetwork;
import com.pulumi.azurenative.azurestackhci.LogicalNetworkArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
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 logicalNetwork = new LogicalNetwork("logicalNetwork", LogicalNetworkArgs.builder()
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                .type("CustomLocation")
                .build())
            .location("West US2")
            .logicalNetworkName("test-lnet")
            .resourceGroupName("test-rg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const logicalNetwork = new azure_native.azurestackhci.LogicalNetwork("logicalNetwork", {
    extendedLocation: {
        name: "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
        type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
    },
    location: "West US2",
    logicalNetworkName: "test-lnet",
    resourceGroupName: "test-rg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

logical_network = azure_native.azurestackhci.LogicalNetwork("logicalNetwork",
    extended_location={
        "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
        "type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
    },
    location="West US2",
    logical_network_name="test-lnet",
    resource_group_name="test-rg")
Copy
resources:
  logicalNetwork:
    type: azure-native:azurestackhci:LogicalNetwork
    properties:
      extendedLocation:
        name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
        type: CustomLocation
      location: West US2
      logicalNetworkName: test-lnet
      resourceGroupName: test-rg
Copy

Create LogicalNetwork Resource

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

Constructor syntax

new LogicalNetwork(name: string, args: LogicalNetworkArgs, opts?: CustomResourceOptions);
@overload
def LogicalNetwork(resource_name: str,
                   args: LogicalNetworkArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def LogicalNetwork(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   dhcp_options: Optional[LogicalNetworkPropertiesDhcpOptionsArgs] = None,
                   extended_location: Optional[ExtendedLocationArgs] = None,
                   location: Optional[str] = None,
                   logical_network_name: Optional[str] = None,
                   subnets: Optional[Sequence[SubnetArgs]] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   vm_switch_name: Optional[str] = None)
func NewLogicalNetwork(ctx *Context, name string, args LogicalNetworkArgs, opts ...ResourceOption) (*LogicalNetwork, error)
public LogicalNetwork(string name, LogicalNetworkArgs args, CustomResourceOptions? opts = null)
public LogicalNetwork(String name, LogicalNetworkArgs args)
public LogicalNetwork(String name, LogicalNetworkArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:LogicalNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LogicalNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LogicalNetworkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LogicalNetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LogicalNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LogicalNetworkArgs
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 logicalNetworkResource = new AzureNative.Azurestackhci.LogicalNetwork("logicalNetworkResource", new()
{
    ResourceGroupName = "string",
    DhcpOptions = 
    {
        { "dnsServers", new[]
        {
            "string",
        } },
    },
    ExtendedLocation = 
    {
        { "name", "string" },
        { "type", "string" },
    },
    Location = "string",
    LogicalNetworkName = "string",
    Subnets = new[]
    {
        
        {
            { "addressPrefix", "string" },
            { "addressPrefixes", new[]
            {
                "string",
            } },
            { "ipAllocationMethod", "string" },
            { "ipConfigurationReferences", new[]
            {
                
                {
                    { "id", "string" },
                },
            } },
            { "ipPools", new[]
            {
                
                {
                    { "end", "string" },
                    { "ipPoolType", "vm" },
                    { "name", "string" },
                    { "start", "string" },
                },
            } },
            { "name", "string" },
            { "routeTable", 
            {
                { "routes", new[]
                {
                    
                    {
                        { "addressPrefix", "string" },
                        { "name", "string" },
                        { "nextHopIpAddress", "string" },
                    },
                } },
            } },
            { "vlan", 0 },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    VmSwitchName = "string",
});
Copy
example, err := azurestackhci.NewLogicalNetwork(ctx, "logicalNetworkResource", &azurestackhci.LogicalNetworkArgs{
	ResourceGroupName: "string",
	DhcpOptions: map[string]interface{}{
		"dnsServers": []string{
			"string",
		},
	},
	ExtendedLocation: map[string]interface{}{
		"name": "string",
		"type": "string",
	},
	Location:           "string",
	LogicalNetworkName: "string",
	Subnets: []map[string]interface{}{
		map[string]interface{}{
			"addressPrefix": "string",
			"addressPrefixes": []string{
				"string",
			},
			"ipAllocationMethod": "string",
			"ipConfigurationReferences": []map[string]interface{}{
				map[string]interface{}{
					"id": "string",
				},
			},
			"ipPools": []map[string]interface{}{
				map[string]interface{}{
					"end":        "string",
					"ipPoolType": "vm",
					"name":       "string",
					"start":      "string",
				},
			},
			"name": "string",
			"routeTable": map[string]interface{}{
				"routes": []map[string]interface{}{
					map[string]interface{}{
						"addressPrefix":    "string",
						"name":             "string",
						"nextHopIpAddress": "string",
					},
				},
			},
			"vlan": 0,
		},
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	VmSwitchName: "string",
})
Copy
var logicalNetworkResource = new LogicalNetwork("logicalNetworkResource", LogicalNetworkArgs.builder()
    .resourceGroupName("string")
    .dhcpOptions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .logicalNetworkName("string")
    .subnets(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .vmSwitchName("string")
    .build());
Copy
logical_network_resource = azure_native.azurestackhci.LogicalNetwork("logicalNetworkResource",
    resource_group_name=string,
    dhcp_options={
        dnsServers: [string],
    },
    extended_location={
        name: string,
        type: string,
    },
    location=string,
    logical_network_name=string,
    subnets=[{
        addressPrefix: string,
        addressPrefixes: [string],
        ipAllocationMethod: string,
        ipConfigurationReferences: [{
            id: string,
        }],
        ipPools: [{
            end: string,
            ipPoolType: vm,
            name: string,
            start: string,
        }],
        name: string,
        routeTable: {
            routes: [{
                addressPrefix: string,
                name: string,
                nextHopIpAddress: string,
            }],
        },
        vlan: 0,
    }],
    tags={
        string: string,
    },
    vm_switch_name=string)
Copy
const logicalNetworkResource = new azure_native.azurestackhci.LogicalNetwork("logicalNetworkResource", {
    resourceGroupName: "string",
    dhcpOptions: {
        dnsServers: ["string"],
    },
    extendedLocation: {
        name: "string",
        type: "string",
    },
    location: "string",
    logicalNetworkName: "string",
    subnets: [{
        addressPrefix: "string",
        addressPrefixes: ["string"],
        ipAllocationMethod: "string",
        ipConfigurationReferences: [{
            id: "string",
        }],
        ipPools: [{
            end: "string",
            ipPoolType: "vm",
            name: "string",
            start: "string",
        }],
        name: "string",
        routeTable: {
            routes: [{
                addressPrefix: "string",
                name: "string",
                nextHopIpAddress: "string",
            }],
        },
        vlan: 0,
    }],
    tags: {
        string: "string",
    },
    vmSwitchName: "string",
});
Copy
type: azure-native:azurestackhci:LogicalNetwork
properties:
    dhcpOptions:
        dnsServers:
            - string
    extendedLocation:
        name: string
        type: string
    location: string
    logicalNetworkName: string
    resourceGroupName: string
    subnets:
        - addressPrefix: string
          addressPrefixes:
            - string
          ipAllocationMethod: string
          ipConfigurationReferences:
            - id: string
          ipPools:
            - end: string
              ipPoolType: vm
              name: string
              start: string
          name: string
          routeTable:
            routes:
                - addressPrefix: string
                  name: string
                  nextHopIpAddress: string
          vlan: 0
    tags:
        string: string
    vmSwitchName: string
Copy

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

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DhcpOptions Pulumi.AzureNative.AzureStackHCI.Inputs.LogicalNetworkPropertiesDhcpOptions
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
The extendedLocation of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
LogicalNetworkName Changes to this property will trigger replacement. string
Name of the logical network
Subnets List<Pulumi.AzureNative.AzureStackHCI.Inputs.Subnet>
Subnet - list of subnets under the logical network
Tags Dictionary<string, string>
Resource tags.
VmSwitchName string
name of the network switch to be used for VMs
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DhcpOptions LogicalNetworkPropertiesDhcpOptionsArgs
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
ExtendedLocation ExtendedLocationArgs
The extendedLocation of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
LogicalNetworkName Changes to this property will trigger replacement. string
Name of the logical network
Subnets []SubnetArgs
Subnet - list of subnets under the logical network
Tags map[string]string
Resource tags.
VmSwitchName string
name of the network switch to be used for VMs
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
dhcpOptions LogicalNetworkPropertiesDhcpOptions
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
extendedLocation ExtendedLocation
The extendedLocation of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
logicalNetworkName Changes to this property will trigger replacement. String
Name of the logical network
subnets List<Subnet>
Subnet - list of subnets under the logical network
tags Map<String,String>
Resource tags.
vmSwitchName String
name of the network switch to be used for VMs
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
dhcpOptions LogicalNetworkPropertiesDhcpOptions
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
extendedLocation ExtendedLocation
The extendedLocation of the resource.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
logicalNetworkName Changes to this property will trigger replacement. string
Name of the logical network
subnets Subnet[]
Subnet - list of subnets under the logical network
tags {[key: string]: string}
Resource tags.
vmSwitchName string
name of the network switch to be used for VMs
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
dhcp_options LogicalNetworkPropertiesDhcpOptionsArgs
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
extended_location ExtendedLocationArgs
The extendedLocation of the resource.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
logical_network_name Changes to this property will trigger replacement. str
Name of the logical network
subnets Sequence[SubnetArgs]
Subnet - list of subnets under the logical network
tags Mapping[str, str]
Resource tags.
vm_switch_name str
name of the network switch to be used for VMs
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
dhcpOptions Property Map
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
extendedLocation Property Map
The extendedLocation of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
logicalNetworkName Changes to this property will trigger replacement. String
Name of the logical network
subnets List<Property Map>
Subnet - list of subnets under the logical network
tags Map<String>
Resource tags.
vmSwitchName String
name of the network switch to be used for VMs

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Provisioning state of the logical network.
Status Pulumi.AzureNative.AzureStackHCI.Outputs.LogicalNetworkStatusResponse
The observed state of logical networks
SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Provisioning state of the logical network.
Status LogicalNetworkStatusResponse
The observed state of logical networks
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
Provisioning state of the logical network.
status LogicalNetworkStatusResponse
The observed state of logical networks
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
Provisioning state of the logical network.
status LogicalNetworkStatusResponse
The observed state of logical networks
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
Provisioning state of the logical network.
status LogicalNetworkStatusResponse
The observed state of logical networks
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
Provisioning state of the logical network.
status Property Map
The observed state of logical networks
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ExtendedLocation
, ExtendedLocationArgs

Name string
The name of the extended location.
Type string | Pulumi.AzureNative.AzureStackHCI.ExtendedLocationTypes
The type of the extended location.
Name string
The name of the extended location.
Type string | ExtendedLocationTypes
The type of the extended location.
name String
The name of the extended location.
type String | ExtendedLocationTypes
The type of the extended location.
name string
The name of the extended location.
type string | ExtendedLocationTypes
The type of the extended location.
name str
The name of the extended location.
type str | ExtendedLocationTypes
The type of the extended location.
name String
The name of the extended location.
type String | "CustomLocation"
The type of the extended location.

ExtendedLocationResponse
, ExtendedLocationResponseArgs

Name string
The name of the extended location.
Type string
The type of the extended location.
Name string
The name of the extended location.
Type string
The type of the extended location.
name String
The name of the extended location.
type String
The type of the extended location.
name string
The name of the extended location.
type string
The type of the extended location.
name str
The name of the extended location.
type str
The type of the extended location.
name String
The name of the extended location.
type String
The type of the extended location.

ExtendedLocationTypes
, ExtendedLocationTypesArgs

CustomLocation
CustomLocation
ExtendedLocationTypesCustomLocation
CustomLocation
CustomLocation
CustomLocation
CustomLocation
CustomLocation
CUSTOM_LOCATION
CustomLocation
"CustomLocation"
CustomLocation

IPPool
, IPPoolArgs

End string
end of the ip address pool
IpPoolType Pulumi.AzureNative.AzureStackHCI.IPPoolTypeEnum
ip pool type
Name string
Name of the IP-Pool
Start string
start of the ip address pool
End string
end of the ip address pool
IpPoolType IPPoolTypeEnum
ip pool type
Name string
Name of the IP-Pool
Start string
start of the ip address pool
end String
end of the ip address pool
ipPoolType IPPoolTypeEnum
ip pool type
name String
Name of the IP-Pool
start String
start of the ip address pool
end string
end of the ip address pool
ipPoolType IPPoolTypeEnum
ip pool type
name string
Name of the IP-Pool
start string
start of the ip address pool
end str
end of the ip address pool
ip_pool_type IPPoolTypeEnum
ip pool type
name str
Name of the IP-Pool
start str
start of the ip address pool
end String
end of the ip address pool
ipPoolType "vm" | "vippool"
ip pool type
name String
Name of the IP-Pool
start String
start of the ip address pool

IPPoolInfoResponse
, IPPoolInfoResponseArgs

Available This property is required. string
no. of ip addresses available in the ip pool
Used This property is required. string
no. of ip addresses allocated from the ip pool
Available This property is required. string
no. of ip addresses available in the ip pool
Used This property is required. string
no. of ip addresses allocated from the ip pool
available This property is required. String
no. of ip addresses available in the ip pool
used This property is required. String
no. of ip addresses allocated from the ip pool
available This property is required. string
no. of ip addresses available in the ip pool
used This property is required. string
no. of ip addresses allocated from the ip pool
available This property is required. str
no. of ip addresses available in the ip pool
used This property is required. str
no. of ip addresses allocated from the ip pool
available This property is required. String
no. of ip addresses available in the ip pool
used This property is required. String
no. of ip addresses allocated from the ip pool

IPPoolResponse
, IPPoolResponseArgs

End string
end of the ip address pool
Info Pulumi.AzureNative.AzureStackHCI.Inputs.IPPoolInfoResponse
IpPoolType string
ip pool type
Name string
Name of the IP-Pool
Start string
start of the ip address pool
End string
end of the ip address pool
Info IPPoolInfoResponse
IpPoolType string
ip pool type
Name string
Name of the IP-Pool
Start string
start of the ip address pool
end String
end of the ip address pool
info IPPoolInfoResponse
ipPoolType String
ip pool type
name String
Name of the IP-Pool
start String
start of the ip address pool
end string
end of the ip address pool
info IPPoolInfoResponse
ipPoolType string
ip pool type
name string
Name of the IP-Pool
start string
start of the ip address pool
end str
end of the ip address pool
info IPPoolInfoResponse
ip_pool_type str
ip pool type
name str
Name of the IP-Pool
start str
start of the ip address pool
end String
end of the ip address pool
info Property Map
ipPoolType String
ip pool type
name String
Name of the IP-Pool
start String
start of the ip address pool

IPPoolTypeEnum
, IPPoolTypeEnumArgs

Vm
vm
Vippool
vippool
IPPoolTypeEnumVm
vm
IPPoolTypeEnumVippool
vippool
Vm
vm
Vippool
vippool
Vm
vm
Vippool
vippool
VM
vm
VIPPOOL
vippool
"vm"
vm
"vippool"
vippool

IpAllocationMethodEnum
, IpAllocationMethodEnumArgs

Dynamic
Dynamic
Static
Static
IpAllocationMethodEnumDynamic
Dynamic
IpAllocationMethodEnumStatic
Static
Dynamic
Dynamic
Static
Static
Dynamic
Dynamic
Static
Static
DYNAMIC
Dynamic
STATIC
Static
"Dynamic"
Dynamic
"Static"
Static

LogicalNetworkPropertiesDhcpOptions
, LogicalNetworkPropertiesDhcpOptionsArgs

DnsServers List<string>
The list of DNS servers IP addresses.
DnsServers []string
The list of DNS servers IP addresses.
dnsServers List<String>
The list of DNS servers IP addresses.
dnsServers string[]
The list of DNS servers IP addresses.
dns_servers Sequence[str]
The list of DNS servers IP addresses.
dnsServers List<String>
The list of DNS servers IP addresses.

LogicalNetworkPropertiesResponseDhcpOptions
, LogicalNetworkPropertiesResponseDhcpOptionsArgs

DnsServers List<string>
The list of DNS servers IP addresses.
DnsServers []string
The list of DNS servers IP addresses.
dnsServers List<String>
The list of DNS servers IP addresses.
dnsServers string[]
The list of DNS servers IP addresses.
dns_servers Sequence[str]
The list of DNS servers IP addresses.
dnsServers List<String>
The list of DNS servers IP addresses.

LogicalNetworkStatusResponse
, LogicalNetworkStatusResponseArgs

ErrorCode string
LogicalNetwork provisioning error code
ErrorMessage string
Descriptive error message
ProvisioningStatus LogicalNetworkStatusResponseProvisioningStatus
errorCode String
LogicalNetwork provisioning error code
errorMessage String
Descriptive error message
provisioningStatus LogicalNetworkStatusResponseProvisioningStatus
errorCode string
LogicalNetwork provisioning error code
errorMessage string
Descriptive error message
provisioningStatus LogicalNetworkStatusResponseProvisioningStatus
error_code str
LogicalNetwork provisioning error code
error_message str
Descriptive error message
provisioning_status LogicalNetworkStatusResponseProvisioningStatus
errorCode String
LogicalNetwork provisioning error code
errorMessage String
Descriptive error message
provisioningStatus Property Map

LogicalNetworkStatusResponseProvisioningStatus
, LogicalNetworkStatusResponseProvisioningStatusArgs

OperationId string
The ID of the operation performed on the logical network
Status string
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
OperationId string
The ID of the operation performed on the logical network
Status string
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
operationId String
The ID of the operation performed on the logical network
status String
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
operationId string
The ID of the operation performed on the logical network
status string
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
operation_id str
The ID of the operation performed on the logical network
status str
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
operationId String
The ID of the operation performed on the logical network
status String
The status of the operation performed on the logical network [Succeeded, Failed, InProgress]

Route
, RouteArgs

AddressPrefix string
The destination CIDR to which the route applies.
Name string
Name - name of the subnet
NextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
AddressPrefix string
The destination CIDR to which the route applies.
Name string
Name - name of the subnet
NextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix String
The destination CIDR to which the route applies.
name String
Name - name of the subnet
nextHopIpAddress String
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix string
The destination CIDR to which the route applies.
name string
Name - name of the subnet
nextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
address_prefix str
The destination CIDR to which the route applies.
name str
Name - name of the subnet
next_hop_ip_address str
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix String
The destination CIDR to which the route applies.
name String
Name - name of the subnet
nextHopIpAddress String
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

RouteResponse
, RouteResponseArgs

AddressPrefix string
The destination CIDR to which the route applies.
Name string
Name - name of the subnet
NextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
AddressPrefix string
The destination CIDR to which the route applies.
Name string
Name - name of the subnet
NextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix String
The destination CIDR to which the route applies.
name String
Name - name of the subnet
nextHopIpAddress String
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix string
The destination CIDR to which the route applies.
name string
Name - name of the subnet
nextHopIpAddress string
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
address_prefix str
The destination CIDR to which the route applies.
name str
Name - name of the subnet
next_hop_ip_address str
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
addressPrefix String
The destination CIDR to which the route applies.
name String
Name - name of the subnet
nextHopIpAddress String
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

RouteTable
, RouteTableArgs

Routes List<Pulumi.AzureNative.AzureStackHCI.Inputs.Route>
Collection of routes contained within a route table.
Routes []Route
Collection of routes contained within a route table.
routes List<Route>
Collection of routes contained within a route table.
routes Route[]
Collection of routes contained within a route table.
routes Sequence[Route]
Collection of routes contained within a route table.
routes List<Property Map>
Collection of routes contained within a route table.

RouteTableResponse
, RouteTableResponseArgs

Etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
Name This property is required. string
Resource name.
Type This property is required. string
Resource type.
Routes List<Pulumi.AzureNative.AzureStackHCI.Inputs.RouteResponse>
Collection of routes contained within a route table.
Etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
Name This property is required. string
Resource name.
Type This property is required. string
Resource type.
Routes []RouteResponse
Collection of routes contained within a route table.
etag This property is required. String
A unique read-only string that changes whenever the resource is updated.
name This property is required. String
Resource name.
type This property is required. String
Resource type.
routes List<RouteResponse>
Collection of routes contained within a route table.
etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
name This property is required. string
Resource name.
type This property is required. string
Resource type.
routes RouteResponse[]
Collection of routes contained within a route table.
etag This property is required. str
A unique read-only string that changes whenever the resource is updated.
name This property is required. str
Resource name.
type This property is required. str
Resource type.
routes Sequence[RouteResponse]
Collection of routes contained within a route table.
etag This property is required. String
A unique read-only string that changes whenever the resource is updated.
name This property is required. String
Resource name.
type This property is required. String
Resource type.
routes List<Property Map>
Collection of routes contained within a route table.

Subnet
, SubnetArgs

AddressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
AddressPrefixes List<string>
List of address prefixes for the subnet.
IpAllocationMethod string | Pulumi.AzureNative.AzureStackHCI.IpAllocationMethodEnum
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
IpConfigurationReferences List<Pulumi.AzureNative.AzureStackHCI.Inputs.SubnetPropertiesFormatIpConfigurationReferences>
IPConfigurationReferences - list of IPConfigurationReferences
IpPools List<Pulumi.AzureNative.AzureStackHCI.Inputs.IPPool>
network associated pool of IP Addresses
Name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
RouteTable Pulumi.AzureNative.AzureStackHCI.Inputs.RouteTable
Route table resource.
Vlan int
Vlan to use for the subnet
AddressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
AddressPrefixes []string
List of address prefixes for the subnet.
IpAllocationMethod string | IpAllocationMethodEnum
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
IpConfigurationReferences []SubnetPropertiesFormatIpConfigurationReferences
IPConfigurationReferences - list of IPConfigurationReferences
IpPools []IPPool
network associated pool of IP Addresses
Name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
RouteTable RouteTable
Route table resource.
Vlan int
Vlan to use for the subnet
addressPrefix String
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes List<String>
List of address prefixes for the subnet.
ipAllocationMethod String | IpAllocationMethodEnum
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences List<SubnetPropertiesFormatIpConfigurationReferences>
IPConfigurationReferences - list of IPConfigurationReferences
ipPools List<IPPool>
network associated pool of IP Addresses
name String
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable RouteTable
Route table resource.
vlan Integer
Vlan to use for the subnet
addressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes string[]
List of address prefixes for the subnet.
ipAllocationMethod string | IpAllocationMethodEnum
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences SubnetPropertiesFormatIpConfigurationReferences[]
IPConfigurationReferences - list of IPConfigurationReferences
ipPools IPPool[]
network associated pool of IP Addresses
name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable RouteTable
Route table resource.
vlan number
Vlan to use for the subnet
address_prefix str
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
address_prefixes Sequence[str]
List of address prefixes for the subnet.
ip_allocation_method str | IpAllocationMethodEnum
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ip_configuration_references Sequence[SubnetPropertiesFormatIpConfigurationReferences]
IPConfigurationReferences - list of IPConfigurationReferences
ip_pools Sequence[IPPool]
network associated pool of IP Addresses
name str
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
route_table RouteTable
Route table resource.
vlan int
Vlan to use for the subnet
addressPrefix String
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes List<String>
List of address prefixes for the subnet.
ipAllocationMethod String | "Dynamic" | "Static"
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences List<Property Map>
IPConfigurationReferences - list of IPConfigurationReferences
ipPools List<Property Map>
network associated pool of IP Addresses
name String
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable Property Map
Route table resource.
vlan Number
Vlan to use for the subnet

SubnetPropertiesFormatIpConfigurationReferences
, SubnetPropertiesFormatIpConfigurationReferencesArgs

Id string
IPConfigurationID
Id string
IPConfigurationID
id String
IPConfigurationID
id string
IPConfigurationID
id str
IPConfigurationID
id String
IPConfigurationID

SubnetPropertiesFormatResponseIpConfigurationReferences
, SubnetPropertiesFormatResponseIpConfigurationReferencesArgs

Id string
IPConfigurationID
Id string
IPConfigurationID
id String
IPConfigurationID
id string
IPConfigurationID
id str
IPConfigurationID
id String
IPConfigurationID

SubnetResponse
, SubnetResponseArgs

AddressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
AddressPrefixes List<string>
List of address prefixes for the subnet.
IpAllocationMethod string
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
IpConfigurationReferences List<Pulumi.AzureNative.AzureStackHCI.Inputs.SubnetPropertiesFormatResponseIpConfigurationReferences>
IPConfigurationReferences - list of IPConfigurationReferences
IpPools List<Pulumi.AzureNative.AzureStackHCI.Inputs.IPPoolResponse>
network associated pool of IP Addresses
Name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
RouteTable Pulumi.AzureNative.AzureStackHCI.Inputs.RouteTableResponse
Route table resource.
Vlan int
Vlan to use for the subnet
AddressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
AddressPrefixes []string
List of address prefixes for the subnet.
IpAllocationMethod string
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
IpConfigurationReferences []SubnetPropertiesFormatResponseIpConfigurationReferences
IPConfigurationReferences - list of IPConfigurationReferences
IpPools []IPPoolResponse
network associated pool of IP Addresses
Name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
RouteTable RouteTableResponse
Route table resource.
Vlan int
Vlan to use for the subnet
addressPrefix String
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes List<String>
List of address prefixes for the subnet.
ipAllocationMethod String
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences List<SubnetPropertiesFormatResponseIpConfigurationReferences>
IPConfigurationReferences - list of IPConfigurationReferences
ipPools List<IPPoolResponse>
network associated pool of IP Addresses
name String
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable RouteTableResponse
Route table resource.
vlan Integer
Vlan to use for the subnet
addressPrefix string
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes string[]
List of address prefixes for the subnet.
ipAllocationMethod string
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences SubnetPropertiesFormatResponseIpConfigurationReferences[]
IPConfigurationReferences - list of IPConfigurationReferences
ipPools IPPoolResponse[]
network associated pool of IP Addresses
name string
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable RouteTableResponse
Route table resource.
vlan number
Vlan to use for the subnet
address_prefix str
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
address_prefixes Sequence[str]
List of address prefixes for the subnet.
ip_allocation_method str
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ip_configuration_references Sequence[SubnetPropertiesFormatResponseIpConfigurationReferences]
IPConfigurationReferences - list of IPConfigurationReferences
ip_pools Sequence[IPPoolResponse]
network associated pool of IP Addresses
name str
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
route_table RouteTableResponse
Route table resource.
vlan int
Vlan to use for the subnet
addressPrefix String
The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
addressPrefixes List<String>
List of address prefixes for the subnet.
ipAllocationMethod String
IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
ipConfigurationReferences List<Property Map>
IPConfigurationReferences - list of IPConfigurationReferences
ipPools List<Property Map>
network associated pool of IP Addresses
name String
Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
routeTable Property Map
Route table resource.
vlan Number
Vlan to use for the subnet

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:azurestackhci:LogicalNetwork test-lnet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi