Share via


NetworkFabricInternetGatewayCollection.Get(String, CancellationToken) Method

Definition

Implements Gateway GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways/{internetGatewayName}
  • Operation Id: InternetGateways_Get
public virtual Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource> Get (string internetGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>
Public Overridable Function Get (internetGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkFabricInternetGatewayResource)

Parameters

internetGatewayName
String

Name of the Internet Gateway.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

internetGatewayName is an empty string, and was expected to be non-empty.

internetGatewayName is null.

Applies to