@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get the running status of the Network Interface.
*
* Uses Azure REST API version 2023-02-01-preview.
*/
export declare function getNetworkInterfaceStatus(args: GetNetworkInterfaceStatusArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkInterfaceStatusResult>;
export interface GetNetworkInterfaceStatusArgs {
/**
* Name of the NetworkDevice.
*/
networkDeviceName: string;
/**
* Name of the NetworkInterface
*/
networkInterfaceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Interface running status properties
*/
export interface GetNetworkInterfaceStatusResult {
/**
* The interface administrative state.
*/
readonly administrativeState: string;
/**
* Connected to ARM resource or external interface
*/
readonly connectedTo?: string;
/**
* The interface operational status.
*/
readonly operationalStatus?: string;
/**
* The physical status.
*/
readonly phyStatus?: string;
/**
* The interface transceiver type. Example: up or down
*/
readonly transceiverStatus?: string;
}
/**
* Get the running status of the Network Interface.
*
* Uses Azure REST API version 2023-02-01-preview.
*/
export declare function getNetworkInterfaceStatusOutput(args: GetNetworkInterfaceStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkInterfaceStatusResult>;
export interface GetNetworkInterfaceStatusOutputArgs {
/**
* Name of the NetworkDevice.
*/
networkDeviceName: pulumi.Input<string>;
/**
* Name of the NetworkInterface
*/
networkInterfaceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}