MockableNetworkCloudResourceGroupResource.GetNetworkCloudL3NetworkAsync 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.

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l3Networks/{l3NetworkName}
  • Operation Id: L3Networks_Get
  • Default Api Version: 2024-07-01
  • Resource: NetworkCloudL3NetworkResource
C#
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>> GetNetworkCloudL3NetworkAsync(string l3NetworkName, System.Threading.CancellationToken cancellationToken = default);

Parameters

l3NetworkName
String

The name of the L3 network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

l3NetworkName is null.

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

Applies to

Produk Versi
Azure SDK for .NET Latest, Preview