Delen via


HybridContainerServiceVirtualNetworkCollection.GetAllAsync Method

Definition

Lists the virtual networks in the specified resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks
  • Operation Id: virtualNetworks_ListByResourceGroup
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
Public Overridable Function GetAllAsync (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