Sdílet prostřednictvím


SphereProductCollection.GetAllAsync(CancellationToken) Method

Definition

List Product resources by Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products
  • Operation Id: Products_ListByCatalog
  • Default Api Version: 2024-04-01
  • Resource: SphereProductResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sphere.SphereProductResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sphere.SphereProductResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sphere.SphereProductResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SphereProductResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to