Share via


MockableHybridContainerServiceSubscriptionResource.GetHybridContainerServiceVirtualNetworks 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.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource> GetHybridContainerServiceVirtualNetworks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridContainerServiceVirtualNetworks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
override this.GetHybridContainerServiceVirtualNetworks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
Public Overridable Function GetHybridContainerServiceVirtualNetworks (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HybridContainerServiceVirtualNetworkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to