We recommend using Azure Native.
azure.stack.HciLogicalNetwork
Explore with Pulumi AI
Manages an Azure Stack HCI Logical Network.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.stack.HciLogicalNetwork;
import com.pulumi.azure.stack.HciLogicalNetworkArgs;
import com.pulumi.azure.stack.inputs.HciLogicalNetworkSubnetArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-rg")
            .location("West Europe")
            .build());
        var exampleHciLogicalNetwork = new HciLogicalNetwork("exampleHciLogicalNetwork", HciLogicalNetworkArgs.builder()
            .name("example-hci-ln")
            .resourceGroupName(example.name())
            .location(example.location())
            .customLocationId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cl1")
            .virtualSwitchName("ConvergedSwitch(managementcompute)")
            .dnsServers(            
                "10.0.0.7",
                "10.0.0.8")
            .subnet(HciLogicalNetworkSubnetArgs.builder()
                .ipAllocationMethod("Static")
                .addressPrefix("10.0.0.0/24")
                .vlanId(123)
                .route(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build())
            .tags(Map.of("foo", "bar"))
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: West Europe
  exampleHciLogicalNetwork:
    type: azure:stack:HciLogicalNetwork
    name: example
    properties:
      name: example-hci-ln
      resourceGroupName: ${example.name}
      location: ${example.location}
      customLocationId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cl1
      virtualSwitchName: ConvergedSwitch(managementcompute)
      dnsServers:
        - 10.0.0.7
        - 10.0.0.8
      subnet:
        ipAllocationMethod: Static
        addressPrefix: 10.0.0.0/24
        vlanId: 123
        route:
          addressPrefix: 0.0.0.0/0
          nextHopIpAddress: 10.0.0.1
      tags:
        foo: bar
Create HciLogicalNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HciLogicalNetwork(name: string, args: HciLogicalNetworkArgs, opts?: CustomResourceOptions);@overload
def HciLogicalNetwork(resource_name: str,
                      args: HciLogicalNetworkArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def HciLogicalNetwork(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      custom_location_id: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      subnet: Optional[HciLogicalNetworkSubnetArgs] = None,
                      virtual_switch_name: Optional[str] = None,
                      dns_servers: Optional[Sequence[str]] = None,
                      location: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[Mapping[str, str]] = None)func NewHciLogicalNetwork(ctx *Context, name string, args HciLogicalNetworkArgs, opts ...ResourceOption) (*HciLogicalNetwork, error)public HciLogicalNetwork(string name, HciLogicalNetworkArgs args, CustomResourceOptions? opts = null)
public HciLogicalNetwork(String name, HciLogicalNetworkArgs args)
public HciLogicalNetwork(String name, HciLogicalNetworkArgs args, CustomResourceOptions options)
type: azure:stack:HciLogicalNetwork
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 HciLogicalNetworkArgs
- 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 HciLogicalNetworkArgs
- 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 HciLogicalNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HciLogicalNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HciLogicalNetworkArgs
- 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 hciLogicalNetworkResource = new Azure.Stack.HciLogicalNetwork("hciLogicalNetworkResource", new()
{
    CustomLocationId = "string",
    ResourceGroupName = "string",
    Subnet = new Azure.Stack.Inputs.HciLogicalNetworkSubnetArgs
    {
        IpAllocationMethod = "string",
        AddressPrefix = "string",
        IpPools = new[]
        {
            new Azure.Stack.Inputs.HciLogicalNetworkSubnetIpPoolArgs
            {
                End = "string",
                Start = "string",
            },
        },
        Routes = new[]
        {
            new Azure.Stack.Inputs.HciLogicalNetworkSubnetRouteArgs
            {
                AddressPrefix = "string",
                NextHopIpAddress = "string",
                Name = "string",
            },
        },
        VlanId = 0,
    },
    VirtualSwitchName = "string",
    DnsServers = new[]
    {
        "string",
    },
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := stack.NewHciLogicalNetwork(ctx, "hciLogicalNetworkResource", &stack.HciLogicalNetworkArgs{
	CustomLocationId:  pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Subnet: &stack.HciLogicalNetworkSubnetArgs{
		IpAllocationMethod: pulumi.String("string"),
		AddressPrefix:      pulumi.String("string"),
		IpPools: stack.HciLogicalNetworkSubnetIpPoolArray{
			&stack.HciLogicalNetworkSubnetIpPoolArgs{
				End:   pulumi.String("string"),
				Start: pulumi.String("string"),
			},
		},
		Routes: stack.HciLogicalNetworkSubnetRouteArray{
			&stack.HciLogicalNetworkSubnetRouteArgs{
				AddressPrefix:    pulumi.String("string"),
				NextHopIpAddress: pulumi.String("string"),
				Name:             pulumi.String("string"),
			},
		},
		VlanId: pulumi.Int(0),
	},
	VirtualSwitchName: pulumi.String("string"),
	DnsServers: pulumi.StringArray{
		pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var hciLogicalNetworkResource = new HciLogicalNetwork("hciLogicalNetworkResource", HciLogicalNetworkArgs.builder()
    .customLocationId("string")
    .resourceGroupName("string")
    .subnet(HciLogicalNetworkSubnetArgs.builder()
        .ipAllocationMethod("string")
        .addressPrefix("string")
        .ipPools(HciLogicalNetworkSubnetIpPoolArgs.builder()
            .end("string")
            .start("string")
            .build())
        .routes(HciLogicalNetworkSubnetRouteArgs.builder()
            .addressPrefix("string")
            .nextHopIpAddress("string")
            .name("string")
            .build())
        .vlanId(0)
        .build())
    .virtualSwitchName("string")
    .dnsServers("string")
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
hci_logical_network_resource = azure.stack.HciLogicalNetwork("hciLogicalNetworkResource",
    custom_location_id="string",
    resource_group_name="string",
    subnet={
        "ip_allocation_method": "string",
        "address_prefix": "string",
        "ip_pools": [{
            "end": "string",
            "start": "string",
        }],
        "routes": [{
            "address_prefix": "string",
            "next_hop_ip_address": "string",
            "name": "string",
        }],
        "vlan_id": 0,
    },
    virtual_switch_name="string",
    dns_servers=["string"],
    location="string",
    name="string",
    tags={
        "string": "string",
    })
const hciLogicalNetworkResource = new azure.stack.HciLogicalNetwork("hciLogicalNetworkResource", {
    customLocationId: "string",
    resourceGroupName: "string",
    subnet: {
        ipAllocationMethod: "string",
        addressPrefix: "string",
        ipPools: [{
            end: "string",
            start: "string",
        }],
        routes: [{
            addressPrefix: "string",
            nextHopIpAddress: "string",
            name: "string",
        }],
        vlanId: 0,
    },
    virtualSwitchName: "string",
    dnsServers: ["string"],
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
type: azure:stack:HciLogicalNetwork
properties:
    customLocationId: string
    dnsServers:
        - string
    location: string
    name: string
    resourceGroupName: string
    subnet:
        addressPrefix: string
        ipAllocationMethod: string
        ipPools:
            - end: string
              start: string
        routes:
            - addressPrefix: string
              name: string
              nextHopIpAddress: string
        vlanId: 0
    tags:
        string: string
    virtualSwitchName: string
HciLogicalNetwork 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 HciLogicalNetwork resource accepts the following input properties:
- CustomLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- VirtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- DnsServers List<string>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- Location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- CustomLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Subnet
HciLogical Network Subnet Args 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- VirtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- DnsServers []string
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- Location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- customLocation StringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- virtualSwitch StringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- dnsServers List<String>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location String
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- customLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- virtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- dnsServers string[]
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- custom_location_ strid 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet Args 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- virtual_switch_ strname 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- dns_servers Sequence[str]
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location str
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name str
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- customLocation StringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet Property Map
- A subnetblock as defined below. Changing this forces a new resource to be created.
- virtualSwitch StringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- dnsServers List<String>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location String
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
Outputs
All input properties are implicitly available as output properties. Additionally, the HciLogicalNetwork resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing HciLogicalNetwork Resource
Get an existing HciLogicalNetwork 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?: HciLogicalNetworkState, opts?: CustomResourceOptions): HciLogicalNetwork@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        custom_location_id: Optional[str] = None,
        dns_servers: Optional[Sequence[str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        subnet: Optional[HciLogicalNetworkSubnetArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        virtual_switch_name: Optional[str] = None) -> HciLogicalNetworkfunc GetHciLogicalNetwork(ctx *Context, name string, id IDInput, state *HciLogicalNetworkState, opts ...ResourceOption) (*HciLogicalNetwork, error)public static HciLogicalNetwork Get(string name, Input<string> id, HciLogicalNetworkState? state, CustomResourceOptions? opts = null)public static HciLogicalNetwork get(String name, Output<String> id, HciLogicalNetworkState state, CustomResourceOptions options)resources:  _:    type: azure:stack:HciLogicalNetwork    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.
- CustomLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- DnsServers List<string>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- Location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- VirtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- CustomLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- DnsServers []string
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- Location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- Subnet
HciLogical Network Subnet Args 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- VirtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- customLocation StringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- dnsServers List<String>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location String
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- virtualSwitch StringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- customLocation stringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- dnsServers string[]
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location string
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name string
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- virtualSwitch stringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- custom_location_ strid 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- dns_servers Sequence[str]
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location str
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name str
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet
HciLogical Network Subnet Args 
- A subnetblock as defined below. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- virtual_switch_ strname 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
- customLocation StringId 
- The ID of Custom Location where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- dnsServers List<String>
- A list of IPv4 addresses of DNS servers available to VMs deployed in the Logical Networks. Changing this forces a new resource to be created.
- location String
- The Azure Region where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Azure Stack HCI Logical Network. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Stack HCI Logical Network should exist. Changing this forces a new resource to be created.
- subnet Property Map
- A subnetblock as defined below. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags which should be assigned to the Azure Stack HCI Logical Network.
- virtualSwitch StringName 
- The name of the virtual switch on the cluster used to associate with the Azure Stack HCI Logical Network. Possible switch names can be retrieved by following this Azure guide. Changing this forces a new resource to be created.
Supporting Types
HciLogicalNetworkSubnet, HciLogicalNetworkSubnetArgs        
- IpAllocation stringMethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- AddressPrefix string
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- IpPools List<HciLogical Network Subnet Ip Pool> 
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- Routes
List<HciLogical Network Subnet Route> 
- A routeblock as defined above. Changing this forces a new resource to be created.
- VlanId int
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- IpAllocation stringMethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- AddressPrefix string
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- IpPools []HciLogical Network Subnet Ip Pool 
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- Routes
[]HciLogical Network Subnet Route 
- A routeblock as defined above. Changing this forces a new resource to be created.
- VlanId int
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- ipAllocation StringMethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- addressPrefix String
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ipPools List<HciLogical Network Subnet Ip Pool> 
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- routes
List<HciLogical Network Subnet Route> 
- A routeblock as defined above. Changing this forces a new resource to be created.
- vlanId Integer
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- ipAllocation stringMethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- addressPrefix string
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ipPools HciLogical Network Subnet Ip Pool[] 
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- routes
HciLogical Network Subnet Route[] 
- A routeblock as defined above. Changing this forces a new resource to be created.
- vlanId number
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- ip_allocation_ strmethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- address_prefix str
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ip_pools Sequence[HciLogical Network Subnet Ip Pool] 
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- routes
Sequence[HciLogical Network Subnet Route] 
- A routeblock as defined above. Changing this forces a new resource to be created.
- vlan_id int
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- ipAllocation StringMethod 
- The IP address allocation method for the subnet. Possible values are DynamicandStatic. Changing this forces a new resource to be created.
- addressPrefix String
- The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ipPools List<Property Map>
- One or more - ip_poolblock as defined above. Changing this forces a new resource to be created.- Note: If - ip_poolis not specified, it will be assigned by the server. If you experience a diff you may need to add this to- ignore_changes.
- routes List<Property Map>
- A routeblock as defined above. Changing this forces a new resource to be created.
- vlanId Number
- The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
HciLogicalNetworkSubnetIpPool, HciLogicalNetworkSubnetIpPoolArgs            
HciLogicalNetworkSubnetRoute, HciLogicalNetworkSubnetRouteArgs          
- AddressPrefix string
- The Address in CIDR notation. Changing this forces a new resource to be created.
- NextHop stringIp Address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- Name string
- The name of the route. Changing this forces a new resource to be created.
- AddressPrefix string
- The Address in CIDR notation. Changing this forces a new resource to be created.
- NextHop stringIp Address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- Name string
- The name of the route. Changing this forces a new resource to be created.
- addressPrefix String
- The Address in CIDR notation. Changing this forces a new resource to be created.
- nextHop StringIp Address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- name String
- The name of the route. Changing this forces a new resource to be created.
- addressPrefix string
- The Address in CIDR notation. Changing this forces a new resource to be created.
- nextHop stringIp Address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- name string
- The name of the route. Changing this forces a new resource to be created.
- address_prefix str
- The Address in CIDR notation. Changing this forces a new resource to be created.
- next_hop_ strip_ address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- name str
- The name of the route. Changing this forces a new resource to be created.
- addressPrefix String
- The Address in CIDR notation. Changing this forces a new resource to be created.
- nextHop StringIp Address 
- The IPv4 address of the next hop. Changing this forces a new resource to be created.
- name String
- The name of the route. Changing this forces a new resource to be created.
Import
Azure Stack HCI Logical Networks can be imported using the resource id, e.g.
$ pulumi import azure:stack/hciLogicalNetwork:HciLogicalNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AzureStackHCI/logicalNetworks/ln1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.