GatewayOperationsExtensions.GetAsync Method (IGatewayOperations, String)
The Get Virtual Network Gateway operation gets information about the network gateway for the specified virtual network in Azure. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154109.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
public static Task<GatewayGetResponse> GetAsync(
this IGatewayOperations operations,
string networkName
)
public:
[ExtensionAttribute]
static Task<GatewayGetResponse^>^ GetAsync(
IGatewayOperations^ operations,
String^ networkName
)
static member GetAsync :
operations:IGatewayOperations *
networkName:string -> Task<GatewayGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
operations As IGatewayOperations,
networkName As String
) As Task(Of GatewayGetResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperationsReference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
networkName
Type: System.StringRequired. The name of the virtual network for this gateway.
Return Value
Type: System.Threading.Tasks.Task<GatewayGetResponse>
A standard service response including an HTTP status code and request ID.
See Also
GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace
Return to top