ComputeLimitVmFamilyCollection.GetAllAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.