@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get the Network Interface resource details.
*
* Uses Azure REST API version 2023-06-15.
*
* Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native managednetworkfabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkInterfaceResult>;
export interface GetNetworkInterfaceArgs {
/**
* Name of the Network Device.
*/
networkDeviceName: string;
/**
* Name of the Network Interface.
*/
networkInterfaceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Defines the NetworkInterface resource.
*/
export interface GetNetworkInterfaceResult {
/**
* Administrative state of the resource.
*/
readonly administrativeState: string;
/**
* Switch configuration description.
*/
readonly annotation?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The ARM resource id of the interface or compute server its connected to.
*/
readonly connectedTo: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The Interface Type. Example: Management/Data
*/
readonly interfaceType: string;
/**
* IPv4Address of the interface.
*/
readonly ipv4Address: string;
/**
* IPv6Address of the interface.
*/
readonly ipv6Address: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Physical Identifier of the network interface.
*/
readonly physicalIdentifier: string;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.managednetworkfabric.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get the Network Interface resource details.
*
* Uses Azure REST API version 2023-06-15.
*
* Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native managednetworkfabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkInterfaceResult>;
export interface GetNetworkInterfaceOutputArgs {
/**
* Name of the Network Device.
*/
networkDeviceName: pulumi.Input<string>;
/**
* Name of the Network Interface.
*/
networkInterfaceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}