Share via


ServiceUnitResourceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the service units under a service in the service topology.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits
  • Operation Id: ServiceUnits_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.DeploymentManager.ServiceUnitResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeploymentManager.ServiceUnitResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeploymentManager.ServiceUnitResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceUnitResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to