Udostępnij za pośrednictwem


IPForwardingOperationsExtensions.GetForRole Method

Definition

Gets the IP Forwarding applied to a role.

public static Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse GetForRole (this Microsoft.WindowsAzure.Management.Network.IIPForwardingOperations operations, string serviceName, string deploymentName, string roleName);
static member GetForRole : Microsoft.WindowsAzure.Management.Network.IIPForwardingOperations * string * string * string -> Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse
<Extension()>
Public Function GetForRole (operations As IIPForwardingOperations, serviceName As String, deploymentName As String, roleName As String) As IPForwardingGetResponse

Parameters

operations
IIPForwardingOperations

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

serviceName
String

Required.

deploymentName
String

Required.

roleName
String

Required.

Returns

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

Applies to