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:
- Custom
Location stringId - 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 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
Hci
Logical Network Subnet - A
subnet
block as defined below. Changing this forces a new resource to be created. - Virtual
Switch 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.
- Dns
Servers 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.
- Custom
Location stringId - 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 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
Hci
Logical Network Subnet Args - A
subnet
block as defined below. Changing this forces a new resource to be created. - Virtual
Switch 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.
- Dns
Servers []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.
- custom
Location StringId - 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 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
Hci
Logical Network Subnet - A
subnet
block as defined below. Changing this forces a new resource to be created. - virtual
Switch 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.
- dns
Servers 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.
- custom
Location stringId - 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 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
Hci
Logical Network Subnet - A
subnet
block as defined below. Changing this forces a new resource to be created. - virtual
Switch 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.
- dns
Servers 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
Hci
Logical Network Subnet Args - A
subnet
block 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.
- custom
Location StringId - 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 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
subnet
block as defined below. Changing this forces a new resource to be created. - virtual
Switch 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.
- dns
Servers 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) -> HciLogicalNetwork
func 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)
Resource lookup is not supported in YAML
- 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.
- Custom
Location stringId - 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 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.
- Resource
Group 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
Hci
Logical Network Subnet - A
subnet
block 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.
- Virtual
Switch 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 stringId - 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 []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.
- Resource
Group 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
Hci
Logical Network Subnet Args - A
subnet
block 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.
- Virtual
Switch 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 StringId - 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 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.
- resource
Group 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
Hci
Logical Network Subnet - A
subnet
block 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.
- virtual
Switch 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 stringId - 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 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.
- resource
Group 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
Hci
Logical Network Subnet - A
subnet
block 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.
- virtual
Switch 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
Hci
Logical Network Subnet Args - A
subnet
block 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.
- custom
Location StringId - 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 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.
- resource
Group 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
subnet
block 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.
- virtual
Switch 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
- Ip
Allocation stringMethod - The IP address allocation method for the subnet. Possible values are
Dynamic
andStatic
. Changing this forces a new resource to be created. - Address
Prefix string - The address prefix in CIDR notation. Changing this forces a new resource to be created.
- Ip
Pools List<HciLogical Network Subnet Ip Pool> One or more
ip_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- Routes
List<Hci
Logical Network Subnet Route> - A
route
block 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.
- Ip
Allocation stringMethod - The IP address allocation method for the subnet. Possible values are
Dynamic
andStatic
. Changing this forces a new resource to be created. - Address
Prefix string - The address prefix in CIDR notation. Changing this forces a new resource to be created.
- Ip
Pools []HciLogical Network Subnet Ip Pool One or more
ip_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- Routes
[]Hci
Logical Network Subnet Route - A
route
block 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.
- ip
Allocation StringMethod - The IP address allocation method for the subnet. Possible values are
Dynamic
andStatic
. Changing this forces a new resource to be created. - address
Prefix String - The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ip
Pools List<HciLogical Network Subnet Ip Pool> One or more
ip_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- routes
List<Hci
Logical Network Subnet Route> - A
route
block as defined above. Changing this forces a new resource to be created. - vlan
Id Integer - The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
- ip
Allocation stringMethod - The IP address allocation method for the subnet. Possible values are
Dynamic
andStatic
. Changing this forces a new resource to be created. - address
Prefix string - The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ip
Pools HciLogical Network Subnet Ip Pool[] One or more
ip_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- routes
Hci
Logical Network Subnet Route[] - A
route
block as defined above. Changing this forces a new resource to be created. - vlan
Id 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
Dynamic
andStatic
. 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_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- routes
Sequence[Hci
Logical Network Subnet Route] - A
route
block 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.
- ip
Allocation StringMethod - The IP address allocation method for the subnet. Possible values are
Dynamic
andStatic
. Changing this forces a new resource to be created. - address
Prefix String - The address prefix in CIDR notation. Changing this forces a new resource to be created.
- ip
Pools List<Property Map> One or more
ip_pool
block as defined above. Changing this forces a new resource to be created.Note: If
ip_pool
is not specified, it will be assigned by the server. If you experience a diff you may need to add this toignore_changes
.- routes List<Property Map>
- A
route
block as defined above. Changing this forces a new resource to be created. - vlan
Id Number - The VLAN ID for the Logical Network. Changing this forces a new resource to be created.
HciLogicalNetworkSubnetIpPool, HciLogicalNetworkSubnetIpPoolArgs
HciLogicalNetworkSubnetRoute, HciLogicalNetworkSubnetRouteArgs
- Address
Prefix string - The Address in CIDR notation. Changing this forces a new resource to be created.
- Next
Hop 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 string - The Address in CIDR notation. Changing this forces a new resource to be created.
- Next
Hop 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 String - The Address in CIDR notation. Changing this forces a new resource to be created.
- next
Hop 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 string - The Address in CIDR notation. Changing this forces a new resource to be created.
- next
Hop 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.
- address
Prefix String - The Address in CIDR notation. Changing this forces a new resource to be created.
- next
Hop 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
azurerm
Terraform Provider.