1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. getNetworkDeviceStatus
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.managednetworkfabric.getNetworkDeviceStatus

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get the running status of the Network Device.

Uses Azure REST API version 2023-02-01-preview.

Using getNetworkDeviceStatus

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNetworkDeviceStatus(args: GetNetworkDeviceStatusArgs, opts?: InvokeOptions): Promise<GetNetworkDeviceStatusResult>
function getNetworkDeviceStatusOutput(args: GetNetworkDeviceStatusOutputArgs, opts?: InvokeOptions): Output<GetNetworkDeviceStatusResult>
Copy
def get_network_device_status(network_device_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetNetworkDeviceStatusResult
def get_network_device_status_output(network_device_name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetNetworkDeviceStatusResult]
Copy
func GetNetworkDeviceStatus(ctx *Context, args *GetNetworkDeviceStatusArgs, opts ...InvokeOption) (*GetNetworkDeviceStatusResult, error)
func GetNetworkDeviceStatusOutput(ctx *Context, args *GetNetworkDeviceStatusOutputArgs, opts ...InvokeOption) GetNetworkDeviceStatusResultOutput
Copy

> Note: This function is named GetNetworkDeviceStatus in the Go SDK.

public static class GetNetworkDeviceStatus 
{
    public static Task<GetNetworkDeviceStatusResult> InvokeAsync(GetNetworkDeviceStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkDeviceStatusResult> Invoke(GetNetworkDeviceStatusInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkDeviceStatusResult> getNetworkDeviceStatus(GetNetworkDeviceStatusArgs args, InvokeOptions options)
public static Output<GetNetworkDeviceStatusResult> getNetworkDeviceStatus(GetNetworkDeviceStatusArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:managednetworkfabric:getNetworkDeviceStatus
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkDeviceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkDevice.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
NetworkDeviceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkDevice.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
networkDeviceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the NetworkDevice.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
networkDeviceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkDevice.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
network_device_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the NetworkDevice.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
networkDeviceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the NetworkDevice.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getNetworkDeviceStatus Result

The following output properties are available:

OperationalStatus string
Primary or Secondary power end.
PowerCycleState string
On or Off power cycle state.
SerialNumber string
The serial number of the device
OperationalStatus string
Primary or Secondary power end.
PowerCycleState string
On or Off power cycle state.
SerialNumber string
The serial number of the device
operationalStatus String
Primary or Secondary power end.
powerCycleState String
On or Off power cycle state.
serialNumber String
The serial number of the device
operationalStatus string
Primary or Secondary power end.
powerCycleState string
On or Off power cycle state.
serialNumber string
The serial number of the device
operational_status str
Primary or Secondary power end.
power_cycle_state str
On or Off power cycle state.
serial_number str
The serial number of the device
operationalStatus String
Primary or Secondary power end.
powerCycleState String
On or Off power cycle state.
serialNumber String
The serial number of the device

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi