1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. getNetworkInterfaceStatus
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.getNetworkInterfaceStatus

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 Interface.

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

Using getNetworkInterfaceStatus

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 getNetworkInterfaceStatus(args: GetNetworkInterfaceStatusArgs, opts?: InvokeOptions): Promise<GetNetworkInterfaceStatusResult>
function getNetworkInterfaceStatusOutput(args: GetNetworkInterfaceStatusOutputArgs, opts?: InvokeOptions): Output<GetNetworkInterfaceStatusResult>
Copy
def get_network_interface_status(network_device_name: Optional[str] = None,
                                 network_interface_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetNetworkInterfaceStatusResult
def get_network_interface_status_output(network_device_name: Optional[pulumi.Input[str]] = None,
                                 network_interface_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetNetworkInterfaceStatusResult]
Copy
func GetNetworkInterfaceStatus(ctx *Context, args *GetNetworkInterfaceStatusArgs, opts ...InvokeOption) (*GetNetworkInterfaceStatusResult, error)
func GetNetworkInterfaceStatusOutput(ctx *Context, args *GetNetworkInterfaceStatusOutputArgs, opts ...InvokeOption) GetNetworkInterfaceStatusResultOutput
Copy

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

public static class GetNetworkInterfaceStatus 
{
    public static Task<GetNetworkInterfaceStatusResult> InvokeAsync(GetNetworkInterfaceStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkInterfaceStatusResult> Invoke(GetNetworkInterfaceStatusInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkInterfaceStatusResult> getNetworkInterfaceStatus(GetNetworkInterfaceStatusArgs args, InvokeOptions options)
public static Output<GetNetworkInterfaceStatusResult> getNetworkInterfaceStatus(GetNetworkInterfaceStatusArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:managednetworkfabric:getNetworkInterfaceStatus
  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.
NetworkInterfaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkInterface
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.
NetworkInterfaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkInterface
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.
networkInterfaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the NetworkInterface
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.
networkInterfaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the NetworkInterface
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.
network_interface_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the NetworkInterface
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.
networkInterfaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the NetworkInterface
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getNetworkInterfaceStatus Result

The following output properties are available:

AdministrativeState string
The interface administrative state.
ConnectedTo string
Connected to ARM resource or external interface
OperationalStatus string
The interface operational status.
PhyStatus string
The physical status.
TransceiverStatus string
The interface transceiver type. Example: up or down
AdministrativeState string
The interface administrative state.
ConnectedTo string
Connected to ARM resource or external interface
OperationalStatus string
The interface operational status.
PhyStatus string
The physical status.
TransceiverStatus string
The interface transceiver type. Example: up or down
administrativeState String
The interface administrative state.
connectedTo String
Connected to ARM resource or external interface
operationalStatus String
The interface operational status.
phyStatus String
The physical status.
transceiverStatus String
The interface transceiver type. Example: up or down
administrativeState string
The interface administrative state.
connectedTo string
Connected to ARM resource or external interface
operationalStatus string
The interface operational status.
phyStatus string
The physical status.
transceiverStatus string
The interface transceiver type. Example: up or down
administrative_state str
The interface administrative state.
connected_to str
Connected to ARM resource or external interface
operational_status str
The interface operational status.
phy_status str
The physical status.
transceiver_status str
The interface transceiver type. Example: up or down
administrativeState String
The interface administrative state.
connectedTo String
Connected to ARM resource or external interface
operationalStatus String
The interface operational status.
phyStatus String
The physical status.
transceiverStatus String
The interface transceiver type. Example: up or down

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