Condividi tramite


WorkloadNetworkVmGroupCollection.GetAllAsync(CancellationToken) Method

Definition

List WorkloadNetworkVMGroup resources by WorkloadNetwork

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups
  • Operation Id: WorkloadNetworks_ListVmGroups
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkVmGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Avs.WorkloadNetworkVmGroupResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Avs.WorkloadNetworkVmGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Avs.WorkloadNetworkVmGroupResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkloadNetworkVmGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to