1. Packages
  2. Azure Classic
  3. API Docs
  4. stack
  5. HciNetworkInterface

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.stack.HciNetworkInterface

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an Azure Stack HCI Network Interface.

    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 com.pulumi.azure.stack.HciNetworkInterface;
    import com.pulumi.azure.stack.HciNetworkInterfaceArgs;
    import com.pulumi.azure.stack.inputs.HciNetworkInterfaceIpConfigurationArgs;
    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")
                    .route(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .vlanId(123)
                    .build())
                .tags(Map.of("foo", "bar"))
                .build());
    
            var exampleHciNetworkInterface = new HciNetworkInterface("exampleHciNetworkInterface", HciNetworkInterfaceArgs.builder()
                .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(HciNetworkInterfaceIpConfigurationArgs.builder()
                    .privateIpAddress("10.0.0.2")
                    .subnetId(test.id())
                    .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
            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
    

    Create HciNetworkInterface Resource

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

    Constructor syntax

    new HciNetworkInterface(name: string, args: HciNetworkInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def HciNetworkInterface(resource_name: str,
                            args: HciNetworkInterfaceArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def HciNetworkInterface(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            custom_location_id: Optional[str] = None,
                            ip_configuration: Optional[HciNetworkInterfaceIpConfigurationArgs] = None,
                            resource_group_name: Optional[str] = None,
                            dns_servers: Optional[Sequence[str]] = None,
                            location: Optional[str] = None,
                            mac_address: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None)
    func NewHciNetworkInterface(ctx *Context, name string, args HciNetworkInterfaceArgs, opts ...ResourceOption) (*HciNetworkInterface, error)
    public HciNetworkInterface(string name, HciNetworkInterfaceArgs args, CustomResourceOptions? opts = null)
    public HciNetworkInterface(String name, HciNetworkInterfaceArgs args)
    public HciNetworkInterface(String name, HciNetworkInterfaceArgs args, CustomResourceOptions options)
    
    type: azure:stack:HciNetworkInterface
    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 HciNetworkInterfaceArgs
    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 HciNetworkInterfaceArgs
    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 HciNetworkInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HciNetworkInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HciNetworkInterfaceArgs
    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 hciNetworkInterfaceResource = new Azure.Stack.HciNetworkInterface("hciNetworkInterfaceResource", new()
    {
        CustomLocationId = "string",
        IpConfiguration = new Azure.Stack.Inputs.HciNetworkInterfaceIpConfigurationArgs
        {
            SubnetId = "string",
            Gateway = "string",
            PrefixLength = "string",
            PrivateIpAddress = "string",
        },
        ResourceGroupName = "string",
        DnsServers = new[]
        {
            "string",
        },
        Location = "string",
        MacAddress = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := stack.NewHciNetworkInterface(ctx, "hciNetworkInterfaceResource", &stack.HciNetworkInterfaceArgs{
    	CustomLocationId: pulumi.String("string"),
    	IpConfiguration: &stack.HciNetworkInterfaceIpConfigurationArgs{
    		SubnetId:         pulumi.String("string"),
    		Gateway:          pulumi.String("string"),
    		PrefixLength:     pulumi.String("string"),
    		PrivateIpAddress: pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	DnsServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Location:   pulumi.String("string"),
    	MacAddress: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var hciNetworkInterfaceResource = new HciNetworkInterface("hciNetworkInterfaceResource", HciNetworkInterfaceArgs.builder()
        .customLocationId("string")
        .ipConfiguration(HciNetworkInterfaceIpConfigurationArgs.builder()
            .subnetId("string")
            .gateway("string")
            .prefixLength("string")
            .privateIpAddress("string")
            .build())
        .resourceGroupName("string")
        .dnsServers("string")
        .location("string")
        .macAddress("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    hci_network_interface_resource = azure.stack.HciNetworkInterface("hciNetworkInterfaceResource",
        custom_location_id="string",
        ip_configuration={
            "subnet_id": "string",
            "gateway": "string",
            "prefix_length": "string",
            "private_ip_address": "string",
        },
        resource_group_name="string",
        dns_servers=["string"],
        location="string",
        mac_address="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const hciNetworkInterfaceResource = new azure.stack.HciNetworkInterface("hciNetworkInterfaceResource", {
        customLocationId: "string",
        ipConfiguration: {
            subnetId: "string",
            gateway: "string",
            prefixLength: "string",
            privateIpAddress: "string",
        },
        resourceGroupName: "string",
        dnsServers: ["string"],
        location: "string",
        macAddress: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:stack:HciNetworkInterface
    properties:
        customLocationId: string
        dnsServers:
            - string
        ipConfiguration:
            gateway: string
            prefixLength: string
            privateIpAddress: string
            subnetId: string
        location: string
        macAddress: string
        name: string
        resourceGroupName: string
        tags:
            string: string
    

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

    CustomLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    IpConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    MacAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    Name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    CustomLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    IpConfiguration HciNetworkInterfaceIpConfigurationArgs
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    MacAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    Name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId String
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    ipConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress String

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name String
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    ipConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    custom_location_id str
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    ip_configuration HciNetworkInterfaceIpConfigurationArgs
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    location str
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    mac_address str

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name str
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId String
    The ID of the Custom Location where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    ipConfiguration Property Map
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress String

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name String
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HciNetworkInterface 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 HciNetworkInterface Resource

    Get an existing HciNetworkInterface 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?: HciNetworkInterfaceState, opts?: CustomResourceOptions): HciNetworkInterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_location_id: Optional[str] = None,
            dns_servers: Optional[Sequence[str]] = None,
            ip_configuration: Optional[HciNetworkInterfaceIpConfigurationArgs] = None,
            location: Optional[str] = None,
            mac_address: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> HciNetworkInterface
    func GetHciNetworkInterface(ctx *Context, name string, id IDInput, state *HciNetworkInterfaceState, opts ...ResourceOption) (*HciNetworkInterface, error)
    public static HciNetworkInterface Get(string name, Input<string> id, HciNetworkInterfaceState? state, CustomResourceOptions? opts = null)
    public static HciNetworkInterface get(String name, Output<String> id, HciNetworkInterfaceState 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.
    The following state arguments are supported:
    CustomLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    IpConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    MacAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    Name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    CustomLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    IpConfiguration HciNetworkInterfaceIpConfigurationArgs
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    MacAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    Name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId String
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    ipConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress String

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name String
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId string
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    ipConfiguration HciNetworkInterfaceIpConfiguration
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    location string
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress string

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name string
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    custom_location_id str
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    ip_configuration HciNetworkInterfaceIpConfigurationArgs
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    location str
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    mac_address str

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name str
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.
    customLocationId String
    The ID of the Custom Location where the Azure Stack HCI Network Interface 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 Network Interface. Changing this forces a new resource to be created.
    ipConfiguration Property Map
    An ip_configuration block as defined below. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    macAddress String

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

    Note: If mac_address is not specified, it will be assigned by the server. If you experience a diff you may need to add this to ignore_changes.

    name String
    The name which should be used for this Azure Stack HCI Network Interface. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Stack HCI Network Interface should exist. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Azure Stack HCI Network Interface.

    Supporting Types

    HciNetworkInterfaceIpConfiguration, HciNetworkInterfaceIpConfigurationArgs

    SubnetId string
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    Gateway string
    The IPv4 address of the gateway for the Network Interface.
    PrefixLength string
    The prefix length for the address of the Network Interface.
    PrivateIpAddress string
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.
    SubnetId string
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    Gateway string
    The IPv4 address of the gateway for the Network Interface.
    PrefixLength string
    The prefix length for the address of the Network Interface.
    PrivateIpAddress string
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.
    subnetId String
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    gateway String
    The IPv4 address of the gateway for the Network Interface.
    prefixLength String
    The prefix length for the address of the Network Interface.
    privateIpAddress String
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.
    subnetId string
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    gateway string
    The IPv4 address of the gateway for the Network Interface.
    prefixLength string
    The prefix length for the address of the Network Interface.
    privateIpAddress string
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.
    subnet_id str
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    gateway str
    The IPv4 address of the gateway for the Network Interface.
    prefix_length str
    The prefix length for the address of the Network Interface.
    private_ip_address str
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.
    subnetId String
    The resource ID of the Stack HCI Logical Network bound to the IP configuration. Changing this forces a new resource to be created.
    gateway String
    The IPv4 address of the gateway for the Network Interface.
    prefixLength String
    The prefix length for the address of the Network Interface.
    privateIpAddress String
    The IPv4 address of the IP configuration. Changing this forces a new resource to be created.

    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
    

    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.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi