Udostępnij za pośrednictwem


IIPForwardingOperations.GetForRoleAsync Method

Definition

Gets the IP Forwarding applied to a role.

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

Parameters

serviceName
String
deploymentName
String
roleName
String
cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to