NetworkInterfacesOperationsExtensions.GetAsync(INetworkInterfacesOperations, String, String, String, CancellationToken) Method

Definition

Gets information about the specified network interface.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkInterface> GetAsync (this Microsoft.Azure.Management.Network.INetworkInterfacesOperations operations, string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = null);
static member GetAsync : Microsoft.Azure.Management.Network.INetworkInterfacesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkInterface>

Parameters

operations
INetworkInterfacesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

networkInterfaceName
System.String

The name of the network interface.

expand
System.String

Expands referenced resources.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<NetworkInterface>

Applies to