共用方式為


IIPForwardingOperations.GetForNetworkInterfaceAsync Method

Definition

Gets the IP Forwarding applied to a network interface.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse> GetForNetworkInterfaceAsync (string serviceName, string deploymentName, string roleName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken);
abstract member GetForNetworkInterfaceAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse>
Public Function GetForNetworkInterfaceAsync (serviceName As String, deploymentName As String, roleName As String, networkInterfaceName As String, cancellationToken As CancellationToken) As Task(Of IPForwardingGetResponse)

Parameters

serviceName
String
deploymentName
String
roleName
String
networkInterfaceName
String
cancellationToken
CancellationToken

Cancellation token.

Returns

The IP Forwarding state associated with a role or network interface.

Applies to