azure-native.azurestackhci.NetworkInterface
Explore with Pulumi AI
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, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.
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 (
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.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={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
ip_configurations=[{
"name": "ipconfig-sample",
"properties": {
"subnet": {
"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.
Constructor 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={
"dns_servers": ["string"],
},
extended_location={
"name": "string",
"type": "string",
},
ip_configurations=[{
"name": "string",
"properties": {
"prefix_length": "string",
"private_ip_address": "string",
"private_ip_allocation_method": "string",
"subnet": {
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkInterface resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Dns
Settings Pulumi.Azure Native. Azure Stack HCI. Inputs. Interface DNSSettings - DNS Settings for the interface
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Inputs. Extended Location - The extendedLocation of the resource.
- Ip
Configurations List<Pulumi.Azure Native. Azure Stack HCI. Inputs. IPConfiguration> - IPConfigurations - A list of IPConfigurations of the network interface.
- Location string
- The geo-location where the resource lives
- Mac
Address string - MacAddress - The MAC address of the network interface.
- Network
Interface stringName - Name of the network interface
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Dns
Settings InterfaceDNSSettings Args - DNS Settings for the interface
- Extended
Location ExtendedLocation Args - The extendedLocation of the resource.
- Ip
Configurations []IPConfigurationArgs - IPConfigurations - A list of IPConfigurations of the network interface.
- Location string
- The geo-location where the resource lives
- Mac
Address string - MacAddress - The MAC address of the network interface.
- Network
Interface stringName - Name of the network interface
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- dns
Settings InterfaceDNSSettings - DNS Settings for the interface
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- ip
Configurations List<IPConfiguration> - IPConfigurations - A list of IPConfigurations of the network interface.
- location String
- The geo-location where the resource lives
- mac
Address String - MacAddress - The MAC address of the network interface.
- network
Interface StringName - Name of the network interface
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- dns
Settings InterfaceDNSSettings - DNS Settings for the interface
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- ip
Configurations IPConfiguration[] - IPConfigurations - A list of IPConfigurations of the network interface.
- location string
- The geo-location where the resource lives
- mac
Address string - MacAddress - The MAC address of the network interface.
- network
Interface stringName - Name of the network interface
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- dns_
settings InterfaceDNSSettings Args - DNS Settings for the interface
- extended_
location ExtendedLocation Args - 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_ strname - Name of the network interface
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- dns
Settings Property Map - DNS Settings for the interface
- extended
Location Property Map - The extendedLocation of the resource.
- ip
Configurations List<Property Map> - IPConfigurations - A list of IPConfigurations of the network interface.
- location String
- The geo-location where the resource lives
- mac
Address String - MacAddress - The MAC address of the network interface.
- network
Interface StringName - Name of the network interface
- 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
- Provisioning
State string - Provisioning state of the network interface.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Network Interface Status Response - The observed state of network interfaces
- 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 network interface.
- Status
Network
Interface Status Response - The observed state of network interfaces
- 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 network interface.
- status
Network
Interface Status Response - The observed state of network interfaces
- 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 network interface.
- status
Network
Interface Status Response - The observed state of network interfaces
- 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 network interface.
- status
Network
Interface Status Response - The observed state of network interfaces
- 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 network interface.
- status Property Map
- The observed state of network interfaces
- 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
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.
Azure Native. Azure Stack HCI. Inputs. IPConfiguration Properties - 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
IPConfiguration
Properties - 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
IPConfiguration
Properties - 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
IPConfiguration
Properties - 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
IPConfiguration
Properties - 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
- Prefix
Length string - prefixLength for network interface
- Private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- Private
IPAllocation string | Pulumi.Method Azure Native. Azure Stack HCI. Private IPAllocation Method Enum - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Subnet
Pulumi.
Azure Native. Azure Stack HCI. Inputs. IPConfiguration Subnet - Subnet - Name of Subnet bound to the IP configuration.
- Prefix
Length string - prefixLength for network interface
- Private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- Private
IPAllocation string | PrivateMethod IPAllocation Method Enum - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Subnet
IPConfiguration
Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length String - prefixLength for network interface
- private
IPAddress String - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation String | PrivateMethod IPAllocation Method Enum - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length string - prefixLength for network interface
- private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation string | PrivateMethod IPAllocation Method Enum - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix_
length str - prefixLength for network interface
- private_
ip_ straddress - PrivateIPAddress - Private IP address of the IP configuration.
- private_
ip_ str | Privateallocation_ method IPAllocation Method Enum - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length String - prefixLength for network interface
- private
IPAddress String - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation String | "Dynamic" | "Static"Method - 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.
Azure Native. Azure Stack HCI. Inputs. IPConfiguration Response Properties - 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
IPConfiguration
Response Properties - 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
IPConfiguration
Response Properties - 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
IPConfiguration
Response Properties - 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
IPConfiguration
Response Properties - 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
- Prefix
Length string - prefixLength for network interface
- Private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- Private
IPAllocation stringMethod - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Subnet
Pulumi.
Azure Native. Azure Stack HCI. Inputs. IPConfiguration Response Subnet - Subnet - Name of Subnet bound to the IP configuration.
- Prefix
Length string - prefixLength for network interface
- Private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- Private
IPAllocation stringMethod - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Subnet
IPConfiguration
Response Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length String - prefixLength for network interface
- private
IPAddress String - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation StringMethod - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Response Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length string - prefixLength for network interface
- private
IPAddress string - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation stringMethod - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Response Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix_
length str - prefixLength for network interface
- private_
ip_ straddress - PrivateIPAddress - Private IP address of the IP configuration.
- private_
ip_ strallocation_ method - PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
- subnet
IPConfiguration
Response Subnet - Subnet - Name of Subnet bound to the IP configuration.
- prefix
Length String - prefixLength for network interface
- private
IPAddress String - PrivateIPAddress - Private IP address of the IP configuration.
- private
IPAllocation StringMethod - 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
- Dns
Servers List<string> - List of DNS server IP Addresses for the interface
- Dns
Servers []string - List of DNS server IP Addresses for the interface
- dns
Servers List<String> - List of DNS server IP Addresses for the interface
- dns
Servers string[] - List of DNS server IP Addresses for the interface
- dns_
servers Sequence[str] - List of DNS server IP Addresses for the interface
- dns
Servers List<String> - List of DNS server IP Addresses for the interface
InterfaceDNSSettingsResponse, InterfaceDNSSettingsResponseArgs
- Dns
Servers List<string> - List of DNS server IP Addresses for the interface
- Dns
Servers []string - List of DNS server IP Addresses for the interface
- dns
Servers List<String> - List of DNS server IP Addresses for the interface
- dns
Servers string[] - List of DNS server IP Addresses for the interface
- dns_
servers Sequence[str] - List of DNS server IP Addresses for the interface
- dns
Servers List<String> - List of DNS server IP Addresses for the interface
NetworkInterfaceStatusResponse, NetworkInterfaceStatusResponseArgs
- Error
Code string - NetworkInterface provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Network Interface Status Response Provisioning Status
- Error
Code string - NetworkInterface provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status NetworkInterface Status Response Provisioning Status
- error
Code String - NetworkInterface provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status NetworkInterface Status Response Provisioning Status
- error
Code string - NetworkInterface provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status NetworkInterface Status Response Provisioning Status
- error_
code str - NetworkInterface provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status NetworkInterface Status Response Provisioning Status
- error
Code String - NetworkInterface provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status Property Map
NetworkInterfaceStatusResponseProvisioningStatus, NetworkInterfaceStatusResponseProvisioningStatusArgs
- Operation
Id 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 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 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 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]
- operation
Id 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
- Private
IPAllocation Method Enum Dynamic - Dynamic
- Private
IPAllocation Method Enum Static - Static
- Dynamic
- Dynamic
- Static
- Static
- Dynamic
- Dynamic
- Static
- Static
- DYNAMIC
- Dynamic
- STATIC
- Static
- "Dynamic"
- Dynamic
- "Static"
- Static
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: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