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
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:
- Network
Device stringName - Name of the NetworkDevice.
- Network
Interface stringName - Name of the NetworkInterface
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Network
Device stringName - Name of the NetworkDevice.
- Network
Interface stringName - Name of the NetworkInterface
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- network
Device StringName - Name of the NetworkDevice.
- network
Interface StringName - Name of the NetworkInterface
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- network
Device stringName - Name of the NetworkDevice.
- network
Interface stringName - Name of the NetworkInterface
- resource
Group 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.
- network
Device StringName - Name of the NetworkDevice.
- network
Interface StringName - Name of the NetworkInterface
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getNetworkInterfaceStatus Result
The following output properties are available:
- Administrative
State string - The interface administrative state.
- Connected
To string - Connected to ARM resource or external interface
- Operational
Status string - The interface operational status.
- Phy
Status string - The physical status.
- Transceiver
Status string - The interface transceiver type. Example: up or down
- Administrative
State string - The interface administrative state.
- Connected
To string - Connected to ARM resource or external interface
- Operational
Status string - The interface operational status.
- Phy
Status string - The physical status.
- Transceiver
Status string - The interface transceiver type. Example: up or down
- administrative
State String - The interface administrative state.
- connected
To String - Connected to ARM resource or external interface
- operational
Status String - The interface operational status.
- phy
Status String - The physical status.
- transceiver
Status String - The interface transceiver type. Example: up or down
- administrative
State string - The interface administrative state.
- connected
To string - Connected to ARM resource or external interface
- operational
Status string - The interface operational status.
- phy
Status string - The physical status.
- transceiver
Status 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
- administrative
State String - The interface administrative state.
- connected
To String - Connected to ARM resource or external interface
- operational
Status String - The interface operational status.
- phy
Status String - The physical status.
- transceiver
Status 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi