共用方式為


VirtualApplianceSiteCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites
  • Operation Id: VirtualApplianceSites_List
  • Default Api Version: 2024-03-01
  • Resource: VirtualApplianceSiteResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualApplianceSiteResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualApplianceSiteResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualApplianceSiteResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualApplianceSiteResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to