HybridComputeLicenseCollection.GetAllAsync(CancellationToken) Method

Definition

The operation to get all licenses of a non-Azure machine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses
  • Operation Id: Licenses_ListByResourceGroup
  • Default Api Version: 2024-05-20-preview
  • Resource: HybridComputeLicenseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeLicenseResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeLicenseResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeLicenseResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridComputeLicenseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to