LocalNetworkGatewaysOperations.Get(String, String, CancellationToken) Method

Definition

Gets the specified local network gateway in a resource group.

public virtual Azure.Response<Azure.ResourceManager.Network.Models.LocalNetworkGateway> Get (string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.LocalNetworkGateway>
override this.Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.LocalNetworkGateway>
Public Overridable Function Get (resourceGroupName As String, localNetworkGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LocalNetworkGateway)

Parameters

resourceGroupName
String

The name of the resource group.

localNetworkGatewayName
String

The name of the local network gateway.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Response<LocalNetworkGateway>

Applies to