GetNetworkInterfaces

Using GetNetworkInterfaces

function getNetworkInterfaces(args: GetNetworkInterfacesArgs, opts?: InvokeOptions): Promise<GetNetworkInterfacesResult>
function  get_network_interfaces(filters=None, tags=None, opts=None)
func GetNetworkInterfaces(ctx *Context, args *GetNetworkInterfacesArgs, opts ...InvokeOption) (*GetNetworkInterfacesResult, error)
public static class GetNetworkInterfaces {
    public static Task<GetNetworkInterfacesResult> InvokeAsync(GetNetworkInterfacesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filters List<GetNetworkInterfacesFilterArgs>

Custom filter block as described below.

Tags Dictionary<string, string>

A map of tags, each pair of which must exactly match a pair on the desired network interfaces.

Filters []GetNetworkInterfacesFilter

Custom filter block as described below.

Tags map[string]string

A map of tags, each pair of which must exactly match a pair on the desired network interfaces.

filters GetNetworkInterfacesFilter[]

Custom filter block as described below.

tags {[key: string]: string}

A map of tags, each pair of which must exactly match a pair on the desired network interfaces.

filters List[GetNetworkInterfacesFilter]

Custom filter block as described below.

tags Dict[str, str]

A map of tags, each pair of which must exactly match a pair on the desired network interfaces.

GetNetworkInterfaces Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of all the network interface ids found. This data source will fail if none are found.

Tags Dictionary<string, string>
Filters List<GetNetworkInterfacesFilter>
Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of all the network interface ids found. This data source will fail if none are found.

Tags map[string]string
Filters []GetNetworkInterfacesFilter
id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of all the network interface ids found. This data source will fail if none are found.

tags {[key: string]: string}
filters GetNetworkInterfacesFilter[]
id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of all the network interface ids found. This data source will fail if none are found.

tags Dict[str, str]
filters List[GetNetworkInterfacesFilter]

Supporting Types

GetNetworkInterfacesFilter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The name of the field to filter by, as defined by the underlying AWS API.

Values List<string>

Set of values that are accepted for the given field.

Name string

The name of the field to filter by, as defined by the underlying AWS API.

Values []string

Set of values that are accepted for the given field.

name string

The name of the field to filter by, as defined by the underlying AWS API.

values string[]

Set of values that are accepted for the given field.

name str

The name of the field to filter by, as defined by the underlying AWS API.

values List[str]

Set of values that are accepted for the given field.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.