import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Network Interface. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getNetworkInterface({ * name: "acctest-nic", * resourceGroupName: "networking", * }); * export const networkInterfaceId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetworkInterface. */ export interface GetNetworkInterfaceArgs { /** * Specifies the name of the Network Interface. */ name: string; /** * Specifies the name of the resource group the Network Interface is located in. */ resourceGroupName: string; } /** * A collection of values returned by getNetworkInterface. */ export interface GetNetworkInterfaceResult { /** * Indicates if accelerated networking is set on the specified Network Interface. */ readonly acceleratedNetworkingEnabled: boolean; /** * List of DNS servers applied to the specified Network Interface. */ readonly appliedDnsServers: string[]; /** * The list of DNS servers used by the specified Network Interface. */ readonly dnsServers: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The internal DNS name label of the specified Network Interface. */ readonly internalDnsNameLabel: string; /** * One or more `ipConfiguration` blocks as defined below. */ readonly ipConfigurations: outputs.network.GetNetworkInterfaceIpConfiguration[]; /** * Indicate if IP forwarding is set on the specified Network Interface. */ readonly ipForwardingEnabled: boolean; /** * The location of the specified Network Interface. */ readonly location: string; /** * The MAC address used by the specified Network Interface. */ readonly macAddress: string; /** * The name of the IP Configuration. */ readonly name: string; /** * The ID of the network security group associated to the specified Network Interface. */ readonly networkSecurityGroupId: string; /** * The Private IP Address assigned to this Network Interface. */ readonly privateIpAddress: string; /** * The list of private IP addresses associates to the specified Network Interface. */ readonly privateIpAddresses: string[]; readonly resourceGroupName: string; /** * List the tags associated to the specified Network Interface. */ readonly tags: { [key: string]: string; }; /** * The ID of the virtual machine that the specified Network Interface is attached to. */ readonly virtualMachineId: string; } /** * Use this data source to access information about an existing Network Interface. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getNetworkInterface({ * name: "acctest-nic", * resourceGroupName: "networking", * }); * export const networkInterfaceId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNetworkInterface. */ export interface GetNetworkInterfaceOutputArgs { /** * Specifies the name of the Network Interface. */ name: pulumi.Input; /** * Specifies the name of the resource group the Network Interface is located in. */ resourceGroupName: pulumi.Input; }