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.8.0 published on Wednesday, Sep 3, 2025 by Pulumi
azure-native.managednetworkfabric.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.8.0 published on Wednesday, Sep 3, 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>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]func GetNetworkDeviceStatus(ctx *Context, args *GetNetworkDeviceStatusArgs, opts ...InvokeOption) (*GetNetworkDeviceStatusResult, error)
func GetNetworkDeviceStatusOutput(ctx *Context, args *GetNetworkDeviceStatusOutputArgs, opts ...InvokeOption) GetNetworkDeviceStatusResultOutput> 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)
}public static CompletableFuture<GetNetworkDeviceStatusResult> getNetworkDeviceStatus(GetNetworkDeviceStatusArgs args, InvokeOptions options)
public static Output<GetNetworkDeviceStatusResult> getNetworkDeviceStatus(GetNetworkDeviceStatusArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:managednetworkfabric:getNetworkDeviceStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkDevice stringName 
- Name of the NetworkDevice.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- NetworkDevice stringName 
- Name of the NetworkDevice.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- networkDevice StringName 
- Name of the NetworkDevice.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- networkDevice stringName 
- Name of the NetworkDevice.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- network_device_ strname 
- Name of the NetworkDevice.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- networkDevice StringName 
- Name of the NetworkDevice.
- resourceGroup StringName 
- 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.
- PowerCycle stringState 
- On or Off power cycle state.
- SerialNumber string
- The serial number of the device
- OperationalStatus string
- Primary or Secondary power end.
- PowerCycle stringState 
- On or Off power cycle state.
- SerialNumber string
- The serial number of the device
- operationalStatus String
- Primary or Secondary power end.
- powerCycle StringState 
- On or Off power cycle state.
- serialNumber String
- The serial number of the device
- operationalStatus string
- Primary or Secondary power end.
- powerCycle stringState 
- On or Off power cycle state.
- serialNumber string
- The serial number of the device
- operational_status str
- Primary or Secondary power end.
- power_cycle_ strstate 
- On or Off power cycle state.
- serial_number str
- The serial number of the device
- operationalStatus String
- Primary or Secondary power end.
- powerCycle StringState 
- 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.8.0 published on Wednesday, Sep 3, 2025 by Pulumi
