UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

67 lines (66 loc) 1.93 kB
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>; }