IPForwardingOperationsExtensions.GetForRoleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the IP Forwarding applied to a role.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse> GetForRoleAsync (this Microsoft.WindowsAzure.Management.Network.IIPForwardingOperations operations, string serviceName, string deploymentName, string roleName);
static member GetForRoleAsync : Microsoft.WindowsAzure.Management.Network.IIPForwardingOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.IPForwardingGetResponse>
<Extension()>
Public Function GetForRoleAsync (operations As IIPForwardingOperations, serviceName As String, deploymentName As String, roleName 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.
Returns
The IP Forwarding state associated with a role or network interface.