Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to