你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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