1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. getNetworkDeviceStatus
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.41.0 published on Tuesday, May 14, 2024 by Pulumi

azure-native.managednetworkfabric.getNetworkDeviceStatus

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.41.0 published on Tuesday, May 14, 2024 by Pulumi

    Get the running status of the Network Device. 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:managednetworkfabric:getNetworkDeviceStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkDeviceName string
    Name of the NetworkDevice.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    NetworkDeviceName string
    Name of the NetworkDevice.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    networkDeviceName String
    Name of the NetworkDevice.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    networkDeviceName string
    Name of the NetworkDevice.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    network_device_name str
    Name of the NetworkDevice.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    networkDeviceName String
    Name of the NetworkDevice.
    resourceGroupName 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.41.0 published on Tuesday, May 14, 2024 by Pulumi