Share via


MockableHybridContainerServiceSubscriptionResource.GetHybridContainerServiceVirtualNetworksAsync Method

Definition

Lists the virtual networks in the specified subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridContainerService/virtualNetworks
  • Operation Id: virtualNetworks_ListBySubscription
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource> GetHybridContainerServiceVirtualNetworksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridContainerServiceVirtualNetworksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
override this.GetHybridContainerServiceVirtualNetworksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
Public Overridable Function GetHybridContainerServiceVirtualNetworksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridContainerServiceVirtualNetworkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of HybridContainerServiceVirtualNetworkResource that may take multiple service requests to iterate over.

Applies to