1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. NetworkInterface
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.azurestackhci.NetworkInterface

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    The network interface resource definition. Azure REST API version: 2022-12-15-preview.

    Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01.

    Example Usage

    PutNetworkInterface

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var networkInterface = new AzureNative.AzureStackHCI.NetworkInterface("networkInterface", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            IpConfigurations = new[]
            {
                new AzureNative.AzureStackHCI.Inputs.IPConfigurationArgs
                {
                    Name = "ipconfig-sample",
                    Properties = new AzureNative.AzureStackHCI.Inputs.IPConfigurationPropertiesArgs
                    {
                        Subnet = new AzureNative.AzureStackHCI.Inputs.IPConfigurationSubnetArgs
                        {
                            Id = "test-vnet",
                        },
                    },
                },
            },
            Location = "West US2",
            NetworkInterfaceName = "test-nic",
            ResourceGroupName = "test-rg",
        });
    
    });
    
    package main
    
    import (
    	"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.NewNetworkInterface(ctx, "networkInterface", &azurestackhci.NetworkInterfaceArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			IpConfigurations: azurestackhci.IPConfigurationArray{
    				&azurestackhci.IPConfigurationArgs{
    					Name: pulumi.String("ipconfig-sample"),
    					Properties: &azurestackhci.IPConfigurationPropertiesArgs{
    						Subnet: &azurestackhci.IPConfigurationSubnetArgs{
    							Id: pulumi.String("test-vnet"),
    						},
    					},
    				},
    			},
    			Location:             pulumi.String("West US2"),
    			NetworkInterfaceName: pulumi.String("test-nic"),
    			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.NetworkInterface;
    import com.pulumi.azurenative.azurestackhci.NetworkInterfaceArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationPropertiesArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationSubnetArgs;
    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 networkInterface = new NetworkInterface("networkInterface", NetworkInterfaceArgs.builder()        
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .ipConfigurations(IPConfigurationArgs.builder()
                    .name("ipconfig-sample")
                    .properties(IPConfigurationPropertiesArgs.builder()
                        .subnet(IPConfigurationSubnetArgs.builder()
                            .id("test-vnet")
                            .build())
                        .build())
                    .build())
                .location("West US2")
                .networkInterfaceName("test-nic")
                .resourceGroupName("test-rg")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    network_interface = azure_native.azurestackhci.NetworkInterface("networkInterface",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type=azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        ),
        ip_configurations=[azure_native.azurestackhci.IPConfigurationArgs(
            name="ipconfig-sample",
            properties=azure_native.azurestackhci.IPConfigurationPropertiesArgs(
                subnet=azure_native.azurestackhci.IPConfigurationSubnetArgs(
                    id="test-vnet",
                ),
            ),
        )],
        location="West US2",
        network_interface_name="test-nic",
        resource_group_name="test-rg")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const networkInterface = new azure_native.azurestackhci.NetworkInterface("networkInterface", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        ipConfigurations: [{
            name: "ipconfig-sample",
            properties: {
                subnet: {
                    id: "test-vnet",
                },
            },
        }],
        location: "West US2",
        networkInterfaceName: "test-nic",
        resourceGroupName: "test-rg",
    });
    
    resources:
      networkInterface:
        type: azure-native:azurestackhci:NetworkInterface
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          ipConfigurations:
            - name: ipconfig-sample
              properties:
                subnet:
                  id: test-vnet
          location: West US2
          networkInterfaceName: test-nic
          resourceGroupName: test-rg
    

    Create NetworkInterface Resource

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

    Constructor syntax

    new NetworkInterface(name: string, args: NetworkInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkInterface(resource_name: str,
                         args: NetworkInterfaceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkInterface(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         resource_group_name: Optional[str] = None,
                         dns_settings: Optional[InterfaceDNSSettingsArgs] = None,
                         extended_location: Optional[ExtendedLocationArgs] = None,
                         ip_configurations: Optional[Sequence[IPConfigurationArgs]] = None,
                         location: Optional[str] = None,
                         mac_address: Optional[str] = None,
                         network_interface_name: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewNetworkInterface(ctx *Context, name string, args NetworkInterfaceArgs, opts ...ResourceOption) (*NetworkInterface, error)
    public NetworkInterface(string name, NetworkInterfaceArgs args, CustomResourceOptions? opts = null)
    public NetworkInterface(String name, NetworkInterfaceArgs args)
    public NetworkInterface(String name, NetworkInterfaceArgs args, CustomResourceOptions options)
    
    type: azure-native:azurestackhci:NetworkInterface
    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 NetworkInterfaceArgs
    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 NetworkInterfaceArgs
    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 NetworkInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkInterfaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var networkInterfaceResource = new AzureNative.AzureStackHCI.NetworkInterface("networkInterfaceResource", new()
    {
        ResourceGroupName = "string",
        DnsSettings = new AzureNative.AzureStackHCI.Inputs.InterfaceDNSSettingsArgs
        {
            DnsServers = new[]
            {
                "string",
            },
        },
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        IpConfigurations = new[]
        {
            new AzureNative.AzureStackHCI.Inputs.IPConfigurationArgs
            {
                Name = "string",
                Properties = new AzureNative.AzureStackHCI.Inputs.IPConfigurationPropertiesArgs
                {
                    PrefixLength = "string",
                    PrivateIPAddress = "string",
                    PrivateIPAllocationMethod = "string",
                    Subnet = new AzureNative.AzureStackHCI.Inputs.IPConfigurationSubnetArgs
                    {
                        Id = "string",
                    },
                },
            },
        },
        Location = "string",
        MacAddress = "string",
        NetworkInterfaceName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := azurestackhci.NewNetworkInterface(ctx, "networkInterfaceResource", &azurestackhci.NetworkInterfaceArgs{
    ResourceGroupName: pulumi.String("string"),
    DnsSettings: &azurestackhci.InterfaceDNSSettingsArgs{
    DnsServers: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    Name: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    IpConfigurations: azurestackhci.IPConfigurationArray{
    &azurestackhci.IPConfigurationArgs{
    Name: pulumi.String("string"),
    Properties: &azurestackhci.IPConfigurationPropertiesArgs{
    PrefixLength: pulumi.String("string"),
    PrivateIPAddress: pulumi.String("string"),
    PrivateIPAllocationMethod: pulumi.String("string"),
    Subnet: &azurestackhci.IPConfigurationSubnetArgs{
    Id: pulumi.String("string"),
    },
    },
    },
    },
    Location: pulumi.String("string"),
    MacAddress: pulumi.String("string"),
    NetworkInterfaceName: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var networkInterfaceResource = new NetworkInterface("networkInterfaceResource", NetworkInterfaceArgs.builder()        
        .resourceGroupName("string")
        .dnsSettings(InterfaceDNSSettingsArgs.builder()
            .dnsServers("string")
            .build())
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .ipConfigurations(IPConfigurationArgs.builder()
            .name("string")
            .properties(IPConfigurationPropertiesArgs.builder()
                .prefixLength("string")
                .privateIPAddress("string")
                .privateIPAllocationMethod("string")
                .subnet(IPConfigurationSubnetArgs.builder()
                    .id("string")
                    .build())
                .build())
            .build())
        .location("string")
        .macAddress("string")
        .networkInterfaceName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    network_interface_resource = azure_native.azurestackhci.NetworkInterface("networkInterfaceResource",
        resource_group_name="string",
        dns_settings=azure_native.azurestackhci.InterfaceDNSSettingsArgs(
            dns_servers=["string"],
        ),
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="string",
            type="string",
        ),
        ip_configurations=[azure_native.azurestackhci.IPConfigurationArgs(
            name="string",
            properties=azure_native.azurestackhci.IPConfigurationPropertiesArgs(
                prefix_length="string",
                private_ip_address="string",
                private_ip_allocation_method="string",
                subnet=azure_native.azurestackhci.IPConfigurationSubnetArgs(
                    id="string",
                ),
            ),
        )],
        location="string",
        mac_address="string",
        network_interface_name="string",
        tags={
            "string": "string",
        })
    
    const networkInterfaceResource = new azure_native.azurestackhci.NetworkInterface("networkInterfaceResource", {
        resourceGroupName: "string",
        dnsSettings: {
            dnsServers: ["string"],
        },
        extendedLocation: {
            name: "string",
            type: "string",
        },
        ipConfigurations: [{
            name: "string",
            properties: {
                prefixLength: "string",
                privateIPAddress: "string",
                privateIPAllocationMethod: "string",
                subnet: {
                    id: "string",
                },
            },
        }],
        location: "string",
        macAddress: "string",
        networkInterfaceName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:azurestackhci:NetworkInterface
    properties:
        dnsSettings:
            dnsServers:
                - string
        extendedLocation:
            name: string
            type: string
        ipConfigurations:
            - name: string
              properties:
                prefixLength: string
                privateIPAddress: string
                privateIPAllocationMethod: string
                subnet:
                    id: string
        location: string
        macAddress: string
        networkInterfaceName: string
        resourceGroupName: string
        tags:
            string: string
    

    NetworkInterface Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The NetworkInterface resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DnsSettings Pulumi.AzureNative.AzureStackHCI.Inputs.InterfaceDNSSettings
    DNS Settings for the interface
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    IpConfigurations List<Pulumi.AzureNative.AzureStackHCI.Inputs.IPConfiguration>
    IPConfigurations - A list of IPConfigurations of the network interface.
    Location string
    The geo-location where the resource lives
    MacAddress string
    MacAddress - The MAC address of the network interface.
    NetworkInterfaceName string
    Name of the network interface
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DnsSettings InterfaceDNSSettingsArgs
    DNS Settings for the interface
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    IpConfigurations []IPConfigurationArgs
    IPConfigurations - A list of IPConfigurations of the network interface.
    Location string
    The geo-location where the resource lives
    MacAddress string
    MacAddress - The MAC address of the network interface.
    NetworkInterfaceName string
    Name of the network interface
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dnsSettings InterfaceDNSSettings
    DNS Settings for the interface
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    ipConfigurations List<IPConfiguration>
    IPConfigurations - A list of IPConfigurations of the network interface.
    location String
    The geo-location where the resource lives
    macAddress String
    MacAddress - The MAC address of the network interface.
    networkInterfaceName String
    Name of the network interface
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    dnsSettings InterfaceDNSSettings
    DNS Settings for the interface
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    ipConfigurations IPConfiguration[]
    IPConfigurations - A list of IPConfigurations of the network interface.
    location string
    The geo-location where the resource lives
    macAddress string
    MacAddress - The MAC address of the network interface.
    networkInterfaceName string
    Name of the network interface
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    dns_settings InterfaceDNSSettingsArgs
    DNS Settings for the interface
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    ip_configurations Sequence[IPConfigurationArgs]
    IPConfigurations - A list of IPConfigurations of the network interface.
    location str
    The geo-location where the resource lives
    mac_address str
    MacAddress - The MAC address of the network interface.
    network_interface_name str
    Name of the network interface
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dnsSettings Property Map
    DNS Settings for the interface
    extendedLocation Property Map
    The extendedLocation of the resource.
    ipConfigurations List<Property Map>
    IPConfigurations - A list of IPConfigurations of the network interface.
    location String
    The geo-location where the resource lives
    macAddress String
    MacAddress - The MAC address of the network interface.
    networkInterfaceName String
    Name of the network interface
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkInterface resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the network interface.
    Status Pulumi.AzureNative.AzureStackHCI.Outputs.NetworkInterfaceStatusResponse
    The observed state of network interfaces
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    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
    ProvisioningState string
    Provisioning state of the network interface.
    Status NetworkInterfaceStatusResponse
    The observed state of network interfaces
    SystemData SystemDataResponse
    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
    provisioningState String
    Provisioning state of the network interface.
    status NetworkInterfaceStatusResponse
    The observed state of network interfaces
    systemData SystemDataResponse
    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
    provisioningState string
    Provisioning state of the network interface.
    status NetworkInterfaceStatusResponse
    The observed state of network interfaces
    systemData SystemDataResponse
    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 network interface.
    status NetworkInterfaceStatusResponse
    The observed state of network interfaces
    system_data SystemDataResponse
    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
    provisioningState String
    Provisioning state of the network interface.
    status Property Map
    The observed state of network interfaces
    systemData 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.AzureNative.AzureStackHCI.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    IPConfiguration, IPConfigurationArgs

    Name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Properties Pulumi.AzureNative.AzureStackHCI.Inputs.IPConfigurationProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    Name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Properties IPConfigurationProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name String
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name str
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name String
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties Property Map
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.

    IPConfigurationProperties, IPConfigurationPropertiesArgs

    PrefixLength string
    prefixLength for network interface
    PrivateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    PrivateIPAllocationMethod string | Pulumi.AzureNative.AzureStackHCI.PrivateIPAllocationMethodEnum
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    Subnet Pulumi.AzureNative.AzureStackHCI.Inputs.IPConfigurationSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    PrefixLength string
    prefixLength for network interface
    PrivateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    PrivateIPAllocationMethod string | PrivateIPAllocationMethodEnum
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    Subnet IPConfigurationSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength String
    prefixLength for network interface
    privateIPAddress String
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod String | PrivateIPAllocationMethodEnum
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength string
    prefixLength for network interface
    privateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod string | PrivateIPAllocationMethodEnum
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefix_length str
    prefixLength for network interface
    private_ip_address str
    PrivateIPAddress - Private IP address of the IP configuration.
    private_ip_allocation_method str | PrivateIPAllocationMethodEnum
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength String
    prefixLength for network interface
    privateIPAddress String
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod String | "Dynamic" | "Static"
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet Property Map
    Subnet - Name of Subnet bound to the IP configuration.

    IPConfigurationResponse, IPConfigurationResponseArgs

    Name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Properties Pulumi.AzureNative.AzureStackHCI.Inputs.IPConfigurationResponseProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    Name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Properties IPConfigurationResponseProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name String
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationResponseProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name string
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationResponseProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name str
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties IPConfigurationResponseProperties
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
    name String
    Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
    properties Property Map
    InterfaceIPConfigurationPropertiesFormat properties of IP configuration.

    IPConfigurationResponseProperties, IPConfigurationResponsePropertiesArgs

    PrefixLength string
    prefixLength for network interface
    PrivateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    PrivateIPAllocationMethod string
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    Subnet Pulumi.AzureNative.AzureStackHCI.Inputs.IPConfigurationResponseSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    PrefixLength string
    prefixLength for network interface
    PrivateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    PrivateIPAllocationMethod string
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    Subnet IPConfigurationResponseSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength String
    prefixLength for network interface
    privateIPAddress String
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod String
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationResponseSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength string
    prefixLength for network interface
    privateIPAddress string
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod string
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationResponseSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefix_length str
    prefixLength for network interface
    private_ip_address str
    PrivateIPAddress - Private IP address of the IP configuration.
    private_ip_allocation_method str
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet IPConfigurationResponseSubnet
    Subnet - Name of Subnet bound to the IP configuration.
    prefixLength String
    prefixLength for network interface
    privateIPAddress String
    PrivateIPAddress - Private IP address of the IP configuration.
    privateIPAllocationMethod String
    PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
    subnet Property Map
    Subnet - Name of Subnet bound to the IP configuration.

    IPConfigurationResponseSubnet, IPConfigurationResponseSubnetArgs

    Id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    Id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id String
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id str
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id String
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

    IPConfigurationSubnet, IPConfigurationSubnetArgs

    Id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    Id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id String
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id string
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id str
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    id String
    ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

    InterfaceDNSSettings, InterfaceDNSSettingsArgs

    DnsServers List<string>
    List of DNS server IP Addresses for the interface
    DnsServers []string
    List of DNS server IP Addresses for the interface
    dnsServers List<String>
    List of DNS server IP Addresses for the interface
    dnsServers string[]
    List of DNS server IP Addresses for the interface
    dns_servers Sequence[str]
    List of DNS server IP Addresses for the interface
    dnsServers List<String>
    List of DNS server IP Addresses for the interface

    InterfaceDNSSettingsResponse, InterfaceDNSSettingsResponseArgs

    DnsServers List<string>
    List of DNS server IP Addresses for the interface
    DnsServers []string
    List of DNS server IP Addresses for the interface
    dnsServers List<String>
    List of DNS server IP Addresses for the interface
    dnsServers string[]
    List of DNS server IP Addresses for the interface
    dns_servers Sequence[str]
    List of DNS server IP Addresses for the interface
    dnsServers List<String>
    List of DNS server IP Addresses for the interface

    NetworkInterfaceStatusResponse, NetworkInterfaceStatusResponseArgs

    ErrorCode string
    NetworkInterface provisioning error code
    ErrorMessage string
    Descriptive error message
    ProvisioningStatus NetworkInterfaceStatusResponseProvisioningStatus
    errorCode String
    NetworkInterface provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus NetworkInterfaceStatusResponseProvisioningStatus
    errorCode string
    NetworkInterface provisioning error code
    errorMessage string
    Descriptive error message
    provisioningStatus NetworkInterfaceStatusResponseProvisioningStatus
    error_code str
    NetworkInterface provisioning error code
    error_message str
    Descriptive error message
    provisioning_status NetworkInterfaceStatusResponseProvisioningStatus
    errorCode String
    NetworkInterface provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus Property Map

    NetworkInterfaceStatusResponseProvisioningStatus, NetworkInterfaceStatusResponseProvisioningStatusArgs

    OperationId string
    The ID of the operation performed on the network interface
    Status string
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the network interface
    Status string
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the network interface
    status String
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]
    operationId string
    The ID of the operation performed on the network interface
    status string
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]
    operation_id str
    The ID of the operation performed on the network interface
    status str
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the network interface
    status String
    The status of the operation performed on the network interface [Succeeded, Failed, InProgress]

    PrivateIPAllocationMethodEnum, PrivateIPAllocationMethodEnumArgs

    Dynamic
    Dynamic
    Static
    Static
    PrivateIPAllocationMethodEnumDynamic
    Dynamic
    PrivateIPAllocationMethodEnumStatic
    Static
    Dynamic
    Dynamic
    Static
    Static
    Dynamic
    Dynamic
    Static
    Static
    DYNAMIC
    Dynamic
    STATIC
    Static
    "Dynamic"
    Dynamic
    "Static"
    Static

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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:NetworkInterface test-nic /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi