Share via


DiskPoolIscsiTargetCollection.GetAllAsync(CancellationToken) Method

Definition

Get iSCSI Targets in a Disk pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets
  • Operation Id: IscsiTargets_ListByDiskPool
public virtual Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolIscsiTargetResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolIscsiTargetResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolIscsiTargetResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DiskPoolIscsiTargetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to