azure-native.azurestackhci.LogicalNetwork
Explore with Pulumi AI
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",
});
});
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
})
}
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());
}
}
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")
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",
});
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
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 string
- The unique name of the resource.
- args LogicalNetworkArgs
- 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 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 string
- The unique name of the resource.
- args LogicalNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogicalNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.AzureStackHCI.Inputs.LogicalNetworkPropertiesDhcpOptionsArgs
{
DnsServers = new[]
{
"string",
},
},
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Location = "string",
LogicalNetworkName = "string",
Subnets = new[]
{
new AzureNative.AzureStackHCI.Inputs.SubnetArgs
{
AddressPrefix = "string",
AddressPrefixes = new[]
{
"string",
},
IpAllocationMethod = "string",
IpConfigurationReferences = new[]
{
new AzureNative.AzureStackHCI.Inputs.SubnetPropertiesFormatIpConfigurationReferencesArgs
{
Id = "string",
},
},
IpPools = new[]
{
new AzureNative.AzureStackHCI.Inputs.IPPoolArgs
{
End = "string",
IpPoolType = AzureNative.AzureStackHCI.IPPoolTypeEnum.Vm,
Name = "string",
Start = "string",
},
},
Name = "string",
RouteTable = new AzureNative.AzureStackHCI.Inputs.RouteTableArgs
{
Routes = new[]
{
new AzureNative.AzureStackHCI.Inputs.RouteArgs
{
AddressPrefix = "string",
Name = "string",
NextHopIpAddress = "string",
},
},
},
Vlan = 0,
},
},
Tags =
{
{ "string", "string" },
},
VmSwitchName = "string",
});
example, err := azurestackhci.NewLogicalNetwork(ctx, "logicalNetworkResource", &azurestackhci.LogicalNetworkArgs{
ResourceGroupName: pulumi.String("string"),
DhcpOptions: &azurestackhci.LogicalNetworkPropertiesDhcpOptionsArgs{
DnsServers: pulumi.StringArray{
pulumi.String("string"),
},
},
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Location: pulumi.String("string"),
LogicalNetworkName: pulumi.String("string"),
Subnets: azurestackhci.SubnetArray{
&azurestackhci.SubnetArgs{
AddressPrefix: pulumi.String("string"),
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
IpAllocationMethod: pulumi.String("string"),
IpConfigurationReferences: azurestackhci.SubnetPropertiesFormatIpConfigurationReferencesArray{
&azurestackhci.SubnetPropertiesFormatIpConfigurationReferencesArgs{
Id: pulumi.String("string"),
},
},
IpPools: azurestackhci.IPPoolArray{
&azurestackhci.IPPoolArgs{
End: pulumi.String("string"),
IpPoolType: azurestackhci.IPPoolTypeEnumVm,
Name: pulumi.String("string"),
Start: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
RouteTable: &azurestackhci.RouteTableArgs{
Routes: azurestackhci.RouteArray{
&azurestackhci.RouteArgs{
AddressPrefix: pulumi.String("string"),
Name: pulumi.String("string"),
NextHopIpAddress: pulumi.String("string"),
},
},
},
Vlan: pulumi.Int(0),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VmSwitchName: pulumi.String("string"),
})
var logicalNetworkResource = new LogicalNetwork("logicalNetworkResource", LogicalNetworkArgs.builder()
.resourceGroupName("string")
.dhcpOptions(LogicalNetworkPropertiesDhcpOptionsArgs.builder()
.dnsServers("string")
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.location("string")
.logicalNetworkName("string")
.subnets(SubnetArgs.builder()
.addressPrefix("string")
.addressPrefixes("string")
.ipAllocationMethod("string")
.ipConfigurationReferences(SubnetPropertiesFormatIpConfigurationReferencesArgs.builder()
.id("string")
.build())
.ipPools(IPPoolArgs.builder()
.end("string")
.ipPoolType("vm")
.name("string")
.start("string")
.build())
.name("string")
.routeTable(RouteTableArgs.builder()
.routes(RouteArgs.builder()
.addressPrefix("string")
.name("string")
.nextHopIpAddress("string")
.build())
.build())
.vlan(0)
.build())
.tags(Map.of("string", "string"))
.vmSwitchName("string")
.build());
logical_network_resource = azure_native.azurestackhci.LogicalNetwork("logicalNetworkResource",
resource_group_name="string",
dhcp_options={
"dns_servers": ["string"],
},
extended_location={
"name": "string",
"type": "string",
},
location="string",
logical_network_name="string",
subnets=[{
"address_prefix": "string",
"address_prefixes": ["string"],
"ip_allocation_method": "string",
"ip_configuration_references": [{
"id": "string",
}],
"ip_pools": [{
"end": "string",
"ip_pool_type": azure_native.azurestackhci.IPPoolTypeEnum.VM,
"name": "string",
"start": "string",
}],
"name": "string",
"route_table": {
"routes": [{
"address_prefix": "string",
"name": "string",
"next_hop_ip_address": "string",
}],
},
"vlan": 0,
}],
tags={
"string": "string",
},
vm_switch_name="string")
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: azure_native.azurestackhci.IPPoolTypeEnum.Vm,
name: "string",
start: "string",
}],
name: "string",
routeTable: {
routes: [{
addressPrefix: "string",
name: "string",
nextHopIpAddress: "string",
}],
},
vlan: 0,
}],
tags: {
string: "string",
},
vmSwitchName: "string",
});
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
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Dhcp
Options Pulumi.Azure Native. Azure Stack HCI. Inputs. Logical Network Properties Dhcp Options - 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 Pulumi.Azure Native. Azure Stack HCI. Inputs. Extended Location - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Logical
Network stringName - Name of the logical network
- Subnets
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Subnet> - Subnet - list of subnets under the logical network
- Dictionary<string, string>
- Resource tags.
- Vm
Switch stringName - name of the network switch to be used for VMs
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Dhcp
Options LogicalNetwork Properties Dhcp Options Args - 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 ExtendedLocation Args - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Logical
Network stringName - Name of the logical network
- Subnets
[]Subnet
Args - Subnet - list of subnets under the logical network
- map[string]string
- Resource tags.
- Vm
Switch stringName - name of the network switch to be used for VMs
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- dhcp
Options LogicalNetwork Properties Dhcp Options - 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 ExtendedLocation - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- logical
Network StringName - Name of the logical network
- subnets List<Subnet>
- Subnet - list of subnets under the logical network
- Map<String,String>
- Resource tags.
- vm
Switch StringName - name of the network switch to be used for VMs
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- dhcp
Options LogicalNetwork Properties Dhcp Options - 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 ExtendedLocation - The extendedLocation of the resource.
- location string
- The geo-location where the resource lives
- logical
Network stringName - Name of the logical network
- subnets Subnet[]
- Subnet - list of subnets under the logical network
- {[key: string]: string}
- Resource tags.
- vm
Switch stringName - name of the network switch to be used for VMs
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- dhcp_
options LogicalNetwork Properties Dhcp Options Args - 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 ExtendedLocation Args - The extendedLocation of the resource.
- location str
- The geo-location where the resource lives
- logical_
network_ strname - Name of the logical network
- subnets
Sequence[Subnet
Args] - Subnet - list of subnets under the logical network
- Mapping[str, str]
- Resource tags.
- vm_
switch_ strname - name of the network switch to be used for VMs
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- dhcp
Options 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.
- extended
Location Property Map - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- logical
Network StringName - Name of the logical network
- subnets List<Property Map>
- Subnet - list of subnets under the logical network
- Map<String>
- Resource tags.
- vm
Switch StringName - 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
- Provisioning
State string - Provisioning state of the logical network.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Logical Network Status Response - The observed state of logical networks
- System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response - 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
- Provisioning
State string - Provisioning state of the logical network.
- Status
Logical
Network Status Response - The observed state of logical networks
- System
Data SystemData Response - 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
- provisioning
State String - Provisioning state of the logical network.
- status
Logical
Network Status Response - The observed state of logical networks
- system
Data SystemData Response - 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
- provisioning
State string - Provisioning state of the logical network.
- status
Logical
Network Status Response - The observed state of logical networks
- system
Data SystemData Response - 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
Logical
Network Status Response - The observed state of logical networks
- system_
data SystemData Response - 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
- provisioning
State String - Provisioning state of the logical network.
- status Property Map
- The observed state of logical networks
- system
Data 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.
Azure Native. Azure Stack HCI. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location - CustomLocation
- Extended
Location Types Custom Location - CustomLocation
- Custom
Location - CustomLocation
- Custom
Location - CustomLocation
- CUSTOM_LOCATION
- CustomLocation
- "Custom
Location" - CustomLocation
IPPool, IPPoolArgs
- End string
- end of the ip address pool
- Ip
Pool Pulumi.Type Azure Native. Azure Stack HCI. IPPool Type Enum - 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
- Ip
Pool IPPoolType Type Enum - 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
- ip
Pool IPPoolType Type Enum - 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
- ip
Pool IPPoolType Type Enum - 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_ IPPooltype Type Enum - 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
- ip
Pool "vm" | "vippool"Type - ip pool type
- name String
- Name of the IP-Pool
- start String
- start of the ip address pool
IPPoolInfoResponse, IPPoolInfoResponseArgs
IPPoolResponse, IPPoolResponseArgs
- End string
- end of the ip address pool
- Info
Pulumi.
Azure Native. Azure Stack HCI. Inputs. IPPool Info Response - Ip
Pool stringType - 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
IPPool
Info Response - Ip
Pool stringType - 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
IPPool
Info Response - ip
Pool StringType - 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
IPPool
Info Response - ip
Pool stringType - 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
IPPool
Info Response - ip_
pool_ strtype - 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
- ip
Pool StringType - ip pool type
- name String
- Name of the IP-Pool
- start String
- start of the ip address pool
IPPoolTypeEnum, IPPoolTypeEnumArgs
- Vm
- vm
- Vippool
- vippool
- IPPool
Type Enum Vm - vm
- IPPool
Type Enum Vippool - vippool
- Vm
- vm
- Vippool
- vippool
- Vm
- vm
- Vippool
- vippool
- VM
- vm
- VIPPOOL
- vippool
- "vm"
- vm
- "vippool"
- vippool
IpAllocationMethodEnum, IpAllocationMethodEnumArgs
- Dynamic
- Dynamic
- Static
- Static
- Ip
Allocation Method Enum Dynamic - Dynamic
- Ip
Allocation Method Enum Static - Static
- Dynamic
- Dynamic
- Static
- Static
- Dynamic
- Dynamic
- Static
- Static
- DYNAMIC
- Dynamic
- STATIC
- Static
- "Dynamic"
- Dynamic
- "Static"
- Static
LogicalNetworkPropertiesDhcpOptions, LogicalNetworkPropertiesDhcpOptionsArgs
- Dns
Servers List<string> - The list of DNS servers IP addresses.
- Dns
Servers []string - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- dns
Servers string[] - The list of DNS servers IP addresses.
- dns_
servers Sequence[str] - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
LogicalNetworkPropertiesResponseDhcpOptions, LogicalNetworkPropertiesResponseDhcpOptionsArgs
- Dns
Servers List<string> - The list of DNS servers IP addresses.
- Dns
Servers []string - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- dns
Servers string[] - The list of DNS servers IP addresses.
- dns_
servers Sequence[str] - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
LogicalNetworkStatusResponse, LogicalNetworkStatusResponseArgs
- Error
Code string - LogicalNetwork provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Logical Network Status Response Provisioning Status
- Error
Code string - LogicalNetwork provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status LogicalNetwork Status Response Provisioning Status
- error
Code String - LogicalNetwork provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status LogicalNetwork Status Response Provisioning Status
- error
Code string - LogicalNetwork provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status LogicalNetwork Status Response Provisioning Status
- error_
code str - LogicalNetwork provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status LogicalNetwork Status Response Provisioning Status
- error
Code String - LogicalNetwork provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status Property Map
LogicalNetworkStatusResponseProvisioningStatus, LogicalNetworkStatusResponseProvisioningStatusArgs
- Operation
Id 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 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 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 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]
- operation
Id 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
- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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 string - The destination CIDR to which the route applies.
- name string
- Name - name of the subnet
- next
Hop stringIp Address - 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_ strip_ address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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
- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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 string - The destination CIDR to which the route applies.
- name string
- Name - name of the subnet
- next
Hop stringIp Address - 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_ strip_ address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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.
Azure Native. Azure Stack HCI. Inputs. Route> - Collection of routes contained within a route table.
- routes List<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 string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Type string
- Resource type.
- Routes
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Route Response> - Collection of routes contained within a route table.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Type string
- Resource type.
- Routes
[]Route
Response - Collection of routes contained within a route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- type String
- Resource type.
- routes
List<Route
Response> - Collection of routes contained within a route table.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- name string
- Resource name.
- type string
- Resource type.
- routes
Route
Response[] - Collection of routes contained within a route table.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- name str
- Resource name.
- type str
- Resource type.
- routes
Sequence[Route
Response] - Collection of routes contained within a route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- type String
- Resource type.
- routes List<Property Map>
- Collection of routes contained within a route table.
Subnet, SubnetArgs
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes List<string> - List of address prefixes for the subnet.
- Ip
Allocation string | Pulumi.Method Azure Native. Azure Stack HCI. Ip Allocation Method Enum - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration List<Pulumi.References Azure Native. Azure Stack HCI. Inputs. Subnet Properties Format Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools List<Pulumi.Azure Native. Azure Stack HCI. 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.
- Route
Table Pulumi.Azure Native. Azure Stack HCI. Inputs. Route Table - Route table resource.
- Vlan int
- Vlan to use for the subnet
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes []string - List of address prefixes for the subnet.
- Ip
Allocation string | IpMethod Allocation Method Enum - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration []SubnetReferences Properties Format Ip Configuration References - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools []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.
- Route
Table RouteTable - Route table resource.
- Vlan int
- Vlan to use for the subnet
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation String | IpMethod Allocation Method Enum - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<SubnetReferences Properties Format Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table RouteTable - Route table resource.
- vlan Integer
- Vlan to use for the subnet
- address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes string[] - List of address prefixes for the subnet.
- ip
Allocation string | IpMethod Allocation Method Enum - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration SubnetReferences Properties Format Ip Configuration References[] - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table 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_ str | Ipmethod Allocation Method Enum - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip_
configuration_ Sequence[Subnetreferences Properties Format Ip Configuration References] - 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
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation String | "Dynamic" | "Static"Method - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<Property Map>References - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table 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
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes List<string> - List of address prefixes for the subnet.
- Ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration List<Pulumi.References Azure Native. Azure Stack HCI. Inputs. Subnet Properties Format Response Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools List<Pulumi.Azure Native. Azure Stack HCI. Inputs. IPPool Response> - 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.
- Route
Table Pulumi.Azure Native. Azure Stack HCI. Inputs. Route Table Response - Route table resource.
- Vlan int
- Vlan to use for the subnet
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes []string - List of address prefixes for the subnet.
- Ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration []SubnetReferences Properties Format Response Ip Configuration References - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools []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.
- Route
Table RouteTable Response - Route table resource.
- Vlan int
- Vlan to use for the subnet
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation StringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<SubnetReferences Properties Format Response Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table RouteTable Response - Route table resource.
- vlan Integer
- Vlan to use for the subnet
- address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes string[] - List of address prefixes for the subnet.
- ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration SubnetReferences Properties Format Response Ip Configuration References[] - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table RouteTable Response - 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_ strmethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip_
configuration_ Sequence[Subnetreferences Properties Format Response Ip Configuration References] - 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 RouteTable Response - Route table resource.
- vlan int
- Vlan to use for the subnet
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation StringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<Property Map>References - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools 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.
- route
Table Property Map - Route table resource.
- vlan Number
- Vlan to use for the subnet
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0