Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.ecs.getEcsNetworkInterfaces
This data source provides the Ecs Network Interfaces of the current Alibaba Cloud user.
NOTE: Available since v1.123.1.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = alicloud.ecs.getEcsNetworkInterfaces({
nameRegex: "eni-ipv6",
});
export const firstEcsNetworkInterfaceId = example.then(example => example.interfaces?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ecs.get_ecs_network_interfaces(name_regex="eni-ipv6")
pulumi.export("firstEcsNetworkInterfaceId", example.interfaces[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ecs.GetEcsNetworkInterfaces(ctx, &ecs.GetEcsNetworkInterfacesArgs{
NameRegex: pulumi.StringRef("eni-ipv6"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstEcsNetworkInterfaceId", example.Interfaces[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Ecs.GetEcsNetworkInterfaces.Invoke(new()
{
NameRegex = "eni-ipv6",
});
return new Dictionary<string, object?>
{
["firstEcsNetworkInterfaceId"] = example.Apply(getEcsNetworkInterfacesResult => getEcsNetworkInterfacesResult.Interfaces[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetEcsNetworkInterfacesArgs;
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) {
final var example = EcsFunctions.getEcsNetworkInterfaces(GetEcsNetworkInterfacesArgs.builder()
.nameRegex("eni-ipv6")
.build());
ctx.export("firstEcsNetworkInterfaceId", example.interfaces()[0].id());
}
}
variables:
example:
fn::invoke:
function: alicloud:ecs:getEcsNetworkInterfaces
arguments:
nameRegex: eni-ipv6
outputs:
firstEcsNetworkInterfaceId: ${example.interfaces[0].id}
Using getEcsNetworkInterfaces
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 getEcsNetworkInterfaces(args: GetEcsNetworkInterfacesArgs, opts?: InvokeOptions): Promise<GetEcsNetworkInterfacesResult>
function getEcsNetworkInterfacesOutput(args: GetEcsNetworkInterfacesOutputArgs, opts?: InvokeOptions): Output<GetEcsNetworkInterfacesResult>def get_ecs_network_interfaces(ids: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
network_interface_name: Optional[str] = None,
output_file: Optional[str] = None,
primary_ip_address: Optional[str] = None,
private_ip: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_group_id: Optional[str] = None,
service_managed: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEcsNetworkInterfacesResult
def get_ecs_network_interfaces_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
network_interface_name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
primary_ip_address: Optional[pulumi.Input[str]] = None,
private_ip: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
service_managed: Optional[pulumi.Input[bool]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
type: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEcsNetworkInterfacesResult]func GetEcsNetworkInterfaces(ctx *Context, args *GetEcsNetworkInterfacesArgs, opts ...InvokeOption) (*GetEcsNetworkInterfacesResult, error)
func GetEcsNetworkInterfacesOutput(ctx *Context, args *GetEcsNetworkInterfacesOutputArgs, opts ...InvokeOption) GetEcsNetworkInterfacesResultOutput> Note: This function is named GetEcsNetworkInterfaces in the Go SDK.
public static class GetEcsNetworkInterfaces
{
public static Task<GetEcsNetworkInterfacesResult> InvokeAsync(GetEcsNetworkInterfacesArgs args, InvokeOptions? opts = null)
public static Output<GetEcsNetworkInterfacesResult> Invoke(GetEcsNetworkInterfacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEcsNetworkInterfacesResult> getEcsNetworkInterfaces(GetEcsNetworkInterfacesArgs args, InvokeOptions options)
public static Output<GetEcsNetworkInterfacesResult> getEcsNetworkInterfaces(GetEcsNetworkInterfacesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ecs/getEcsNetworkInterfaces:getEcsNetworkInterfaces
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Network Interface IDs.
- Instance
Id string - The instance id.
- Name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - Name
Regex string - A regex string to filter results by Network Interface name.
- Network
Interface stringName - The network interface name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - Resource
Group stringId - The resource group id.
- Security
Group stringId - The security group id.
- Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Dictionary<string, string>
- A map of tags assigned to ENIs.
- Type string
- The type of ENI. Valid Values:
Primary,Secondary. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id.
- Ids []string
- A list of Network Interface IDs.
- Instance
Id string - The instance id.
- Name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - Name
Regex string - A regex string to filter results by Network Interface name.
- Network
Interface stringName - The network interface name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - Resource
Group stringId - The resource group id.
- Security
Group stringId - The security group id.
- Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - map[string]string
- A map of tags assigned to ENIs.
- Type string
- The type of ENI. Valid Values:
Primary,Secondary. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id.
- ids List<String>
- A list of Network Interface IDs.
- instance
Id String - The instance id.
- name String
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - name
Regex String - A regex string to filter results by Network Interface name.
- network
Interface StringName - The network interface name.
- output
File String - File name where to save data source results (after running
pulumi preview). - primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - resource
Group StringId - The resource group id.
- security
Group StringId - The security group id.
- service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Map<String,String>
- A map of tags assigned to ENIs.
- type String
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id.
- ids string[]
- A list of Network Interface IDs.
- instance
Id string - The instance id.
- name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - name
Regex string - A regex string to filter results by Network Interface name.
- network
Interface stringName - The network interface name.
- output
File string - File name where to save data source results (after running
pulumi preview). - primary
Ip stringAddress - The primary private IP address of the ENI.
- private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - resource
Group stringId - The resource group id.
- security
Group stringId - The security group id.
- service
Managed boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - {[key: string]: string}
- A map of tags assigned to ENIs.
- type string
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id string - The vpc id.
- vswitch
Id string - The vswitch id.
- ids Sequence[str]
- A list of Network Interface IDs.
- instance_
id str - The instance id.
- name str
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - name_
regex str - A regex string to filter results by Network Interface name.
- network_
interface_ strname - The network interface name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - primary_
ip_ straddress - The primary private IP address of the ENI.
- private_
ip str - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - resource_
group_ strid - The resource group id.
- security_
group_ strid - The security group id.
- service_
managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status str
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Mapping[str, str]
- A map of tags assigned to ENIs.
- type str
- The type of ENI. Valid Values:
Primary,Secondary. - vpc_
id str - The vpc id.
- vswitch_
id str - The vswitch id.
- ids List<String>
- A list of Network Interface IDs.
- instance
Id String - The instance id.
- name String
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - name
Regex String - A regex string to filter results by Network Interface name.
- network
Interface StringName - The network interface name.
- output
File String - File name where to save data source results (after running
pulumi preview). - primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - resource
Group StringId - The resource group id.
- security
Group StringId - The security group id.
- service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Map<String>
- A map of tags assigned to ENIs.
- type String
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id.
getEcsNetworkInterfaces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Interfaces
List<Pulumi.
Ali Cloud. Ecs. Outputs. Get Ecs Network Interfaces Interface> - A list of Ecs Network Interfaces. Each element contains the following attributes:
- Names List<string>
- A list of Network Interface names.
- Instance
Id string - The instance id.
- Name string
- The network interface name.
- Name
Regex string - Network
Interface stringName - The network interface name.
- Output
File string - Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - The primary private IP address of the ENI.
- Resource
Group stringId - The resource group id.
- Security
Group stringId - Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of the ENI.
- Dictionary<string, string>
- The tags.
- Type string
- The type of the ENI.
- Vpc
Id string - The Vpc Id.
- Vswitch
Id string - The vswitch id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Interfaces
[]Get
Ecs Network Interfaces Interface - A list of Ecs Network Interfaces. Each element contains the following attributes:
- Names []string
- A list of Network Interface names.
- Instance
Id string - The instance id.
- Name string
- The network interface name.
- Name
Regex string - Network
Interface stringName - The network interface name.
- Output
File string - Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - The primary private IP address of the ENI.
- Resource
Group stringId - The resource group id.
- Security
Group stringId - Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of the ENI.
- map[string]string
- The tags.
- Type string
- The type of the ENI.
- Vpc
Id string - The Vpc Id.
- Vswitch
Id string - The vswitch id.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- interfaces
List<Get
Ecs Network Interfaces Interface> - A list of Ecs Network Interfaces. Each element contains the following attributes:
- names List<String>
- A list of Network Interface names.
- instance
Id String - The instance id.
- name String
- The network interface name.
- name
Regex String - network
Interface StringName - The network interface name.
- output
File String - primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - The primary private IP address of the ENI.
- resource
Group StringId - The resource group id.
- security
Group StringId - service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of the ENI.
- Map<String,String>
- The tags.
- type String
- The type of the ENI.
- vpc
Id String - The Vpc Id.
- vswitch
Id String - The vswitch id.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- interfaces
Get
Ecs Network Interfaces Interface[] - A list of Ecs Network Interfaces. Each element contains the following attributes:
- names string[]
- A list of Network Interface names.
- instance
Id string - The instance id.
- name string
- The network interface name.
- name
Regex string - network
Interface stringName - The network interface name.
- output
File string - primary
Ip stringAddress - The primary private IP address of the ENI.
- private
Ip string - The primary private IP address of the ENI.
- resource
Group stringId - The resource group id.
- security
Group stringId - service
Managed boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status string
- The status of the ENI.
- {[key: string]: string}
- The tags.
- type string
- The type of the ENI.
- vpc
Id string - The Vpc Id.
- vswitch
Id string - The vswitch id.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- interfaces
Sequence[Get
Ecs Network Interfaces Interface] - A list of Ecs Network Interfaces. Each element contains the following attributes:
- names Sequence[str]
- A list of Network Interface names.
- instance_
id str - The instance id.
- name str
- The network interface name.
- name_
regex str - network_
interface_ strname - The network interface name.
- output_
file str - primary_
ip_ straddress - The primary private IP address of the ENI.
- private_
ip str - The primary private IP address of the ENI.
- resource_
group_ strid - The resource group id.
- security_
group_ strid - service_
managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status str
- The status of the ENI.
- Mapping[str, str]
- The tags.
- type str
- The type of the ENI.
- vpc_
id str - The Vpc Id.
- vswitch_
id str - The vswitch id.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- interfaces List<Property Map>
- A list of Ecs Network Interfaces. Each element contains the following attributes:
- names List<String>
- A list of Network Interface names.
- instance
Id String - The instance id.
- name String
- The network interface name.
- name
Regex String - network
Interface StringName - The network interface name.
- output
File String - primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - The primary private IP address of the ENI.
- resource
Group StringId - The resource group id.
- security
Group StringId - service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of the ENI.
- Map<String>
- The tags.
- type String
- The type of the ENI.
- vpc
Id String - The Vpc Id.
- vswitch
Id String - The vswitch id.
Supporting Types
GetEcsNetworkInterfacesInterface
- Associated
Public List<Pulumi.Ips Ali Cloud. Ecs. Inputs. Get Ecs Network Interfaces Interface Associated Public Ip> - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- Creation
Time string - The creation time.
- Description string
- The description of the ENI.
- Id string
- The ID of the Network Interface.
- Instance
Id string - The instance id.
- Ipv6Sets List<string>
- A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- Mac string
- The MAC address of the ENI.
- Name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - Network
Interface stringId - The network interface id.
- Network
Interface stringName - The network interface name.
- Network
Interface stringTraffic Mode - The communication mode of the elastic network card.
- Owner
Id string - The ID of the account to which the ENIC belongs.
- Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - Private
Ip List<string>Addresses - A list of secondary private IP address that is assigned to the ENI.
- Private
Ips List<string> - A list of secondary private IP address that is assigned to the ENI.
- Queue
Number int - Number of network card queues.
- Resource
Group stringId - The resource group id.
- Security
Group List<string>Ids - The security group ids.
- Security
Groups List<string> - The security groups.
- Service
Id int - The service id.
- Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Dictionary<string, string>
- A map of tags assigned to ENIs.
- Type string
- The type of ENI. Valid Values:
Primary,Secondary. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone id.
- Associated
Public []GetIps Ecs Network Interfaces Interface Associated Public Ip - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- Creation
Time string - The creation time.
- Description string
- The description of the ENI.
- Id string
- The ID of the Network Interface.
- Instance
Id string - The instance id.
- Ipv6Sets []string
- A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- Mac string
- The MAC address of the ENI.
- Name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - Network
Interface stringId - The network interface id.
- Network
Interface stringName - The network interface name.
- Network
Interface stringTraffic Mode - The communication mode of the elastic network card.
- Owner
Id string - The ID of the account to which the ENIC belongs.
- Primary
Ip stringAddress - The primary private IP address of the ENI.
- Private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - Private
Ip []stringAddresses - A list of secondary private IP address that is assigned to the ENI.
- Private
Ips []string - A list of secondary private IP address that is assigned to the ENI.
- Queue
Number int - Number of network card queues.
- Resource
Group stringId - The resource group id.
- Security
Group []stringIds - The security group ids.
- Security
Groups []string - The security groups.
- Service
Id int - The service id.
- Service
Managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- Status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - map[string]string
- A map of tags assigned to ENIs.
- Type string
- The type of ENI. Valid Values:
Primary,Secondary. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone id.
- associated
Public List<GetIps Ecs Network Interfaces Interface Associated Public Ip> - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- creation
Time String - The creation time.
- description String
- The description of the ENI.
- id String
- The ID of the Network Interface.
- instance
Id String - The instance id.
- ipv6Sets List<String>
- A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- mac String
- The MAC address of the ENI.
- name String
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - network
Interface StringId - The network interface id.
- network
Interface StringName - The network interface name.
- network
Interface StringTraffic Mode - The communication mode of the elastic network card.
- owner
Id String - The ID of the account to which the ENIC belongs.
- primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - private
Ip List<String>Addresses - A list of secondary private IP address that is assigned to the ENI.
- private
Ips List<String> - A list of secondary private IP address that is assigned to the ENI.
- queue
Number Integer - Number of network card queues.
- resource
Group StringId - The resource group id.
- security
Group List<String>Ids - The security group ids.
- security
Groups List<String> - The security groups.
- service
Id Integer - The service id.
- service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Map<String,String>
- A map of tags assigned to ENIs.
- type String
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id.
- zone
Id String - The zone id.
- associated
Public GetIps Ecs Network Interfaces Interface Associated Public Ip[] - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- creation
Time string - The creation time.
- description string
- The description of the ENI.
- id string
- The ID of the Network Interface.
- instance
Id string - The instance id.
- ipv6Sets string[]
- A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- mac string
- The MAC address of the ENI.
- name string
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - network
Interface stringId - The network interface id.
- network
Interface stringName - The network interface name.
- network
Interface stringTraffic Mode - The communication mode of the elastic network card.
- owner
Id string - The ID of the account to which the ENIC belongs.
- primary
Ip stringAddress - The primary private IP address of the ENI.
- private
Ip string - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - private
Ip string[]Addresses - A list of secondary private IP address that is assigned to the ENI.
- private
Ips string[] - A list of secondary private IP address that is assigned to the ENI.
- queue
Number number - Number of network card queues.
- resource
Group stringId - The resource group id.
- security
Group string[]Ids - The security group ids.
- security
Groups string[] - The security groups.
- service
Id number - The service id.
- service
Managed boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status string
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - {[key: string]: string}
- A map of tags assigned to ENIs.
- type string
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id string - The vpc id.
- vswitch
Id string - The vswitch id.
- zone
Id string - The zone id.
- associated_
public_ Sequence[Getips Ecs Network Interfaces Interface Associated Public Ip] - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- creation_
time str - The creation time.
- description str
- The description of the ENI.
- id str
- The ID of the Network Interface.
- instance_
id str - The instance id.
- ipv6_
sets Sequence[str] - A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- mac str
- The MAC address of the ENI.
- name str
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - network_
interface_ strid - The network interface id.
- network_
interface_ strname - The network interface name.
- network_
interface_ strtraffic_ mode - The communication mode of the elastic network card.
- owner_
id str - The ID of the account to which the ENIC belongs.
- primary_
ip_ straddress - The primary private IP address of the ENI.
- private_
ip str - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - private_
ip_ Sequence[str]addresses - A list of secondary private IP address that is assigned to the ENI.
- private_
ips Sequence[str] - A list of secondary private IP address that is assigned to the ENI.
- queue_
number int - Number of network card queues.
- resource_
group_ strid - The resource group id.
- security_
group_ Sequence[str]ids - The security group ids.
- security_
groups Sequence[str] - The security groups.
- service_
id int - The service id.
- service_
managed bool - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status str
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Mapping[str, str]
- A map of tags assigned to ENIs.
- type str
- The type of ENI. Valid Values:
Primary,Secondary. - vpc_
id str - The vpc id.
- vswitch_
id str - The vswitch id.
- zone_
id str - The zone id.
- associated
Public List<Property Map>Ips - The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
- creation
Time String - The creation time.
- description String
- The description of the ENI.
- id String
- The ID of the Network Interface.
- instance
Id String - The instance id.
- ipv6Sets List<String>
- A list of IPv6 addresses that is assigned to the ENI. NOTE: Available since v1.228.0.
- mac String
- The MAC address of the ENI.
- name String
- Field
namehas been deprecated from provider version 1.123.1. New fieldnetwork_interface_nameinstead - network
Interface StringId - The network interface id.
- network
Interface StringName - The network interface name.
- network
Interface StringTraffic Mode - The communication mode of the elastic network card.
- owner
Id String - The ID of the account to which the ENIC belongs.
- primary
Ip StringAddress - The primary private IP address of the ENI.
- private
Ip String - Field
private_iphas been deprecated from provider version 1.123.1. New fieldprimary_ip_addressinstead - private
Ip List<String>Addresses - A list of secondary private IP address that is assigned to the ENI.
- private
Ips List<String> - A list of secondary private IP address that is assigned to the ENI.
- queue
Number Number - Number of network card queues.
- resource
Group StringId - The resource group id.
- security
Group List<String>Ids - The security group ids.
- security
Groups List<String> - The security groups.
- service
Id Number - The service id.
- service
Managed Boolean - Whether the user of the elastic network card is a cloud product or a virtual vendor.
- status String
- The status of ENI. Valid Values:
Attaching,Available,CreateFailed,Creating,Deleting,Detaching,InUse,Linked,Linking,Unlinking. - Map<String>
- A map of tags assigned to ENIs.
- type String
- The type of ENI. Valid Values:
Primary,Secondary. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id.
- zone
Id String - The zone id.
GetEcsNetworkInterfacesInterfaceAssociatedPublicIp
- Public
Ip stringAddress - The EIP of the ENI.
- Public
Ip stringAddress - The EIP of the ENI.
- public
Ip StringAddress - The EIP of the ENI.
- public
Ip stringAddress - The EIP of the ENI.
- public_
ip_ straddress - The EIP of the ENI.
- public
Ip StringAddress - The EIP of the ENI.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
