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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.managednetworkfabric.getNetworkDeviceStatus
Explore with Pulumi AI
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.63.0 published on Tuesday, Sep 24, 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:
- Network
Device stringName - Name of the NetworkDevice.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Network
Device stringName - Name of the NetworkDevice.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- network
Device StringName - Name of the NetworkDevice.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- network
Device stringName - Name of the NetworkDevice.
- resource
Group 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.
- network
Device StringName - Name of the NetworkDevice.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getNetworkDeviceStatus Result
The following output properties are available:
- Operational
Status string - Primary or Secondary power end.
- Power
Cycle stringState - On or Off power cycle state.
- Serial
Number string - The serial number of the device
- Operational
Status string - Primary or Secondary power end.
- Power
Cycle stringState - On or Off power cycle state.
- Serial
Number string - The serial number of the device
- operational
Status String - Primary or Secondary power end.
- power
Cycle StringState - On or Off power cycle state.
- serial
Number String - The serial number of the device
- operational
Status string - Primary or Secondary power end.
- power
Cycle stringState - On or Off power cycle state.
- serial
Number 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
- operational
Status String - Primary or Secondary power end.
- power
Cycle StringState - On or Off power cycle state.
- serial
Number 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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi