ComputeLimitVmFamilyCollection.GetAllAsync(String, CancellationToken) Method

Definition

Lists all VM families for the subscription at the specified location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies.
  • Operation Id. : VmFamilies_ListBySubscriptionLocationResource.
  • Default Api Version. : 2026-04-30.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource> GetAllAsync(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ComputeLimitVmFamilyResource)

Parameters

filter
String

The filter to apply to the list operation. Filter can be applied to the 'category' property. Example: $filter=category eq 'generalPurposeCategory'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to