Share via


NetworkCloudExtensions.GetNetworkCloudTrunkedNetworks Method

Definition

Overloads

GetNetworkCloudTrunkedNetworks(ResourceGroupResource)

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

GetNetworkCloudTrunkedNetworks(SubscriptionResource, CancellationToken)

Get a list of trunked networks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/trunkedNetworks
  • Operation Id: TrunkedNetworks_ListBySubscription

GetNetworkCloudTrunkedNetworks(ResourceGroupResource)

Source:
NetworkCloudExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkCloudTrunkedNetworkResources and their operations over a NetworkCloudTrunkedNetworkResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkCloudTrunkedNetworks(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs

Get a list of trunked networks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/trunkedNetworks
  • Operation Id: TrunkedNetworks_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudTrunkedNetworkResource> GetNetworkCloudTrunkedNetworks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudTrunkedNetworks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudTrunkedNetworkResource>
<Extension()>
Public Function GetNetworkCloudTrunkedNetworks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudTrunkedNetworkResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to