PrivateStoreCollection.GetAllAsync(String, CancellationToken) Method

Definition

Gets the list of available private stores.

  • Request Path: /providers/Microsoft.Marketplace/privateStores
  • Operation Id: PrivateStore_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Marketplace.PrivateStoreResource> GetAllAsync (string useCache = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.PrivateStoreResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.PrivateStoreResource>
Public Overridable Function GetAllAsync (Optional useCache As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PrivateStoreResource)

Parameters

useCache
String

Determines if to use cache or DB for serving this request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to