Language

AkriServiceCollection.GetAllAsync(CancellationToken) Method

Definition

List AkriServiceResource resources by InstanceResource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriServices.
  • Operation Id. : AkriService_ListByInstanceResource.
  • Default Api Version. : 2026-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.IotOperations.AkriServiceResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotOperations.AkriServiceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotOperations.AkriServiceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AkriServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to