Show / Hide Table of Contents

Class GetNetworkInterface

Inheritance
System.Object
GetNetworkInterface
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public static class GetNetworkInterface

Methods

View Source

InvokeAsync(GetNetworkInterfaceArgs, InvokeOptions)

Use this data source to get information about a Network Interface.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var bar = Output.Create(Aws.Ec2.GetNetworkInterface.InvokeAsync(new Aws.Ec2.GetNetworkInterfaceArgs
    {
        Id = "eni-01234567",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetNetworkInterfaceResult> InvokeAsync(GetNetworkInterfaceArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetNetworkInterfaceArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetNetworkInterfaceResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.