Share via


NetworkCloudL3NetworkCollection.GetAsync(String, CancellationToken) Method

Definition

Get properties of the provided layer 3 (L3) network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l3Networks/{l3NetworkName}
  • Operation Id: L3Networks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>> GetAsync (string l3NetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
Public Overridable Function GetAsync (l3NetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudL3NetworkResource))

Parameters

l3NetworkName
String

The name of the L3 network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

l3NetworkName is null.

Applies to