共用方式為


IPForwardingOperationsExtensions.GetForNetworkInterfaceAsync Method

Definition

Gets the IP Forwarding applied to a network interface.

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

Parameters

operations
IIPForwardingOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IIPForwardingOperations.

serviceName
String

Required.

deploymentName
String

Required.

roleName
String

Required.

networkInterfaceName
String

Required.

Returns

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

Applies to