1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. getEcsNetworkInterfaces
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.ecs.getEcsNetworkInterfaces

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    This data source provides the Ecs Network Interfaces of the current Alibaba Cloud user.

    NOTE: Available in v1.123.1+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = alicloud.ecs.getEcsNetworkInterfaces({
        ids: ["eni-abcd1234"],
        nameRegex: "tf-testAcc",
    });
    export const firstEcsNetworkInterfaceId = example.then(example => example.interfaces?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.ecs.get_ecs_network_interfaces(ids=["eni-abcd1234"],
        name_regex="tf-testAcc")
    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{
    			Ids: []string{
    				"eni-abcd1234",
    			},
    			NameRegex: pulumi.StringRef("tf-testAcc"),
    		}, 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()
        {
            Ids = new[]
            {
                "eni-abcd1234",
            },
            NameRegex = "tf-testAcc",
        });
    
        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()
                .ids("eni-abcd1234")
                .nameRegex("tf-testAcc")
                .build());
    
            ctx.export("firstEcsNetworkInterfaceId", example.applyValue(getEcsNetworkInterfacesResult -> getEcsNetworkInterfacesResult.interfaces()[0].id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: alicloud:ecs:getEcsNetworkInterfaces
          Arguments:
            ids:
              - eni-abcd1234
            nameRegex: tf-testAcc
    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, Any]] = 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, Any]]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:ecs/getEcsNetworkInterfaces:getEcsNetworkInterfaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of Network Interface IDs.
    InstanceId string
    The instance id.
    Name string
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    NameRegex string
    A regex string to filter results by Network Interface name.
    NetworkInterfaceName string
    The network interface name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PrimaryIpAddress string
    The primary private IP address of the ENI.
    PrivateIp string
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    ResourceGroupId string
    The resource group id.
    SecurityGroupId string
    The security group id.
    ServiceManaged bool
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    Status string
    The status of the ENI.
    Tags Dictionary<string, object>
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    Ids []string
    A list of Network Interface IDs.
    InstanceId string
    The instance id.
    Name string
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    NameRegex string
    A regex string to filter results by Network Interface name.
    NetworkInterfaceName string
    The network interface name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PrimaryIpAddress string
    The primary private IP address of the ENI.
    PrivateIp string
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    ResourceGroupId string
    The resource group id.
    SecurityGroupId string
    The security group id.
    ServiceManaged bool
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    Status string
    The status of the ENI.
    Tags map[string]interface{}
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    ids List<String>
    A list of Network Interface IDs.
    instanceId String
    The instance id.
    name String
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex String
    A regex string to filter results by Network Interface name.
    networkInterfaceName String
    The network interface name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    primaryIpAddress String
    The primary private IP address of the ENI.
    privateIp String
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId String
    The resource group id.
    securityGroupId String
    The security group id.
    serviceManaged Boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status String
    The status of the ENI.
    tags Map<String,Object>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId String
    The vswitch id.
    ids string[]
    A list of Network Interface IDs.
    instanceId string
    The instance id.
    name string
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex string
    A regex string to filter results by Network Interface name.
    networkInterfaceName string
    The network interface name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    primaryIpAddress string
    The primary private IP address of the ENI.
    privateIp string
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId string
    The resource group id.
    securityGroupId string
    The security group id.
    serviceManaged boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status string
    The status of the ENI.
    tags {[key: string]: any}
    The tags.
    type string
    The type of the ENI.
    vpcId string
    The Vpc Id.
    vswitchId string
    The vswitch id.
    ids Sequence[str]
    A list of Network Interface IDs.
    instance_id str
    The instance id.
    name str
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    name_regex str
    A regex string to filter results by Network Interface name.
    network_interface_name str
    The network interface name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    primary_ip_address str
    The primary private IP address of the ENI.
    private_ip str
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resource_group_id str
    The resource group id.
    security_group_id str
    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 the ENI.
    tags Mapping[str, Any]
    The tags.
    type str
    The type of the ENI.
    vpc_id str
    The Vpc Id.
    vswitch_id str
    The vswitch id.
    ids List<String>
    A list of Network Interface IDs.
    instanceId String
    The instance id.
    name String
    The network interface name.

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex String
    A regex string to filter results by Network Interface name.
    networkInterfaceName String
    The network interface name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    primaryIpAddress String
    The primary private IP address of the ENI.
    privateIp String
    The primary private IP address of the ENI.

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId String
    The resource group id.
    securityGroupId String
    The security group id.
    serviceManaged Boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status String
    The status of the ENI.
    tags Map<Any>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId 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.AliCloud.Ecs.Outputs.GetEcsNetworkInterfacesInterface>
    Names List<string>
    InstanceId string
    Name string

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    NameRegex string
    NetworkInterfaceName string
    OutputFile string
    PrimaryIpAddress string
    PrivateIp string

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    ResourceGroupId string
    SecurityGroupId string
    ServiceManaged bool
    Status string
    Tags Dictionary<string, object>
    Type string
    VpcId string
    VswitchId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Interfaces []GetEcsNetworkInterfacesInterface
    Names []string
    InstanceId string
    Name string

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    NameRegex string
    NetworkInterfaceName string
    OutputFile string
    PrimaryIpAddress string
    PrivateIp string

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    ResourceGroupId string
    SecurityGroupId string
    ServiceManaged bool
    Status string
    Tags map[string]interface{}
    Type string
    VpcId string
    VswitchId string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    interfaces List<GetEcsNetworkInterfacesInterface>
    names List<String>
    instanceId String
    name String

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex String
    networkInterfaceName String
    outputFile String
    primaryIpAddress String
    privateIp String

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId String
    securityGroupId String
    serviceManaged Boolean
    status String
    tags Map<String,Object>
    type String
    vpcId String
    vswitchId String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    interfaces GetEcsNetworkInterfacesInterface[]
    names string[]
    instanceId string
    name string

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex string
    networkInterfaceName string
    outputFile string
    primaryIpAddress string
    privateIp string

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId string
    securityGroupId string
    serviceManaged boolean
    status string
    tags {[key: string]: any}
    type string
    vpcId string
    vswitchId string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    interfaces Sequence[GetEcsNetworkInterfacesInterface]
    names Sequence[str]
    instance_id str
    name str

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    name_regex str
    network_interface_name str
    output_file str
    primary_ip_address str
    private_ip str

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resource_group_id str
    security_group_id str
    service_managed bool
    status str
    tags Mapping[str, Any]
    type str
    vpc_id str
    vswitch_id str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    interfaces List<Property Map>
    names List<String>
    instanceId String
    name String

    Deprecated:Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead

    nameRegex String
    networkInterfaceName String
    outputFile String
    primaryIpAddress String
    privateIp String

    Deprecated:Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead

    resourceGroupId String
    securityGroupId String
    serviceManaged Boolean
    status String
    tags Map<Any>
    type String
    vpcId String
    vswitchId String

    Supporting Types

    GetEcsNetworkInterfacesInterface

    AssociatedPublicIps List<Pulumi.AliCloud.Ecs.Inputs.GetEcsNetworkInterfacesInterfaceAssociatedPublicIp>
    The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
    CreationTime string
    The creation time.
    Description string
    The description of the ENI.
    Id string
    The ID of the Network Interface.
    InstanceId string
    The instance id.
    Mac string
    The MAC address of the ENI.
    Name string
    The network interface name.
    NetworkInterfaceId string
    The network interface id.
    NetworkInterfaceName string
    The network interface name.
    NetworkInterfaceTrafficMode string
    The communication mode of the elastic network card.
    OwnerId string
    The ID of the account to which the ENIC belongs.
    PrimaryIpAddress string
    The primary private IP address of the ENI.
    PrivateIp string
    The primary private IP address of the ENI.
    PrivateIpAddresses List<string>
    PrivateIps List<string>
    A list of secondary private IP address that is assigned to the ENI.
    QueueNumber int
    Number of network card queues.
    ResourceGroupId string
    The resource group id.
    SecurityGroupIds List<string>
    The security group ids.
    SecurityGroups List<string>
    The security groups.
    ServiceId int
    The service id.
    ServiceManaged bool
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    Status string
    The status of the ENI.
    Tags Dictionary<string, object>
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    ZoneId string
    The zone id.
    AssociatedPublicIps []GetEcsNetworkInterfacesInterfaceAssociatedPublicIp
    The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
    CreationTime string
    The creation time.
    Description string
    The description of the ENI.
    Id string
    The ID of the Network Interface.
    InstanceId string
    The instance id.
    Mac string
    The MAC address of the ENI.
    Name string
    The network interface name.
    NetworkInterfaceId string
    The network interface id.
    NetworkInterfaceName string
    The network interface name.
    NetworkInterfaceTrafficMode string
    The communication mode of the elastic network card.
    OwnerId string
    The ID of the account to which the ENIC belongs.
    PrimaryIpAddress string
    The primary private IP address of the ENI.
    PrivateIp string
    The primary private IP address of the ENI.
    PrivateIpAddresses []string
    PrivateIps []string
    A list of secondary private IP address that is assigned to the ENI.
    QueueNumber int
    Number of network card queues.
    ResourceGroupId string
    The resource group id.
    SecurityGroupIds []string
    The security group ids.
    SecurityGroups []string
    The security groups.
    ServiceId int
    The service id.
    ServiceManaged bool
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    Status string
    The status of the ENI.
    Tags map[string]interface{}
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    ZoneId string
    The zone id.
    associatedPublicIps List<GetEcsNetworkInterfacesInterfaceAssociatedPublicIp>
    The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
    creationTime String
    The creation time.
    description String
    The description of the ENI.
    id String
    The ID of the Network Interface.
    instanceId String
    The instance id.
    mac String
    The MAC address of the ENI.
    name String
    The network interface name.
    networkInterfaceId String
    The network interface id.
    networkInterfaceName String
    The network interface name.
    networkInterfaceTrafficMode String
    The communication mode of the elastic network card.
    ownerId String
    The ID of the account to which the ENIC belongs.
    primaryIpAddress String
    The primary private IP address of the ENI.
    privateIp String
    The primary private IP address of the ENI.
    privateIpAddresses List<String>
    privateIps List<String>
    A list of secondary private IP address that is assigned to the ENI.
    queueNumber Integer
    Number of network card queues.
    resourceGroupId String
    The resource group id.
    securityGroupIds List<String>
    The security group ids.
    securityGroups List<String>
    The security groups.
    serviceId Integer
    The service id.
    serviceManaged Boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status String
    The status of the ENI.
    tags Map<String,Object>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId String
    The vswitch id.
    zoneId String
    The zone id.
    associatedPublicIps GetEcsNetworkInterfacesInterfaceAssociatedPublicIp[]
    The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
    creationTime string
    The creation time.
    description string
    The description of the ENI.
    id string
    The ID of the Network Interface.
    instanceId string
    The instance id.
    mac string
    The MAC address of the ENI.
    name string
    The network interface name.
    networkInterfaceId string
    The network interface id.
    networkInterfaceName string
    The network interface name.
    networkInterfaceTrafficMode string
    The communication mode of the elastic network card.
    ownerId string
    The ID of the account to which the ENIC belongs.
    primaryIpAddress string
    The primary private IP address of the ENI.
    privateIp string
    The primary private IP address of the ENI.
    privateIpAddresses string[]
    privateIps string[]
    A list of secondary private IP address that is assigned to the ENI.
    queueNumber number
    Number of network card queues.
    resourceGroupId string
    The resource group id.
    securityGroupIds string[]
    The security group ids.
    securityGroups string[]
    The security groups.
    serviceId number
    The service id.
    serviceManaged boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status string
    The status of the ENI.
    tags {[key: string]: any}
    The tags.
    type string
    The type of the ENI.
    vpcId string
    The Vpc Id.
    vswitchId string
    The vswitch id.
    zoneId string
    The zone id.
    associated_public_ips Sequence[GetEcsNetworkInterfacesInterfaceAssociatedPublicIp]
    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.
    mac str
    The MAC address of the ENI.
    name str
    The network interface name.
    network_interface_id str
    The network interface id.
    network_interface_name str
    The network interface name.
    network_interface_traffic_mode str
    The communication mode of the elastic network card.
    owner_id str
    The ID of the account to which the ENIC belongs.
    primary_ip_address str
    The primary private IP address of the ENI.
    private_ip str
    The primary private IP address of the ENI.
    private_ip_addresses Sequence[str]
    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_id str
    The resource group id.
    security_group_ids Sequence[str]
    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 the ENI.
    tags Mapping[str, Any]
    The tags.
    type str
    The type of the ENI.
    vpc_id str
    The Vpc Id.
    vswitch_id str
    The vswitch id.
    zone_id str
    The zone id.
    associatedPublicIps List<Property Map>
    The EIP associated with the secondary private IP address of the ENI. NOTE: Available in v1.163.0+.
    creationTime String
    The creation time.
    description String
    The description of the ENI.
    id String
    The ID of the Network Interface.
    instanceId String
    The instance id.
    mac String
    The MAC address of the ENI.
    name String
    The network interface name.
    networkInterfaceId String
    The network interface id.
    networkInterfaceName String
    The network interface name.
    networkInterfaceTrafficMode String
    The communication mode of the elastic network card.
    ownerId String
    The ID of the account to which the ENIC belongs.
    primaryIpAddress String
    The primary private IP address of the ENI.
    privateIp String
    The primary private IP address of the ENI.
    privateIpAddresses List<String>
    privateIps List<String>
    A list of secondary private IP address that is assigned to the ENI.
    queueNumber Number
    Number of network card queues.
    resourceGroupId String
    The resource group id.
    securityGroupIds List<String>
    The security group ids.
    securityGroups List<String>
    The security groups.
    serviceId Number
    The service id.
    serviceManaged Boolean
    Whether the user of the elastic network card is a cloud product or a virtual vendor.
    status String
    The status of the ENI.
    tags Map<Any>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId String
    The vswitch id.
    zoneId String
    The zone id.

    GetEcsNetworkInterfacesInterfaceAssociatedPublicIp

    PublicIpAddress string
    The EIP of the ENI.
    PublicIpAddress string
    The EIP of the ENI.
    publicIpAddress String
    The EIP of the ENI.
    publicIpAddress string
    The EIP of the ENI.
    public_ip_address str
    The EIP of the ENI.
    publicIpAddress String
    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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi