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

51 lines (50 loc) 1.49 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the running status of the Network Device. * * Uses Azure REST API version 2023-02-01-preview. */ export declare function getNetworkDeviceStatus(args: GetNetworkDeviceStatusArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkDeviceStatusResult>; export interface GetNetworkDeviceStatusArgs { /** * Name of the NetworkDevice. */ networkDeviceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Get Device status response properties. */ export interface GetNetworkDeviceStatusResult { /** * Primary or Secondary power end. */ readonly operationalStatus: string; /** * On or Off power cycle state. */ readonly powerCycleState: string; /** * The serial number of the device */ readonly serialNumber: string; } /** * Get the running status of the Network Device. * * Uses Azure REST API version 2023-02-01-preview. */ export declare function getNetworkDeviceStatusOutput(args: GetNetworkDeviceStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkDeviceStatusResult>; export interface GetNetworkDeviceStatusOutputArgs { /** * Name of the NetworkDevice. */ networkDeviceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }