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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.managednetworkfabric.getNetworkInterfaceStatus
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get the running status of the Network Interface. 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>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]func GetNetworkInterfaceStatus(ctx *Context, args *GetNetworkInterfaceStatusArgs, opts ...InvokeOption) (*GetNetworkInterfaceStatusResult, error)
func GetNetworkInterfaceStatusOutput(ctx *Context, args *GetNetworkInterfaceStatusOutputArgs, opts ...InvokeOption) GetNetworkInterfaceStatusResultOutput> 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)
}public static CompletableFuture<GetNetworkInterfaceStatusResult> getNetworkInterfaceStatus(GetNetworkInterfaceStatusArgs args, InvokeOptions options)
public static Output<GetNetworkInterfaceStatusResult> getNetworkInterfaceStatus(GetNetworkInterfaceStatusArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:managednetworkfabric:getNetworkInterfaceStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkDevice stringName 
- Name of the NetworkDevice.
- NetworkInterface stringName 
- Name of the NetworkInterface
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- NetworkDevice stringName 
- Name of the NetworkDevice.
- NetworkInterface stringName 
- Name of the NetworkInterface
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- networkDevice StringName 
- Name of the NetworkDevice.
- networkInterface StringName 
- Name of the NetworkInterface
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- networkDevice stringName 
- Name of the NetworkDevice.
- networkInterface stringName 
- Name of the NetworkInterface
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- network_device_ strname 
- Name of the NetworkDevice.
- network_interface_ strname 
- Name of the NetworkInterface
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- networkDevice StringName 
- Name of the NetworkDevice.
- networkInterface StringName 
- Name of the NetworkInterface
- resourceGroup StringName 
- 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 v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi