1. Packages
  2. Alicloud Provider
  3. API Docs
  4. ecs
  5. getEcsNetworkInterfaces
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.ecs.getEcsNetworkInterfaces

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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.applyValue(getEcsNetworkInterfacesResult -> getEcsNetworkInterfacesResult.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)
    // 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
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    Tags Dictionary<string, string>
    A map of tags assigned to ENIs.
    Type string
    The type of ENI. Valid Values: Primary, Secondary.
    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
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    Tags map[string]string
    A map of tags assigned to ENIs.
    Type string
    The type of ENI. Valid Values: Primary, Secondary.
    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
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags Map<String,String>
    A map of tags assigned to ENIs.
    type String
    The type of ENI. Valid Values: Primary, Secondary.
    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
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags {[key: string]: string}
    A map of tags assigned to ENIs.
    type string
    The type of ENI. Valid Values: Primary, Secondary.
    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
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags 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.
    instanceId String
    The instance id.
    name String
    Field name has been deprecated from provider version 1.123.1. New field network_interface_name instead

    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead

    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags Map<String>
    A map of tags assigned to ENIs.
    type String
    The type of ENI. Valid Values: Primary, Secondary.
    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>
    A list of Ecs Network Interfaces. Each element contains the following attributes:
    Names List<string>
    A list of Network Interface names.
    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
    NetworkInterfaceName string
    The network interface name.
    OutputFile string
    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
    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, string>
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Interfaces []GetEcsNetworkInterfacesInterface
    A list of Ecs Network Interfaces. Each element contains the following attributes:
    Names []string
    A list of Network Interface names.
    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
    NetworkInterfaceName string
    The network interface name.
    OutputFile string
    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
    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]string
    The tags.
    Type string
    The type of the ENI.
    VpcId string
    The Vpc Id.
    VswitchId string
    The vswitch id.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    interfaces List<GetEcsNetworkInterfacesInterface>
    A list of Ecs Network Interfaces. Each element contains the following attributes:
    names List<String>
    A list of Network Interface names.
    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
    networkInterfaceName String
    The network interface name.
    outputFile String
    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
    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,String>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId String
    The vswitch id.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    interfaces GetEcsNetworkInterfacesInterface[]
    A list of Ecs Network Interfaces. Each element contains the following attributes:
    names string[]
    A list of Network Interface names.
    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
    networkInterfaceName string
    The network interface name.
    outputFile string
    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
    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]: string}
    The tags.
    type string
    The type of the ENI.
    vpcId string
    The Vpc Id.
    vswitchId string
    The vswitch id.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    interfaces Sequence[GetEcsNetworkInterfacesInterface]
    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.

    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
    The network interface name.
    output_file str
    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
    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, 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.
    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
    networkInterfaceName String
    The network interface name.
    outputFile String
    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
    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>
    The tags.
    type String
    The type of the ENI.
    vpcId String
    The Vpc Id.
    vswitchId String
    The vswitch id.

    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    PrivateIpAddresses List<string>
    A list of secondary private IP address that is assigned to the ENI.
    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    Tags Dictionary<string, string>
    A map of tags assigned to ENIs.
    Type string
    The type of ENI. Valid Values: Primary, Secondary.
    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    PrivateIpAddresses []string
    A list of secondary private IP address that is assigned to the ENI.
    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    Tags map[string]string
    A map of tags assigned to ENIs.
    Type string
    The type of ENI. Valid Values: Primary, Secondary.
    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    privateIpAddresses List<String>
    A list of secondary private IP address that is assigned to the ENI.
    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags Map<String,String>
    A map of tags assigned to ENIs.
    type String
    The type of ENI. Valid Values: Primary, Secondary.
    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    privateIpAddresses string[]
    A list of secondary private IP address that is assigned to the ENI.
    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags {[key: string]: string}
    A map of tags assigned to ENIs.
    type string
    The type of ENI. Valid Values: Primary, Secondary.
    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    private_ip_addresses Sequence[str]
    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_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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags 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.
    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.
    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 name has been deprecated from provider version 1.123.1. New field network_interface_name instead
    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
    Field private_ip has been deprecated from provider version 1.123.1. New field primary_ip_address instead
    privateIpAddresses List<String>
    A list of secondary private IP address that is assigned to the ENI.
    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 ENI. Valid Values: Attaching, Available, CreateFailed, Creating, Deleting, Detaching, InUse, Linked, Linking, Unlinking.
    tags Map<String>
    A map of tags assigned to ENIs.
    type String
    The type of ENI. Valid Values: Primary, Secondary.
    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.62.1 published on Monday, Sep 16, 2024 by Pulumi