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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.awsconnector.getEc2NetworkInterface
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a Ec2NetworkInterface Azure REST API version: 2024-12-01.
Using getEc2NetworkInterface
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEc2NetworkInterface(args: GetEc2NetworkInterfaceArgs, opts?: InvokeOptions): Promise<GetEc2NetworkInterfaceResult>
function getEc2NetworkInterfaceOutput(args: GetEc2NetworkInterfaceOutputArgs, opts?: InvokeOptions): Output<GetEc2NetworkInterfaceResult>def get_ec2_network_interface(name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetEc2NetworkInterfaceResult
def get_ec2_network_interface_output(name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetEc2NetworkInterfaceResult]func LookupEc2NetworkInterface(ctx *Context, args *LookupEc2NetworkInterfaceArgs, opts ...InvokeOption) (*LookupEc2NetworkInterfaceResult, error)
func LookupEc2NetworkInterfaceOutput(ctx *Context, args *LookupEc2NetworkInterfaceOutputArgs, opts ...InvokeOption) LookupEc2NetworkInterfaceResultOutput> Note: This function is named LookupEc2NetworkInterface in the Go SDK.
public static class GetEc2NetworkInterface 
{
    public static Task<GetEc2NetworkInterfaceResult> InvokeAsync(GetEc2NetworkInterfaceArgs args, InvokeOptions? opts = null)
    public static Output<GetEc2NetworkInterfaceResult> Invoke(GetEc2NetworkInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEc2NetworkInterfaceResult> getEc2NetworkInterface(GetEc2NetworkInterfaceArgs args, InvokeOptions options)
public static Output<GetEc2NetworkInterfaceResult> getEc2NetworkInterface(GetEc2NetworkInterfaceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:awsconnector:getEc2NetworkInterface
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of Ec2NetworkInterface
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Name string
- Name of Ec2NetworkInterface
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name String
- Name of Ec2NetworkInterface
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- name string
- Name of Ec2NetworkInterface
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name str
- Name of Ec2NetworkInterface
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- name String
- Name of Ec2NetworkInterface
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getEc2NetworkInterface Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Aws Connector. Outputs. Ec2Network Interface Properties Response 
- The resource-specific properties for this resource.
- SystemData Pulumi.Azure Native. Aws Connector. 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"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Ec2NetworkInterface Properties Response 
- The resource-specific properties for this resource.
- SystemData 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"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Ec2NetworkInterface Properties Response 
- The resource-specific properties for this resource.
- systemData 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"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Ec2NetworkInterface Properties Response 
- The resource-specific properties for this resource.
- systemData 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"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Ec2NetworkInterface Properties Response 
- The resource-specific properties for this resource.
- 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"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- 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"
- Map<String>
- Resource tags.
Supporting Types
AwsEc2NetworkInterfacePropertiesResponse    
- ConnectionTracking Pulumi.Specification Azure Native. Aws Connector. Inputs. Connection Tracking Specification Response 
- Property connectionTrackingSpecification
- Description string
- A description for the network interface.
- EnablePrimary boolIpv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- GroupSet List<string>
- A list of security group IDs associated with this network interface.
- Id string
- Network interface id.
- InterfaceType string
- Indicates the type of network interface.
- Ipv4PrefixCount int
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Ipv4Prefixes
List<Pulumi.Azure Native. Aws Connector. Inputs. Ipv4Prefix Specification Response> 
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- Ipv6Addresses
List<Pulumi.Azure Native. Aws Connector. Inputs. Instance Ipv6Address Response> 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- Ipv6PrefixCount int
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- Ipv6Prefixes
List<Pulumi.Azure Native. Aws Connector. Inputs. Ipv6Prefix Specification Response> 
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- PrimaryIpv6Address string
- The primary IPv6 address
- PrimaryPrivate stringIp Address 
- Returns the primary private IP address of the network interface.
- PrivateIp stringAddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- PrivateIp List<Pulumi.Addresses Azure Native. Aws Connector. Inputs. Private Ip Address Specification Response> 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- SecondaryPrivate intIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- SecondaryPrivate List<string>Ip Addresses 
- Returns the secondary private IP addresses of the network interface.
- SourceDest boolCheck 
- Indicates whether traffic to or from the instance is validated.
- SubnetId string
- The ID of the subnet to associate with the network interface.
- 
List<Pulumi.Azure Native. Aws Connector. Inputs. Tag Response> 
- An arbitrary set of tags (key-value pairs) for this network interface.
- VpcId string
- The ID of the VPC
- ConnectionTracking ConnectionSpecification Tracking Specification Response 
- Property connectionTrackingSpecification
- Description string
- A description for the network interface.
- EnablePrimary boolIpv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- GroupSet []string
- A list of security group IDs associated with this network interface.
- Id string
- Network interface id.
- InterfaceType string
- Indicates the type of network interface.
- Ipv4PrefixCount int
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Ipv4Prefixes
[]Ipv4PrefixSpecification Response 
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- Ipv6Addresses
[]InstanceIpv6Address Response 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- Ipv6PrefixCount int
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- Ipv6Prefixes
[]Ipv6PrefixSpecification Response 
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- PrimaryIpv6Address string
- The primary IPv6 address
- PrimaryPrivate stringIp Address 
- Returns the primary private IP address of the network interface.
- PrivateIp stringAddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- PrivateIp []PrivateAddresses Ip Address Specification Response 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- SecondaryPrivate intIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- SecondaryPrivate []stringIp Addresses 
- Returns the secondary private IP addresses of the network interface.
- SourceDest boolCheck 
- Indicates whether traffic to or from the instance is validated.
- SubnetId string
- The ID of the subnet to associate with the network interface.
- 
[]TagResponse 
- An arbitrary set of tags (key-value pairs) for this network interface.
- VpcId string
- The ID of the VPC
- connectionTracking ConnectionSpecification Tracking Specification Response 
- Property connectionTrackingSpecification
- description String
- A description for the network interface.
- enablePrimary BooleanIpv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- groupSet List<String>
- A list of security group IDs associated with this network interface.
- id String
- Network interface id.
- interfaceType String
- Indicates the type of network interface.
- ipv4PrefixCount Integer
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv4Prefixes
List<Ipv4PrefixSpecification Response> 
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv6AddressCount Integer
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- ipv6Addresses
List<InstanceIpv6Address Response> 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- ipv6PrefixCount Integer
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- ipv6Prefixes
List<Ipv6PrefixSpecification Response> 
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- primaryIpv6Address String
- The primary IPv6 address
- primaryPrivate StringIp Address 
- Returns the primary private IP address of the network interface.
- privateIp StringAddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- privateIp List<PrivateAddresses Ip Address Specification Response> 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- secondaryPrivate IntegerIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- secondaryPrivate List<String>Ip Addresses 
- Returns the secondary private IP addresses of the network interface.
- sourceDest BooleanCheck 
- Indicates whether traffic to or from the instance is validated.
- subnetId String
- The ID of the subnet to associate with the network interface.
- 
List<TagResponse> 
- An arbitrary set of tags (key-value pairs) for this network interface.
- vpcId String
- The ID of the VPC
- connectionTracking ConnectionSpecification Tracking Specification Response 
- Property connectionTrackingSpecification
- description string
- A description for the network interface.
- enablePrimary booleanIpv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- groupSet string[]
- A list of security group IDs associated with this network interface.
- id string
- Network interface id.
- interfaceType string
- Indicates the type of network interface.
- ipv4PrefixCount number
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv4Prefixes
Ipv4PrefixSpecification Response[] 
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv6AddressCount number
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- ipv6Addresses
InstanceIpv6Address Response[] 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- ipv6PrefixCount number
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- ipv6Prefixes
Ipv6PrefixSpecification Response[] 
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- primaryIpv6Address string
- The primary IPv6 address
- primaryPrivate stringIp Address 
- Returns the primary private IP address of the network interface.
- privateIp stringAddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- privateIp PrivateAddresses Ip Address Specification Response[] 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- secondaryPrivate numberIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- secondaryPrivate string[]Ip Addresses 
- Returns the secondary private IP addresses of the network interface.
- sourceDest booleanCheck 
- Indicates whether traffic to or from the instance is validated.
- subnetId string
- The ID of the subnet to associate with the network interface.
- 
TagResponse[] 
- An arbitrary set of tags (key-value pairs) for this network interface.
- vpcId string
- The ID of the VPC
- connection_tracking_ Connectionspecification Tracking Specification Response 
- Property connectionTrackingSpecification
- description str
- A description for the network interface.
- enable_primary_ boolipv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- group_set Sequence[str]
- A list of security group IDs associated with this network interface.
- id str
- Network interface id.
- interface_type str
- Indicates the type of network interface.
- ipv4_prefix_ intcount 
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv4_prefixes Sequence[Ipv4PrefixSpecification Response] 
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv6_address_ intcount 
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- ipv6_addresses Sequence[InstanceIpv6Address Response] 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- ipv6_prefix_ intcount 
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- ipv6_prefixes Sequence[Ipv6PrefixSpecification Response] 
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- primary_ipv6_ straddress 
- The primary IPv6 address
- primary_private_ strip_ address 
- Returns the primary private IP address of the network interface.
- private_ip_ straddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- private_ip_ Sequence[Privateaddresses Ip Address Specification Response] 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- secondary_private_ intip_ address_ count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- secondary_private_ Sequence[str]ip_ addresses 
- Returns the secondary private IP addresses of the network interface.
- source_dest_ boolcheck 
- Indicates whether traffic to or from the instance is validated.
- subnet_id str
- The ID of the subnet to associate with the network interface.
- 
Sequence[TagResponse] 
- An arbitrary set of tags (key-value pairs) for this network interface.
- vpc_id str
- The ID of the VPC
- connectionTracking Property MapSpecification 
- Property connectionTrackingSpecification
- description String
- A description for the network interface.
- enablePrimary BooleanIpv6 
- If you have instances or ENIs that rely on the IPv6 address not changing, to avoid disrupting traffic to instances or ENIs, you can enable a primary IPv6 address. Enable this option to automatically assign an IPv6 associated with the ENI attached to your instance to be the primary IPv6 address. When you enable an IPv6 address to be a primary IPv6, you cannot disable it. Traffic will be routed to the primary IPv6 address until the instance is terminated or the ENI is detached. If you have multiple IPv6 addresses associated with an ENI and you enable a primary IPv6 address, the first IPv6 address associated with the ENI becomes the primary IPv6 address.
- groupSet List<String>
- A list of security group IDs associated with this network interface.
- id String
- Network interface id.
- interfaceType String
- Indicates the type of network interface.
- ipv4PrefixCount Number
- The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv4Prefixes List<Property Map>
- Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- ipv6AddressCount Number
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- ipv6Addresses List<Property Map>
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
- ipv6PrefixCount Number
- The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- ipv6Prefixes List<Property Map>
- Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- primaryIpv6Address String
- The primary IPv6 address
- primaryPrivate StringIp Address 
- Returns the primary private IP address of the network interface.
- privateIp StringAddress 
- Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- privateIp List<Property Map>Addresses 
- Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
- secondaryPrivate NumberIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- secondaryPrivate List<String>Ip Addresses 
- Returns the secondary private IP addresses of the network interface.
- sourceDest BooleanCheck 
- Indicates whether traffic to or from the instance is validated.
- subnetId String
- The ID of the subnet to associate with the network interface.
- List<Property Map>
- An arbitrary set of tags (key-value pairs) for this network interface.
- vpcId String
- The ID of the VPC
ConnectionTrackingSpecificationResponse   
- TcpEstablished intTimeout 
- Property tcpEstablishedTimeout
- UdpStream intTimeout 
- Property udpStreamTimeout
- UdpTimeout int
- Property udpTimeout
- TcpEstablished intTimeout 
- Property tcpEstablishedTimeout
- UdpStream intTimeout 
- Property udpStreamTimeout
- UdpTimeout int
- Property udpTimeout
- tcpEstablished IntegerTimeout 
- Property tcpEstablishedTimeout
- udpStream IntegerTimeout 
- Property udpStreamTimeout
- udpTimeout Integer
- Property udpTimeout
- tcpEstablished numberTimeout 
- Property tcpEstablishedTimeout
- udpStream numberTimeout 
- Property udpStreamTimeout
- udpTimeout number
- Property udpTimeout
- tcp_established_ inttimeout 
- Property tcpEstablishedTimeout
- udp_stream_ inttimeout 
- Property udpStreamTimeout
- udp_timeout int
- Property udpTimeout
- tcpEstablished NumberTimeout 
- Property tcpEstablishedTimeout
- udpStream NumberTimeout 
- Property udpStreamTimeout
- udpTimeout Number
- Property udpTimeout
Ec2NetworkInterfacePropertiesResponse   
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Network Interface Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsEc2Network Interface Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsEc2Network Interface Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsEc2Network Interface Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- provisioning_state str
- The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsEc2Network Interface Properties Response 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
InstanceIpv6AddressResponse  
- Ipv6Address string
- Property ipv6Address
- IsPrimary boolIpv6 
- Ipv6Address string
- Property ipv6Address
- IsPrimary boolIpv6 
- ipv6Address String
- Property ipv6Address
- isPrimary BooleanIpv6 
- ipv6Address string
- Property ipv6Address
- isPrimary booleanIpv6 
- ipv6_address str
- Property ipv6Address
- is_primary_ boolipv6 
- ipv6Address String
- Property ipv6Address
- isPrimary BooleanIpv6 
Ipv4PrefixSpecificationResponse  
- Ipv4Prefix string
- Property ipv4Prefix
- Ipv4Prefix string
- Property ipv4Prefix
- ipv4Prefix String
- Property ipv4Prefix
- ipv4Prefix string
- Property ipv4Prefix
- ipv4_prefix str
- Property ipv4Prefix
- ipv4Prefix String
- Property ipv4Prefix
Ipv6PrefixSpecificationResponse  
- Ipv6Prefix string
- Property ipv6Prefix
- Ipv6Prefix string
- Property ipv6Prefix
- ipv6Prefix String
- Property ipv6Prefix
- ipv6Prefix string
- Property ipv6Prefix
- ipv6_prefix str
- Property ipv6Prefix
- ipv6Prefix String
- Property ipv6Prefix
PrivateIpAddressSpecificationResponse    
- Primary bool
- Property primary
- PrivateIp stringAddress 
- Property privateIpAddress
- Primary bool
- Property primary
- PrivateIp stringAddress 
- Property privateIpAddress
- primary Boolean
- Property primary
- privateIp StringAddress 
- Property privateIpAddress
- primary boolean
- Property primary
- privateIp stringAddress 
- Property privateIpAddress
- primary bool
- Property primary
- private_ip_ straddress 
- Property privateIpAddress
- primary Boolean
- Property primary
- privateIp StringAddress 
- Property privateIpAddress
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TagResponse 
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi