Partager via


NetworkCloudExtensions.GetNetworkCloudL3Networks Method

Definition

Overloads

GetNetworkCloudL3Networks(ResourceGroupResource)

Gets a collection of NetworkCloudL3NetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudL3Networks() instead.

GetNetworkCloudL3Networks(SubscriptionResource, CancellationToken)

Get a list of layer 3 (L3) networks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l3Networks
  • Operation Id: L3Networks_ListBySubscription
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudL3NetworkResource

GetNetworkCloudL3Networks(ResourceGroupResource)

Source:
NetworkCloudExtensions.cs
Source:
NetworkCloudExtensions.cs

Gets a collection of NetworkCloudL3NetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudL3Networks() instead.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkCollection GetNetworkCloudL3Networks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkCloudL3Networks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkCollection
<Extension()>
Public Function GetNetworkCloudL3Networks (resourceGroupResource As ResourceGroupResource) As NetworkCloudL3NetworkCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkCloudL3NetworkResources and their operations over a NetworkCloudL3NetworkResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkCloudL3Networks(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs
Source:
NetworkCloudExtensions.cs

Get a list of layer 3 (L3) networks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l3Networks
  • Operation Id: L3Networks_ListBySubscription
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudL3NetworkResource
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource> GetNetworkCloudL3Networks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudL3Networks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>
<Extension()>
Public Function GetNetworkCloudL3Networks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudL3NetworkResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkCloudL3NetworkResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to