1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. getNetworkInterfaceStatus
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.managednetworkfabric.getNetworkInterfaceStatus

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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:managednetworkfabric:getNetworkInterfaceStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkDeviceName string
    Name of the NetworkDevice.
    NetworkInterfaceName string
    Name of the NetworkInterface
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    NetworkDeviceName string
    Name of the NetworkDevice.
    NetworkInterfaceName string
    Name of the NetworkInterface
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    networkDeviceName String
    Name of the NetworkDevice.
    networkInterfaceName String
    Name of the NetworkInterface
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    networkDeviceName string
    Name of the NetworkDevice.
    networkInterfaceName string
    Name of the NetworkInterface
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    network_device_name str
    Name of the NetworkDevice.
    network_interface_name str
    Name of the NetworkInterface
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    networkDeviceName String
    Name of the NetworkDevice.
    networkInterfaceName String
    Name of the NetworkInterface
    resourceGroupName 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
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi