HciNetworkInterface

class HciNetworkInterface : KotlinCustomResource

Manages an Azure Stack HCI Network Interface.

Example Usage

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
route:
name: example-route
addressPrefix: 0.0.0.0/0
nextHopIpAddress: 10.0.20.1
vlanId: 123
tags:
foo: bar
exampleHciNetworkInterface:
type: azure:stack:HciNetworkInterface
name: example
properties:
name: example-ni
resourceGroupName: ${example.name}
location: ${example.location}
customLocationId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cl1
dnsServers:
- 10.0.0.8
ipConfiguration:
privateIpAddress: 10.0.0.2
subnetId: ${test.id}
tags:
foo: bar

API Providers

This resource uses the following Azure API Providers:

  • Microsoft.AzureStackHCI: 2024-01-01

Import

Azure Stack HCI Network Interfaces can be imported using the resource id, e.g.

$ pulumi import azure:stack/hciNetworkInterface:HciNetworkInterface example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AzureStackHCI/networkInterfaces/ni1

Properties

Link copied to clipboard

The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val dnsServers: Output<List<String>>?

A list of IPv4 addresses of DNS servers available to VMs deployed in the Network Interface. Changing this forces a new resource to be created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

An ip_configuration block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>

The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val macAddress: Output<String>?

The MAC address of the Network Interface. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>

The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.

Link copied to clipboard
val urn: Output<String>